Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by s.molinari s.molinari is offline
Developer Last Online: Sep 2018 Show Printable Version Email this Page

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.

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!.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 08-24-2001, 08:42 AM
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you resave your board options?
Reply With Quote
  #33  
Old 08-24-2001, 08:44 AM
joecrow
Guest
 
Posts: n/a
Default

same here bro
Reply With Quote
  #34  
Old 08-24-2001, 08:48 AM
Operations Operations is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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..
Reply With Quote
  #35  
Old 08-24-2001, 09:21 AM
water water is offline
 
Join Date: Oct 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #36  
Old 08-24-2001, 09:25 AM
Operations Operations is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #37  
Old 08-24-2001, 09:36 AM
s.molinari's Avatar
s.molinari s.molinari is offline
 
Join Date: Nov 2001
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

Scott
Reply With Quote
  #38  
Old 08-24-2001, 10:09 AM
water water is offline
 
Join Date: Oct 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 08-24-2001, 10:11 AM
Operations Operations is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 08-24-2001, 01:15 PM
GB
Guest
 
Posts: n/a
Default

Same things happens to me. It tells me the message was sent but no message!
Reply With Quote
  #41  
Old 08-24-2001, 01:19 PM
Operations Operations is offline
 
Join Date: Nov 2001
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Operations

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..
what tells u the phpmyadmin?
what is your status?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04897 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete