• Home
  • Community
  • Submitted News
FAQ • Search • Login
Forum Home • Register

View unanswered posts | View active topics


Board index » Pligg » Pligg Modules » Released Modules

All times are UTC


Image Upload Pligg Module v1.03



Post new topic Reply to topic  Page 1 of 8
 [ 76 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Print view Previous topic | Next topic 
 Image Upload Pligg Module v1.03 
Author Message
LincolnHawks
Site Admin
User avatar

Joined: Wed Dec 12, 2007 9:34 pm
Posts: 296
Post Image Upload Pligg Module v1.03
Well i eventually found the time to update the Pligg Image Upload Module to be compatiable with v9.9.0 of pligg without the need for the modules_libs.php hack that was required for v1.02. The latest version v1.03 of the image_upload module will work with pligg v9.9.0 only, story pages and index pages now show the thumbnail.

I still havent fiured out the story third step submission preview but i am working on a solution at the moment so hang tight, or if anyone else can solve please post the changes here thanks :)

Install: Read the Read Me file that comes with the module.

Image Position: Position your image in link_summary.tpl with your CSS code.

Download Image Upload Pligg Module v1.03
Attachment:
image_upload.pligg.module.v1.03.zip


IMPORTANT NOTE:

If you have version 1.02 running you will need to change the code of your /modules/modules_libs.php back to the original v9.9.0 pligg code, if you are installing the MoD for the first time ignore below.

OPEN: /modules/modules_libs.php

FIND

Code:
function check_actions($location, $vars="")
{
        global $module_actions;
        $vars['location'] = $location;
        if($module_actions){
                foreach ( $module_actions as $k => $v ) {
                        if($k == $location){
                                foreach ( $v as $kk => $vv ) {
                                        call_user_func($kk, $vars);
                                }
                        }
                }
        }
}


REPLACE WITH

Code:
function check_actions($location, &$vars)
{
        global $module_actions;
        $vars['location'] = $location;
        if($module_actions){
                foreach ( $module_actions as $k => $v ) {
                        if($k == $location){
                                foreach ( $v as $kk => $vv ) {
                                        call_user_func_array($kk, array(&$vars));
                                }
                        }
                }
        }
}


You do not have the required permissions to view the files attached to this post.


Mon Mar 03, 2008 5:10 pm
Profile
movvbuzz
User avatar

Joined: Thu Mar 06, 2008 1:22 am
Posts: 11
Post Re: Image Upload Pligg Module v1.03
Thanks for the hard work!
Got it working at http://movvbuzz.com

_________________
http://www.movvbuzz.com


Thu Mar 06, 2008 2:33 am
Profile
LincolnHawks
Site Admin
User avatar

Joined: Wed Dec 12, 2007 9:34 pm
Posts: 296
Post Re: Image Upload Pligg Module v1.03
movvbuzz wrote:
Thanks for the hard work!
Got it working at http://movvbuzz.com


Good to see somebody getting some use out of the module :) and if you find any bugs please reoprt them here and we will take a look asap, fingers crossed it should be all okay though as it is running live on around 6 of our clients websites without any glitches so far.

Lincoln


Fri Mar 07, 2008 4:03 pm
Profile
jamfull

Joined: Sun Mar 09, 2008 7:10 pm
Posts: 5
Post Re: Image Upload Pligg Module v1.03
Hi Lincoln

Uploaded Image mod v1.03 (thanks for your work).

Problem - can't upload, no button (see attachment)

Where did I go wrong?

Thanks,
Scott


You do not have the required permissions to view the files attached to this post.


Mon Mar 10, 2008 1:59 pm
Profile
movvbuzz
User avatar

Joined: Thu Mar 06, 2008 1:22 am
Posts: 11
Post Re: Image Upload Pligg Module v1.03
The module is working fine, but not with Thickbox (when the image is click it just opens in another window/tab). I'm also using the greybox video mod, do you think that would conflict?

Thanks again,
http://www.movvbuzz.com

_________________
http://www.movvbuzz.com


Mon Mar 10, 2008 7:11 pm
Profile
jamfull

Joined: Sun Mar 09, 2008 7:10 pm
Posts: 5
Post Re: Image Upload Pligg Module v1.03
movvbuzz,

How did you get the greybox pop-ups working?

Thanks.


Mon Mar 10, 2008 7:34 pm
Profile
LincolnHawks
Site Admin
User avatar

Joined: Wed Dec 12, 2007 9:34 pm
Posts: 296
Post Re: Image Upload Pligg Module v1.03
Hi Jamfull,

Welcome to the forums m8, There is no upload button only browse ;) image is uploaded when up click submit :)

Cool

movvbuzz i beleive the thickbox error is somthing to fo wih pligg scriptaculous and thickbox modules, i will take a look.


Tue Mar 11, 2008 3:33 am
Profile
jamfull

Joined: Sun Mar 09, 2008 7:10 pm
Posts: 5
Post Re: Image Upload Pligg Module v1.03
Lincoln,

Thanks for feedback.

Question -- Any idea how to implement videos & images like this very nice looking site?

http://www.ebenta.com

I tried this mod - no luck.

http://pligg-template.com/forum/new-web2-0-pligg-video-popup-hack-greybox-t139.html

If you know about this mod...what, if any, extra steps do I need to take to get working?

Thanks.


Tue Mar 11, 2008 3:24 pm
Profile
movvbuzz
User avatar

Joined: Thu Mar 06, 2008 1:22 am
Posts: 11
Post Re: Image Upload Pligg Module v1.03
jamfull wrote:
movvbuzz,

How did you get the greybox pop-ups working?

Thanks.


Hi jamfull,
I followed the same link you found there http://pligg-template.com/forum/new-web2-0-pligg-video-popup-hack-greybox-t139.html
Although, I still haven't figured out how to get the video thumbnail to show so I just called the play button image that you see on my site. Maybe I'll take some more time someday to get the video thumbnail working.

What errors do you get when you use the greybox?

_________________
http://www.movvbuzz.com


Tue Mar 11, 2008 8:04 pm
Profile
movvbuzz
User avatar

Joined: Thu Mar 06, 2008 1:22 am
Posts: 11
Post Re: Image Upload Pligg Module v1.03
LincolnHawks wrote:
Hi Jamfull,

Welcome to the forums m8, There is no upload button only browse ;) image is uploaded when up click submit :)

Cool

movvbuzz i beleive the thickbox error is somthing to fo wih pligg scriptaculous and thickbox modules, i will take a look.


Thanks Lincoln any help is greatly appreciated.

_________________
http://www.movvbuzz.com


Tue Mar 11, 2008 8:06 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 8
 [ 76 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

Board index » Pligg » Pligg Modules » Released Modules

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

©2007-2008 Social CMS Buzz

Feed XML Favourite Valid XHTML Valid CSS WordPress