vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - vBThickBox (https://vborg.vbsupport.ru/showthread.php?t=147522)

Mosh 05-17-2007 10:00 PM

vBThickBox
 
Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.

Please click Mark as Installed if you are using this hack.

NOTE: I have marked this hack as Re-usable Code - This means that code from this hack may be used in other hacks, which can ONLY be released on official vB sites that use Jelsoft's verification system to verify your vBulletin license status, and as long as I am credited in your hack.


vBulletin Version Compatibility

This hack has been tested on unmodified v3.6.5, v3.6.6, v3.6.7 PL1 and v3.6.8 forums, so as long as the templates have not been modified too much, then this should work with no alterations needed in the plugins. This has also been installed on my forum which is heavily modified.


What Does This Hack Do?

It is the successor to/replacement for my vBLightbox hack available here, which does work the Quick Edit function, which was the major flaw with vBLightbox (which does not work with the QE function). My vBLightbox hack will have to be un-installed to install this hack.


vBThickBox my integration hack of that is based on the ThickBox script by Cody Lindley from http://jquery.com/demo/thickbox/, which is loosely based on the lightbox script by Lokesh Dhakar.

NOTE: DO NOT download and install the script above as a modified and slimmed down version of it is already included in my hack.

This hack integrates the script in with vBulletin and uses a custom BBCode (in this case my custom IMGW tag) to display a larger size overlay picture with a nice expanding image of a reduced size picture.

[S]To see a demo of the hack in action, click here and click on one of the images to see the effect, this is to show what it can do, you can also check the BBCode section of the FAQ here, other locations require you to register with the forums. I will NOT post screenshoots at all, as the demo does a lot better job as showing what it can do.[/S]

There is currently no live demo of the integration, but you can visit the developer's website to see how it works.

This hack works with Quick Edit and Quick Reply, with no problems.

Locations that this effect works and you can use the IMGW tag:
  • FAQ - Show BB Codes
  • thread/post preview
  • edit post
  • show thread
  • show single post
  • new pm
  • show pm
  • preview pm
  • signature
  • signature preview
  • profile (if signature is enabled)


Known Issues

No known Major Issues
- apart from the ThickBox effect not working after a Quick Edit, a page refresh will resolve that, it seems to be default behavior with the way Ajax works with vBulletin.


Installation Instructions

Download the zip file, unzip and follow the install instructions.

Note: There is no upgrade path from my vBLightbox hack, you have to uninstall that one first (including uploaded files) before installing this one.


Version History

v1.00 - Friday 18th May 2007
-- Initial/Final release


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Pady 05-18-2007 08:18 AM

thanks for this, i have used thickbox on static html pages and it is a great script - have you used version 2.1.1 or the newer version 3 recently released?

M-Tuning 05-18-2007 08:32 AM

Thanks, trying it right now.

@ Pady it's version 3

M-Tuning 05-18-2007 08:48 AM

Doesn't work with me,

In one style there isn't a pop-up and in the other one there is a pop-up but no images in the pop-up.

YeşiLMeN 05-18-2007 08:59 AM

Thanks m8..

StuntFactoryX 05-18-2007 12:09 PM

will this allow quick reply to be used also? maybee im wrong and thinking of somthing else but in other light box add on i thought i read that quick reply and lightboxes didnt play nice together?

i read in your descripion that it works w/ quick edit. maybee thats what i was thinking.

Mosh 05-18-2007 12:38 PM

Quote:

Originally Posted by StuntFactoryX (Post 1250143)
will this allow quick reply to be used also? maybee im wrong and thinking of somthing else but in other light box add on i thought i read that quick reply and lightboxes didnt play nice together?

i read in your descripion that it works w/ quick edit. maybee thats what i was thinking.

Yes, it works with Quick Edit, with no problems.

Kihon Kata 05-18-2007 01:36 PM

Do you have to use a "custom" bbcode? Or can one just use it on all IMG tags?

rjmjr69 05-18-2007 09:13 PM

I get this error when trying to import the xml

Fatal error: Cannot redeclare print_cp_login() (previously declared in /homepages/14/d191751648/htdocs/forums/includes/adminfunctions.php:22) in /homepages/14/d191751648/htdocs/forums/includes/adminfunctions.php on line 22

Mosh 05-19-2007 06:54 AM

Quote:

Originally Posted by Kihon Kata (Post 1250178)
Do you have to use a "custom" bbcode? Or can one just use it on all IMG tags?

Yes, this is how I setup the hack.

Quote:

Originally Posted by rjmjr69 (Post 1250453)
I get this error when trying to import the xml


Fatal error: Cannot redeclare print_cp_login() (previously declared in /homepages/14/d191751648/htdocs/forums/includes/adminfunctions.php:22) in /homepages/14/d191751648/htdocs/forums/includes/adminfunctions.php on line 22

I have downloaded the attachment from here, installed and then un-installed a couple of times and can not re-create the problem you are having with the .xml file.

But print_cp_login() is your admincp login function which is to do with the logging into the AdminCP, and should have nothing to do with the hack, so I am not sure why that is happening for you.


All times are GMT. The time now is 04:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete