Limiting who can send messages

I’'m new to the program and need to be able to setup a system where only 2 people out of 20 are able to send messages, but all are able to recieve. Is this possible with the open source version of Wildfire?

Hey Abe,

If you are using group chat rooms then you can configure the room so that only some users may send messages while the rest of the room occupants can only get them. On the other hand, if you are referring to one-to-one chat then the fastest solution is to write a simple plugin that provide a PacketInterceptor that will filter out messages sent from some users.

Let us know if you need more info.

Regards,

– Gato

I like your idea of a plugin. I haven’'t a clue how to make one. A little help would definitely be appreciated.

Hey Abe,

You can follow this link to learn more about plugins:

http://www.jivesoftware.org/builds/wildfire/docs/latest/documentation/pl

ugin-dev-guide.html. You may also want to check out the

PacketInterceptor and InterceptorManager classes to learn more about

interceptors.

Let us know if you need more help.

Regards,

– Gato

Thanks for the link gaston there’‘s a lot of information there. Only problem is I don’‘t have the first clue about java or any programming beyond turing in grade 11. Any help would really be greatly appreciated. Basically I have 50 machines. I want all machines to be able to recieve messages but I want only 2 of those machines to be able to send messages. I just want a check mark on the users tab that says “Can this user send messages? yes/no”. Anyway, I’'m going to keep plugging away at this and google me some java tutorials. If anyone has any help or suggestions it would be VERY greatly appreciated!!

Thanks

-Abe

A twist on what Abe is asking for I’‘m in similar needed of determining who can send messages. My situation is more unique though in that I want all uses to SEND messages but only CERTAIN ones to be able to initiate IM Sessions. Namely I’‘m in a school environment, all my staff and faculty already use Spark, but I want to give it to my Students to so that if a teacher needs to talk with a particular student they can do so by sending the student a message and the student can respond, but I don’'t want 1 student to be able to chat with another student. They would be doing it the entire class period if they could. Any thoughts???

Hi Abe,

did you look at the Content Filter Plugin (source is included in Wildfire.src.zip)?

Did you code something before? It will be really hard if you didn’'t and may fail.

But teaches usually look for real-world examples, so you may ask one to present this issue to his grade as it does not look to complicated.

LG

Hi dunnj33,

also your requirement wants to be realized as a Wildfire plugin. But I wonder if it would be OK that all students can contact all teachers and vice versa, this would make the plugin more easy - otherwise you need to add some session handling.

LG