![]() |
Quote:
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 |
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 |
Quote:
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.... |
Quote:
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) |
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? |
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 |
$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 ?> |
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 |
Quote:
sorry if i took so long to replyu didnt notice you were replying |
Quote:
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|