Version: .15, by wdwms
Developer Last Online: Apr 2015
Category: Add-On Releases -
Version: 5.0.0
Rating:
Released: 03-29-2013
Last Update: 04-06-2013
Installs: 26
Additional Files
No support by the author.
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.
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
RewriteRule ^(memberlist)$ /memberlist.php [QSA,L]
RewriteRule ^(memberlist)/$ /memberlist.php [QSA,L]
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.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/c/ch48565/planetavelo.com/public_html/memberlist.php:54 Stack trace: #0 {main} thrown in /home/c/ch48565/planetavelo.com/public_html/memberlist.php on line 54
in php7 mysql_connect and other functions was deleted
how to change?
I've done this:
PHP Code:
$connection = mysqli_connect("$vb_host", "$vb_db", "$vb_pw", "$vb_table"); $query ="Select loggedin from ".$vb_prefix."session where sessionhash = '$vbsession'"; $result2=mysqli_query($connection, "$query"); $loggedin=mysqli_result($result2,0,"loggedin");
As others have mentioned, you don't need this mod anymore as there's already a built-in memberlist page. I think this mod was created when there was no membelist yet. But nonetheless, this mod is not Responsive as the layout doesn't scale down on mobile.
I think this mod should be archived to prevent further downloads.