View Full Version : Post count in postbit as a link to view member's posts
Lea Verou
11-14-2005, 10:00 PM
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
11-15-2005, 08:06 AM
Simple and useful, saves a page load =).
steadicamop
11-15-2005, 11:06 AM
*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
11-15-2005, 11:22 AM
Could you put your instructions in a .txt file and attach them please? Thank you.
Lea Verou
11-15-2005, 11:24 AM
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
11-15-2005, 11:26 AM
*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
11-15-2005, 11:37 AM
Works great...thanks!!
**clicks install**
Snake
11-15-2005, 01:25 PM
This is good. Thanks.
folkish
11-23-2005, 12:03 AM
Installed, thanks.
cbr929rrerion
11-24-2005, 09:22 PM
Love it.. Thanks Maam... :-)
paulmjno
11-26-2005, 01:14 AM
Great. :D Makes sense, this should be the default!
Lea Verou
11-26-2005, 02:00 AM
Great. :D Makes sense, this should be the default!
Hehe, I agree :p
FleaBag
11-28-2005, 12:17 PM
Nicely done! Cheers. :)
dieselpowered
12-07-2005, 03:23 PM
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
12-08-2005, 05:52 AM
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
12-28-2005, 12:36 AM
Thanks man. works great.
Rickie3
12-28-2005, 02:11 AM
simple and very handy thankyou *installed*
Lea Verou
12-29-2005, 11:11 PM
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
12-30-2005, 04:38 AM
nice hack thanks, installed
Allan
12-30-2005, 05:24 AM
Thanks ;)
ctsolutions
01-04-2006, 08:20 PM
It's seams that this is an duplicate cose "Find More Posts by xxx" already exists.
https://vborg.vbsupport.ru/member.php?u=106158
anyhow, thanks
mike
Lea Verou
01-04-2006, 08:25 PM
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
02-11-2006, 02:22 AM
Could someone please help me modify this to only show todays posts by that user? Thanks.
Gripemaster
02-11-2006, 03:07 AM
*Installs* Thank you!
nufc fan
02-25-2006, 12:55 PM
love it wicked
www.totalfmforums.co.uk
Shelly
02-26-2006, 04:18 AM
Im sry but I have no idea where to put it :( my first vb forum :(
mvolking
02-26-2006, 04:53 AM
They don't get any easier than this one! Worked perfect.
*installed
mvolking
02-26-2006, 04:55 AM
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
02-26-2006, 05:01 AM
awesome mod, and can't possibly be simpler
thanks :)
wizardan
02-27-2006, 05:07 PM
Oy... had this installed for days now, but forgot to click install.
*done*:)
Smiry Kin's
06-19-2006, 12:29 PM
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
07-26-2006, 05:23 AM
Beautiful...harmless! Michelle, you should update this one but without the underline.
*clicks install*
PoetJA-1975
10-08-2006, 12:55 PM
Makes it that much easier for my Members to navigate :)
Thanx for sharing!
Jacquii.
Astrof
07-30-2008, 05:12 PM
Wonderful hack, just what I was looking for.
Works perfectly in 3.7.
Thank you very much for this.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.