Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Download Box BBCode Details »»
Download Box BBCode
Version: 1.00, by demgel demgel is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.6.8 Rating:
Released: 01-23-2008 Last Update: Never Installs: 157
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Download Box BBCode

There are thousands of forums where we can find thousands of links. I saw this hack in a website, but wasn't vBulletin , that's why I've created this. You put your links and the bbcode add a nice links box. Just take a look to the screenshot

This is my first mod, so... any suggestions will be great!

Install Instructions

1. Download the zip, extract it and upload the images to "images/misc/" folder in your forum.
2. Go to AdminCP ? Custom BB Codes ? Add New BB Code

Quote:
Title: Download Box
Tag: down
Replacement:
HTML Code:
<table border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="39" colspan="3">
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<td width="113" background="images/misc/down1.gif" height="39">
				&nbsp;</td>
				<td background="images/misc/down2.gif">&nbsp;</td>
				<td width="48" background="images/misc/down3.gif" height="39">
				&nbsp;</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td bgcolor="#C0DDFF" width="10">&nbsp;</td>
		<td bgcolor="#C0DDFF">
		<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #007FD8" bgcolor="#FFFFFF">
			<tr>
				<td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center">
				<p style="margin: 5px">{param}</td>
			</tr>
		</table>
		</td>
		<td bgcolor="#C0DDFF" width="10">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="3">
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<td background="images/misc/down4.gif" height="11" width="11">
				<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
				<td bgcolor="#C0DDFF" height="11">
				<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
				<td background="images/misc/down5.gif" height="11" width="11">
				<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
Example: [down]http://www.your-link.com[/down]
Description: Put your link(s) in a custom box.
Use {option}: No
Button Image: images/misc/down-button.gif
3. That's all!

NOTE: If you want this mod in other colors, just ask for them.

Mark as Installed

Show Your Support

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

Comments
  #2  
Old 01-24-2008, 04:20 AM
intensecool intensecool is offline
 
Join Date: Feb 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for Sharing

** Reserved **
Reply With Quote
  #3  
Old 01-24-2008, 05:23 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice. Thanx for the share ALSO nice site you have

Jacquii.
Reply With Quote
  #4  
Old 01-24-2008, 08:22 AM
bokmade bokmade is offline
 
Join Date: Feb 2002
Location: Doha
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ..

I Need It ..
Reply With Quote
  #5  
Old 01-24-2008, 07:56 PM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i click on the link inside the box, the link is dead.. is there anyway that i can still have the box and the link still be alive...
thanks

love the hack.
Reply With Quote
  #6  
Old 01-24-2008, 10:08 PM
demgel's Avatar
demgel demgel is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First, the option "Automatically parse links in text" MUST be cheked.

Second, by default if the BBCode look this:

[down]http://www.vbulletin.org[/down]

You will get the dead link. BUT if look like this:

[down] http://www.vbulletin.org[/down]

The link will be automatically converted to url

Just one space between the "]" and the link.
Reply With Quote
  #7  
Old 01-25-2008, 01:56 AM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demgel View Post
First, the option "Automatically parse links in text" MUST be cheked.

Second, by default if the BBCode look this:

[down]http://www.vbulletin.org[/down]

You will get the dead link. BUT if look like this:

[down] http://www.vbulletin.org[/down]

The link will be automatically converted to url

Just one space between the "]" and the link.
now i have one more thing to ask... i got the space after the "]" now is there a way to automatically input the space.. or do the user have to add the space to keep the link alive.
thanks
Reply With Quote
  #8  
Old 01-25-2008, 07:49 AM
realsumon realsumon is offline
 
Join Date: Feb 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[down]www.vbulletin.org
www.vbulletin.org
www.vbulletin.org
www.vbulletin.org[/down]

is there anyway all link will be same like - first one
Reply With Quote
  #9  
Old 01-25-2008, 09:23 AM
demgel's Avatar
demgel demgel is offline
 
Join Date: Feb 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by realsumon View Post
[down]www.vbulletin.org
www.vbulletin.org
www.vbulletin.org
www.vbulletin.org[/down]

is there anyway all link will be same like - first one
Do you mean all link are unclicleable?
Reply With Quote
  #10  
Old 01-25-2008, 11:14 AM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demgel View Post
Do you mean all link are unclicleable?
your first one is a dead link...... is there a way to put a space in the field so you don't have to put it manually... This is a pain to keep telling the user to do... after that the rest of the links are alive.. which is okay... but it would be nice to have it either way.. all links alive or dead..
thanks..
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 01:11 AM.


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.04476 seconds
  • Memory Usage 2,303KB
  • Queries Executed 23 (?)
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)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete