PDA

View Full Version : Show Thread Enhancements - [find all threads started by x member] in postbit & postbit_legacy


fourat
08 Apr 2009, 04:52
Its simple and work with all versions
Open postbit or postbit_legacy template and search for this 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

<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
08 Apr 2009, 04:58
Nice work, thank you!

Installed

fourat
08 Apr 2009, 05:10
add example

fourat
08 Apr 2009, 05:12
Nice work, thank you!

Installed
welcome

macara
08 Apr 2009, 17:10
Wonderful!

thank you.

Installed

fourat
09 Apr 2009, 03:39
you are welcome

Daniel_HBK
09 Apr 2009, 18:19
thxxxxxx man , great work
شكراً لك :)

Wifey
09 Apr 2009, 19:37
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


<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:

<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:

<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
10 Apr 2009, 03:45
thxxxxxx man , great work
شكراً لك :)
welcome حياك الله

fourat
10 Apr 2009, 03:45
thank you wifey added .

macara
10 Apr 2009, 09:00
I was thinking about it!

Thank you very much Wifey & fourat.

Alexey™
10 Apr 2009, 11:08
Nice work but someone already publish a thread like this

Black Tiger
10 Apr 2009, 23:28
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
11 Apr 2009, 00:31
I was thinking about it!

Thank you very much Wifey & fourat.
thank you

vithorius
15 Apr 2009, 20:15
GREAT MOD!!!

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

Thank you!

Wifey
16 Apr 2009, 00:28
thank you wifey added .

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

fourat
18 Apr 2009, 23:10
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
25 Apr 2009, 00:48
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
26 Apr 2009, 22:14
Thanks, very useful add-on

fourat
22 May 2009, 14:33
thank you very much

shinng
30 May 2009, 00:01
useful, thanks. installed

fawzi61
30 May 2009, 07:05
شكراً ولكن أين ملف التحميل ؟

fourat
14 Jun 2009, 03:42
العفو أخوي .. لا يوجد ملف تحميل ولكن فقط تعديلات تعملها ويشتغل عندك بعدها ان شاء الله
اتبع الخطوات

boooooo
17 Jun 2009, 13:29
Nice work, thank you!

Losha
16 Jul 2009, 13:31
Nice work, thank you!

Installed

K4GAP
16 Jul 2009, 16:04
Excellent!!!! thank you.

BigDog56
16 Jul 2009, 16:19
Works great, thank you!

yotsume
19 Aug 2009, 00:45
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
07 Oct 2009, 22:16
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:

<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
25 Oct 2009, 02:51
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:

<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
26 Oct 2009, 02:00
thnk you man

:)

biggeorge
27 Dec 2009, 15:45
Excellent! Thank you.

sebaxtian
03 Apr 2010, 03:42
Excellent! Thank you.
Muy bueno, gracias..

haytham
19 May 2010, 16:09
Works fine thank you.

Ivelios
10 Jan 2011, 13:47
thx works for 3.8 without any problem so far ^^

hpidriver
01 Sep 2011, 22:37
Installed and working great so far in 3.8.x

thank you!

danyxxx
18 Sep 2011, 08:30
Same problem like in #29 and #30 posts .
Anyway, installed !