Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
dBox (aka Download Box) Details »»
dBox (aka Download Box)
Version: 1.01, by demgel demgel is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.x Rating:
Released: 01-03-2010 Last Update: 01-04-2010 Installs: 109
Re-useable Code Additional Files Translations  
No support by the author.

dBox BBCode for vBulletin 3.x/4.x



This BBCode was previously called Download Box, now dBox it's updated and it works in theory with any version of vBulletin (Forum & Suite).

To install dBox BBCode, follow these instructions:
  1. Upload both dbox.gif and dbox-button.png images to your /images/misc directory.
    (You can find them in the upload folder)
  2. Go to Admin CP > Custom BB Codes > Add New BB Code and fill the following fields:
  3. In Title field, write whatever you want (Download Box or something).
  4. In BB Code Tag Name you can algo use the code tag you want, I suggest dbox.
  5. In Example field, copy:
    Code:
    [dbox]http://www.somewebsite.com/some/path/file.zip[/dbox]
    (Change [dbox] tag in case you decided to use a different one)
  6. In Replacement field, copy the following code:
    HTML Code:
    <span style="border: 1px solid #5a7f97; background: #7394a9; display: inline-block; text-align: left">
    	<div style="float: right; width: 39px; height: 34px; background: url(images/misc/dbox.gif) top right; margin: -1px -1px 0px 0px;"></div>
    	<div style="width: 120px; height: 34px; background: url(images/misc/dbox.gif); margin: -1px 0px 0px -1px;"></div>
    	<div style="border: 1px solid #F0F; margin: 5px 10px 0px 10px; padding: 2px; border: 1px solid #5a7f97; background: #fff;">
    		<div style="font: 12px Verdana, Geneva, sans-serif; color: #666; padding: 3px;">{param}</div>
    	</div>
    	<div style="float: right; width: 10px; height: 10px; background: url(images/misc/dbox.gif) bottom right; margin: 0px -1px -1px 0px;"></div>
    	<div style="width:10px; height: 10px; background: url(images/misc/dbox.gif) bottom left; margin: 0px 0px -1px -1px;"></div>
    </span>
  7. In Description field, I suggest you copy this:
    Code:
    Put your links in a very nice vBulletin 4.0 Style box.
  8. In Button Image (Optional) field copy this:
    Code:
    images/misc/dbox-button.png
  9. Leave the rest by default and click Save.

Changes in v1.01
- {CODE, 05-JAN-2010}: Updated to work when center tag is used (added text-align style value to main div).
- {INSTRUCTIONS, 05-JAN-2010}: Forgot to include the instruction to add the button (step 8).

If you have my old Download Box mod, you just have to copy the new replacement code and upload the images. No need to delete the old one .

I also included the PSD file so you can change the colors/text/icon and match your current style (in case you change colors make sure to edit also the colors in the Replacement code).

Download Now

File Type: zip dBox.BBCode.for.vBulletin.v3.x-4.x.v1.01.zip (215.0 KB, 786 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Gorgasm, mohammadxxx

Comments
  #12  
Old 01-04-2010, 03:45 PM
demgel's Avatar
demgel demgel is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elwachiman View Post
install it but sometimes distorted leaves and sometimes not, because I do not understand this problem. thanks
I also placed some screenshots about
forgive my poor English
Didn't understand you either, sorry. Can you be more specific?

Quote:
Originally Posted by MrKramer View Post
Just what i needed,
thanks man!

1 question:
What font did you use for the "Download" text?
It's called Delicious.

Quote:
Originally Posted by masons View Post
Great mod.. thank you.
But as these are all links we add in there, can you change this so that the link we put in are actual links.... I mean, clickable.?
It doesn't matter if you post links with/without this BBCode, just make sure to mark "Automatically parse links in text" in Additional Options when posting.

Quote:
Originally Posted by elwachiman View Post
dbox viewed from different browsers, ie8, mozilla and google crome ff3.5 two firefox and chrome look good but ie8 is elongated
Do you have that compatibility view thing active?
Reply With Quote
  #13  
Old 01-04-2010, 04:05 PM
dtommy79 dtommy79 is offline
 
Join Date: Jul 2007
Location: Hungary
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod.

My only problem is that it parses the URLs into links automatically so I have to use it along with the code tag to disable clicking.
Reply With Quote
  #14  
Old 01-05-2010, 02:23 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

plzzz chek attachment

thanxxx
________
STARCRAFT 2 RELAY
Attached Images
File Type: gif alra7ba00.gif (83.6 KB, 0 views)
Reply With Quote
  #15  
Old 01-05-2010, 11:01 AM
demgel's Avatar
demgel demgel is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
installed

plzzz chek attachment

thanxxx
It's fixed now, check the main post for the new code (just added text-align style value for main div). Just replace your current replacement code with the new one.
Reply With Quote
  #16  
Old 01-09-2010, 09:36 AM
Cloud_Strife Cloud_Strife is offline
 
Join Date: Nov 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
installed

plzzz chek attachment

thanxxx
ADD:
<span style="border: 1px solid #5a7f97; background: #7394a9 none repeat scroll 0% 0%; width: 100%; display: inline-block; text-align: left;">
Reply With Quote
  #17  
Old 01-09-2010, 10:35 AM
evildon's Avatar
evildon evildon is offline
 
Join Date: Dec 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really a great one..perfectly match my needs..

Can you please also help me to insert a tag inline with the BBcode so that i need not put the code everytime i post a link...

Thanks
Reply With Quote
  #18  
Old 01-10-2010, 12:43 PM
Cloud_Strife Cloud_Strife is offline
 
Join Date: Nov 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evildon View Post
Really a great one..perfectly match my needs..

Can you please also help me to insert a tag inline with the BBcode so that i need not put the code everytime i post a link...

Thanks
The Code will Look like this:
Code:
<div class="bbcode_container" style="border: 1px solid #F0F; margin: 5px 10px 0px 10px; padding: 2px; text-align: left; margin: 5px 10px 0px 10px; padding: 2px; border: 1px solid #535353; background: #414141;">
	<div class="bbcode_description" style="padding-left: 25px;">
{vb:rawphrase code}:
</div>
<div style="font: 12px Verdana, Geneva, sans-serif; color: #666; padding: 3px;  text-align: left;">
	<pre style="padding-top: 5px; padding-bottom: 15px; padding-left: 5px; padding-right: 5px; font: 12px Verdana, Geneva, sans-serif; text-align: left; margin: 5px 10px 10px 10px; overflow:auto; color: #666; background: #EFEFEF; border: 1px solid #535353;">{vb:raw code}</pre></div>
</div>
You can change The colors, message...etc...
Reply With Quote
  #19  
Old 01-12-2010, 05:28 PM
CheeSie's Avatar
CheeSie CheeSie is offline
 
Join Date: Sep 2006
Location: Denmark
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've experienced what if you do not supply a linebreak right after the dbox tag the first url wont be parsed automatically.. is there a way to fix this?
Reply With Quote
  #20  
Old 02-09-2010, 12:26 PM
darkdevilz darkdevilz is offline
 
Join Date: Sep 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I have a problem. it is showed attachement. İf ı add a short link my table is short and it is seem bad.. How can ı set a standart table weight..
Attached Images
File Type: png deneme.png (8.7 KB, 0 views)
Reply With Quote
  #21  
Old 03-13-2010, 01:09 PM
NTT NTT is offline
 
Join Date: May 2007
Location: Viet Nam
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to fix this bug ?
see Attach Files
Attached Images
File Type: png untitled.PNG (24.5 KB, 0 views)
Reply With Quote
Reply

Thread Tools

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 10:30 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.11058 seconds
  • Memory Usage 2,350KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (1)bbcode_html
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete