vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Fake Community Statistics (https://vborg.vbsupport.ru/showthread.php?t=115661)

Floris 05-31-2006 09:51 AM

Quote:

Originally Posted by rogersnm
dam :(

[high]* Floris goes of and cries[/high]
[high]* Floris doesn't like you any more[/high]
:p

A little suggestion though.

in the who's viewing this thread you should make it so it chooses a number between x and y (userset) for the guests because other wise it's a bit fake..

We already had it coded, so no use replacing our code with your code and pre-release it. If you had mentioned in the thread here that you're getting this done your code would have been included in the .zip instead. It's just how things went. Anyway, 0.04 is out.

Celtic_Mad 05-31-2006 09:58 AM

Thanks for the update!

Is it possible to get commas seperating the numbers in the posts and threads columns?

Floris 05-31-2006 10:47 AM

Quote:

Originally Posted by Celtic_Mad
Thanks for the update!

Is it possible to get commas seperating the numbers in the posts and threads columns?

The .zip file is updated 12 seconds ago, which will include the below tweak, but if you already had 0.04 installed, you could manually apply it:

open the plugin Fake Community Statistics - Forumbits.
And before the closing: }

add this:

$forum['threadcount'] = vb_number_format($forum['threadcount']);
$forum['replycount'] = vb_number_format($forum['replycount']);

rogersnm 05-31-2006 11:00 AM

Can you include the other half of my mod?

Celtic_Mad 05-31-2006 11:01 AM

Quote:

Originally Posted by Floris
The .zip file is updated 12 seconds ago, which will include the below tweak, but if you already had 0.04 installed, you could manually apply it:

open the plugin Fake Community Statistics - Forumbits.
And before the closing: }

add this:

$forum['threadcount'] = vb_number_format($forum['threadcount']);
$forum['replycount'] = vb_number_format($forum['replycount']);

Thanks:)

The post count doesn't seem to be increasing in the post column when I reply to a thread or create one.

Floris 05-31-2006 11:22 AM

Quote:

Originally Posted by Celtic_Mad
Thanks:)

The post count doesn't seem to be increasing in the post column when I reply to a thread or create one.

Do you have those views to update immediately? This is a vB option I believe.

Celtic_Mad 05-31-2006 11:25 AM

Quote:

Originally Posted by Floris
Do you have those views to update immediately? This is a vB option I believe.

The thread column updates fine when I create a thread, but the post column doesn't increase, it just stays the same. I tried dumping the posts and threads into another forumid and it works fine.

Valter 05-31-2006 12:31 PM

Why option to dump one forum thread/posts stats only? 2+2 must not be 4 LOL.

Why not make options like these:

== list forums ids where you wish to dump thread/post stats
== amount of additional (fake) threads
== amount of additional (fake) posts

Floris 05-31-2006 12:38 PM

Right now I have this memberlist_complete plugin in 0.04.1 which will be released later today:

// Insert Members List - Chosen not to be listed
$fake_members = $vbulletin->options['fake_stats_members'];
$fake_members = vb_number_format($fake_members);
$totalusers = $totalusers + $vbulletin->options['fake_stats_members'];
$totalusers = vb_number_format($totalusers);

which shows on the left the phrase one has to manually add in the memberlist template, and on the right it will show 'showing results 1 of 2 of fake_new_value

This way it won't say on the left '5000 chosen not to be listed' and on the right 'showing 1 of 2 of 5 ..' should be at least 5000 + 5

I've also applied the vb_number_format which rogersmn was missing .. I tried to update the template cache so no manual template edit was needed but couldn't get it to work. sorry :)

I will look into the spreading of fake values over multiple forums, but i simply won't have time today. cybernetec if you know how to do this please write out instructions and i will update the plugin.

Floris 05-31-2006 12:47 PM

version 0.04.1 is out, including the previous tweak and the new memberlist plugin by rogersmn (credited too).

Thanks for the contributions. I'm off to vBcom now, it appears they closed the site ;)

Kihon Kata 05-31-2006 01:07 PM

Installed! love it. But one issue with .04, when I entered the ONE forumID, it subtracted posts in the collumn, and ADDED to threads collumn. Is this correct?

Floris 05-31-2006 02:05 PM

Quote:

Originally Posted by Kihon Kata
Installed! love it. But one issue with .04, when I entered the ONE forumID, it subtracted posts in the collumn, and ADDED to threads collumn. Is this correct?

No idea what you mean, lol. .. please define.

rogersnm 05-31-2006 02:41 PM

Can you do the +1-4 guests veiwing thread?

or another option in the admin cp for range of guets to add to viewing thread. It needs to be a range because if theres 2 users on every thread every single second of every hoour of every day then poeple will kind of get suspicious..

Kihon Kata 05-31-2006 02:47 PM

really? Hmm mmkay. Well. when I add the forumID to:
Quote:

This is where the fake threads and posts will be dumped in. Please fill in a FORUMID (IE: 1), NOT the forum name. You are only allowed to enter ONE (1) forum id. Make sure everyone can access this forum or else your stats will still be wrong.
On the forum homepage, it subtracted posts in the post collumn, and ADDED threads in the threads collumn.

Understand now?

Quote:

Originally Posted by Floris
No idea what you mean, lol. .. please define.


Stone Cold 3:16 05-31-2006 05:37 PM

Nice hack FLoris! Ill need this as my forum is dying.

Floris 05-31-2006 05:51 PM

Quote:

Originally Posted by Kihon Kata
really? Hmm mmkay. Well. when I add the forumID to:
On the forum homepage, it subtracted posts in the post collumn, and ADDED threads in the threads collumn.

Understand now?

I will let the dev know so he can look into it. I couldn't reproduce this on my forum though.

xtreme-mobile 05-31-2006 06:27 PM

how do you get it so it shows more members have visited in 24 hours?

COBRAws 05-31-2006 07:47 PM

Quote:

Originally Posted by xtreme-mobile
how do you get it so it shows more members have visited in 24 hours?

Actually thats another hack i believe. But im not 100% sure.

Floris 05-31-2006 08:40 PM

Quote:

Originally Posted by xtreme-mobile
how do you get it so it shows more members have visited in 24 hours?

As per first post: third party plugins are not supported.

HuangA 05-31-2006 10:01 PM

Quote:

Originally Posted by Kihon Kata
really? Hmm mmkay. Well. when I add the forumID to:
On the forum homepage, it subtracted posts in the post collumn, and ADDED threads in the threads collumn.

Understand now?

I didn't run into this problem while coding, and it wasn't intended to do that, can you please pm me your url as well as how many posts and threads you're adding as well as which forum you're putting posts into?

Kihon Kata 06-01-2006 03:03 AM

Thanks FLORIS, lmk

Quote:

I didn't run into this problem while coding, and it wasn't intended to do that, can you please pm me your url as well as how many posts and threads you're adding as well as which forum you're putting posts into?
ok, pm is in the mail ;)

threat 06-01-2006 11:36 PM

wow be cool if you can add fake names too

rogersnm 06-02-2006 06:47 AM

Yeah but that would be like writing LOADS of fake names. But i suppose it would be quite cool

Floris 06-02-2006 12:03 PM

Quote:

Originally Posted by threat
wow be cool if you can add fake names too

Colin just helped me with the foreach code for this feature, I will release version 0.05 later tonight which allows you to list a bunch of names who will then appear as if they're online.

Nathan2006 06-02-2006 12:09 PM

Quote:

Originally Posted by Floris
Colin just helped me with the foreach code for this feature, I will release version 0.05 later tonight which allows you to list a bunch of names who will then appear as if they're online.

That will be great!

Also this will deter spammers if they think mods or admins are online 24/7 lol :D

I cant wait ;)

rogersnm 06-02-2006 12:17 PM

would it be possible to make it so when you pm them they reply and say i don't want to talk to you or something?

Floris 06-02-2006 12:48 PM

Quote:

Originally Posted by rogersnm
would it be possible to make it so when you pm them they reply and say i don't want to talk to you or something?

No. I wouldn't know how to do this. The fake users won't link to a userid.

Floris 06-02-2006 01:09 PM

Version 0.05 has been released. bow chica bow wow

threat 06-02-2006 01:19 PM

thanks but the users are not showing up, this is how mine looks in the admin cp

GixxerBoy, Sam, GixKing, Cheekyboy, 750Rider

I just uploaded the plugin again. Is this how its suppose to look? or bring the names in closer to the comma?

Celtic_Mad 06-02-2006 01:25 PM

They don't show up for me either.

rmxs 06-02-2006 01:25 PM

It works perfect...

Nathan2006 06-02-2006 01:27 PM

Thank you for the update.

But also not working for me.

The names are not appearing at all :(

EDIT: It is fully working
I did not add changes to the $fakenames $activeusers on the FORUMHOME Template

threat 06-02-2006 01:30 PM

Oh dont i feel like the dummy, did not see the added instructions at the top...hehehehe, works now.

Guys make sure you read the extra added instructions at the top and it will work

Admin Control Panel > Styles & Templates > Style Manager > dropdown: Edit Templates > Expand: Forum Home Templates group, select the FORUMHOME template and click on customize to modify it.
FIND:
$activeusers
Replace With:
$fakenames $activeusers


The only this is if you have it set to show ya member names alphabetically it will look funny because the names you choose will show up first in the order you put them.

Nathan2006 06-02-2006 01:34 PM

Quote:

Originally Posted by threat
Oh dont i feel like the dummy, did not see the added instructions at the top...hehehehe, works now.

Guys make sure you read the extra added instructions at the top and it will work

Admin Control Panel > Styles & Templates > Style Manager > dropdown: Edit Templates > Expand: Forum Home Templates group, select the FORUMHOME template and click on customize to modify it.
FIND:
$activeusers
Replace With:
$fakenames $activeusers


The only this is if you have it set to show ya member names alphabetically it will look funny because the names you choose will show up first in the order you put them.

I only just noticed that myself lol in too much of a rush to see it lol:rolleyes:

UniteTheCows 06-02-2006 02:15 PM

Hey guys I may have missed it but is this going to be coded to work with VBadvanced?

Kihon Kata 06-02-2006 02:19 PM

Floris, can we add HTML or BBCODE to new "List of (fake) Logged in Users"?

For example, I wanna be able to show the fake user(s) in a certain markup text.

threat 06-02-2006 03:03 PM

How about a link where when someone clicks the fake users it takes them to a page that shows something like "This User has turned his/her profile off for viewing" That way it looks like they are actual real members?

Nathan2006 06-02-2006 03:05 PM

Is there anyway to have them non click-able or
have them when clicked to be directed to a fake members profile?

Such as my test accounts or something?

Thanks ;)

threat 06-02-2006 03:27 PM

Something I noticed also, if you have 20 real members on and it says "20 members online" but you have 15 fake members, the members online will not change, so a smart attention to detail type fellow might be like hmmmmmmm?

But I really dont care,,,,I love it.

Nathan2006 06-02-2006 03:54 PM

Just found a small problem,

When you dont add any names there is a comma that is left on its own


All times are GMT. The time now is 01:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01763 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete