News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Increase Number of Visitors (cheat)

Started by Biology Forums, April 07, 2009, 04:22:50 AM

Previous topic - Next topic

Sabre™

Some people may not even get 10 visitors, so displaying 50 or so makes their site look as active as they'd like to display.
Increase Number of Visitors (cheat)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Mraza

Good mod for new forums, i also find something interesting and hope you and other people will also like it. if we set the user list to display about 200 online so what will happen to the users online display? where all online users are visible so i added this code to show online users to admins and to display a text message to non-admins instead of online users list. this modification is for 1.1.10 version and if you are using custom theme you need to edit your Boardindex.template.php in themes directory.

Find in:  themes/default/boardindex.template.php
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);


Replace with:
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']) && $context['user']['is_admin'])
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);
else
echo '
','Exceed Limit To Display List';

Signature:
Old Software Engineers Never Dies, They Just Log Out...
! ! ! ! ! 5 Best Movies Thread ! ! ! ! !

koralex90

is there a 1.1.0.10 version of this mod??

Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Mick.

Now that you have this mod set,it would be great to cheat on the number of registered users.  I would love to add 20,000   hehehehe....

Skargon

Agreed.  I'm using 2.0 RC1.2, and would love to be able to increase the number of hidden members, most online, etc.

(Like what Sabre did on the previous versions)

MUSTAfaINE

can anyone edit the simple portal for this mod..


Sabre™

Im not familiar with simple portal, but Im guessing it should install ok.
Basic questions first:
Which SMF version?
Have you tried manually installing the mod by going to this mods [Download] page, and using the parser to the top right of that page?
Where it states: Manual Install Instructions for SMF
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


MUSTAfaINE

the mod is working well but in simpleportal`s home page who is online panel showing the real number..


Sabre™

You would have to edit that blocks/panels code to include this mods edits.
As stated, I'm not familiar with Simple Portal, so somebody who is, or this mods author would be best to assist you.

Good luck buddy :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


MUSTAfaINE



plusev

Quote from: MUSTAfaINE on September 02, 2009, 11:09:09 PM
thanks Sabre™ ill do it..

Did you figure out how to get simple portal to work?

plusev

In stats when you look at guests (/index.php?action=who) it shows the legit number not the cheat. Also Most Online Today: xxx. Most Online Ever: xxx shows the true count. Looks strange when guest show xxxxx and Most Online Today: Most Online Ever: show xxx. Any ideas? Thx

Sabre™

You could code all that in to work, but that'd be more than just a couple of edits, so doubt whether the author will do this for such a simple mod.
But ya never know ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


remi_naija

Quote from: petecheng on July 13, 2009, 10:12:19 AM
why not just increase your online threadshold time.  then just hide the online last 3000 minutes.
that will show real visitors not fakes.

How do I hide the online last ---- minutes?

drroot

How to add the faked number of guests to the number of real visitors, so that the number changes with time, not always show a fixed number.

smokester

Much as I could find this useful, it's a shame that they don't show in the "who's online" view.  It would be good if it showed them as IP-less guests viewing the main board - could that be done?

rocknroller

Quote from: Sabre™ on June 09, 2009, 06:07:28 AM
If you're using smf 1.x.x, then you could use the attached package.
You will be redirected to the "features and options" page where you will see the options by scrolling down.


---------------------------------------------------------------------------------------------------


If asked, I will remove the attachment. :)


Attachment removed - Most recent package for SMF 1.1.9 found [HERE]


cool mod!
Can you modify this for SMF 2.0 RC2 ?

Sabre™

If you're asking me, I wont be doing it, or maybe not until I have time to spare. I was just having fun with the original and extended it a little, but have lost interest in its function.
I actually rewrote the whole code at one stage so all the details changed automatically, then called it with one line to the boardindex.template...
but as stated, I lost interest pretty fast.
hhy89 has ported his version for rc2 if you missed it.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


- danny

i've got this mod installed, and it applied just fine, even redirected me, but the online user display doesn't change no matter what numbers i use.

any clue?

Advertisement: