View Full Version : Miscellaneous Hacks - PMVB - Enhanced Memberlist 2.1
EnIgMa1234
05-23-2007, 10:00 PM
/*============================================*\
|| PMVB - Enhanced Memberlist
||
||
|| Author : EnIgMa1234
|| Released : May 24, 2007
|| Version : 2.1
||
|| Time required to install: 1 min
|| Difficulty: easy
\*============================================*/
Description: This is a total redesign of your memberlist. It is fully admin controlable.
Install:
Import Product via admincp
Replace memberlist template with memberlist.txt
Replace memberlist_resultbit template with memberlist_resultbit.txtStats:
36 new phrases [29 Setting Phrases]
12 new options
2 template edits
2 new pluginsFeatures:
Many Vbulletin Options
Ability To Remove Columns
Contact Column Can Be Turned Off By Disabling All Contact Options
[Ajax] seach member - side column
No need for advanced search anymore
Admin ControllableChange Log:
1.0 -> 1.1 - Added Version Check
Now Fully Phrased
1.1 -> 1.2 - Added Option To Add No Avatar Image
Added Postcount
Some Options Do Not Display If Value Hasn't Been Added
Fixed Design Issues
1.2 -> 2.0 - Added Side Column Search
2.0 -> 2.1 - Added More Search Options
Demo: http://www.pimpmyvb.net/board/memberlist.php?styleid=1
This hack is (c) 2007 PimpMyVB.net
Do Not Reproduce Without My Permission Or Post Anywhere Else
Support Will Only Be Given To Those Who Click Install!
MissKalunji
05-24-2007, 07:19 PM
Not bad *trying*
EnIgMa1234
05-24-2007, 07:23 PM
let me know how it goes. im also open for suggestions
EnIgMa1234
05-24-2007, 07:46 PM
*add version check url
FreshFroot
05-24-2007, 10:08 PM
another great hack!
bitdefuser
05-24-2007, 11:21 PM
This is great for people with fixed widths and I love the new search feature!
Bug:
Reputation does not show up.
Suggestions:
Remove items under details column if user does not have them entered. (Such as Age, etc.)
Rename PM me! to PM. (Makes it more formal.)
Demo: http://www.cursayer.com/members/list/
TheBlackPoet
05-25-2007, 12:48 AM
i'm loving the new look.. but not having the avatar show up.... is driving me mad!!! can you help with that??
DS MrSinister
05-25-2007, 12:58 AM
i'm loving the new look.. but not having the avatar show up.... is driving me mad!!! can you help with that??
I would try looking under your vBulletin Options -- User Listing & Profile Viewing options in the admincp just a guess
Retell
05-25-2007, 01:43 AM
The reason some avatars don't show up is because your user didn't choose one:
The Fix:
Find in memberlist_resultsbit:
<td class="alt1Active" align="$stylevar[left]" width="10%">
<img src="$avatarurl" />
</td></if>
Replace With:
<td class="alt1Active" align="$stylevar[left]" width="10%">
<if condition="$avatarurl">
<img src="$avatarurl" />
</if>
</td></if>
That's it... How ever if you want an image saying this user has not choosen an avatar:
Download: http://www.nzxt.com/betaforum/grunged/misc/noavatar.gif "Image Taken From Default Avatar Mod"
Find in memberlist_resultsbit:
<td class="alt1Active" align="$stylevar[left]" width="10%">
<img src="$avatarurl" />
</td></if>
Replace With:
<td class="alt1Active" align="$stylevar[left]" width="10%">
<if condition="$avatarurl">
<img src="$avatarurl" />
<else />
<img src="$stylevar[imgdir_misc]/noavatar.gif" />
</if>
</td></if>
dope15gd
05-25-2007, 06:44 AM
looks pretty awesome. I'll be checking this out within the next few days
EnIgMa1234
05-25-2007, 11:15 AM
This is great for people with fixed widths and I love the new search feature!
Bug:
Reputation does not show up.
Suggestions:
Remove items under details column if user does not have them entered. (Such as Age, etc.)
Rename PM me! to PM. (Makes it more formal.)
Demo: http://www.cursayer.com/members/list/
could you pm me your resultbit template
blackpoet, could you do this too?
EnIgMa1234
05-25-2007, 03:03 PM
Updated*
1.1 Has Been Released.
To Upgrade:
Reinstall Everything
If You Want To Revieve Upgrades In The Future, Remember To Click Mark As Installed
bitdefuser
05-25-2007, 06:13 PM
More Bugs
The reputation still does not appear.
I still suggest you hide the items under the Details list if the user does not have them entered to avoid confusion.
Edit: The age does not appear either.
My resultsbit is the same as the latest one in your text file that you have provided in your download.
I also suggest you add "Posts" under the "Details" tab.
Retell
05-25-2007, 06:35 PM
Updated*
1.1 Has Been Released.
To Upgrade:
Reinstall Everything
If You Want To Revieve Upgrades In The Future, Remember To Click Mark As Installed
Did you include my fix for avatars?
Hornstar
05-26-2007, 05:48 AM
Hopefully this becomes really popular so this hack stays alive, from the look of the screen shots, this looks much better ^^
Thanks.
EnIgMa1234
05-26-2007, 03:00 PM
Did you include my fix for avatars?it was always included. the reason the avatars didnt show is because the users didnt upload one. to fix this i'd suggest installing ziki's default avatar hack
EnIgMa1234
05-26-2007, 06:12 PM
V.1.2 Has Been Released
Changes - See Change Log.txt Or View To Of Page
Upgrading -
Reupload Product
Redo resultbit template
Retell
05-27-2007, 04:03 AM
No, it wasn't always included, your coding assumed that everyone will have an avatar, that is not ever going to happen. And not everyone wants a default avatar for their forums. My change was an if statement to make sure there was an avatar before it tried to show one.
TheProphet
05-27-2007, 05:23 AM
<font color="Lime"> *installed*</font>
Nice hack.... thx for releasing.
bashy
06-09-2007, 07:11 AM
Hi, this does not do the ajax when searching for a member such as you screenshot?
EnIgMa1234
06-09-2007, 10:20 AM
Do you have ajax turned on?
Have you ever changed any of the default clientscript files?
bashy
06-09-2007, 10:27 AM
Hi
ajax is on as far as i am aware ans i have many ajax enabled hacks,
as for the files, not that i can remember
EnIgMa1234
06-09-2007, 10:44 AM
have you customised the templates i provided in any way?
bashy
06-09-2007, 02:48 PM
No m8 not at all... its as i downloaded it from here :)
Just to make sure, is there a ajax setting to enable this option whether it be your setting or a default vb setting? Ya never know, i may have never had it enabled pmsl.... I just cannot remember
EnIgMa1234
06-09-2007, 05:18 PM
Vbulletin options - general settings
its the last option
bashy
06-09-2007, 07:55 PM
Yeah thought so, its set to, Enable all AJAX features...
I am gonna download the the vb package again and upload only the clientscript folder and see how that goes....
Back in a bit....
bashy
06-09-2007, 08:03 PM
Uploaded and still the same im afraid :(
EnIgMa1234
06-09-2007, 08:09 PM
hmm....
could you post the codes of the username suggest found somewhere else on your forum and compare it to mine
bashy
06-09-2007, 08:52 PM
Sorry, this is where i start to get stumped lol
What i be looking for in the code with regards to the name suggest?
To be honest, i dont think its ever worked.... well not that i noticed, i dont really
search for users, dont have the need at present...
Where else would i find the name suggest?
EnIgMa1234
06-10-2007, 12:19 PM
<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=364"></script>
<script type="text/javascript">
<!--
vbmenu_register('userfield', true);
snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
//-->
</script>
</div>
Search for that
EnIgMa1234
06-22-2007, 02:27 PM
Updated -
1.2 - 2.0 -> Add Side Column Search
I will also be adding more search options.
Also if you would like to give a demo to be shown on the first post, please pm me.
Thanks
EnIgMa1234
07-01-2007, 08:16 PM
Updated To V.2.1
2.0 -> 2.1 - Added More Search Options
EnIgMa1234
07-03-2007, 12:15 PM
I am now looking for suggestions for future features
Kmaster
07-06-2007, 01:29 PM
possible searching userid?
EnIgMa1234
07-06-2007, 01:39 PM
Yes I will add that to the todo :)
Rated
07-27-2007, 06:55 PM
Installed.
Great hack man...
Is there a way to resize the whole information box?
Also, is there a way to switch the look from avatar-details-info-contact info to details-avatar-info-contact info?
Thanks
EnIgMa1234
07-27-2007, 07:54 PM
Just rearrange the template. PM me if you need help
criscokid
08-26-2007, 06:12 PM
It would be fantastic if a site owner had the opption to include specifis profile fields to include in the search and to be output on memberlist.php
sunnycher
09-08-2007, 08:13 AM
Love this! THANK YOU!
EnIgMa1234
09-08-2007, 02:13 PM
Your welcome :)
criscokid
09-08-2007, 03:46 PM
I am now looking for suggestions for future features
Any idea when you're likely to release the next version?
EnIgMa1234
09-08-2007, 11:56 PM
When I get a good feature list.
Chadi
09-21-2007, 12:34 AM
This completely messed up the entire member list on my custom skin.
Can you please explain what should be modified in the two templates instead of telling us to "replace entire template"? Your template messed up the tables, member list view options in vboptions (it showed avatars column for example, my vboptions has that off). It displayed no actual usernames either.
My original memberlist_result template
<tr align="center">
<td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]">
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
<if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if>
</td>
<if condition="$show['emailcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="email.gif" title="<phrase 1="$userinfo[username]">$vbphrase[click_here_to_email_x]</phrase>" border="0" /></a></if> <if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></td></if>
<if condition="$show['imicons'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]</td></if>
<if condition="$show['homepagecol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['homepagelink']"><a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" alt="home.gif" title="<phrase 1="$userinfo[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a><else /> </if></td></if>
<if condition="$show['searchcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['searchlink']"><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/find.gif" alt="find.gif" title="<phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase>" border="0" /></a><else /> </if></td></if>
<if condition="$show['datejoinedcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[datejoined]</td></if>
<if condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
<if condition="$show['lastvisitcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[lastvisit]</td></if>
<if condition="$show['reputationcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[reputationdisplay]</td></if>
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else /> </if></td></if>
<if condition="$show['profilepiccol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[profilepic]</td></if>
<if condition="$show['birthdaycol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[birthday]</td></if>
<if condition="$show['agecol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[age]</td></if>
<if condition="$show['customfields']">$customfields</if>
<if condition="$show['usergroup'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['hideleader']"> <else /><input type="checkbox" name="deletebox[$userinfo[userid]]" value="yes" /></if></td></if>
</tr>
memberlist template
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[members_list]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
$letterbits
</tr>
</table>
<if condition="$show['popups'] AND !$show['usergroup']">
<!-- memberlist quick search form -->
<div class="vbmenu_popup" id="memberlist_search_menu" style="display:none">
<form action="memberlist.php?do=getall" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_members]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="getall" />
<input type="text" class="bginput" name="ausername" size="20" value="$ltr" title="$vbphrase[username]" />$gobutton
</td>
</tr>
<if condition="$show['advancedlink']">
<tr>
<td class="vbmenu_option"><a href="memberlist.php?$session[sessionurl]do=search">$vbphrase[advanced_search]</a></td>
</tr>
</if>
</table>
</form>
</div>
<!-- / memberlist quick search form -->
</if>
<br />
$spacer_close
$spacer_open
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<form action="profile.php?do=deleteusergroups&usergroupid=$userg roupid" method="post">
<input type="hidden" name="do" value="deleteusergroups" />
<input type="hidden" name="usergroupid" value="$usergroupid" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<span class="smallfont" style="float:$stylevar[right]">
<phrase 1="$first" 2="$last" 3="$totalusers">$vbphrase[showing_results_x_to_y_of_z]</phrase>
<br />
<phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
</span>
<if condition="$show['usergroup']">
$vbphrase[members_of_usergroup]<span class="normal">: $leadergroup[title]</span>
<else />
$vboptions[bbtitle]: $vbphrase[members_list]
</if>
</td>
<if condition="!$show['usergroup']">
<td class="vbmenu_control" id="memberlist_search"><a href="memberlist.php?$session[sessionurl]do=search">$vbphrase[search_members]</a> <script type="text/javascript"> vbmenu_register("memberlist_search"); </script></td>
</if>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr align="center">
<td class="thead" align="$stylevar[left]" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=username&pp=$perpage$userg rouplink">$vbphrase[username]</a> $sortarrow[username]</td>
<if condition="$show['emailcol']"><td class="thead" nowrap="nowrap">$vbphrase[contact]</td></if>
<if condition="$show['imicons']"><td class="thead" nowrap="nowrap">$vbphrase[instant_messaging]</td></if>
<if condition="$show['homepagecol']"><td class="thead" nowrap="nowrap">$vbphrase[home_page]</td></if>
<if condition="$show['searchcol']"><td class="thead" nowrap="nowrap">$vbphrase[find_posts]</td></if>
<if condition="$show['datejoinedcol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=joindate&pp=$perpage$userg rouplink">$vbphrase[join_date]</a> $sortarrow[joindate]</td></if>
<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=posts&pp=$perpage$usergro uplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
<if condition="$show['lastvisitcol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=lastvisit&pp=$perpage$use rgrouplink">$vbphrase[last_visit]</a> $sortarrow[lastvisit]</td></if>
<if condition="$show['reputationcol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=reputation&pp=$perpage$us ergrouplink">$vbphrase[reputation]</a> $sortarrow[reputation]</td></if>
<if condition="$show['avatarcol']"><td class="thead" nowrap="nowrap">$vbphrase[avatar]</td></if>
<if condition="$show['profilepiccol']"><td class="thead" nowrap="nowrap">$vbphrase[profile_picture]</td></if>
<if condition="$show['birthdaycol']"><td class="thead" nowrap="nowrap">$vbphrase[birthday]</td></if>
<if condition="$show['agecol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=ASC&sort=age&pp=$perpage$usergroupl ink">$vbphrase[age]</a> $sortarrow[age]</td></if>
<if condition="$show['customfields']">$customfieldsheader</if>
<if condition="$show['usergroup']"><td class="thead"><input name="allbox" type="checkbox" value="Check All" title="$vbphrase[check_uncheck_all]" onClick="checkall(this.form);" /></td></if>
</tr>
$memberlistbits
<tr>
<td class="tfoot" colspan="$totalcols" align="$stylevar[right]">
<span class="smallfont">
<if condition="$show['usergroup']">
<input type="submit" class="button" value="$vbphrase[remove_selected_users]" />
<else />
<phrase 1="$first" 2="$last" 3="$totalusers">$vbphrase[showing_results_x_to_y_of_z]</phrase>
</if>
</span>
</td>
</tr>
</table>
</form>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
$spacer_close
$spacer_open
<br />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%"> </td>
<td>$forumjump</td>
</tr>
</table>
$footer
</body>
</html>
EnIgMa1234
09-21-2007, 10:59 AM
I dont see the problem, that it how it should luck, and this is a complete redesign of the member list template so there could be 50 edits otherwise which I'm sure nobody wants
Chadi
09-21-2007, 11:15 AM
Your joking right? I showed you screenshots of a completely messed up table, missing columns, details, and your telling me it SHOULD look like that?
EnIgMa1234
09-21-2007, 01:46 PM
Do those users even have avatars?
TotlKaos
11-21-2007, 10:14 PM
Your joking right? I showed you screenshots of a completely messed up table, missing columns, details, and your telling me it SHOULD look like that?
Dunno.. looks fine to me also.. look at the one column... and then move to the right.. boom there is your info.. dunno what your looking for.
Great mod.. Thanks!
Is there a way to add Location to the Search on the Side Bar?
Thanks!
Russ
EnIgMa1234
11-21-2007, 10:23 PM
Yep :D
I'll include in the next version
TCE Killa
01-09-2008, 10:44 PM
I'm using this on my default style and it works great, but on my other style/template, I am not running it, and I noticed the normal memberlist shows an Awards column with everyones awards run, is there a way I can add that on to this style memberlist?
Thanks. Great mod btw.
htscpl
01-12-2008, 09:48 PM
Nice mod, would like to include some other custom profile fields and the profile picture. Is there a simple way to do that ?
Thanks for the good work. *** installs ***
chikkoo
04-15-2008, 01:58 PM
Can someone who already installed clarify me whether this mod allows you to search members by their usertitle or usergroup?
I need to find all the members in a usergroup.
I would appreciate if it is added in the Side Bar.
Bounce
05-04-2008, 10:18 AM
Will you be doing a 3.7 version ?
BeatsInkBeats
10-20-2008, 06:59 AM
also interested in a 3.7 version
is there a 3.7 version around plz?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.