![]() |
Member List for VB5
1 Attachment(s)
This is an add-on that does NOT plug into VB5's API. This is a stand-alone file that utilizes the VB5 header and footer system to wrap my implementation of the member list with the look/feel of your VB site. You may need to edit colors and such; that is up to you to change. But it is compatible with the out of the box VB5 style.
This is running at this URL: www.diecastmodelaircraft.com/memberlist.php We have a more customized version running here: www.diecastmodelaircraft.com/memberlist Instructions: 1. Upload all files in the upload directory to the root of your VB5 install 2. Edit memberlist.php as follows Your Site URL Maximum Number of users per page Display for Logged Out Users 3. These settings are obtained from your vb install config file, you should not have to modify these Mysql Host Database User Database Password Database Name Database Prefix (if any) 4. Load http://www.yoursite.com/memberlist.php Optional: Add the following lines to .htaccess Code:
RewriteEngine on Load http://www.yoursite.com/memberlist Questions? Comments? Email: todd@aero-pro.net Donations are gladly accepted for this work: paypal@aero-pro.net If you install it, let us know so we can see how it works on other sites. Revision Info: .10 - First Release .11 - Created Zip file w/different paths. .12 - Adjusted paths for images to be relative; modified link to use profile; added ability to work with databases with prefix. .13 - Better db prefix handling; removed un-needed DB variable. .14 - Added ability to display list only for logged in users; misc bug fixes, added link to this thread for support. Expanded readme.txt. .15 - Fixed bug for show member list for users who aren't logged in. System now uses core/includes/config.php for mysql settings. |
great work again! :)
|
this is a awesome addition, and very simple to setup.. thank you
|
Awesome, the members at our site have been asking about something like the old one. Thank You!
|
Well, installed exactly how instructions say and I see the page but it wont pull from db.
I do have db prefix, you think thats the problem? I added subdomain where vb5 is installed: www.domain.com/vb5 ofcourse I used my domain name. Also images don't show up unless I add subfolder before images in the memberlist.php Like: src=/vb5/images/memberlist/contact.png I did add the stuff to .htaccess also. For the ones that got it working, is your forum install to domain.com or subfolder like domain.com/vb5 ? |
Quote:
|
1 Attachment(s)
Yeah still not working. I also moved my whole vb5 install to root domain hoping it will fix it.
So basically I did edit all the database settings and i know they are correct. And path is correct, prefix didn't fix. Only thing I can think of is maybe my version of php, apache or mysql? php is 5.3 , apache is 2.2.... Hmm, I even added to .htaccess This is vb5 version 5.0.0 You can see what I see here: www.xtremevisiongaming.com/memberlist I also included screenshot. Also I noticed in the memberlist.php it shows $vb_host="'127.0.0.1"; I see an extra ' after the first set of quotes. Thanks for your help though. |
Quote:
|
Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in /home/vision/public_html/memberlist.php on line 96
Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in /home/vision/public_html/memberlist.php on line 97 mysql_numrows() expects parameter 1 to be resource, boolean given in /home/vision/public_html/memberlist.php on line 207 |
Quote:
|
Ok sent you email, Thanks in advanced!
|
all set. V.13 will come out tomorrow
|
Thank you so much for getting it to work, you're awesome!
|
Quote:
|
Any way to limit the member list to only be visible to users who are logged in?
|
Quote:
|
Quote:
If we are talking a simple "if logged in" then a user can see it, then i can probably code that easily. But if you want to limit it to certain groups; that would require much more work. Which are you looking for? |
Just a "are they logged in to vbulletin" would make me very happy.
|
Quote:
|
Quote:
|
Hope you don't mine me making a quick change, and I'm not trying to take any credit here, but I found an interim solution until you release the v.14 "official" page. We are releasing the site to our members tonight so I wanted to get something.
I added: Code:
//show only registered users Then I modified the queries to be as follows: Code:
$query ="Select * from ".$vb_prefix."user where ".$custom_group_mask.$session_check." username like $like order by username"; |
Quote:
The code actually takes the bbsessionhash cookie and looks up if the user is logged in via the session table. Let me know if this is what you are after. |
Thank you!
|
Hi ... a little problem all im getting is ...You must be logged in to access the member list... and i am..ive done something wrong ..any suggestions . thanks
|
Quote:
$showto_loggedout set too in the config? |
$showto_loggedout = 1;
|
You can get by this by changing
PHP Code:
PHP Code:
|
Hi..with that all im getting is a white page... the joys of vb5
|
You don't have your mysql settings configured correctly. Remove the line error_reporting(0); run the script again and email me the errors: todd@aero-pro.net
|
hi ..done that and no errors just says ...You must be logged in to access the member list.
|
please email me directly, i'll help you work it out: todd@aero-pro.net
|
Installed VB 5.0.1 and got this error
Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/***/public_html/forum/memberlist.php on line 53 Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/forum/memberlist.php:53) in /home/***/public_html/forum/memberlist.php on line 55 |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
// Display for Logged in Users only // Set to 0 if you want the memberlist to only be shown to those users that are logged in $showto_loggedout = 1; |
Hi
Thanks so much for this. i installed it, for some reason ****** It's great! donate! |
Quote:
Line 21: $vb_url = "http://www.yoursitename.com"; |
Quote:
Glad you got it installed and have it up and running.. i'll have to change the "yoursite.com" to something else in my next release... |
All times are GMT. The time now is 02:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|