PhpBB3 Radio Mod

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: PhpBB Radio Mod

Post 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
User avatar
asrock
BBCoder II
BBCoder II
Posts: 26
Joined: 23 Mar 2010, 16:26

Re: PhpBB Radio Mod

Post 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:
Image
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 803
Joined: 05 Mar 2010, 01:10
Extra Rank: Donator.png
BBCodes: 2000
Favourite BBCode: porn tube
Favourite MOD: Non of Stokers
Location: up your bum
Contact:

Re: PhpBB Radio Mod

Post 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 -->
NAPWR wrote: Nice, Stoker is Hot
User avatar
asrock
BBCoder II
BBCoder II
Posts: 26
Joined: 23 Mar 2010, 16:26

Re: PhpBB Radio Mod

Post 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.
Image
User avatar
asrock
BBCoder II
BBCoder II
Posts: 26
Joined: 23 Mar 2010, 16:26

Re: PhpBB Radio Mod

Post 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.
Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: PhpBB Radio Mod

Post 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!?
User avatar
asrock
BBCoder II
BBCoder II
Posts: 26
Joined: 23 Mar 2010, 16:26

Re: PhpBB Radio Mod

Post 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>
Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: PhpBB Radio Mod

Post 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>
User avatar
asrock
BBCoder II
BBCoder II
Posts: 26
Joined: 23 Mar 2010, 16:26

Re: PhpBB Radio Mod

Post 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:
Image
tonis
BBCoder I
BBCoder I
Posts: 4
Joined: 28 Mar 2010, 23:11

Re: PhpBB Radio Mod

Post 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"
Locked