View Full Version : Most Users Ever Online
rogersnm
05-21-2006, 12:48 PM
I ould like a mod which changes the entry for the most users ever online. when i try the manual way it just seem to delete the whole thing so i have given up. It's quite a simple mod because all you have to do is just run an sql query - i think.
Regards,
Nick
TruthElixirX
05-21-2006, 01:02 PM
What are you wanting to change about it?
rogersnm
05-21-2006, 01:19 PM
the number so you can change it from say 89 to 3 to 100000
Paul M
05-21-2006, 01:56 PM
Why would you want to change it ?
rogersnm
05-21-2006, 04:32 PM
because on my previous forums (phpbb) i had 212 members online
but it didn't convert in impex so i don't have that record anymore
it's ok i have worked out how....
bashy
05-21-2006, 04:50 PM
How did you manage this?
because on my previous forums (phpbb) i had 212 members online
but it didn't convert in impex so i don't have that record anymore
it's ok i have worked out how....
rogersnm
05-21-2006, 04:53 PM
I would like someone make a mod for me which:
Retrieves
SELECT `data` FROM `datastore` WHERE `title` IN ('maxloggedin') the only problem is i don't know how to refine it to just the X out of 'a:2:{s:9:"maxonline";i:X;s:13:"maxonlinedate";i:1148218982;}'
X and then says on a page in the admin CP accessible through the side bar. "Current Setting: 'X' "
and then another line below which says: "Desired Setting" and then an empty box next to it.
Once you type in a number to the empty box it executes the sql query:
UPDATE `datastore` SET `data` = 'a:2:{s:9:"maxonline";i:X;s:13:"maxonlinedate";i:1148218982;}' WHERE CONVERT(`title` USING utf8) = 'maxloggedin' LIMIT 1;
X = being the number you type in.
If this is to much trouble then just tell me and i'll go away..
Regards,
Nick.
EDIT: Or make the mod :(
bashy
05-21-2006, 04:56 PM
You said it's ok i have worked out how....
This is why i asked, how did you manage to sort it?
rogersnm
05-21-2006, 05:14 PM
i was typing in thw wrong place in "s" not "i"
p.s. i think the mod is pretty simple to make...
can someone take a look at this please https://vborg.vbsupport.ru/showthread.php?p=983642#post983642
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.