vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Gahh need answer quickly >.> (https://vborg.vbsupport.ru/showthread.php?t=194369)

m4x3vo 10-23-2008 06:47 PM

Gahh need answer quickly >.>
 
Hm, has anyone ever made a plugin similar to what Im looking for? I'm looking to make a plugin that counts the users topics in a certain forum, and displays it in the postbit. How would I go about this?

Sawa Dee SohL 10-23-2008 07:28 PM

I'm not sure how to do this, but I know the Admin at fullhelp has this set up (where it says 'Threads: X ' X = number of threads you have created

Lynne 10-23-2008 07:49 PM

Why do you need an answer quickly?

Anyway, searching "threads started" in "all mods" "titles only" gives me this which you could modify to do what you want Threads Started by User in Postbit & Profile

m4x3vo 10-23-2008 07:53 PM

Hm thanks... I would need to modify it so I can say in a specific forum. Do you by chance know if in vbulletin's mysql DB, do they have a section column? Like which forum it was posted in? So I can just form a mysql query which will get the topics made from a user, in a certain forum... ughhh haha, i wanna get my new forum up >.>

Lynne 10-23-2008 07:55 PM

I'm sure you can add a forumid into the query they use. There are a ton of mods people make all the time that deal with specific forumids. You'll have to take a look at the query in the mod though.

m4x3vo 10-23-2008 09:08 PM

Thanks very much lynne. Ill post here how it goes.


All times are GMT. The time now is 07:07 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.01024 seconds
  • Memory Usage 1,713KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (6)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