Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2009, 04:48 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default shadowbox: a few questions.

If you don't know what Shadowbox is,.- it's like lightbox but I think it's better,.- I know there's a mod here that has lightbox included with several other things into one package so I figured someone here may be messing around with shadowbox.

Anyways, I've implemented shadowbox into my 3.8.1 vB and have been using BB code,.- working around html input on a forum post,.- and have been shadowboxing youtube video's, flv's, wmp's, .jpg's and such perfectly,.-

If anyone has vBulletin with shadowbox on it

or,...

know a few things about javascript or shadowbox itself,..

I'm wondering if there is a way to shadow certain links automatically instead of haveing to BBCode each link seperately? The shadowbox website is really bland/empty and the forum isn't really supportive (I don't think the author knows to much more then a couple of basic commands and the setup process)..
Reply With Quote
  #2  
Old 07-29-2009, 05:15 AM
cliffhanger cliffhanger is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would also like to know if anyone has a shadowbox plug-in.....for automatically embedding the code, try out the Auto Media Embedding mod here at these forums

https://vborg.vbsupport.ru/showthrea...ight=embedding

Anyone know the shadowbox code tow ork with the Auto Media Embedding mod?
Reply With Quote
  #3  
Old 07-29-2009, 03:08 PM
testbot testbot is offline
 
Join Date: Feb 2009
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by down.low View Post
If you don't know what Shadowbox is,.- it's like lightbox but I think it's better,.- I know there's a mod here that has lightbox included with several other things into one package so I figured someone here may be messing around with shadowbox.


Anyways, I've implemented shadowbox into my 3.8.1 vB and have been using BB code,.- working around html input on a forum post,.- and have been shadowboxing youtube video's, flv's, wmp's, .jpg's and such perfectly,.-


If anyone has vBulletin with shadowbox on it

or,...

know a few things about javascript or shadowbox itself,..


I'm wondering if there is a way to shadow certain links automatically instead of haveing to BBCode each link seperately? The shadowbox website is really bland/empty and the forum isn't really supportive (I don't think the author knows to much more then a couple of basic commands and the setup process)..
all links or certain links? how would the certain links be defined?
Reply With Quote
  #4  
Old 08-02-2009, 01:49 AM
down.low down.low is offline
 
Join Date: Mar 2009
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by testbot View Post
all links or certain links? how would the certain links be defined?
Right now I have to BB code whichever links I want to be shadowed, I would rather it be where all links that are posted are automatically shadowed. The links are defined by the ending extensions, ex. (http://www.spam.com/video.avi),..

--------------- Added 02 Aug 2009 at 00:54 ---------------

Quote:
Originally Posted by cliffhanger
Hello,

I'm just wondering if you can help provide the code on how you were able to get shadowbox to work with vbulletin. Thanks so much!

Tim
1. Download "shadowbox-build-3.0b" from (HERE) and rename the main folder to "shadowbox".



2. You'll also need to download "JW FLV Player" from (HERE) and rename the main folder to "mediaplayer" and put the "mediaplayer" folder into "shadowbox/libraries" folder.



3. Upload the "shadowbox" folder to your forum, usually:


4. In your forum go to "AdminCP> Styles & Templates> Style Manager>", and open your "header" template,..

Paste the following at the very top:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

<link rel="stylesheet" type="text/css" href="http://www.yoursite.com/forums/shadowbox/shadowbox.css">
<script type="text/javascript" src="http://www.yoursite.com/forums/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
    players:    ["qt", "swf", "flv", "wmp", "iframe", "html"]
});
</script>


5. In your forum go to "AdminCP> Custom BB Codes> Add New BB Code>", (You'll be creating a total of 3 new BB Codes)....

(1.)
Title: SB Picture
BB Code Tag Name: sbp
Replacement:
Code:
<a href="{param}" rel="shadowbox">{param}</a>
Example: [sbp]Image URL[/sbp]

Use {Option}: No
Button Image (Optional): You'll have to provide your own.
Remove tag if empty: Yes
Disable BB Code within this BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes



(2.)
Title: SB Video
BB Code Tag Name: sbv
Replacement:
Code:
<a href="{param}" rel="shadowbox;height=768;width=1024">{param}</a>
Example: [sbv]http://www.youtube.com/v/MZzJGM661D0[/sbv]

Use {Option}: No
Button Image (Optional): You'll have to provide your own.
Remove tag if empty: Yes
Disable BB Code within this BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes



(3.)
Title: SB Webpage
BB Code Tag Name: sbw
Replacement:
Code:
<a href="{param}" rel="shadowbox;height=768;width=1024">{param}</a>
Example: [sbw]http://www.google.com/[/sbw]

Use {Option}: No
Button Image (Optional): You'll have to provide your own.
Remove tag if empty: Yes
Disable BB Code within this BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Reply With Quote
  #5  
Old 08-06-2010, 01:23 AM
thunderclap82 thunderclap82 is offline
 
Join Date: Nov 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to get this working in vB 4... more specifically in CMS Articles. I'm having a little trouble though. Anyone get this working?
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 12:24 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
  • Page Generation 0.03506 seconds
  • Memory Usage 2,207KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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