vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Post Count for certains forum(s) (https://vborg.vbsupport.ru/showthread.php?t=32665)

Nemesis77 11-25-2001 07:11 AM

Is there a hack or can anyone make a hack that will keep track of the # of posts a user has for a certain forum?? Only threads Started not reply posts.

Thanks for any info.

WizyWyg 11-25-2001 09:33 AM

Shouldn't be too difficult, but where do you want this "info" displayed?

Bald Bouncer 11-25-2001 12:02 PM

Ive been requesting this for a long time but never seen a working version :(

I wanted it for the Postbit....I know it would slowdown the loadtimes but I never really noticed much differance to be bothered :D

holev 11-25-2001 12:42 PM

put the results of this query:
Code:

select count(*) from post where forumid=forum_id and userid=$bbuserid[userid];
into a variable and that should work

Bald Bouncer 11-25-2001 01:59 PM

doesnt work mate :( plus I was after something that could count from more then one forum if needed

holev 11-25-2001 03:42 PM

[QUOTE]Originally posted by holev
put the results of this query:
Code:

select count(*) from post where forumid=forum_id and userid=$bbuserid[userid];
into a variable and that should work

Nemesis77 11-25-2001 05:22 PM

Ya same for me. I would like to see this displayed in the postbit area. Oh also for only Threads Started not posted replies

Bald Bouncer 11-25-2001 05:38 PM

the above code I think would give the error FORUMID COLOUMN not found, Ive tried lots of things and gave up in the end :(


All times are GMT. The time now is 01:49 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.01043 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete