Previous Thread
Next Thread
Print Thread
Rate Thread


Added data element:



Joined: Oct 2008
Posts: 6
Lurker
Lurker
Offline
Joined: Oct 2008
Posts: 6
Showmembers.inc.php
===================

Line 64: Added line after $PictureS initialization.

$GradYearS = "";

Line 112: Added line after $sortpic assignment.

$sortgradyear = 13;

Line 129: Added comma to end of array item 12 for $Sorting assignment.

12 => array(0=>"", 1=> "t2.USER_AVATAR DESC"),

Line 130: Added two lines for the sorting of the new column.

13 => array(0=>"", 1=> "t2.USER_EXTRA_FIELD_1 ASC"),
14 => array(0=>"", 1=> "t2.USER_EXTRA_FIELD_1 DESC")

Line 186: Added two case statement entries in the switch($sb) block.

case 13:
$GradYearS = $Sorting['13']['0'];
$sortgradyear = 14;
break;
case 14:
$GradYearS = $Sorting['14']['0'];
$sortgradyear = 13;
break;

Line 216: Added new field to end of $query assignment's SELECT clause.

SELECT t1.USER_DISPLAY_NAME,t1.USER_REGISTERED_ON,t2.USER_HOMEPAGE,t2.USER_TOTAL_POSTS,t1.USER_MEMBERSHIP_LEVEL,t1.USER_ID,t2.USER_AVATAR,t2.USER_AVATAR_WIDTH,t2.USER_AVATAR_HEIGHT,t2.USER_EXTRA_FIELD_1

Line 278: Added setting of new field in array.

$userrow[$i]['GradYear'] = $GradYear;

Line 346: Added new field to $smarty_data assignment.

"GradYearS" => $GradYearS,
"sortgradyear" => $sortgradyear,

showmembers.tpl
===============

Added column header:



{"Graduation Year"} {$GradYearS}


{$userrow[user].GradYear}
Sponsored Links
Entire Thread
Subject Posted By Posted
Customize User List SteveZ 10/23/2008 4:02 PM
Re: Customize User List SteveZ 10/23/2008 9:34 PM
Re: Customize User List SteveZ 10/27/2008 6:17 AM
Re: Customize User List Ruben Rocha 10/27/2008 8:32 PM
Re: Customize User List SteveZ 10/28/2008 4:32 AM
Re: Customize User List SteveZ 10/28/2008 4:54 AM
Re: Customize User List AllenAyres 10/29/2008 3:58 AM
Re: Customize User List SteveZ 10/29/2008 4:15 PM

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
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 4613
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 10
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)