![]() |
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. Scott Demo Screenshots 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!. |
nice hack but i aint gonna try it out i want my board working lol
ps. could we have a screenshot please. |
Quote:
I'll see what I can do about the screen shots. Scott |
Screenshots now available. See above.
Scott |
those screenshots are f**king **** u cant see anything will u imporve them plz
|
fxpersonline, please show some respect. Scott has gone through a lot of work to provide this. The least you could do is ask politely. Language and attitudes like this are likely to get you added to many people's 'Ignore' list.
Also, could you please enter your customer info into your user profile? See my sig for details. Thanks. |
I second that, great hack that I'm sure was quite a job to make so there's no need for the attitude :)
btw. I get a more that good enough impression from the provided screeenshots. :water |
Well done Scott :)
|
good work scott thats pretty wild that :D
|
ive installed-but how do i send a message??
i always miss the simple things..lol tx |
it should be in your control panel under users
|
Quote:
That's a give off. Quality for size. The jpeg is 100KB. I didn't want it any bigger. So it stays as is. Scott |
Quote:
Scott |
uh. Did 2 people delete their posts or is there something wrong here? I just got 2 mails that there were new posts but there were none. What's up wit dat?
Scott |
Odd, it doesn't seem to be working. I edited global.php in my base directory, ran the install file, deleted the install file, uploaded the other files, and added the $ command and tried sending it to the administrators. It said it was sent, yet I don't see anything and I was an admin. Please assist.
|
Its working fine for me.
I've only done a very basic test so far. Should the install file be deleted after install? |
Got it working.
Although you need to avoid referring to line nos. when doing the change. Some of us might have other hacks installed which would make it difficult for us to follow the line nos. Other than that, GREAT and SIMPLE HACK! :) |
Quote:
Scott |
Quote:
Scott |
I've added 2 new things on my todo list:
1. Timestamping the messages. Probably not a bad idea. 2. Checking that messaging is on before messages get stored in db. Would save Mods the embarassment. Scott |
I know what it was. Can you please not post the line #'s for I have installed hacks before and hence it did not work for me. I need to know what items to put it above and below and I am sure other users would appreciate this. Thanks.
|
Line numbers are the easiest to reference. If you know you have hacks (more lines) then you can probably assume that the lines that I quoted won't be correct. My suggestion. Take a look at the original script and see where the lines are and what's around them, then find the same place in your hacked up script.
Scott |
Stille the Same Problem like Lordmusic has bevor
but i have update Cp i have controlled all stats and for sure i have make it by hand now.. but no error message and no popup :/ normaly its not so hard ;) but something is wrong... can u get me a clue what could be? but i?m looking forward nice hack :) |
Hello All,
Due to popular demand (and the load of PMs I've gotten) I have now done one better. Instead of just improving my demo screenshots I have added a real life demo on my test board. Go here! I have made 10 test accounts. User name: test1 (through 10) password:test Login to the board, then send yourself a message. It's that easy. Please don't forget to logout when your finished. Scott p.s. I didn't do a mod demo because it's basically the same thing as the admin, just with a few less options for user selection. |
@Molinari sorry all done i am such a idiot had a misstype in my board ;)
aehmmm works great now nice work :) |
I installed the hack and it does not work. I saved my options in my cp once I finished installing the hack.
Your reference to line numbers in each php file are really a pain in the butt. It would make it alot easier if you made some sort of reference as to what code it should go below or above instead of line numbers... |
Template "Headinclude"
</style> $headnewmsg $headnewpm<font color="#6F6660"></font> bewteen style and $headnewpm in the global.php after PHP Code:
PHP Code:
PHP Code:
the both addings in the /mod/index.php and /admin/index.php are simply Links an can be created somewhere in the Nav but basicly they are after PHP Code:
and after PHP Code:
thats all start install.php and update cp and it works.. :) |
Quote:
Quote:
The other point to make is, if you have a clue as to how to program in PHP, then you should be able to see right away where the code belongs. If your not proficient in PHP programming then you really aught not to be playing around with hacks. Especially ones that change the form of the database like mine. That's why I said in the install, "Only continue if you know what your doing!" Scott |
Np Molinari... (just @work go with it ;) )
Quote:
they think they know what they do.. ;) @GB... what happend whith the Hack.. do U got an Error? works it but no message appear, did you have manually controlled the script? (@molinari sorry for posting.. but so i can learn this php language a little bit better...) |
I don't know what is wrong but I have tried this hack over and over. I installed the install script 2ce which frigged things up i am sure.
I added the $ command where it should be. I also followed Operations directions in case I did it wrong. It tells me the messages were sent, but nothing is seen. Please let me know. |
Did you resave your board options?
|
same here bro
|
Quote:
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 |
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? |
this should be a joke or not?
i didnt suppose that so what is working... 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.. |
Quote:
Scott |
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.
:water |
:) sorry for my hard answer at your last post but..
but now.. on a vbulletin Forum definitly NOT this exactly enough? ;) Edit: But u can try it like an instant messager system.. but in that case u could take ICQ.. goes faster :) |
Same things happens to me. It tells me the message was sent but no message!
|
Quote:
what is your status? |
All times are GMT. The time now is 04:48 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|