TinyPortal

Development => Support => Topic started by: executor485 on April 09, 2007, 06:46:10 PM

Title: Two Shout Boxes?
Post by: executor485 on April 09, 2007, 06:46:10 PM
Ok... I did try to search, but I didnt find any information on this.  So hopefully you wont flame me if there was already something posted about this.
Basically I would like to make 2 different shoutboxes.  One will be for the community, and the other will be just for the Admin/Moderators.  I know how to make it so that only the Admin/Moderators can see a certain block, and I made a shoutbox that could only be seen by the Admin/Mods but it included all the shouts from the community shout and also posted to the community shout as well.  Is there a way to make 2 different shoutboxes for the two different groups?

SMF: 1.1.1
TP: 0.983
(mod) Custom Profile Field Mod: 3.16
URL: www.l2devastation.com

Thanks in advance for your assistance.
Title: Re: Two Shout Boxes?
Post by: Crip on April 09, 2007, 07:08:51 PM
I've not heard of that beaning done, but i suppose a really good coder here could help you on the  ?
Title: Re: Two Shout Boxes?
Post by: executor485 on April 09, 2007, 07:18:46 PM
Ok... I found a work around... Its not exactly what I wanted, but it will work.  I'll explain how I did it and see if anyone else has a better idea.  But for now it will have to do.
1) Found an SMF shoutbox
2) Made a phpbox in the TP Block area with Admin only view
3) Put the code for the SMF shoutbox in the block
4) Working SMF shoutbox that doesnt interfere with community shoutbox, but its not as nice as the TP one, less options for changing things and deleting shouts, ect.

If anyone has a better way I would definately be up to hear it.  Thanks again.
Title: Re: Two Shout Boxes?
Post by: tribalost on April 09, 2007, 07:32:01 PM
you can try copying the original tp shoutbox and set a new table for the db for it...