![]() |
Xtreme Resize (lightbox2 bbcode)
1 Attachment(s)
This will enable you to use LightBox2 as a BBCode in your posts.
Please note this is only possible due to the fantastic work of HuddleTogether, so boogie on over to their site and Download lightbox2 upload files from lightbox2 as follows: css/*.* - root/forum/css/*.* js/*.* - root/forum/clientscript/*.* images/*.* - root/forum/images/*.* Upload the attached image to here: root/forum/images/ximgrs.png Create new Custom BBCode Title: Code:
Xtreme Resize Code:
ximgrs Code:
<p><script type="text/javascript" src="clientscript/prototype.js"></script> Example: Code:
[ximgrs]url to image[/ximgrs] Code:
Lightbox2 bbcode for images Code:
images/ximgrs.png |
|
Pitty it can't be integrated into the standard BB [IMG] code.
|
can't get this to work.
|
Quote:
Quote:
Quote:
|
how can use this lighbox on all pictures posted on my forum??
(not as bbcode) |
Quote:
|
thanks!, i asked cause i saw a few forums using this lightbox in all its images
|
i did get it to work, however not on the CMS
|
Quote:
This bbcode is working fine on my own CMS: http://www.eidolonmh.com/xtreme/cont...ered-in-London |
Thanks,
But I think it would be better if you call the files .Js once in showthread and then do the rest of the code as BBCode so in showthread template add Code:
<script type="text/javascript" src="clientscript/prototype.js"></script> Code:
<p> |
Quote:
|
Thanks for this, works great!
|
Work not with 2 Images
|
I refreshed this with Lightbox 2.51 and now with JQuery 1.7.2 with VB4.1.12pl1
Create the same BBCode but change the "Replacement" to the following (Notice I also didn't want a text part adding - uncomment it if you do. Code:
<p><script type="text/javascript" src="/forum/clientscript/jquery/jquery-1.7.2.min.js?load=effects,builder"></script> Basically repeat the steps in the original post, but you'll not find prototype.js in there any more as they've changed to JQuery. So you'll need to go download JQuery 1.7.2 and put that into the clientscript/jquery folder NOTICE: This current code also assumes /forum/ as the path to your forum. Just change that if required. Hope you find it useful. |
All times are GMT. The time now is 06:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|