The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#32
|
||||
|
||||
![]()
The javascript is not in the code on your page. Therefore, you have one of a few problems:
1. You didn't do the head include, but the source you showed me shows that you did. 2. You didn't modify global.php so it's not calling the popup box or 3. You didn't modify functions.php to put the call to the function in the body or 4. You didn't put in the new popup templates. I am not seeing any sql errors, and you say the values are getting updated in the database. So, I believe the invitation part is working on the inviter side. Amy |
#33
|
|||
|
|||
![]()
Double checked all files,
they are exactly as in the install.txt... :ermm: I'll check once more tomorrow, maybe I'm just overlooking something at the moment... Thanks, hP |
#34
|
||||
|
||||
![]()
Howsa bout adding an "Invite All" link?
This wouldn't always be practical, of course, but if there are only a handful of people online, and I wanna invite them all, a single click would be nice. ![]() |
#35
|
||||
|
||||
![]()
I would honestly never use an Invite All link and hesitate to add the possibility of more bugs. Sorry.
Amy |
#36
|
|||
|
|||
![]()
I had a similar issue with the hack: The pop-up box just wouldn't show up after I invited myself to chat.
What was actually happening was that the chat invite javascript was not loading into the head of the file. Yes, the template existed and yes, I'd made every change to the other four PHP files. I checked the database and the changes I made to my account in the UserCP were working properly when I enabled and disabled pop ups for chat. I finally got it to work when I commented out the following in global.php: --------- $headchatInvite=''; if ($bbuserinfo['userid']!=0 and $bbuserinfo['chatpopup']==2) { if ($noshutdownfunc) { $DB_site->query("UPDATE user SET chatpopup=1 WHERE userid=$bbuserinfo[userid]"); } else { $shutdownqueries[]="UPDATE LOW_PRIORITY user SET chatpopup=1 WHERE userid=$bbuserinfo[userid]"; } // $cutTime = time()-(15*60); // if($bbuserinfo[invitetime] > $cutTime){ $chatInvite=1; eval("\$headchatInvite = \"".gettemplate('head_chatInvite')."\";"); // } else { // $chatinvite=0; // $headchatInvite =""; // } } ----------- So, obviously - I'm not getting the benefits of the timer functionality and - well - I was hoping to leave any solution up to you. ![]() |
#37
|
||||
|
||||
![]()
So, it's the timeout function giving you guys grief?
|
#38
|
|||
|
|||
![]()
Hi,
Thanks, will try this tonight and let u know! hP |
#39
|
|||
|
|||
![]()
Hi,
That did the trick, its working now! Thanks both! hP |
#40
|
|||
|
|||
![]()
Anyone knows if its possible to assign a normal location instead of the url showing in the location field in who's online?
hP |
#41
|
||||
|
||||
![]()
for when you are in chat, attic?
That depends on which chat hack you are using and isn't in the scope of this hack. If you mean while the person is inviting somebody, they are only there for seconds. I am not sure it is worth the effort to put that in who's online. Amy |
#42
|
||||
|
||||
![]() Quote:
Only way I could get it to work too... |
#43
|
||||
|
||||
![]()
Ok. I'll strip that part out. It was an optional feature anyway. Works fine here, though.
Amy |
#44
|
|||
|
|||
![]()
It'd be cool if that worked, however.
![]() |
#45
|
||||
|
||||
![]()
I think I found the problem. It looks like the zip has the wrong php file. I need a version control system
![]() I updated it with the one from my server, and then that code should work fine. Amy |
#46
|
|||
|
|||
![]()
Yup - you nailed it. Works fine.
For anyone else who already has it installed: Upload the new inviteChat.php file (and uncomment the lines in global.php if you followed my lead) to your server and that should take care of it. Thanks. Now I'm going to attempt to get an Invite to Chat Link in the user profile and see how that works out. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|