FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Padding the number of users
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Padding the number of users [message #25461] Wed, 08 June 2005 18:51 Go to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Is there a way I can add to the number of registered users that's displayed at the bottom of the main page? I'd like to account for mailing list users who never post, only lurk.
Re: Padding the number of users [message #25464 is a reply to message #25461] Wed, 08 June 2005 23:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Modify the code displaying the information....

FUDforum Core Developer
Re: Padding the number of users [message #25524 is a reply to message #25464] Sat, 11 June 2005 19:53 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Wed, 08 June 2005 16:10

Modify the code displaying the information....


Where might I find it?
Re: Padding the number of users [message #25534 is a reply to message #25524] Sun, 12 June 2005 17:04 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
logedin.inc.t is the script you want to modify.

FUDforum Core Developer
Re: Padding the number of users [message #25559 is a reply to message #25534] Mon, 13 June 2005 18:37 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Sun, 12 June 2005 10:04

logedin.inc.t is the script you want to modify.


I've run this by a couple of PHP programmers, but neither is sure which line of this script to modify. We've tried a couple of different mods, but neither worked.

Which line needs to be modified to add a certain number, let's say 1000, to the total number of registered users displayed?
Re: Padding the number of users [message #25562 is a reply to message #25559] Mon, 13 June 2005 20:19 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
$st_obj->user_count += 1000; at the top of the last if should do the trick.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Time zone setting keeps changing
Next Topic: Changed name and now its blank
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 05:33:33 GMT 2024

Total time taken to generate the page: 0.02492 seconds