vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBa CMPS: VBulletin Radio Module (https://vborg.vbsupport.ru/showthread.php?t=80825)

brianstevz 04-30-2005 10:00 PM

vBa CMPS: VBulletin Radio Module
 
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/showthrea...ighlight=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:

PHP Code:

<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_blockbulletRadio </strong></span></td>
</
tr>
<
tr>
<
td class="$getbgrowwidth="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 unregisteredplease 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</ato 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/c...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.

Jaxx 05-02-2005 12:44 AM

Do you have a test acct for this?

brianstevz 05-02-2005 01:03 AM

Quote:

Originally Posted by Jaxx
Do you have a test acct for this?


Good idea.

username: demo
password: demo

Jaxx 05-02-2005 01:52 AM

Thanks

khaleel 05-04-2005 02:37 PM

*first install* (always wanted to say that, its pretty pathetic) great hack

Brandon Sheley 05-14-2005 04:26 PM

*installs*

well i i did a week or so ago, seen it at vbadvanced :) nice add-on
thank you


All times are GMT. The time now is 08:39 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.01048 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete