Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-28-2004, 04:21 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 03-28-2004, 04:34 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I released a Forumdisplay Stats cache hack that might have what you want.
Reply With Quote
  #3  
Old 04-05-2004, 07:23 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 04-05-2004, 12:45 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 04-05-2004, 01:36 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried running that, yet?
Reply With Quote
  #6  
Old 04-05-2004, 01:47 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 04-05-2004, 01:57 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 04-05-2004, 03:05 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 04-05-2004, 04:00 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 04-05-2004, 04:32 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:54 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.04380 seconds
  • Memory Usage 2,260KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete