vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Profile Enhancements - Find All Threads by "User" In User Profile (https://vborg.vbsupport.ru/showthread.php?t=231325)

Welshy2008 12-26-2009 10:00 PM

Find All Threads by "User" In User Profile
 
1 Attachment(s)
I started on this before Christmas, and left it on the "Back burner" while I carried out other Work - I have since seen a couple of versions of this template change (I am not trying to step on anyone's toes here, just simply completing a started project of mine). One of those, Didn't work for me and I didn't try the other, so I decided to do one to my preferrence. :(

What does this do?

This adds the "Find threads started by *username*" back in the Profile, where it used to be on previous versions of vB, but for some strange reason, is not on the new vB4 version.

How is yours different form the other versions on vB.org?

I have tested this on vB4 PL1 GOLD - and it works (As can be seen by my Screenshots, below). I have also put the "by Username" back into the HTML Link and Alt.

What do I need to do?

Just One simple "Template" edit change. Follow the "Installation" instructions below.

Installation:


AdminCP -> Styles & Templates -> Style Manager -> *YOUR STYLE* - mine is the Default Style -> << >> -> Member Info Templates -> MEMBERINFO


FIND:
Code:

<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_posts}" class="inlineimg" /> {vb:rawphrase find_all_posts}</a></li>
AND REPLACE IT ALL WITH:
Code:

<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_posts} by {vb:raw userinfo.username}" class="inlineimg" /> {vb:rawphrase find_ all_ posts} by {vb:raw userinfo.username}</a></li>
                                            <li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;contenttype=vBForum_Post&amp;starteronly=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_ all_ started_ threads} by {vb:raw userinfo.username}" class="inlineimg" /> {vb:rawphrase find_ all_ started_ threads} by {vb:raw userinfo.username}</a></li>

SAVE


And that is it - Job Done !

Please click "Installed" and rate this Thread.

Thank You.

Welshy2008 12-27-2009 02:50 PM

** Reserved **

baghdad4ever 12-27-2009 06:21 PM

thanks

steve1966 12-27-2009 06:27 PM

thanks

VonDoom 12-27-2009 08:05 PM

Another thanks

Skyrider 12-29-2009 08:53 AM

Installed, thank u. This is really missing on vb4. I believe it was there even in the beta's but got removed.

Prostr 12-29-2009 11:21 AM

Installed on VB 4 Gold - and it works!

Thanks!

Dr.osamA 12-30-2009 10:19 AM

installed

thanxxx
________
Ipad cases

shane943 12-30-2009 10:48 PM

Installed thanks!

BoredOutOfMyMin 01-02-2010 07:08 AM

Quote:

Originally Posted by FF|Skyrider (Post 1941338)
Installed, thank u. This is really missing on vb4. I believe it was there even in the beta's but got removed.

It is a feature....:D


All times are GMT. The time now is 12:52 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.01107 seconds
  • Memory Usage 1,736KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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