[MOD] Thickbox Module for Pligg

Register an Account
Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 04-13-2007, 02:04 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
To sum things up, does this mod break scriptaculous/lightbox? That js Geoserv said he moved is js that only digital nature uses and is not related to script/lightbox.
Reply With Quote
  #22 (permalink)  
Old 04-13-2007, 02:09 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
Oh, well I would say it does break it in its current form. Thickbox.js code needs to be wrapped in:

Code:
jQuery(function($) { //thickbox code here });
And even then, it still needs to be loaded before the prototype library. It would be nice to be able to configure the order in which modules can load - an execution order.

Last edited by Simon; 04-13-2007 at 02:14 PM.
Reply With Quote
  #23 (permalink)  
Old 04-13-2007, 02:11 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Thanks, I forgot about that little code change. I'll have to look into the order in which the js files are loaded.
Reply With Quote
  #24 (permalink)  
Old 04-13-2007, 02:16 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
I did notice, for those who cannot get the 2 javascript libraries working together at all, that there is a version of thickbox that uses scriptaculous. I haven't tried it, but it is an alternative:

http://codylindley.com/thickboxforum...nID=354&page=1
Reply With Quote
  #25 (permalink)  
Old 05-13-2007, 12:44 AM
New Pligger
 
Join Date: Oct 2006
Posts: 19
Hi guys, I have read through the thread and am having problem following it with all the numerous problems and changes mentioned.

My problem is in using digitalnature template with imageupload and thickbox loaded I am experiencing three problems (other I believe are having the same)
1) Private messaging does not work
2) Thumbnails do not show up on hover link
3) can not configure language files.

I have tried to look at the revised pligg.tpl that Geosv mentioned but my file looks totally different and tried moving the code. But still does not work. Which template are you using.

But I am still not sure is the change only good for resolving one of the problems stated above or all. If only one, which one and is there a work around for all three problems.

I wish we can find a problem to this as I love the imageupload mod and would hate to unenable thickbox to resolve the above issues.

Thanks guys for all your hard work,
Reply With Quote
  #26 (permalink)  
Old 05-19-2007, 10:02 PM
New Pligger
 
Join Date: Oct 2006
Posts: 19
Since no one replied to my previous question, let me ask the question in another way, maybe someone has a solution. If i turn on thickbox due to imageupload mod, the PM does not work. Is there a way I can turn off the thickbox in the function when I click on the submitter profile, so that his profile will show up and send him a PM. Again, I think the calls are calling up thickbox instead of lightbox used for profile/PM. So is there a way to code it so that these do not crash clicking on the username javascript?
Reply With Quote
  #27 (permalink)  
Old 05-24-2007, 12:25 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Hi flyfisher,

Unfortunately, there isn't a way to deactivate thickbox once it has already been run by the browser. The calls aren't calling thickbox, but they do conflict with each other. I haven't tested to see if running one script before the other will make a difference or not.

While I do not have the PM module installed on my test server, the site thumbnails do show up correctly. Thickbox, once included in a web page, only runs when the link has the class of "thickbox". However, I do know there are some known issues.

I read on a previous thread that there is a version of thickbox that uses scriptalicious but I haven't tried it yet.

best,
Cent

Quote:
Originally Posted by flyfisher View Post
Since no one replied to my previous question, let me ask the question in another way, maybe someone has a solution. If i turn on thickbox due to imageupload mod, the PM does not work. Is there a way I can turn off the thickbox in the function when I click on the submitter profile, so that his profile will show up and send him a PM. Again, I think the calls are calling up thickbox instead of lightbox used for profile/PM. So is there a way to code it so that these do not crash clicking on the username javascript?
Reply With Quote
  #28 (permalink)  
Old 10-07-2007, 05:00 PM
Banned
 
Join Date: Jun 2007
Posts: 9
Is this version compatible with 9.8? Because is not working for me, when you click the image it goes to a blank page with the image, how can i fix this?
Reply With Quote
  #29 (permalink)  
Old 10-08-2007, 07:34 PM
Banned
 
Join Date: Jun 2007
Posts: 9
hello?
Reply With Quote
  #30 (permalink)  
Old 11-01-2007, 08:08 AM
zpd's Avatar
zpd zpd is offline
New Pligger
 
Join Date: Sep 2007
Posts: 10
For me not working too
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[MOD] MP3 Upload Module cent Questions and Comments 34 03-18-2011 08:50 PM
[MOD] Image Upload Module (v1.0) -- Now Available cent Questions and Comments 190 01-08-2011 05:12 PM
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Questions and Comments 11 12-20-2010 04:18 PM
Optimised Scriptaculous Module with Thickbox Simon Questions and Comments 83 10-08-2010 02:41 AM
[MOD] Image Upload Module (v0.93) -- Please test cent Questions and Comments 54 05-01-2009 11:12 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