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

Reply
 
Thread Tools
Chat Invitation Details »»
Chat Invitation
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-15-2003 Last Update: Never Installs: 11
Is in Beta Stage  
No support by the author.

OK. This one was by request. It is most definitely in Beta.

This Hack puts a link on the Who's Online page that if clicked, invites the user to chat in your forum chat room.

1. You will have to do some customization to make this work for your chat system.
2. This is a manual install. Don't go anywhere near it if you don't know how to run queries, update files, create templates, etc.
3. I will support bugs and possibly add new features. However, I will not teach hacking basics in this thread.

Know Issues:
a) Resolved.
b) Currently, the only invitation link is on the Who's Online page. I will probably add it to the user profile later.
c) You are probably going to want to create an invitation icon to use instead of the text link I have. Feel free to share with the rest of us

Features:
a) User Control Panel interface allows members to turn off chat requests.
b) Shows who invited you to chat.


ScreenShots to Follow in subsequent posts.

Show Your Support

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

Comments
  #47  
Old 04-16-2003, 05:21 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack amykhar. Works a treat !! .

[high]* Intex installs.[/high]
Reply With Quote
  #48  
Old 04-20-2003, 02:22 PM
floridaideal floridaideal is offline
 
Join Date: Aug 2002
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I also installed this, works great.

Only thing, I tested this and cancelled the chat invite, should the user sending the invite then be told its been cancelled or something? I am not getting that.

Thanks

Stu
Reply With Quote
  #49  
Old 04-20-2003, 02:40 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. It doesn't tell the user that the invitee cancelled. Perhaps in the future.

Amy
Reply With Quote
  #50  
Old 04-20-2003, 02:48 PM
floridaideal floridaideal is offline
 
Join Date: Aug 2002
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats cool, thanks Amy you have done a really good job with the chat invite I hope you do consider further work and upgrades with the hack, you have done us proud!

Thanks

Stuart
Reply With Quote
  #51  
Old 04-27-2003, 10:16 PM
chitown chitown is offline
 
Join Date: Aug 2002
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have this installed, it goes through the whole blahblah has been invited but no one is getting the invitation?

any help would be appreciated!!
Reply With Quote
  #52  
Old 05-24-2003, 11:07 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amy, can it be integrate with:
https://vborg.vbsupport.ru/showthrea...highlight=chat ?
Reply With Quote
  #53  
Old 05-24-2003, 02:27 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe you could do it with modifications. Because that chat window is open all the time, you wouldn't need to open the windown when somebody accepts the invitation to chat.

Amy
Reply With Quote
  #54  
Old 05-24-2003, 04:09 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you more detailed?
What shoudl I start from (because you coded it).

Marco
Reply With Quote
  #55  
Old 05-24-2003, 04:59 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Modify the head_chatInvite template. That is the javascript that controls what happens when the invite window pops up.

Amy
Reply With Quote
  #56  
Old 05-25-2003, 07:34 PM
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a problem...

Quote:
a) Open admin/functions.php

Find: global $DB_site,$replacementsetid,$gzipoutput,$gziplevel, $newpmmsg,$microstats;

Replace With: global $DB_site,$replacementsetid,$gzipoutput,$gziplevel, $newpmmsg,$microstats,$chatInvite;
I can't locate "$microstats" anywhere in the admin/functions.php file. Here's the closest thing I can find:

Quote:
global $PHP_SELF, $DB_site, $replacementsetid, $gzipoutput, $gziplevel, $newpmmsg;
Is that correct? (notice the spaces)
Reply With Quote
  #57  
Old 05-25-2003, 08:13 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$microstats

unless you have that hack installed you wont find it

you have it right in your quote
Reply With Quote
  #58  
Old 05-25-2003, 09:09 PM
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, cool. I ran into a couple of small errors in the instructions, but other than that, this hack is working great! I suggest cleaning up the install file some and moving it to Full Releases when you get the chance.
Reply With Quote
  #59  
Old 06-24-2003, 07:19 PM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I just went to add this in 2.2.9 and I don't have this anywhere!

Find: if ($newpmmsg) {
if (substr($PHP_SELF,-strlen('private.php'))=='private.php') {
} else {
$newtext=preg_replace("/<body/i","<body onload=\"Javascript:confirm_newpm()\"",$newtext);
}
}

WTF?
Reply With Quote
  #60  
Old 04-07-2004, 01:52 PM
D|ver's Avatar
D|ver D|ver is offline
 
Join Date: Feb 2003
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will there be a vb3 version of this?

that would be so great
Reply With Quote
  #61  
Old 07-11-2004, 09:04 AM
nighteyes's Avatar
nighteyes nighteyes is offline
 
Join Date: Oct 2001
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to see this for vb3 too
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 02:19 AM.


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.05662 seconds
  • Memory Usage 2,347KB
  • Queries Executed 30 (?)
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_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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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