vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - Download-Password box BBcode (https://vborg.vbsupport.ru/showthread.php?t=216992)

Yenimuhendis 06-23-2009 10:00 PM

Download-Password box BBcode
 
1 Attachment(s)
Box models from Here


Admin Cp >> Custom BB Codes >> Add New BB Code

Title: Download
BB Code Tag Name : download
Replacement:
Code:

<div class="icon-down"><a href="{param}" target="_blank">Click here to download</a></div>
Example: [download]link goes here[/download]



Add New BB Code again

Title: Password
BB Code Tag Name : password
Replacement:
Code:

<div class="icon-pass">Password : {param}</div>
Example: [password]www.vbulletin-turkey.com[/password]

Now lets add the additional css

Styles & Templates >> Style Manager >> Main Css

Add this code to Additional CSS Definitions

Code:

.icon-down{
                border:solid 1px #90ac13;
                background:#eef4d3 url(images/download.png) 8px 6px no-repeat;
                color:#6b800d;
                font-weight:bold;
                padding:4px;
                text-align:center;
                width: 50%;
        }

.icon-pass{
                border:solid 1px #90ac13;
                background:#eef4d3 url(images/lock_open.png) 8px 6px no-repeat;
                color:#6b800d;
                font-weight:bold;
                padding:4px;
                text-align:center;
                width: 50%;
        }

Add download.png and lock_open.png to your images folder.

https://vborg.vbsupport.ru/attachmen...3&d=1245836721

sebil 06-24-2009 08:59 AM

what does this modification do :confused:

Yenimuhendis 06-24-2009 09:07 AM

You can make download links and rar pass words more visual :)

Daniel_HBK 06-24-2009 09:10 AM

great mod !!! i wanted it so far !

Quote:

what does this modification do :confused:
it tags the download links of files/movies/music and another tag for the password (rar and zip files) it is very useful for warez and movies forums and download forums

Daniel_HBK 06-24-2009 09:11 AM

sorry Yenimuhendis i replied in the same time you reply :)

Yenimuhendis 06-24-2009 09:16 AM

No problem. Thnx for your replay.

kaptanblack 06-25-2009 03:27 PM

Thanks kardeşim.. :) Wonderful modification..

saadessa 06-25-2009 04:49 PM

Thanks kardeşim Wonderful modification

Forumi Shqiptar 09-09-2009 04:10 PM

I added the code exactly as u said but im having problems on showing the icons next to the URL when the user posts the code any ideas?

Many thanks in advance.

ZEHH 11-18-2009 11:05 PM

Desculpe mais isso est? certo mesmo ?

Code:

Exemplo: [senha] www.vbulletin-turkey.com [/ password]
Ou n?o seria [senha] ... [/senha]


All times are GMT. The time now is 07:12 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.01066 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (1)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
  • (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