vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Post count in postbit as a link to view member's posts (https://vborg.vbsupport.ru/showthread.php?t=100850)

Lea Verou 11-14-2005 10:00 PM

Post count in postbit as a link to view member's posts
 
Very simple and quick modification:

Find in template postbit or posbit_legacy (depending on which one you use):
HTML Code:

$vbphrase[posts]: $post[posts]
Replace with:
HTML Code:

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

Code:

$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

Quote:

Originally Posted by Tony G
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

Quote:

Originally Posted by steadicamop
*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:

Code:

$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

Quote:

Originally Posted by paulmjno
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.
Quote:

$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

Quote:

Originally Posted by Shelly
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

Quote:

Originally Posted by Michelle
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.


All times are GMT. The time now is 07:56 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.01307 seconds
  • Memory Usage 1,774KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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