Version: , by s.molinari
Developer Last Online: Sep 2018
Version: 2.2.x
Rating:
Released: 08-20-2001
Last Update: Never
Installs: 39
No support by the author.
Hello all,
Well I did it, my first real hack. I don't know what the rule on this is but I'll be honest and say I used alot of original vB code to make this. I don't believe in reinventing the wheel and the code in vB is so good it makes it very easy to modify.
This hack will give Admins and Mods the ability to alert users with a small message. This message works similiar to the PM popup. It also has the ability to send one user a number of messages. Each message will be denoted by the person who sent the message.
If you are not competent with Mysql and the inner workings of vB and your not sure if you need this utility I would recommend not installing it.
I consider this to be a Beta since I only tested it on my local dev computer. I would really appreciate some "experienced" users testing this hack to let me know where I've made mistakes.
If someone is real hack happy he/she they could change the hack and add the thing listed on my todo list below. If not I'll get to adding them sooner or later.
Anyhow, have fun. I'll be answering your questions here in this forum.
To do list:
1. Add option to send a message to online users only(good for telling them that the board will be closing before it's closed)
2. Timestamping the messages. Probably not a bad idea.
3. Checking that messaging is on before messages get stored in
db. Would save Mods the embarassment.
4. Add wild card function '*' to search for user names.
If you have more ideas as to how I could improve this hack feel free to post your ideas here!.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Did you resave your board options? All you need to do is go to Options->change options->save options in the Admin CP. This then saves the options along with the checkmessages variable. If you didn't do this the option to send messages is basically "off".
Scott
like he say its off if anything else is right
it must be this.. but u can easy looking
just enter phpmyadmin and go to
Table setting and search for
Code:
19 | Allow Popup messaging? | checkmessages | 1 | This function allows Admins and Mods to send quick private messages to users. | yesno
If value is 1 its aktivated and something else is wrong if its 0 its deaktivated.. change it there oder in the cp to 1 and it works..
is there some way to make the message appear without the user refreashing or even visitng the forums? could this be done with with cookies and checking procediures & persistant login or something?
how should this working?
you can not make a pop up whithout a script
he must reload the site to get the pop up.. if he is not on the site.. no pop up..
Originally posted by water i know this a shot in the dark....
is there some way to make the message appear without the user refreashing or even visitng the forums? could this be done with with cookies and checking procediures & persistant login or something?
No, it's not possible. The internet is a network of non interconnected computers. There are servers and clients. A client is you and your browser. Only when you request an internet page does the server know you want something from it. And only then can it send the info back to you. Of course there are the chat relay systems, but then we're getting into a whole other ballpark.
it is not a joke and as i clearly stadet it was a shot in the dark, my point exactly what you stated, what i was asking, or tried to ask, was : is there a way to acheive this without the user activly going to the page, but have the software do it in some way.