inherit
108710
0
Oct 9, 2021 3:34:03 GMT -8
horsehandler
127
August 2007
horsehandler
|
Post by horsehandler on Mar 25, 2013 5:06:36 GMT -8
I've put this code for a shoutbox in my global header because I can't figure out how to get sound on the PB one and I reckon sound is a must have.
</script>
<!-- Begin ShoutMix - http://www.shoutmix.com --><iframe title="xxxxxxxxxx" src="http://www2.shoutmix.com/?xxxxxxxx" width="100%" height="320" frameborder="0" scrolling="auto"><a href="http://www2.shoutmix.com/?xxxxxxxxx">View shoutbox</a></iframe><!-- End ShoutMix -->
<style type="text/css"> <!-- .smTop, .smMiddle { display: none; } --> </style>
Is there a way to either hide it from guests completely or at least not have it showing on the landing page please? Some of the boards are open for guests to read, others aren't.
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 25, 2013 5:13:23 GMT -8
Greetings, There is a plugin in the Plugin Database that adds sound to the PB shoutbox
|
|
inherit
108710
0
Oct 9, 2021 3:34:03 GMT -8
horsehandler
127
August 2007
horsehandler
|
Post by horsehandler on Mar 25, 2013 5:35:00 GMT -8
Thank you RedsSetBat - if you read the thread connected to the plugin you'll maybe see why I can't figure it out!! I'm thick and I need simple - having to find sound files, convert them to different types, find somewhere to store them etc isn't simple which is why I'm happy to pay the small charge involved to have shoutmix do it for me without all the hassle.
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 25, 2013 5:42:20 GMT -8
I highly recommend the built-in shoutbox since it integrates well, and people here on support would probably be happy to help you get the sound files right, but if you want to use the other shoutbox, you can put it in your forum's templates with these tags around it:
{if $[current_user.is_member]} <!-- Shoutbox Here --> {/if}
If you can link to your forum and tell me where you want the shoutbox, I can tell you where in the template to put it.
|
|
inherit
108710
0
Oct 9, 2021 3:34:03 GMT -8
horsehandler
127
August 2007
horsehandler
|
Post by horsehandler on Mar 25, 2013 7:30:45 GMT -8
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 25, 2013 10:02:21 GMT -8
In that case, you want to go Admin > Structure > Layout Templates > Forum Wrapper and find this (line 51 by default):
<div id="navigation-tree"> $[navigation.tree] </div>
Then you want to take the full code from before, and add it below this part:
<div id="navigation-tree"> $[navigation.tree] </div>
{if $[current_user.is_member]} <!-- Begin ShoutMix - http://www.shoutmix.com --><iframe title="xxxxxxxxxx" src="http://www2.shoutmix.com/?xxxxxxxx" width="100%" height="320" frameborder="0" scrolling="auto"><a href="http://www2.shoutmix.com/?xxxxxxxxx">View shoutbox</a></iframe><!-- End ShoutMix -->
<style type="text/css"> <!-- .smTop, .smMiddle { display: none; } --> </style> {/if}
|
|
inherit
108710
0
Oct 9, 2021 3:34:03 GMT -8
horsehandler
127
August 2007
horsehandler
|
Post by horsehandler on Mar 25, 2013 12:53:54 GMT -8
That works brilliantly - thank you!
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Mar 25, 2013 22:50:14 GMT -8
Glad to hear it
|
|