Page 2 of 7

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 18:07
by asrock
Cheers for that Stoker, I will try what you have said and hopefully will report back some good news to you later.

Many thanks

:)

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 18:10
by cisco007
i have been looking at that style and you will not get the image showing!
if you haven't done so yet do these edits!

open your overall_header.html file and find:

Code: Select all

<a href="{U_FAQ}">{L_FAQ}</a>
before add:

Code: Select all

<a href="radio.php" onclick="window.open('radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=440, height=380, left=20, top=20'); return false;">{L_RADIO}</a>
or try the subsilver2 edits and see if they work:

Code: Select all

<a href="radio.php" onclick="window.open('radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=440, height=380, left=20, top=20'); return false;"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RADIO}</a>

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 19:13
by asrock
:D
Wow you guys! Yes Cisco I had just logged into this forum to let Stoker know I had done everything as explained and still the Radio link had not shown up on my forum, then I seen your post and tried what you said using the first piece of code you posted and YES!!! it now works with my Avalon style. Thank you both so very much :lol: So happy now. But... theres always a but. Can someone now help me with these two questions please:

On the attachment picture below you can see each word is separated by a full stop (small grey dot) can someone now tell me how to put this full stop into where my arrow is on the picture so it also separates the Radio from the other words.

Finally, is there anyway to make the Radio link invisible until the user logs into forum, in other words, if you are not a registered member then you cannot see or use the Radio?

Thanks again Stoker and Cisco for both your help! :)

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 19:57
by keith10456
Stoker » 23 Mar 2010, 06:34 wrote:Find this in the radio2.html:

Code: Select all

<p><!-- IF radio2 neq 0 -->{L_LISTENING_TO}: <u>{NP_NAME}</u><!-- ELSE --> {L_NO_CHOICE_MADE_YET}<!-- ENDIF --></p>
and change to:

Code: Select all

<p><!-- IF RADIO neq 0 -->{L_LISTENING_TO}: <u>{NP_NAME}</u><!-- ELSE --> {L_NO_CHOICE_MADE_YET}<!-- ENDIF --></p>
That fixed it!

Thanks!!!

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 21:20
by cisco007
yeah sorry i forgot that find:

Code: Select all

<a href="{U_FAQ}">{L_FAQ}</a>
replace with:

Code: Select all

 &#8226; <a href="{U_FAQ}">{L_FAQ}</a>
that's it!

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 21:24
by asrock
cisco007 » 23 Mar 2010, 20:20 wrote:yeah sorry i forgot that find:

Code: Select all

<a href="{U_FAQ}">{L_FAQ}</a>
replace with:

Code: Select all

 &#8226; <a href="{U_FAQ}">{L_FAQ}</a>
that's it!

Cisco is this reply for me?

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 21:27
by cisco007
yes it is!

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 22:09
by asrock
:D

Superb Cisco007! Many many thanks for that, worked a treat, and thanks to Stoker for this excellent Mod !
All I need to workout now is how to stop non registered forum users (Visitors) seeing and using the Radio link.

Many thanks for your help so far guys! ;)

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 22:13
by cisco007
replace the previous code you put up with this!

Code: Select all

<!-- IF S_USER_LOGGED_IN --><a href="radio.php" onclick="window.open('radio.php','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=440, height=380, left=20, top=20'); return false;">{L_RADIO}</a><!-- ENDIF -->

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 22:29
by asrock
:|

Cisco do you mean in overall_header ?
Not sure what code I should FIND: then replace ? ? ? :?