vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to show number of threads (https://vborg.vbsupport.ru/showthread.php?t=225449)

RedHacker 10-17-2009 07:08 PM

How to show number of threads
 
How to show number of threads in postbit legacy....?

Lynne 10-17-2009 07:44 PM

You would have to add something to the query to count all the threads the user has made and then use that count variable in the postbit since vb doesn't keep tracker of threadcounts like it does postcounts. It's probably better to create a new field called threadcounts and populate it whenever a user makes a new thread. That would take a little bit of effort though.

Have you done a search for a mod?

RedHacker 10-17-2009 07:52 PM

Yes but i cant find nothing.... I will show etg posts

Lynne 10-17-2009 07:58 PM

Try a search on "count*" in "all mods" "titles only" and you should find something.

RedHacker 10-17-2009 08:00 PM

Maybe it is install or creae not simple....

DeanLag 10-17-2009 08:06 PM

The query is "SELECT *
FROM `thread`
WHERE `postuserid` =XX"

--------------- Added [DATE]1255814205[/DATE] at [TIME]1255814205[/TIME] ---------------

Try this. Its 3.5 but sometimes they work :)
https://vborg.vbsupport.ru/showthrea...t=thread+count

RedHacker 10-17-2009 09:03 PM

Thanks DeanLag it is worked for 3.8.1

RedHacker 10-22-2009 08:31 AM

It is possible to add and numbers of friends....?

DeanLag 10-22-2009 12:07 PM

<div class="smallfont">Number of friends: $post[friendcount]</div>

RedHacker 10-22-2009 04:17 PM

Thanks and i change name in other language gone to the phrases?


All times are GMT. The time now is 02:39 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.01031 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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