PDA

View Full Version : Post count in postbit as a link to view member's posts


Lea Verou
15 Nov 2005, 08:58
Very simple and quick modification:

Find in template postbit or posbit_legacy (depending on which one you use):
$vbphrase[posts]: $post[posts]

Replace with:
$vbphrase[posts]: <a href="search.php?do=finduser&u=$post[userid]">$post[posts]</a>

This will make the number of the posts that is shown on the postbit a link to find all that person's posts like the one that is displayed in the profile.

Please click INSTALL if you use this :)

mark99
15 Nov 2005, 10:06
Simple and useful, saves a page load =).

steadicamop
15 Nov 2005, 13:06
*Clicks install!

Just one quick thing - on mine it shows an underline before the number of posts, I altered it so the space is after the ':' and before the figure:

$vbphrase[posts]: <a href="search.php?do=finduser&u=$post[userid]">$post[posts]</a>

Tony G
15 Nov 2005, 13:22
Could you put your instructions in a .txt file and attach them please? Thank you.

Lea Verou
15 Nov 2005, 13:24
Could you put your instructions in a .txt file and attach them please? Thank you.

Oh come on! Who would need a txt file for such a small thing? It doesn't take more than 2 secs to install!

Lea Verou
15 Nov 2005, 13:26
*Clicks install!

Just one quick thing - on mine it shows an underline before the number of posts, I altered it so the space is after the ':' and before the figure:

$vbphrase[posts]: <a href="search.php?do=finduser&u=$post[userid]">$post[posts]</a>

Thanks, I haven't noticed it cause I have no underlines in my forum :nervous:
It's fixed now :)

dieselpowered
15 Nov 2005, 13:37
Works great...thanks!!

**clicks install**

Snake
15 Nov 2005, 15:25
This is good. Thanks.

folkish
23 Nov 2005, 02:03
Installed, thanks.

cbr929rrerion
24 Nov 2005, 23:22
Love it.. Thanks Maam... :-)

paulmjno
26 Nov 2005, 03:14
Great. :D Makes sense, this should be the default!

Lea Verou
26 Nov 2005, 04:00
Great. :D Makes sense, this should be the default!

Hehe, I agree :p

FleaBag
28 Nov 2005, 14:17
Nicely done! Cheers. :)

dieselpowered
07 Dec 2005, 17:23
Michelle, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

rabid dingo
08 Dec 2005, 07:52
I got rid of the underline completely.
$vbphrase[posts]: <a href="search.php?do=finduser&u=$post[userid]" style="text-decoration:none">$post[posts]</a>
*clicks install*

Danny Diamond
28 Dec 2005, 02:36
Thanks man. works great.

Rickie3
28 Dec 2005, 04:11
simple and very handy thankyou *installed*

Lea Verou
30 Dec 2005, 01:11
rabid-dingo you could do that via the style manager for all of your links ;)

KYNSimon I am not a man :mad: :p :p

To all: Glad you like it :)

Breathex
30 Dec 2005, 06:38
nice hack thanks, installed

Allan
30 Dec 2005, 07:24
Thanks ;)

ctsolutions
04 Jan 2006, 22:20
It's seams that this is an duplicate cose "Find More Posts by xxx" already exists.

http://www.vbulletin.org/forum/member.php?u=106158

anyhow, thanks

mike

Lea Verou
04 Jan 2006, 22:25
Yeah, it's based on the "Find all posts by X" in the vBulletin profile :)
I never claimed that it is a complex modification ;)

dxguru
11 Feb 2006, 04:22
Could someone please help me modify this to only show todays posts by that user? Thanks.

Gripemaster
11 Feb 2006, 05:07
*Installs* Thank you!

nufc fan
25 Feb 2006, 14:55
love it wicked

www.totalfmforums.co.uk

Shelly
26 Feb 2006, 06:18
Im sry but I have no idea where to put it :( my first vb forum :(

mvolking
26 Feb 2006, 06:53
They don't get any easier than this one! Worked perfect.

*installed

mvolking
26 Feb 2006, 06:55
Im sry but I have no idea where to put it :( my first vb forum :(

In you adminCP go to Styles&Templates>Style Manager>Edit Template (on the right pull down menu)> postbit templates>postbit_legacy (or postbit, depending on which you use).

Then press "CRTL-F" to find the line of code, then delete it and replace it with the new one.

Hope that works for ya'.

Emilian
26 Feb 2006, 07:01
awesome mod, and can't possibly be simpler

thanks :)

wizardan
27 Feb 2006, 19:07
Oy... had this installed for days now, but forgot to click install.
*done*:)

Smiry Kin's
19 Jun 2006, 14:29
Oh come on! Who would need a txt file for such a small thing? It doesn't take more than 2 secs to install!
i think its in the rules, a moderator should pm you asking you to put it in a text file,

and people might want to download and install later.

chkdgate
26 Jul 2006, 07:23
Beautiful...harmless! Michelle, you should update this one but without the underline.
*clicks install*

PoetJA-1975
08 Oct 2006, 14:55
Makes it that much easier for my Members to navigate :)
Thanx for sharing!

Jacquii.

Astrof
30 Jul 2008, 19:12
Wonderful hack, just what I was looking for.

Works perfectly in 3.7.

Thank you very much for this.