Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2009-12-10 04:12:51

qie
Member
Registered: 2008-06-02
Posts: 376

do Not Let fluxbb Count Views

i think count views of topic is a overhead thing. it's useless to me. i just wanna know how to disable it. maybe some modifications i guess.

i'm not good at php


now show:光宇游戏

Offline

#2 2009-12-10 10:35:22

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,623

Re: do Not Let fluxbb Count Views

You turn it off in admin/options.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

#3 2009-12-12 06:33:54

qie
Member
Registered: 2008-06-02
Posts: 376

Re: do Not Let fluxbb Count Views

no this option .
Paul

i mean this:

Noname.png

you click one thread,then the views got +1
but i don't need this ,this counts added to database always.

then i just need erase this records,then not record. :)

Last edited by qie (2009-12-12 06:35:39)


now show:光宇游戏

Offline

#4 2009-12-12 07:13:28

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,117
Website

Re: do Not Let fluxbb Count Views

Paul wrote:

You turn it off in admin/options.

Offline

#5 2009-12-12 11:19:01

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,623

Re: do Not Let fluxbb Count Views

I will be more specific.

For 1.3 go to Admin/Options/Features.  Look for the "Topic and post features and information" and disable Topic views.

For 1.2 and 1.4 go to Admin/Options.  Look for the "Features" section and disable Topic Views.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

#6 2009-12-14 07:47:38

qie
Member
Registered: 2008-06-02
Posts: 376

Re: do Not Let fluxbb Count Views

4184363218_70f773d2c6_o.png

Oh my God ,which is it?


now show:光宇游戏

Offline

#7 2009-12-14 08:04:15

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,117
Website

Re: do Not Let fluxbb Count Views

Sorry, 1.2 does not have it built in, 1.4 does.

You can just comment out the update query at the bottom of viewtopic.php to stop the queries. To hide the column, you'll have to edit viewforum.php's HTML.

Offline

#8 2009-12-14 10:30:09

Paul
Developer
From: Wales, UK
Registered: 2008-04-27
Posts: 1,623

Re: do Not Let fluxbb Count Views

Oops.  Shows how long it is since I looked at 1.2. My apologies.


The only thing worse than finding a bug is knowing I created it in the first place.

Offline

#9 2009-12-14 10:52:30

qie
Member
Registered: 2008-06-02
Posts: 376

Re: do Not Let fluxbb Count Views

Thanks both dude,

just edit the viewtopic.php, so not update view counts.

but not modify viewforum.php, can't handle it. ( delete some lines ,make display not correct)


now show:光宇游戏

Offline

Board footer

Powered by FluxBB 1.4.8