[MOD] Image Upload Module (v1.0) -- Now Available

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 07-20-2007, 10:59 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
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
  #32 (permalink)  
Old 07-22-2007, 02:29 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
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
  #33 (permalink)  
Old 07-24-2007, 01:26 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
Can someone please help me out here ?

Thanks.
Reply With Quote
  #34 (permalink)  
Old 07-24-2007, 01:47 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
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
Reply With Quote
  #35 (permalink)  
Old 07-24-2007, 01:55 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 124
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
  #36 (permalink)  
Old 07-24-2007, 03:04 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
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.
Reply With Quote
  #37 (permalink)  
Old 07-25-2007, 04:21 PM
XSP XSP is offline
Casual Pligger
 
Join Date: Jul 2007
Posts: 31
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
  #38 (permalink)  
Old 07-25-2007, 05:07 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Hi...

I installed 9.7 for some other issue with Image Upload 1.01 and Thickbox 0.3 and both ran without problems.

XSP and Peter's problems sound related. Not sure what the fix is as a new install with the modules worked fine. But I'll help to get them sorted out.

XSP can you send me a link to your site?

Best,
Cent
Reply With Quote
  #39 (permalink)  
Old 07-25-2007, 06:14 PM
XSP XSP is offline
Casual Pligger
 
Join Date: Jul 2007
Posts: 31
No problem, I just sent a PM.
Reply With Quote
  #40 (permalink)  
Old 07-26-2007, 10:10 AM
XSP XSP is offline
Casual Pligger
 
Join Date: Jul 2007
Posts: 31
I made the modification you suggested, and the thickbox works now on the story page.

If it is a conflict between scriptaculous and thickbox should I look into installing simon's optimized thickbox/scriptaculous module?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 157 03-13-2010 11:31 AM
Simple question: Has anyone got the image upload module to work? Citizenslide Questions and Comments 7 07-30-2009 01:44 AM
[MOD] Image Upload Module (v0.93) -- Please test cent Questions and Comments 54 05-01-2009 10:12 PM
Image Upload Module - Really confused thefandango Questions and Comments 3 01-05-2009 11:01 AM
Image Upload Module -- Call for feature requests cent Questions and Comments 12 11-15-2008 12:13 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development