Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 07-19-2007, 03:56 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
No one ?

Thanks.
Reply With Quote
  #32 (permalink)  
Old 07-19-2007, 07:15 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
if you click the thumbnail and it simply takes you to a blank page with the image on it (linked directly to image URL), then the problem is with Thickbox not being triggered correctly. If you post your site's URL or PM it to me, I can take a look.

Best,
Cent
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
  #33 (permalink)  
Old 07-19-2007, 11:41 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
there it is

Last edited by Peter; 12-12-2007 at 05:46 AM..
Reply With Quote
  #34 (permalink)  
Old 07-20-2007, 10:59 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
I can't see any links in the head of your html to the thickbox javascript or css. Are you sure you have the thickbox module installed?
Reply With Quote
  #35 (permalink)  
Old 07-22-2007, 02:29 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
Quote:
Originally Posted by revolver View Post
I can't see any links in the head of your html to the thickbox javascript or css. Are you sure you have the thickbox module installed?
Yes, its installed.

Any idea what to do to fix it ?

By the way, I downloaded the 0.3 one, but in the modules admin it displays 0.1.

Thanks.
Reply With Quote
  #36 (permalink)  
Old 07-24-2007, 01:26 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
Can someone please help me out here ?

Thanks.
Reply With Quote
  #37 (permalink)  
Old 07-24-2007, 01:47 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
Hi Peter,

I would suggest removing the thickbox module completely from the server, and putting a fresh copy in there. Try removing it through the admin, then deleting the thickbox module from the server. Then upload a .3 version of thickbox and enable it through the admin.

If you're running Pligg beta v. 9.6 or newer, which I assume you probably are, then be sure to do the following:

For Pligg Beta 9.6+ users: In order to have this module run, you will need to manually update one of the files:

If you're running pligg b9.6+, open /modules/thickbox/thickbox_init.php and change:

PHP Code:
module_add_action_tpl('tpl_pligg_pre_css_and_js'thickbox_tpl_path 'pligg_pre_title.tpl'); 
to:

PHP Code:
 module_add_action_tpl('tpl_pligg_pre_title_thickbox'thickbox_tpl_path 'pligg_pre_title.tpl'); 
That should fix your problem as in the <head> of your page (I viewed the source), the thickbox module isn't being loaded at all.

Please let me know if it hasn't fixed the problem.

Best,
Cent
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
  #38 (permalink)  
Old 07-24-2007, 01:55 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Thanks: 3
Thanked 1 Time in 1 Post
Hi Cent.

I did delete it from the server and reupload the module and activated it again.

By the way in thickbox_init.php.

I dont have this line:
PHP Code:
module_add_action_tpl('tpl_pligg_pre_css_and_js'thickbox_tpl_path 'pligg_pre_title.tpl'); 

I have this one:
PHP Code:
module_add_action_tpl('tpl_pligg_pre_title'thickbox_tpl_path 'pligg_pre_title.tpl'); 
Changing it, does not solve the problem.

I am using version 9.7.

Any ideas ?

Thanks.
Reply With Quote
  #39 (permalink)  
Old 07-24-2007, 03:04 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
Hi Peter,

If you're running Pligg 9.7, have Thickbox 0.3 installed through Admin, and its still not working... I'm not quite sure. Looking at your HTML source, the module action is still not being called for some reason. I'll have to install 9.7 on my test site and try it within the next day or 2... unfortunately I only have 9.6 installed right now.

Should be easy to fix as soon as I can get a 9.7 install up and running.

Best,
Cent


Quote:
Originally Posted by Peter View Post
Hi Cent.

I did delete it from the server and reupload the module and activated it again.

By the way in thickbox_init.php.

I dont have this line:
PHP Code:
module_add_action_tpl('tpl_pligg_pre_css_and_js'thickbox_tpl_path 'pligg_pre_title.tpl'); 

I have this one:
PHP Code:
module_add_action_tpl('tpl_pligg_pre_title'thickbox_tpl_path 'pligg_pre_title.tpl'); 
Changing it, does not solve the problem.

I am using version 9.7.

Any ideas ?

Thanks.
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
The Following User Says Thank You to cent For This Useful Post:
  #40 (permalink)  
Old 07-25-2007, 04:21 PM
XSP XSP is offline
Casual Pligger
 
Join Date: Jul 2007
Posts: 31
Thanks: 5
Thanked 1 Time in 1 Post
I am having the same issue. I am running pligg 9.7, with the latest Image Upload and thickbox modules, and while the thumbnails show just fine, the thichbox is not implemented when viewing the full-size picture.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Upload Module -- Call for feature requests cent Modification Tutorials 12 11-15-2008 12:13 PM
About the image upload module rockxie Module Support 3 08-05-2008 05:41 PM
Image Upload 0.4 Module ziadchatila Module Support 3 08-05-2008 04:40 PM
[MOD] Image Upload Module (v0.93) -- Please test cent Modification Tutorials 48 05-16-2008 08:08 PM
[MOD] File Upload Module -- seeking requests for features cent Modification Tutorials 3 08-11-2007 04:39 AM


Search Engine Friendly URLs by vBSEO 3.2.0