The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hi everyone, I hope one of you can help me out.
Some of you might remember me from awhile back with UBB hacks. I'm just starting to work with VB and trying to figure out all this php mysql stuff. These scripts are great, but of course I have to screw with them. Anyway, I'm working on the who's online hack. I did alot of the owrk on the UBB version so I've been playing around with it trying to add features and get rid of some excess. I see things I can do, but since I'm not familiar with all these scripts yet, I'm weary about making major changes that might cause problems elsewhere. Here's the deal. I modified the script so it wouldn't show one member more than once. Then started digging thru things and decieded that a better answer than making the script skip the duplicates, is to have sessions.php delete the duplicates. Are the duplicate entiries in table session there for a reason? I mean, would it cause a problem elsewhere if I had sessions.php delete the previous members entry before writing the new one? I know I don't need them for the who's online script but they obviously are used all over. Would it cause problems elsewhere? Thanx in advance Mutt PS - I'm loving the flexability of VB over UBB |
#2
|
||||
|
||||
I really could use some feedback here people. I have been cleaning up the who's online script and before I post it, I'd like to see if I couldn't clean things up even more.
the session table might have one member listed several times. I've edited the online script to ignore that, but I'd rather get rid of the duplicates. Do I need those duplicates for some reason? Does anybody have any input on this. does anyone know why the duplicates are there? Would it be ok for me to edit sessions.php so it would clear out any duplicates every time it wrote your new line? thanks in advance Mutt |
#3
|
||||
|
||||
hi Mutt
ask Kevin aka Tubedogg about who's online |
#4
|
||||
|
||||
If people are not using the cookie version of the sessionhash and use multiple windows, deleting their session might just log them out of the system and cause problems.
|
#5
|
||||
|
||||
thanks
I'm not looking to log them out, just rying to have the online script running as quickly as possible. As long as the multiple listings are a feature and not a bug, I'll leave them be. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|