|
Joined: Apr 2007
Posts: 42
User
|
User
Joined: Apr 2007
Posts: 42 |
Strange question perhaps, but is there any way to change the number of "views" for a thread.
For example if it is currently showing "243", can we say, for example, change it to be "4354" or "23" if we wanted to (ie, make the number bigger or smaller? And then once we have changed that number, any further views will be added as normal?
Thanks
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
For anyone's information that's looking for something similar; this is being worked on at UBBCentral
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Not quite as user-friendly, but it can be done via a mysql command too:
UPDATE ubbt_TOPICS SET TOPIC_VIEWS = 'n' WHERE TOPIC_ID = 'n'
Change 'n' to the number you need.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
:points at post 184493:
You have to update it on the post id, unless you want to dbdive and discover the topicid...
Last edited by Gizmo; 05/21/2007 6:59 PM.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
TOPIC_ID is the same as the "Main" argument in the url
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Yeh, I guess so; but it's easier to send them after the first post's id than to explain how to fetch things from the url 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Easier how? I'd think you'd be at the topic id if you have a particular topic you're trying to change the view count on - a hover isn't that difficult if you already know how to do mysql commands 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
someone get Allen's avatar a lollipop!
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
allens avitar needs a boop on the nose...
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|