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
  #82  
Old 01-17-2002, 09:45 PM
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
Location: Manhattan, New York
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yo anyone got suggestions for my problem, it would help a ton
Reply With Quote
  #83  
Old 01-19-2002, 12:31 AM
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
Location: Manhattan, New York
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well my vbb homies?
Reply With Quote
  #84  
Old 02-03-2002, 02:36 PM
Frank-kun Frank-kun is offline
 
Join Date: Nov 2001
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That "<" at the end - might be your problem. I forget which file to check to fix that..admin/index.php maybe?

Anyway, here's my problem. My users are getting script errors for a mass-message that one of my fellow admins sent to everyone. I checked the messaging and I was able to do a successful test popup with no problems. I then checked the database and saw that the message my admin had sent had a carriage return line skip in it, like this:

blah blah blah

Bleh

If a message like this is sent, it gets put in the database and nothing gets through.

If scott is still around, I would also suggest you implement a "Clean" function that could clean old or even all the popup messages from the table. Even messages that error out remain in the database, as well as those who don't ever check the boards. We'd save a lot of space that way.
Reply With Quote
  #85  
Old 03-31-2002, 07:05 PM
Smallville Smallville is offline
 
Join Date: Dec 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I installed it and all, and it looks like it will work, but when I send a message, it doesn't work.

I looked through this whole thread and followed everything you guys told us to do. Now what? I get no errors or anything, it just doesn't work.
Reply With Quote
  #86  
Old 04-21-2002, 07:30 PM
freeshares1 freeshares1 is offline
 
Join Date: Mar 2002
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must be stupid, But i cant seem to get it in the correct line in admin/index. but it works if i use the link directly. Anbody give me any further advise...

Found the information on page 2... It works like a dream and i have already used it a number of times.

I couldnt find a way of putting an url in there.

Phil
Reply With Quote
  #87  
Old 04-25-2002, 08:45 AM
Eniyi's Avatar
Eniyi Eniyi is offline
 
Join Date: Mar 2002
Location: Turkey
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make the "from" section not changeable for mods (they can only use their own username).
Maybe with some modifications, another one for standard users can be created. It would be like an instant messaging hack.
Reply With Quote
  #88  
Old 05-30-2002, 11:31 AM
jjj0923's Avatar
jjj0923 jjj0923 is offline
 
Join Date: Mar 2002
Location: Maryland
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone attempted to modify this so that forum members can send instant messages to each other?
Reply With Quote
  #89  
Old 06-05-2002, 10:09 PM
pseudocode pseudocode is offline
 
Join Date: May 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack. Works great (2.5.5). Thanks!
Reply With Quote
  #90  
Old 06-14-2002, 09:26 PM
globalwin's Avatar
globalwin globalwin is offline
 
Join Date: Jun 2002
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please give me instructions with the latest code (In English) on how to install this on vB 2.2.6 because it just doesnt work.
Reply With Quote
  #91  
Old 06-15-2002, 02:05 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Always worked well, it stopped displaying the popup message to users after I upgraded to vb 2.2.4... and now w/ 2.2.6 it still doesn't work yet.
Reply With Quote
  #92  
Old 06-15-2002, 02:15 PM
tractor-beam tractor-beam is offline
 
Join Date: May 2002
Location: Maine
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jjj0923
Has anyone attempted to modify this so that forum members can send instant messages to each other?
I would dearly love to have this ability as well!

Many of my users are asking for the ability to instant message someone who is on the board to tell them to me them in our on-line chat room.

- Gerry
Reply With Quote
  #93  
Old 06-22-2002, 09:48 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does everyone no how UBB has this feature for there board where anyone can use this type of featur eby sending someone a message that is online. Is there any way to make this happen. I would love that feature.
Reply With Quote
  #94  
Old 06-23-2002, 10:53 AM
AndyTSJ AndyTSJ is offline
 
Join Date: Feb 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love this feature. Surely it wouldn't be hard to extend to other members as well as just admins, would it ?
Reply With Quote
  #95  
Old 06-23-2002, 12:26 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya. Because if you ever saw the UBB version of it You click an Instant Message button then it brings you to a screen with everyone who is online and thena check box next to everyones name. Now who ever you put a check to that is who is getting the message you send. This was a great feature for UBB and this is one of the things I use to love about ther eboard. That would be so great if Vb could have something like this.
Reply With Quote
  #96  
Old 06-30-2002, 11:24 AM
globalwin's Avatar
globalwin globalwin is offline
 
Join Date: Jun 2002
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone 2.2.6?
Reply With Quote
  #97  
Old 09-17-2002, 11:27 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by BigJohnson
Ya. Because if you ever saw the UBB version of it You click an Instant Message button then it brings you to a screen with everyone who is online and thena check box next to everyones name. Now who ever you put a check to that is who is getting the message you send. This was a great feature for UBB and this is one of the things I use to love about ther eboard. That would be so great if Vb could have something like this.
Reply With Quote
  #98  
Old 10-20-2002, 11:45 AM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've seen the one for UBB and I've been looking for something like that in vb but I couldnt find it and here all I found is requests that all

although there is an easy way to create that hack is by modifing this hack so that it has the online users and instead of search for a username it should be by inputing the user id from the online list
Reply With Quote
  #99  
Old 10-20-2002, 11:54 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ya. I would love to see something like to be made.
Reply With Quote
  #100  
Old 10-20-2002, 12:17 PM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man dont you hate it when UBB has something that VB don't
Reply With Quote
  #101  
Old 10-20-2002, 12:27 PM
Graphics's Avatar
Graphics Graphics is offline
 
Join Date: Mar 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks a sweet little hack. Good job.
Reply With Quote
  #102  
Old 10-20-2002, 01:56 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone have this working on vb 2.2.6 or 2.2.7?
Reply With Quote
  #103  
Old 10-20-2002, 02:48 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i have it working on 2.2.8..

but its really slow ... i set the pop-up message and got it about 4 days later :s

- miSt
Reply With Quote
  #104  
Old 10-22-2002, 01:48 PM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm ready to pay for the instant messaging hack the one that looks like the UBB version
Reply With Quote
  #105  
Old 10-22-2002, 04:03 PM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea, but sadly it is not workig
Reply With Quote
  #106  
Old 11-11-2002, 08:35 AM
Dynamic One's Avatar
Dynamic One Dynamic One is offline
 
Join Date: Nov 2001
Location: Somewhere on the net
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this nice hack. This way the users don't have to worry when Im installing some hacks .
Reply With Quote
  #107  
Old 12-07-2002, 02:09 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes can anyone make this hack work so anyone can use it. Like UBB has it where u can IM pop up anyone.
Reply With Quote
  #108  
Old 12-12-2002, 08:24 PM
we_scooter we_scooter is offline
 
Join Date: Aug 2002
Location: KSA
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

|

hi masterz

isn't there any hope for making this one works like {UBB} boards..?? so that every user can use this feature..!!!

|

IT will be a big HiT in the scene and nothing will be hard to get for VB users :bored: :bored: ..
|

see ya ..!!!
Reply With Quote
  #109  
Old 01-05-2003, 04:13 PM
Sweet Cheeks's Avatar
Sweet Cheeks Sweet Cheeks is offline
 
Join Date: Mar 2002
Location: Carson City, Nevada
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working on 2.2.9. Darn this would have been soo cool to have too
Reply With Quote
  #110  
Old 05-20-2003, 07:25 AM
Rasbelin's Avatar
Rasbelin Rasbelin is offline
 
Join Date: Feb 2003
Location: Finland
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just reporting that this hack works great on 2.3.0. You just need to follow the instructions and modify the admin/index.php and mod/index.php files abit different.

Nice hack. :smoke:
Reply With Quote
  #111  
Old 06-21-2003, 10:25 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

S. molinari - thx. for the hack. I was looking for something like this a little while back and couldn't find it .

I have a few notes which may help others:
  1. In your instructions you stated:

    Quote:
    ************************************************** ****************************/
    /* insert this between lines 248 and 249 into index.php in /admin directory */
    /************************************************** ***************************

    <br><a href="adminpopupmsg.php?s=<?php echo $session[sessionhash]; ?>&action=start"> Send a message </a>
    Like a lot of other people, I've hacked around with my index.php and therefore specifying line numbers isn't probably the best way to indicate where to add code. As I'm no expert I just looked at the control panel and placed it just after the line:

    Code:
    makenavoption("vBulletin Options","options.php?t=0","<br>");

    I also re-wrote the code similar to the other makenavoption line, thus:

    Code:
    makenavoption("Send a Popup Message","adminpopupmsg.php?t=0","<br><br>");
    That gave me the control panel item I need and worked fine .

  2. Your installation script doesn't seem to show the user options (via UserCP or Registration) for turning popup messages of this type on / off. However the AdminCP does does show the option to turn it on / off for admin / mods.
  3. Perhaps include a line to say remove the original install file 'popupmsginstall.php' from the admin directory after installation is complete.

Might help a few other newbies like me . Other than that, the popup works great. Thx .

[high]* Intex clicks install.[/high]
Reply With Quote
  #112  
Old 06-28-2003, 08:46 AM
Kamui Shirou's Avatar
Kamui Shirou Kamui Shirou is offline
 
Join Date: Sep 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

implenting worked but when i send a pop up nothing happens.
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 05:18 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
  • Page Generation 0.07182 seconds
  • Memory Usage 2,508KB
  • Queries Executed 46 (?)
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
  • (2)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
  • (2)pagenav_pagelink
  • (32)post_thanks_box
  • (32)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (32)post_thanks_postbit_info
  • (31)postbit
  • (32)postbit_onlinestatus
  • (32)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