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..

realsumon 01-25-2008 12:07 PM

Quote:

Originally Posted by demgel (Post 1428578)
Do you mean all link are unclicleable?

yes sir. can you help me pls

realsumon 01-25-2008 12:09 PM

why i need dead link?

Because i can copy all link and check rapidshare link checker -

gerber 01-25-2008 03:28 PM

how to make all link will be dead?

Skavenger 01-25-2008 04:37 PM

Quote:

Originally Posted by megabyte366 (Post 1428425)
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

I would need this too because I use "hide links from guests" hack
is there any way to do it?

thanks!

sheryjutt 01-26-2008 09:16 AM

hey Great Job Wonderfool

Thanks a Lot:D

latinwarrior 01-27-2008 08:56 AM

Thanks.

demgel 01-27-2008 09:34 PM

Quote:

Originally Posted by realsumon (Post 1428662)
why i need dead link?

Because i can copy all link and check rapidshare link checker -

Quote:

Originally Posted by megabyte366 (Post 1428633)
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..

Well, the first link ... don't really know, but I can't make that the first link become clicleable... only putting a space between the ] and the url.

If you want all the link are unclicleable just unmark the vbulletin option: "Automatically parse links in text" (in Additional Options).

ZomgStuff 01-28-2008 01:13 AM

To make this pro you should see if you can allow this to not parse links or trunctuate ;)

realsumon 01-28-2008 10:39 AM

Automatically parse links in text - yeah i am doing that. but how i am gonna teach my 32000 User. anyway - man u are great - again Thanks for code.

TCE Killa 01-28-2008 01:39 PM

This is great, thanks, marked installed and rated excellent.

blind-eddie 01-28-2008 03:40 PM

This is a nice addon, but can be done without the DL box, but I like it.


Tip:

After you hit the http://bigsite.biz/images/down-button.gif then hit your space bar, you can then hit https://vborg.vbsupport.ru/external/2009/12/3.gif , add url to download hit ok, With the text still highlighted, type in what the download is....repeat these steps for many downloads....looks better then a url. I even color coded each word.
Example:
PHP Code:

[DOWN] [URL="http://vbulletin.org"][COLOR="Green"]VB[/COLOR][/URL]
[
URL="http://vbulletin.org"][COLOR="DarkOrange"]VB-1[/COLOR][/URL]
[
URL="http://vbulletin.org"][COLOR="Green"]VB-2[/COLOR][/URL]
[
URL="http://vbulletin.org"][COLOR="DarkOrange"]VB-3[/COLOR][/URL]
[
URL="http://vbulletin.org"][COLOR="Green"]VB-4[/COLOR][/URL]
[
URL="http://vbulletin.org"][COLOR="DarkOrange"]VB-6[/COLOR][/URL][/DOWN

End result:
http://bigsite.biz/images/dl.bmp

irfreedownload 02-04-2008 08:58 PM

great!

irfreedownload 02-09-2008 06:08 PM

how to put it to quick post replay ??

FOMSCU Forum 02-10-2008 05:05 AM

Greattttttttttttttttttttttttttt

rated excellent

dvbusuario 02-10-2008 05:19 PM

Nice bbcode thank you

P.S. Hello Demgel, i'm Monito (Fenix) xD

goku93 02-14-2008 04:09 AM

Thank you for bbcode
With your permission I leave the image in Spanish

http://img518.imageshack.us/img518/82/down1lp3.gif

regards

rapidphim 02-22-2008 01:51 PM

awesome work... changed the look of boring code/quote box.... really nice work. However, is there a way to make the link is not LIVE link? Like you use the code tag to make it unclickable?

professional77 02-23-2008 07:20 PM

thank you

ChU v2 02-24-2008 05:34 PM

Quote:

Originally Posted by rapidphim (Post 1448692)
awesome work... changed the look of boring code/quote box.... really nice work. However, is there a way to make the link is not LIVE link? Like you use the code tag to make it unclickable?

I was just going to ask the same thing.

Boofo 02-28-2008 07:12 PM

Just don't automatically parse links.

rapidphim 02-29-2008 08:26 PM

boofo... you are talking to noncoders here. Please be kind to explain a bit more. Thanks.

Boofo 02-29-2008 08:31 PM

In the Additional Options at the bottom of the new post, there is an "Automatically parse links in text" checkbox. Just make sure that is unchecked. No code knowledge needed. ;)

mystic10 03-30-2008 06:48 PM

would this be possible to make the download box in black and red...

msamm 04-01-2008 07:04 PM

i do it in arabic way

HTML Code:

<html dir="ltr">

<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="48" background="images/misc/down3.gif" height="39">
                                &nbsp;</td>
                                <td background="images/misc/down2.gif">&nbsp;</td>
                                <td width="113" background="images/misc/down1.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/down5.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/down4.gif" height="11" width="11">
                                <img border="0" src="images/misc/space.gif" width="1" height="1"></td>
                        </tr>
                </table>
                </td>
        </tr>
</table>


cafenetland 04-05-2008 10:29 PM

thx

installed

cafenetland 04-13-2008 12:00 PM

thx installed.

i also needed a rar pass box

so i used ur mod and made some changes

so here is it.

upload attached image to /images/misc/

add new bb code
name : rar pass
tag : rar
code :
PHP 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/rarpass.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 :
PHP Code:

[rar]http://www.your-link.com[/rar] 

Description :
PHP Code:

Put your link(sin a custom box

Use {option} :
PHP Code:

 no 

credits to demgel

http://i23.ahpic.com/jhxxys.jpg

Boofo 04-13-2008 12:41 PM

Why not just make it a Password box instead as ZIP files can have passwords, too.

cafenetland 04-13-2008 12:46 PM

Quote:

Originally Posted by Boofo (Post 1489692)
Why not just make it a Password box instead as ZIP files can have passwords, too.

rar pass the one what i was needed :D

thats why i could not think about zip or all the other archive formats

but u can just edit the image file in "paint" and delete "rar"

Boofo 04-13-2008 01:51 PM

I don't use it. It was just a suggestion for others who might want it.

rizelim 04-14-2008 07:39 PM

thanks


All times are GMT. The time now is 11:57 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.01572 seconds
  • Memory Usage 1,895KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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