vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   BB Code Enhancements - Download Box BBCode (https://vborg.vbsupport.ru/showthread.php?t=168611)

demgel 01-23-2008 10:00 PM

Download Box BBCode
 
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. :D

Mark as Installed

intensecool 01-24-2008 04:20 AM

Thanks for Sharing

** Reserved **

PoetJA-1975 01-24-2008 05:23 AM

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

Jacquii.

bokmade 01-24-2008 08:22 AM

Thanks ..

I Need It ..

megabyte366 01-24-2008 07:56 PM

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.

demgel 01-24-2008 10:08 PM

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.

megabyte366 01-25-2008 01:56 AM

Quote:

Originally Posted by demgel (Post 1428282)
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

realsumon 01-25-2008 07:49 AM

[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

demgel 01-25-2008 09:23 AM

Quote:

Originally Posted by realsumon (Post 1428551)
[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?

megabyte366 01-25-2008 11:14 AM

Quote:

Originally Posted by demgel (Post 1428578)
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..


All times are GMT. The time now is 12:28 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.01283 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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