Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBLightbox on vBA CMPS portal! Details »»
vBLightbox on vBA CMPS portal!
Version: 1.00, by Luky Luky is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Version: 3.6.5 Rating:
Released: 04-08-2007 Last Update: Never Installs: 4
Template Edits
 
No support by the author.

NOTE: This is an addon for vBLightbox so it can be used on all pages!
Hey, its really easy! Just 1 template edit and your all set! This works on all pages relating to vB btw!

Find the template: adv_portal

Find:
PHP Code:
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if> 
After add:
PHP Code:
<!-- vBLightbox by jdsinclair for vBA CMPS by Jay -->
<
script type="text/javascript" src="clientscript/prototype.js"></script>
<
script type="text/javascript" src="clientscript/scriptaculous.js?load=effects"></script>
<
script type="text/javascript" src="clientscript/lightbox.js"></script>
<
link rel="stylesheet" href="clientscript/vbulletin_css/lightbox.css" type="text/css" media="screen" />
<!-- 
end of vBLightbox --> 
And your all done!

To add it to other pages, just put that bit of code in the header

Don't forget to upload the /clientscript folder to the same location as your vBA CMPS page!

So if your vBA CMPS page is in /public_html and your vBulletin is in /public_html/vb you should have the /clientscript folder in /public_html/clientscript and /public_html/vb/clientscript

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-10-2007, 02:38 AM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a demo site we can go to, to check it out?
Reply With Quote
  #3  
Old 04-10-2007, 03:31 AM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, screenshot please!
Reply With Quote
  #4  
Old 04-10-2007, 05:31 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uh, its kinda self explanatory. But my website has it, http://www.alchemist-team.net/
Reply With Quote
  #5  
Old 04-10-2007, 05:48 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 questions:

1) What 'clientscript folder' are we supposed to upload?
2) Does this require an additional modification to be installed?
2a) If so, please name and link to it

and a comment:

vBACMPS usually pulls the correct path for things by itself, by replacing URLs that match a certain pattern, in certain templates.

Rather than telling everyone to duplicate their /clientscript folder, which (at the very least) increases their Space Used unnecessarily, why not put the CORRECT path in your instructions?
Reply With Quote
  #6  
Old 04-10-2007, 06:24 AM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, this:

http://www.huddletogether.com/projects/lightbox/
Reply With Quote
  #7  
Old 04-10-2007, 12:09 PM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No you dont need that, you just gota install vBLightbox! The client script folder is in it
Reply With Quote
  #8  
Old 04-21-2007, 01:59 PM
ezpassage ezpassage is offline
 
Join Date: Apr 2007
Location: Baltimore, MD
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and working great. thanks!
Reply With Quote
  #9  
Old 04-29-2007, 09:47 AM
Luky Luky is offline
 
Join Date: Oct 2006
Location: Australia
Posts: 595
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, you can add that code to the header of any page to make it work, or you can put it in header_includes or what ever template to make it work on every page
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04338 seconds
  • Memory Usage 2,283KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete