Multiplying the no. of topics/posts x 2 -- possible?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by MartectX » Wed Aug 20, 2008 11:34 am

danielbutler wrote: :D Thanks mate its working IF I want to increase topics only in a specific forum under category subforum
how its done reply soon ;)
OPEN includes/functions_display.php

FIND

Code: Select all

			'TOPICS'				=> $row['forum_topics'],
REPLACE WITH

Code: Select all

			'TOPICS'				=> ($row['forum_id'] == 10 || $row['forum_id'] == 11) ? 2 * $row['forum_topics'] : $row['forum_topics'],
Change '10' and '11' to the IDs of the forums you want to manipulate.

danielbutler
Registered User
Posts: 21
Joined: Tue Jun 03, 2008 1:44 pm

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by danielbutler » Wed Aug 20, 2008 1:59 pm

MartectX wrote:
danielbutler wrote: :D Thanks mate its working IF I want to increase topics only in a specific forum under category subforum
how its done reply soon ;)
OPEN includes/functions_display.php

FIND

Code: Select all

			'TOPICS'				=> $row['forum_topics'],
REPLACE WITH

Code: Select all

			'TOPICS'				=> ($row['forum_id'] == 10 || $row['forum_id'] == 11) ? 2 * $row['forum_topics'] : $row['forum_topics'],
Change '10' and '11' to the IDs of the forums you want to manipulate.
Thanks You ROck :D Last question mate Can I also increase posts also in subforums :lol:

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17059
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by DavidIQ » Wed Aug 20, 2008 2:26 pm

The insanity of it all!!! :lol:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50812
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by stevemaury » Wed Aug 20, 2008 2:52 pm

You play a dangerous game in altering the counters in the phpbb3 database. I am afraid it may come back to haunt you, just so you know.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by MartectX » Thu Aug 21, 2008 9:42 am

danielbutler wrote:Last question mate Can I also increase posts also in subforums :lol:
What's a subforum?

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by jimdunn » Tue Sep 09, 2008 6:14 pm

I haven't been around here for a while due to other commitments.
I came back to check my active topics.

And this one was still alive - one has to wonder why of all things still going, ways to deceive your users would still be so popular.

Or not...

Jim

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17059
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by DavidIQ » Tue Sep 09, 2008 7:27 pm

Welcome back! ...to insanity!!!!! :lol:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by jimdunn » Fri Sep 12, 2008 3:15 pm

DavidIQ wrote:Welcome back! ...to insanity!!!!! :lol:
Thank you

Perhaps the OP can describe exactly what he is trying to achieve here...

I'm sure someone could help.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17059
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by DavidIQ » Fri Sep 12, 2008 3:23 pm

The OP wants to bloat their post counts in the hopes that this will somehow attract more users to the forum. Sadly, others think this will work as well. Yes...the insanity of it all I tell you!
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Multiplying the no. of topics/posts x 2 -- possible?

Post by jimdunn » Fri Sep 12, 2008 3:25 pm

DavidIQ wrote:The OP wants to bloat their post counts in the hopes that this will somehow attract more users to the forum. Sadly, others think this will work as well. Yes...the insanity of it all I tell you!
I think insanity was the key word in your response, David.

I'll leave this topic alone now, if I may...

Locked

Return to “[3.0.x] Support Forum”