Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 50 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#220913 - 01/07/09 05:22 PM Chaging the "max online" number and date
wanted Offline
stranger
Registered: 01/07/09
Posts: 22
Hello. I was hoping someone might help me.

I wish to change the number shown on the site for the "max online" number along with the date but am having trouble working out how to do that. (The number there now is too large due to some attack on our forums and so I want to reduce it back to what it was which was more realistic).

Can anyone point me in the right direction?

Thank you very much.
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#220914 - 01/07/09 05:49 PM Re: Chaging the "max online" number and date [Re: wanted]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
The data is stored in the table named cache
max_online field just change to what you want
max_online_timestamp field Not sure what format is used to change the date
_________________________
Blue Man Group
Top
#220917 - 01/07/09 09:39 PM Re: Chaging the "max online" number and date [Re: Ruben]
wanted Offline
stranger
Registered: 01/07/09
Posts: 22
Thanks for that,.,... but I need a bit more hand-holding.... how/where do I do that?

smile
Top
#220921 - 01/08/09 08:01 AM Re: Chaging the "max online" number and date [Re: wanted]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
okay it is one of the tables in the MYSQL database you setup to use for your forum.
You probably have phpmyadmin as a management tool from your host provider.
Using phpmyadmin open your database select the ubbt_cache table on the left side
I assume you used the default ubbt_ prefix.
Select the browse link at the top left.
Here you see the data.
Select the pencil icon to the left of max_online to edit that value.
change the cache_value number to what you want.
Then select the save option and then the go button.

You would do the same for the date but like I said I don't know what format it is in.
_________________________
Blue Man Group
Top
#220922 - 01/08/09 11:00 AM Re: Chaging the "max online" number and date [Re: Ruben]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
go to your Admin Control Panel, Database Tools, SQL Command

Sql Query:
UPDATE ubbt_CACHE SET max_online=0;


paste that into the textarea and execute it.. that will reset you to 0 and a recalculation will ensue wink

note: this assumes your table prefix is 'ubbt_' -- change it as appropriate for your forums wink
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#220936 - 01/08/09 09:27 PM Re: Chaging the "max online" number and date [Re: SD]
wanted Offline
stranger
Registered: 01/07/09
Posts: 22
Thank you SirDude.

In the same way, how do I change the date to say, 30th November 2008?

Much appreciated.
Top
#220937 - 01/08/09 10:34 PM Re: Chaging the "max online" number and date [Re: wanted]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
well, since you set it to 0, it's going to compute to a new date at a point when you have at least ONE person online..

are you saying you want to fix the date to a specific value? if so, why ?

don't you want it to be a true value that counts up from here on out?

:shrug:

but if you really want to force the issue, go to your Admin Control Panel, Database Tools, SQL Command

Sql Query:
UPDATE ubbt_CACHE SET max_onlinetimestamp=1228003200;


paste that into the textarea and execute it.. that will set the date to 11/30/2008 (unixtime) and a recalculation will ensue wink
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#220967 - 01/10/09 09:13 PM Re: Chaging the "max online" number and date [Re: SD]
wanted Offline
stranger
Registered: 01/07/09
Posts: 22
Thanks

With the above line I got this

Line#: 101
SQL Error: Unknown column 'max_onlinetimestamp' in 'field list'
SQL Error #: 1054
Query: UPDATE ubbt_CACHE SET max_onlinetimestamp=1228003200;


frown
Top
#220969 - 01/11/09 07:54 AM Re: Chaging the "max online" number and date [Re: wanted]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
the field name is
max_online_timestamp
not
max_onlinetimestamp
_________________________
Blue Man Group
Top
#221031 - 01/12/09 09:30 PM Re: Chaging the "max online" number and date [Re: Ruben]
wanted Offline
stranger
Registered: 01/07/09
Posts: 22
Thanks. Unfortunately I got the same

Line#: 101
SQL Error: Unknown column 'max_online_timestamp' in 'field list'
SQL Error #: 1054
Query: UPDATE ubbt_CACHE SET max_online_timestamp=1228003200;

Any ideas?
thanks
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image