php forum
php mysql forum
php mysql smarty
 
Topic Options
#314144 - 05/19/07 05:20 AM Page Views
willing Offline
User

Registered: 04/17/07
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

Top
#314145 - 05/19/07 06:33 AM Re: Page Views [Re: willing]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
For anyone's information that's looking for something similar; this is being worked on at UBBCentral
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314153 - 05/21/07 09:40 AM Re: Page Views [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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.
_________________________
- Allen wavey
- What Drives You?

Top
#314161 - 05/21/07 06:59 PM Re: Page Views [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
:points at post 184493:

You have to update it on the post id, unless you want to dbdive and discover the topicid...


Edited by Gizmo (05/21/07 06:59 PM)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314162 - 05/21/07 07:03 PM Re: Page Views [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
TOPIC_ID is the same as the "Main" argument in the url

Top
#314163 - 05/21/07 07:43 PM Re: Page Views [Re: Ian Spence]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
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 wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314164 - 05/21/07 08:47 PM Re: Page Views [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
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 wink
_________________________
- Allen wavey
- What Drives You?

Top
#314168 - 05/21/07 10:25 PM Re: Page Views [Re: AllenAyres]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
someone get Allen's avatar a lollipop!

Top
#314169 - 05/21/07 11:07 PM Re: Page Views [Re: Ian Spence]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
allens avitar needs a boop on the nose...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks