vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - [find all threads started by x member] in postbit & postbit_legacy (https://vborg.vbsupport.ru/showthread.php?t=210628)

fourat 04-07-2009 10:00 PM

[find all threads started by x member] in postbit & postbit_legacy
 
1 Attachment(s)
Its simple and work with all versions
Open postbit or postbit_legacy template and search for this code
Code:

<if condition="$show['search']">
        <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
    </if>

and add this code under it

Code:

<tr><td class="vbmenu_option">
      <a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]&starteronly=1"><phrase 1="$post[username]">$vbphrase[find_all_threads_by_x]</phrase></a></td></tr>

Now go to:
Admin cp >> Phrase manager >> add new phrase:

Product: vBulletin
varname: find_all_threads_by_x
text: Find All Threads by {1}
Arabic translation: عرض جميع المواضيع التي كتبها {1}

Jasem 04-08-2009 02:58 AM

Nice work, thank you!

Installed

fourat 04-08-2009 03:10 AM

add example

fourat 04-08-2009 03:12 AM

Quote:

Originally Posted by Jasem (Post 1786276)
Nice work, thank you!

Installed

welcome

macara 04-08-2009 03:10 PM

Wonderful!

thank you.

Installed

fourat 04-09-2009 01:39 AM

you are welcome

Daniel_HBK 04-09-2009 04:19 PM

thxxxxxx man , great work
شكراً لك :)

Wifey 04-09-2009 05:37 PM

I made quick update to this. Instead of having it say "find all posts by this member," I added the following phrase:

Phrase manager - add new phrase:

Product: vBulletin
varname: find_all_threads_by_x
text: Find All Threads by {1}

Then find the original phrase from fourat:

Open postbit or postbit_legacy template and search for this code

Code:

<if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
        </if>

And instead of adding this below:

Code:

<tr><td class="vbmenu_option">
      <a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]&starteronly=1"><phrase>find all threads started by this member</phrase></a></td></tr>

Add this:

Code:

<tr><td class="vbmenu_option">
      <a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]&starteronly=1"><phrase 1="$post[username]">$vbphrase[find_all_threads_by_x]</phrase></a></td></tr>


fourat 04-10-2009 01:45 AM

Quote:

Originally Posted by Daniel_HBK (Post 1787474)
thxxxxxx man , great work
شكراً لك :)

welcome حياك الله

fourat 04-10-2009 01:45 AM

thank you wifey added .


All times are GMT. The time now is 11:23 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.01232 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_code_printable
  • (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