Back to vBulletin 3.7 Template Modifications

Add Link to User Albums in Member List
Mod Version: 1.00, by rolandogomez

This modification is in the archives.
vB Version: 3.7.0 Beta 4 Rating: (3 votes - 5.00 average) Installs: 24
Released: 16 Feb 2008 Last Update: Never Downloads: 7
Not Supported Template Edits Re-usable Code  

Well first, I'm no programmer and taking what FRDS has in his mod to add a user's link to their albums in the postbit, Add link to user albums in postbit

I've come up with using FRDS's helpful mod and modifying it for the member's list. So one hand, I'm hoping this code is not wrong, as it works for me, but also I can't take full credit either.

Again, no programmer, and this is my first attempt at posting a mod, but it's working on my new site,

DEMO
http://www.shotcritic.com/forums/memberlist.php

Basically it's only one edit, find the memberlist template, memberlist_resultsbit by doing the following:

1. In AdminCP, find Styles and Templates>>Style Manager>>Select Style>>Edit Templates>>Member List Templates>>memberlist_resultsbit

2. In memberlist_resultsbit, find this:
Code:
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
				<if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>
and under it put this:
Code:
<a href="album.php?$session[sessionurl]u=$userinfo[userid]" title="View $userinfo[username]'s Album" rel="nofollow"><font color="red"><i>Member's Photo Albums</i></font><img src="images/buttons/add_album.png" alt="View $userinfo[username]'s Photo Album" border="0"/></a>
Note, you can remove the italics and font tags if you don't want the linking text to stand out, or change the color to what you want, but it works! Thanks again to FRDS for his inspiration for me to go out and try something as a non-programmer. If anyone thinks the code could be better, let me know! Thanks, rg sends!

Download

No files for download.

Similar Mods

Show Thread Enhancements Link to user albums in postbit vBulletin 3.7 Template Modifications
Show Thread Enhancements Add link to user albums in postbit vBulletin 3.7 Template Modifications
Show Thread Enhancements Link Albums member of the thread vBulletin 3.7 Template Modifications

vblts.ru supports vBulletin®, 2022-2024