theFM
08-30-2009, 10:00 PM
Admin Cp >> Custom BB Codes >> Add New BB Code
BBCode Download
Title: Download
BB Code Tag Name : download
Replacement:
<div class="icon-down"><a href="{param}" target="_blank">Click here to download</a></div>
Example: link goes here
---------------------------------------------------------------------------------------
BBCode Password
Title: Password
BB Code Tag Name : password
Replacement:
<div class="icon-pass">Password : {param}</div>
Example: http://www.viet.vn/
Now lets add the additional css
Styles & Templates >> Style Manager >> Main Css
Add this code to Additional CSS Definitions
<!--code by wate*fix by theFM-->
<!--Version 1.1-->
.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.
Please Click On the INSTALL if you are installing it.
If you Can Please If you can Support Me by Giving Me Some Donations , it will be very Helpful.
BBCode Download
Title: Download
BB Code Tag Name : download
Replacement:
<div class="icon-down"><a href="{param}" target="_blank">Click here to download</a></div>
Example: link goes here
---------------------------------------------------------------------------------------
BBCode Password
Title: Password
BB Code Tag Name : password
Replacement:
<div class="icon-pass">Password : {param}</div>
Example: http://www.viet.vn/
Now lets add the additional css
Styles & Templates >> Style Manager >> Main Css
Add this code to Additional CSS Definitions
<!--code by wate*fix by theFM-->
<!--Version 1.1-->
.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.
Please Click On the INSTALL if you are installing it.
If you Can Please If you can Support Me by Giving Me Some Donations , it will be very Helpful.