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)
-   -   vBulletin Radio 2.3.x (https://vborg.vbsupport.ru/showthread.php?t=71950)

MissKalunji 05-06-2005 12:19 AM

Quote:

Originally Posted by am-fs
OK. I went threw the complete install again

i would like to find the mistake so it can only be viewed by loged in members

now, i can delete the " Radio " temeplate and every thing is the same

the nav bar link goes to www.url.com/testingVB3.7/radio.php

instead of www.url.com/testingVB3.7/radio.blog/index.php

were is the setting makeing it go to the radio.blog/index.php

Step 1 - upload radio.blog files to my server on my testing directory

Step 2 - edit name on the radio.php
From $navbits[$parent] = 'Your radio name'; // Your radio name goes here
To $navbits[$parent] = 'Radio'; // Radio

Step 3 - edit radio.blog/index.php
<title>RADIO.BLOG</title> to <title>Radio</title>

step 4 - create a new template and paste Code
Were is the correct spot to put my url twice, i have moved it all over and can tell no difference

??????????????
<!-- put the location of your radio.blog directory in the following above and below lines -->?????????
<if condition="$show['member']">??????????
<iframe src="forum/radio.blog/index.php" name="radio" scrolling="no" frameborder="0" width="222" height="300"></iframe>??????????

with or with out the Radio Templete i can access my Radio but only if i type the url
www.url.com/testingVB3.7/radio.blog/index.php

Step 5 - Edit nav bar and copy paste code
it show up on the nav bar.

can any one tell me why its not working the right way?/?
Thank you and sorry for some many stupid post but i want this hack the correct way

Thanks


caz of the radio template........its in the radio template that its specify that if his a member he can view it....what i did is.............i putted the radio link in the area where it says : welcome %username.....wich means if the person isnt registered wont see it.....................i think there is a navbar like that.....or there is another code you try this wherever you added the link :
<if condition="$show['member']">??????????
<A HREF="forum/radio.blog/index.php"> <-- add whateva else u added how big the windows should be etc..</if>
that should work

am-fs 05-06-2005 12:34 AM

yea, but if there is no radio templete (deleted )
the nav bar link goes to the radio.php url instead of the radio.blog/index.php url.

right now it is set so only logged in members see it
But if just added the link to my main forum it will show at all times

i just wondering what makes it go to the radio.php if there is no templete or if there is a templete?

im boggled

MissKalunji 05-06-2005 12:40 AM

Quote:

Originally Posted by am-fs
yea, but if there is no radio templete (deleted )
the nav bar link goes to the radio.php url instead of the radio.blog/index.php url.

right now it is set so only logged in members see it
But if just added the link to my main forum it will show at all times

i just wondering what makes it go to the radio.php if there is no templete or if there is a templete?

im boggled


then just add teh <if> comments

example you added the link : <A href="www.domain.com/radio.blog/index.php">

add

<if condition="$show['member']">
<A HREF="www.domain.com/radio.blog/index.php"> Radio</a>
<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>


try that....

MissKalunji 05-06-2005 12:42 AM

Quote:

Originally Posted by am-fs
yea, but if there is no radio templete (deleted )
the nav bar link goes to the radio.php url instead of the radio.blog/index.php url.

right now it is set so only logged in members see it
But if just added the link to my main forum it will show at all times

i just wondering what makes it go to the radio.php if there is no templete or if there is a templete?

im boggled


its the radio.php you notice when you look at the link...i sends you radio.php -> wich checks the template and opens the template to show up the results...but since you have no radio.php (wich checks if his logs) you go directly by using the link....

i dont know if you understand...i know i might speak a lil chineese (caz i understand myself)

am-fs 05-06-2005 12:47 AM

i get a error code on line 20 when i did that

but what make the nav bar link go to the right url?

it cant be that code because it dont matter if i created it yet or if it is there.

i dont want any members to find my or know about the test site, so if i just added the testing link to my main forum they will see Testing VB3.7 in the url when playing the radio?

am-fs 05-06-2005 12:50 AM

i do have a radio.php but that not what is play the music....?

it works fine as long as you type the radio.blog/index.php to the url

but the nav bar link makes it go to the radio.php

maybe i have the radio.blog/index.php in the wrong spot?
its in with the radio.blog files

am-fs 05-06-2005 01:04 AM

$navbits[$parent] = 'Your radio name'; // Your radio name goes here
changed to Radio Radio

<?php

/*

vBulletin Radio 2.3.x

(c) Khaleel Mughal of the www.death-eater.net support at vbulletin thread: https://vborg.vbsupport.ru/showthrea...221#post638221

Support only given if you click install

*/

error_reporting(E_ALL & ~E_NOTICE);

define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'radio');

$phrasegroups = array(

);

$specialtemplates = array(

);

$globaltemplates = array(
'radio',
);

$actiontemplates = array(

);

require_once('./global.php');


$navbits = array();
$navbits[$parent] = 'Radio'; // Radio
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";'); // this means we need the navbar template
eval('print_output("' . fetch_template('radio') . '");'); // and its going to printed and PLACED in the radio template

?>

am-fs 05-06-2005 01:32 AM

OK.....I got it


in the nav bar templete were you cpoy & paste this
<if condition="$show['member']">
<td class="vbmenu_control"><a href="radio.php?$session[sessionurl]">Radio</a></td><else /></if>


i changed this line to
href="http://myurl.com/TestingVB3.7/radio.blog/index.radio.php?$session[sessionurl]">Radio</a></td><else /></if>

but were in the instructions does it say to do that???

i got it, thank you for your help, i will beable to sleep tonight, gezz 3 days now...lol

MissKalunji 05-06-2005 04:54 PM

Quote:

Originally Posted by am-fs
OK.....I got it


in the nav bar templete were you cpoy & paste this
<if condition="$show['member']">
<td class="vbmenu_control"><a href="radio.php?$session[sessionurl]">Radio</a></td><else /></if>


i changed this line to
href="http://myurl.com/TestingVB3.7/radio.blog/index.radio.php?$session[sessionurl]">Radio</a></td><else /></if>

but were in the instructions does it say to do that???

i got it, thank you for your help, i will beable to sleep tonight, gezz 3 days now...lol

if you copy the radio template its in there...


sorry if i took so long to replyu didnt notice you were replying

MissKalunji 05-06-2005 04:55 PM

Quote:

Originally Posted by am-fs
i do have a radio.php but that not what is play the music....?

it works fine as long as you type the radio.blog/index.php to the url

but the nav bar link makes it go to the radio.php

maybe i have the radio.blog/index.php in the wrong spot?
its in with the radio.blog files


its a redirection that says to use the template radio to open the page...


All times are GMT. The time now is 01:37 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.01533 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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