Previous Thread
Next Thread
Print Thread
Rate Thread
#228636 12/02/2002 4:57 PM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Mod Name / Version Configurable User List 1.1
Description Allows you to show the fields you want in the Userlist. Configuration is available from the admin section and the configuration file is created in your threads path.
Working under UBB.threads 6.1
Any pre-requisites None
Author(s) dimopoulos
Credits ubbdev.com who taught me how to do things in php and ubb threads
Demo None.
Files Altered admin/menu.php
Database Altered No
New Files configcul.inc.php, showmembers.php, templates/default/showmembers.tmpl, admin/editconfigcul.php, admin/doeditconfigcul.php, templates/default/editconfigcul.php
Any other info Please report any problems you might have and I'll try to fix them as soon as possible.


INSTALL
Step 1
Open the file admin/menu.php

Step 1.1: Find
code:

<a href="{$config['phpurl']}/admin/edittheme.php?Cat=$Cat" target="mainFrame">
Edit theme settings
</a>



BELOW it add:
code:

<br>
<a href="{$config['phpurl']}/admin/editconfigcul.php?Cat=$Cat" target="mainFrame">
Edit Configurable User List settings
</a>



Step 2: Backup your showmembers.php, templates/default/showmembers.tmpl files
Step 3: Upload the doeditconfigcul.php and editconfigcul.php in your admin folder
Step 4: Upload the configcul.tmpl and showmembers.tmpl in your templates/default folder
Step 5: Upload the configcul.inc.php and showmembers.php in your threads folder
Step 6: Give write permissions to the configcul.inc.php file

That's it.

If you need to show/hide fields, all you have to do is to go to the admin section and click the Edit Configurable List Settings link.

The configuration allows you to specify a string for the column header, its width, alignment and its type. The types are:

Profile Links the value of the field passed to the showprofile.php script
Mail Translates the value of the field to a mailto hyperlink
URL Translates the value of the field to a URL hyperlink
ICQ Translates the value of the field to an ICQ hyperlink (picture) provided that it is selected in the main configuration file
Date Translates a number from the database to a valid date (unixdate to string)
Number Translates a number to a number with the thousands separated by commas
String Leaves the field value as it is

Enjoy!

Edit New version of the modification with better configuration script
Attachments
61366-Configurable Userlist 1.1.zip (0 Bytes, 21 downloads)

Last edited by dimopoulos; 12/09/2002 8:10 PM.

Nikos
Sponsored Links
Entire Thread
Subject Posted By Posted
Configurable User List 1.1 dimopoulos 12/02/2002 11:57 PM
Re: Configurable User List 1.0 Gardener 12/03/2002 12:09 AM
Re: Configurable User List 1.0 sportbikes 12/03/2002 7:34 AM
Re: Configurable User List 1.0 dimopoulos 12/03/2002 9:57 AM
Re: Configurable User List 1.1 dimopoulos 12/10/2002 3:11 AM
Re: Configurable User List 1.1 dimopoulos 12/10/2002 3:23 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2658
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 24
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)