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 ;)


All times are GMT. The time now is 10:05 PM.

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.01563 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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