brianstevz
04-30-2005, 10:00 PM
Hack name: vBa CMPS: VBulletin Radio Module addon
Version:
Author: brianstevz - I take NO credit for the orginal hack. That was scripted by khaleel. All I've done is port his hack to vBa CMPS.
Steps:
Install vBulletin Radio
https://vborg.vbsupport.ru/showthread.php?t=71950&highlight=radio
Add 1 new template
In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_radio"
Insert this code into the template:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Radio </strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] :: Radio</title>
</head>
<BODY >
<!-- new bit allows only members to see the radio!!! -->
<!-- put the location of your radio.blog directory in the following above and below lines -->
<if condition="$show['member']">
<iframe src="/forums/radio.blog/index.php" name="radio" scrolling="no" frameborder="0" width="222" height="300"></iframe>
<p align="center"><font size="1" face="Verdana"><br /> Click <a href="javascript:history.back()"><font color="#000000">here</font></a>
to go back </font></p>
<else />
Your appearing as unregistered, please register by clicking <a href="register.php?$session[sessionurl]">here<a/> or check your emails to activate your account, if your still having problems click <a href="sendmessage.php?$session[sessionurl]">here</a> to contact the webmaster
</if>
</body>
</html>
</td>
</tr>
</table>
<br /
Save the template!
Make sure to repeat this step for each style(skin) that you use.
Add 1 new vBa CMPS Module
Still in your Admincp - vBa CMPS - Add Module
- Module Title - Radio
- Module Identifier - Leave blank
- OR Template to Include - radio
- Activate and select the column you want it in.
- Save and you are done.
Your done!
Hope you like it.
Brian
Demo here: http://www.pro-american.com/forums/cmps_index.php?styleid=18
MAKE A BACKUP
I will not be held responsible for any damage this hack causes to your forum.
This hack is NOT supported since I know virtually nothing about coding.
Please keep any bug reports in this thread.
Version:
Author: brianstevz - I take NO credit for the orginal hack. That was scripted by khaleel. All I've done is port his hack to vBa CMPS.
Steps:
Install vBulletin Radio
https://vborg.vbsupport.ru/showthread.php?t=71950&highlight=radio
Add 1 new template
In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_radio"
Insert this code into the template:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Radio </strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] :: Radio</title>
</head>
<BODY >
<!-- new bit allows only members to see the radio!!! -->
<!-- put the location of your radio.blog directory in the following above and below lines -->
<if condition="$show['member']">
<iframe src="/forums/radio.blog/index.php" name="radio" scrolling="no" frameborder="0" width="222" height="300"></iframe>
<p align="center"><font size="1" face="Verdana"><br /> Click <a href="javascript:history.back()"><font color="#000000">here</font></a>
to go back </font></p>
<else />
Your appearing as unregistered, please register by clicking <a href="register.php?$session[sessionurl]">here<a/> or check your emails to activate your account, if your still having problems click <a href="sendmessage.php?$session[sessionurl]">here</a> to contact the webmaster
</if>
</body>
</html>
</td>
</tr>
</table>
<br /
Save the template!
Make sure to repeat this step for each style(skin) that you use.
Add 1 new vBa CMPS Module
Still in your Admincp - vBa CMPS - Add Module
- Module Title - Radio
- Module Identifier - Leave blank
- OR Template to Include - radio
- Activate and select the column you want it in.
- Save and you are done.
Your done!
Hope you like it.
Brian
Demo here: http://www.pro-american.com/forums/cmps_index.php?styleid=18
MAKE A BACKUP
I will not be held responsible for any damage this hack causes to your forum.
This hack is NOT supported since I know virtually nothing about coding.
Please keep any bug reports in this thread.