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

Re: PhpBB Radio Mod

Post 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

:)
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 »

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

Re: PhpBB Radio Mod

Post 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! :)
Image
keith10456
BBCoder II
BBCoder II
Posts: 6
Joined: 19 Mar 2010, 17:44

Re: PhpBB Radio Mod

Post 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!!!
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 »

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

Re: PhpBB Radio Mod

Post 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?
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 »

yes it is!
User avatar
asrock
BBCoder II
BBCoder II
Posts: 26
Joined: 23 Mar 2010, 16:26

Re: PhpBB Radio Mod

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

Re: PhpBB Radio Mod

Post by asrock »

:|

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