This has taken a while, but I believe I've finally got a stable version of thickbox working with the scriptaculous module. I've uploaded the attachment below - all you need to do is upload this module in place of the default scriptaculous module (remember to backup the default module first!).
It has been tested in FireFox 1.5, Opera 9, and Internet Explorer 6 without problems so far. The code for non-admins is 55kb (27kb when compressed) which should help users on slower connections. The attachment contains all source files, as well as the optimised code.
You only really need this if you intend use a mod that uses thickbox. If you already have a thickbox module installed (it will use jquery) then you can do one of 2 things.
(1) Do nothing - if it works, it doesn't need fixing!
(2) Remove all references to thickbox / jquery from your current code, and install this
I will also be adding attachments for both the updated Video and Thickbox Login mods in the posts below.
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Optimised Scriptaculous Module with Thickbox Last edited by Simon; 04-19-2007 at 09:32 AM.. |
| The Following 5 Users Say Thank You to Simon For This Useful Post: | ||
| |||
| ThickBox Login
Attached below is the updated thickbox login code, using the modified scriptaculous module. Please follow all the instructions carefully if you intend to install it, and remember to remove ALL previous thickbox code if you already have it installed. A demo can be found here, and the old thread on this mod can be found here. Last edited by Simon; 04-19-2007 at 09:31 AM.. |
| |||
| Video Display
Attached below is the updated video display mod, using the modified scriptaculous module. Please follow all the instructions carefully if you intend to install it, and remember to remove ALL previous thickbox code if you already have it installed. This mod is more difficult to install than most, so please follow the instructions very carefully. A demo can be seen here, and the old thread on this mod can be found here. Last edited by Simon; 04-19-2007 at 09:38 AM.. |
| ||||
|
Thanks for your hard work Simon. Will definately do as much testing as I can and get your new scriptaculous code in the SVN. I graduate college in a few weeks so it's been really hectic and I haven't had much time for Pligg lately.
__________________ I accept donations for my time helping users like you on the forum and IRC. |
| |||
|
If we have thickbox login and the video display mod installed and they appear to be working on FF and Ie, should we remove them and install these ones? Geoserv |
| |||
|
If it's working, don't touch them! The only thing you might want to look at is this part of the instructions: At the very top of your template css file should be a line that starts body { - make sure it has a width attribute set to width:100%; Below that should be a containing div id, such as #wrap { - make sure it has a width attribute set to width:90%; This will help with the overlay error in IE with the yget template, although may need some tweaking for other templates. Last edited by Simon; 04-19-2007 at 09:45 AM.. |
| |||
| Ugh graduation! I graduate on June 13th - an unlucky start to the rest of my career lol. At least it isn't Friday 13th!
|
| |||
|
Ok, thank you. Geoserv |
| |||
|
This works like a charm .. Thanks a lot !
|
| |||
|
thanks simon For those of us that are using heavily modifed versions of yget, can you explain why the two changes to the css are necessary so that we can apply these fixes to our own sites? |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [MOD] Thickbox Module for Pligg | cent | Modification Tutorials | 35 | 11-19-2008 09:54 AM |
| Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 | redwine | Modification Tutorials | 3 | 10-18-2008 10:28 AM |
| What functions do I lose if I disable scriptaculous module | deeplygreen | General Help | 1 | 02-05-2008 06:21 PM |
| READ ME FIRST: Pligg Module Thread Rules | Yankidank | Pligg Modules | 0 | 12-01-2007 04:16 PM |
| Lightbox Thickbox Scriptaculous jbquery | revolver | Modification Tutorials | 3 | 04-18-2007 12:54 PM |





.. Thanks a lot !
Linear Mode

