vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Number of threads use started in a certain forum (https://vborg.vbsupport.ru/showthread.php?t=63049)

BigJohnson 03-28-2004 04:21 AM

Number of threads use started in a certain forum
 
Can someone create a hack like this and make the forum ids be changed in the admin cp at all so they all dont have to be hard coded int the code.

This would be awesome.

I want to create at least three different counters. So i dont want just 1 extra counter. i would like to create 3. I hope someone can help thanks.

Boofo 03-28-2004 04:34 AM

I released a Forumdisplay Stats cache hack that might have what you want. ;)

BigJohnson 04-05-2004 07:23 AM

Quote:

Originally Posted by Boofo
I released a Forumdisplay Stats cache hack that might have what you want. ;)

Sorry thats not exactly how it should work. I wanted it to be in the postbit and the getinfo area .

Do you know how you have posts: 100 in the posbit
POsts counts all posts made by that user.

I want something that will show how many THREADS a user has made in CERTAIN forums.

Not all forums. Just the forum ids that i specify.

It is a THREADS counter not a POSTS counter. And i wanted it displayed in the postbit and getinfo.

I hope someone can help me out. Thank you. Boofo i hope u can.

BigJohnson 04-05-2004 12:45 PM

Ok go here. This is what i use to have for 2.x how can i make this work for vb3 gold?

This is exactly what i was looking for.

https://vborg.vbsupport.ru/showthrea...number+threads

Boofo 04-05-2004 01:36 PM

Have you tried running that, yet?

BigJohnson 04-05-2004 01:47 PM

Quote:

Originally Posted by Boofo
Have you tried running that, yet?

the code is a little dif. i am not that good with php so i am a little confused on how to go about it. Was looking for some assisstance. ;)

Boofo 04-05-2004 01:57 PM

Look at my forumdisplay quick stats hack again. At the bottom of it there is a query for yourposts. That will show the user who is looking at it how many posts and threads they have made in the forum they are in. That will give you an idea of what needs to be done. We can start there. ;)

BigJohnson 04-05-2004 03:05 PM

Quote:

Originally Posted by Boofo
Look at my forumdisplay quick stats hack again. At the bottom of it there is a query for yourposts. That will show the user who is looking at it how many posts and threads they have made in the forum they are in. That will give you an idea of what needs to be done. We can start there. ;)

well i no nothing about php so maybe if u could help out with some code instructions i can test it out.

hehe.

Boofo 04-05-2004 04:00 PM

well, if you run that query, it should show you what you did for posts and threads in that forum. As far as the postbit goes, that would have to be done completely differently as not as add a query for every post on the page of a thread.

Now, I did a hack that I haven't released here that goes in the postbit and tells you how many threads each user has started (board-wide) right next to the Posts each user has made in the postbit, but it won't break it down per forum like you want.

So, it all depends what you are wanting to do, I guess. If you want it per forum and want it in the postbit, that would have to be another new hack altogether. ;)

BigJohnson 04-05-2004 04:32 PM

Quote:

Originally Posted by Boofo
well, if you run that query, it should show you what you did for posts and threads in that forum. As far as the postbit goes, that would have to be done completely differently as not as add a query for every post on the page of a thread.

Now, I did a hack that I haven't released here that goes in the postbit and tells you how many threads each user has started (board-wide) right next to the Posts each user has made in the postbit, but it won't break it down per forum like you want.

So, it all depends what you are wanting to do, I guess. If you want it per forum and want it in the postbit, that would have to be another new hack altogether. ;)

yup i guess so. would u no hwo to code that at all hehe.


All times are GMT. The time now is 06:10 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.01145 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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