vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   BB Code Enhancements - Xtreme Resize (lightbox2 bbcode) (https://vborg.vbsupport.ru/showthread.php?t=230176)

EidolonAH 12-13-2009 10:00 PM

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
BB Code Tag Name:
Code:

ximgrs
Replacement:
Code:

<p><script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<font color="#000000"><strong>Click Thumbnail to view Full Screenshot Demo</strong></font><br /><br />
<a href="{param}" rel="lightbox" title="{param}"><img src="{param}" width="300" /></a></p>


Example:
Code:

[ximgrs]url to image[/ximgrs]
Description:
Code:

Lightbox2 bbcode for images
Button Image (Optional) :
Code:

images/ximgrs.png
View Demo

Dr.osamA 12-14-2009 08:38 PM

thnxxx man !!!

i am weting for this mod

brb for install
________
Girlfriend deepthroat

Cableguy69 12-14-2009 09:51 PM

Pitty it can't be integrated into the standard BB [IMG] code.

WNYorker 12-15-2009 02:12 AM

can't get this to work.

EidolonAH 12-15-2009 08:24 AM

Quote:

Originally Posted by Cableguy69 (Post 1930800)
Pitty it can't be integrated into the standard BB [IMG] code.

It's a simple bbcode not a mod'.

Quote:

Originally Posted by WNYorker (Post 1930927)
can't get this to work.

How did you use the bbcode?

Quote:

Example:

Code:

[ximgrs]url to image[/ximgrs]


cloferba 12-15-2009 12:44 PM

how can use this lighbox on all pictures posted on my forum??

(not as bbcode)

EidolonAH 12-15-2009 04:29 PM

Quote:

Originally Posted by cloferba (Post 1931082)
how can use this lighbox on all pictures posted on my forum??

(not as bbcode)

That would require a fairly extensive mod' to be written, this is just a BBCode, nothing more.

cloferba 12-15-2009 05:09 PM

thanks!, i asked cause i saw a few forums using this lightbox in all its images

WNYorker 12-15-2009 08:16 PM

i did get it to work, however not on the CMS

EidolonAH 12-17-2009 05:56 AM

Quote:

Originally Posted by WNYorker (Post 1931361)
i did get it to work, however not on the CMS

Are you having problems with your CMS?

This bbcode is working fine on my own CMS:
http://www.eidolonmh.com/xtreme/cont...ered-in-London


All times are GMT. The time now is 11:23 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.01040 seconds
  • Memory Usage 1,737KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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