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 .

macara 04-10-2009 07:00 AM

I was thinking about it!

Thank you very much Wifey & fourat.

Alexey? 04-10-2009 09:08 AM

Nice work but someone already publish a thread like this

Black Tiger 04-10-2009 09:28 PM

They did Alexey? Where? Because I don't see a "similar thread" below here.
And I only remember a find posts by user and a new post/new threds by user.

Anyway, if somebody was sooner with a 3.8 version I will install that version, but for now I clicked this one installed.:)

fourat 04-10-2009 10:31 PM

Quote:

Originally Posted by macara (Post 1788010)
I was thinking about it!

Thank you very much Wifey & fourat.

thank you

vithorius 04-15-2009 06:15 PM

GREAT MOD!!!

Is it possible to restrict the use of this Mod to only some usergroups?

Thank you!

Wifey 04-15-2009 10:28 PM

Quote:

Originally Posted by fourat (Post 1787856)
thank you wifey added .

Absolutely, thanks for taking the time to write out the code for it :)

fourat 04-18-2009 09:10 PM

Quote:

Originally Posted by vithorius (Post 1791889)
GREAT MOD!!!

Is it possible to restrict the use of this Mod to only some usergroups?

Thank you!

i dont know sorry

H3C x Nevz 04-24-2009 10:48 PM

Thanks a bunch for this code - it's perfect from my site. How would you manage to narrow it to only some boards though?

mizamlar 04-26-2009 08:14 PM

Thanks, very useful add-on

fourat 05-22-2009 12:33 PM

thank you very much

shinng 05-29-2009 10:01 PM

useful, thanks. installed

fawzi61 05-30-2009 05:05 AM

شكراً ولكن أين ملف التحميل ؟

fourat 06-14-2009 01:42 AM

العفو أخوي .. لا يوجد ملف تحميل ولكن فقط تعديلات تعملها ويشتغل عندك بعدها ان شاء الله
اتبع الخطوات

boooooo 06-17-2009 11:29 AM

Nice work, thank you!

Losha 07-16-2009 11:31 AM

Nice work, thank you!

Installed

K4GAP 07-16-2009 02:04 PM

Excellent!!!! thank you.

BigDog56 07-16-2009 02:19 PM

Works great, thank you!

yotsume 08-18-2009 10:45 PM

QUESTION:

I need at add this link to a vbadvanced block so it shows on my homepage. How can I get this link to be on the vba homepage in a block?

I do not need the username to be included. But when a member logs in the link will need to pull their ID to filter to their new threads.

So how can I do this?

Tom Kagan 10-07-2009 08:16 PM

Installed.

I moved the link to be before the </if> for consistency. Additionally, I replaced the use of & in the url with &amp; to allow it to validate XHTML.

Also, the code to insert has a typo. It should read: 'find_all_threads_started_by_x' (like in the title of this thread) and not 'find_all_threads_by_x'

Edit:

For whatever reason, I was not able to make the phrase work. Until such time I can figure out why, I fell back and put this instead:

Code:

<tr><td class="vbmenu_option">
      <a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]&amp;starteronly=1" rel="nofollow">Find all threads started by $post[username]</a></td></tr>

It matches the phrase used in the profile statistics.

hscorp 10-25-2009 12:51 AM

Quote:

Originally Posted by Tom Kagan (Post 1896294)
Installed.

I moved the link to be before the </if> for consistency. Additionally, I replaced the use of & in the url with &amp; to allow it to validate XHTML.

Also, the code to insert has a typo. It should read: 'find_all_threads_started_by_x' (like in the title of this thread) and not 'find_all_threads_by_x'

Edit:

For whatever reason, I was not able to make the phrase work. Until such time I can figure out why, I fell back and put this instead:

Code:

<tr><td class="vbmenu_option">
      <a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]&amp;starteronly=1" rel="nofollow">Find all threads started by $post[username]</a></td></tr>

It matches the phrase used in the profile statistics.

me too i couldn't make the phrase work

Marcel Adam 10-26-2009 12:00 AM

thnk you man

:)

biggeorge 12-27-2009 01:45 PM

Excellent! Thank you.

sebaxtian 04-03-2010 01:42 AM

Excellent! Thank you.
Muy bueno, gracias..

haytham 05-19-2010 02:09 PM

Works fine thank you.

Ivelios 01-10-2011 11:47 AM

thx works for 3.8 without any problem so far ^^

hpidriver 09-01-2011 08:37 PM

Installed and working great so far in 3.8.x

thank you!

danyxxx 09-18-2011 06:30 AM

Same problem like in #29 and #30 posts .
Anyway, installed !


All times are GMT. The time now is 06:21 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.01274 seconds
  • Memory Usage 1,785KB
  • 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
  • (7)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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