vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Users Threads in Their Profile (https://vborg.vbsupport.ru/showthread.php?t=58778)

assassingod 11-22-2003 10:00 PM

Users Threads in Their Profile
 
Users Threads in Their Profile

Coded By: assassingod
Description: This will show the users posted threads in their profile. It also counts the number of threads posted

UPDATED 26/11/2003

vB Version:
2.2.x and 2.3.x

Don't forget the click the install button if you use this!:)

dnoyeb2002 11-23-2003 08:07 PM

Awesome mod assassingod . . . installing it right now on my board. Thanks for the idea!

NTLDR 11-23-2003 10:43 PM

Nice idea, however IMO you really should have some sort of limit on the number of threads, you really don't want to be showing hundreds of threads on the profile page, a counter a say the last X threads would be better.

Also this will get threads that are in private forums, not good ;)

One last thing :P The second query is a waste, why not just increment a variable in with each iteration of the while loop? Much more efficent. Remember query_first to, thats a query were it should be used on to save extra coding :)

poetic 11-24-2003 12:22 AM

ya i tihnk it should be changed to the last 10 threads

assassingod 11-24-2003 03:24 PM

Quote:

Originally Posted by NTLDR
Nice idea, however IMO you really should have some sort of limit on the number of threads, you really don't want to be showing hundreds of threads on the profile page, a counter a say the last X threads would be better.

Also this will get threads that are in private forums, not good ;)

One last thing :P The second query is a waste, why not just increment a variable in with each iteration of the while loop? Much more efficent. Remember query_first to, thats a query were it should be used on to save extra coding :)

Thanks for the info Lee. I'll get to work right away on it:)

Dean C 11-24-2003 03:38 PM

Good lord - i wouldn't reccomend anyone installing this until it has the limit on it - but to be honest if you have a page limit then its the same as searching for all posts. If it's the latest posts then this hack is already made - tough one Steve :)

assassingod 11-24-2003 03:40 PM

Quote:

Originally Posted by Mist
Good lord - i wouldn't reccomend anyone installing this until it has the limit on it - but to be honest if you have a page limit then its the same as searching for all posts. If it's the latest posts then this hack is already made - tough one Steve :)

For a temporary fix i'll add a vB option. Then sort out the problems.

And it's just threads posted by that user

FleaBag 11-24-2003 05:47 PM

Give the guy a break, he's 14 and doing his best - when I was 14 I could barely string a HTML page together.

Nice idea mate, if there's a limit on the number of threads I'll gladly install as I know my members will appreciate it.

assassingod 11-24-2003 05:51 PM

Thanks FleaBag:)

I'll get to work on a page navigation feature next (After I stop playing with GD:D)

g-force2k2 11-25-2003 06:09 AM

Nice Job Assassingod.

Here's an edited version that uses a variable to define the amount of threads to show in the user profile using vbulletin options.

Also cut the second query and incremented while using the while loop. Only thing is it won't calculate the total number of threads a user has posted.

And likewise I agree with what NTLDR said about permissions.

Haven't tested it either just coded it.

Regards,
g-force2k2


All times are GMT. The time now is 12:26 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.01319 seconds
  • Memory Usage 1,731KB
  • 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_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