vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Chat Invitation (https://vborg.vbsupport.ru/showthread.php?t=48990)

amykhar 02-17-2003 02:59 PM

I updated the hack to time out 15 minutes after the invitation. If you have already installed, you need to reupload the inviteChat.php file and you need to modify the global.php file with the changes in the new install.txt file.

Amy

attic 02-18-2003 05:53 PM

Hi,

I;m getting this error:

Invalid SQL: UPDATE user set chatpopup=2,inviter='Admin' WHERE userid=1
near ''Admin' WHERE userid=1' at line 1
mysql error number: 1064
Date: Tuesday 18th of February 2003 02:44:06 PM
Script: http://www.***/forums/forums/inviteC...nvite&userid=1
Referer: http://***/forums/online.php?s=

I did run the sql queries

Any idea why?

Thanks in advance.

Hp

attic 02-18-2003 06:10 PM

Hi,

Another use tried to click the link.
The redirector says succesfull, but nothing is showing up at the other site. He doesnt get the sql error, but is redirected back to the who's online...

Regards,

Hp

amykhar 02-18-2003 06:18 PM

You are going to have to be a bit clearer in your explanation.

1. What other site?
2. When a user invites somebody to chat, after they issue the invitation, they are redircted to where they were. In this case, that is the who's online page.
3. If you look in the database right after the invitation is issued, you should see the chatpopup value is set to 2 and the inviter's name is also set.
4. The popup behaves just like the pm popup; so if the invitee is just sitting there not changing pages, nothing is going to happen.

Amy

attic 02-18-2003 06:28 PM

Hi,

I mean with the other side, the one I want to invite.

I checked the database, the value is set to 2 when invited. After a refresh the value is 1 again, The WhoInvited field is still filled.

Looks like this works, but still no popup

After an invitation the location in the Who's online shows:

Unknown Location: /forums/inviteChat.php?action=invite&userid=7&s=55a46d28bf 59a2af802a2e7ab79b45d1

Thanks in advance,

Hp

amykhar 02-18-2003 06:34 PM

Did you modify the headinclude template as directed in the instructions? If that isn't done, the box won't pop up.

Amy

attic 02-18-2003 06:35 PM

Hi,

No, didnt do anything with it, just reupped the original, but same thing happens.

Regards,

T.

attic 02-18-2003 06:38 PM

Hi,

Yes I did.
I pmed u a login/pass if u want to look for yourself.
Not sure if its of any use tho..

THanks,

hP

amykhar 02-18-2003 06:40 PM

No, you didn't modify the headinclude template like you were supposed to? It might just be easier if you would send me your forum url via PM so that I can look instead of trying to debug your installation problem this way.

Amy

attic 02-18-2003 06:49 PM

Last 3 lines of my headinclude:

</style>
$headnewpm
$headchatInvite

hp


All times are GMT. The time now is 08:42 AM.

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.01294 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete