Page 3 of 7

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 23:11
by cisco007
yes, look at this post and replace what i posted with my above post!

viewtopic.php?f=8&t=100&p=883#p864

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 23:29
by asrock
Brilliant yet again Cisco... worked as I wanted it to, one final thing Cisco...
As you can see from the screen capture attachment below, now I get two of these Full Stops when the user isn't logged in or not registered, sorry, but how do I get this to be one full stop like the others when users arent logged in or registered? Hope this makes sense?

:roll:

Re: PhpBB Radio Mod

Posted: 23 Mar 2010, 23:41
by Steve
this should be correct html edit for the overall_header.html that you should use and want display to guests.

Code: Select all

    <!-- IF S_USER_LOGGED_IN --> &#8226; <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: 24 Mar 2010, 00:02
by asrock
Hi Vectra, Will this HTML script stop non registered and guests seeing the Radio link and fix the full stop between the links as per my picture attachment? Because everything is now working exactly as I need it thanks to Ciscso, I now just want the full stop to display correctly to non registered users and guests, or should I say I want one less full stop between links where radio would be displayed.

Re: PhpBB Radio Mod

Posted: 24 Mar 2010, 00:46
by asrock
Tried the coding you suggested Vectra, unfortunately it only causes two full stops to appear to non registered users and visitors. When registered users login they do get to see the Radio link but also they see two full stops. :(
Thanks anyway Vectra for your suggestion.


Folks all I want is the following: When a non registered user or guest visits the forum I want the Radio link to be hidden which it is doing at the minute but I only want one full stop to be shown to non registered and guests... see Non registered picture attachment.


When a forum /registered member logs into forum I want them to see the radio tab which it is doing at the minute and is correct.

Re: PhpBB Radio Mod

Posted: 24 Mar 2010, 04:37
by cisco007
well it's really kind of hard to give you exactly what you want without us having part of the code where all the links are so could you please post up that part of the overall header where all those links are at!?

Re: PhpBB Radio Mod

Posted: 24 Mar 2010, 18:01
by asrock
Hi Cisco, is this enough of the Avalon overall_header or is more needed? I have copied the majority of the links script.

Code: Select all

<div class="navrow"><a href="http://www.tpcclub.co.uk">Homepage</a> &#8226;
            <!-- IF not S_IS_BOT -->
                <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
                <!-- IF S_USER_LOGGED_IN -->
                    <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
                <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
			<!-- 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 -->
            &#8226; <a href="{U_FAQ}">{L_FAQ}</a>
            <!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
            <!-- IF not S_IS_BOT -->
                <!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
        </div>

Re: PhpBB Radio Mod

Posted: 24 Mar 2010, 18:09
by cisco007
replace that code with this one, see what you get!

Code: Select all

<div class="navrow"><a href="http://www.tpcclub.co.uk">Homepage</a>  &#8226;
            <!-- IF not S_IS_BOT -->
                <!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
                <!-- IF S_USER_LOGGED_IN -->
                    <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
                <!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
         <!-- 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>   &#8226; <!-- ENDIF -->
         <a href="{U_FAQ}">{L_FAQ}</a>
            <!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
            <!-- IF not S_IS_BOT -->
                <!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
        </div>

Re: PhpBB Radio Mod

Posted: 24 Mar 2010, 21:12
by asrock
:theman:

Very Very Very Happy Cisco! Theres a place in heaven for you! Many thanks for ALL your help on this Cisco, thats now resolved and is exactly how I want it to look, Your a star Cisco, thanks so very much again for all your help and patience with me and thanks to Stoker for this great Mod. I love this Forum, its better than the official support forum.

Thank You All.

:thumbsup:

Re: PhpBB Radio Mod

Posted: 29 Mar 2010, 08:27
by tonis
hello, i install this mod (working great), but not playing acc streams
how to fix it?
station stream link "http://84.46.205.13:80/zipfm.aac"