Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
This is a feature of 6.2

This should work for 6.1 Someone with PHP knowledge might be able to help better. In showprofile.tmpl after

<td align="right" valign="top" rowspan="12">
<img src="$Picture" alt="Picture" width="$width" height="$height" />
</td>
</tr>

add this:

<tr>
<td class="darktable">
Member #
</td>
<td>
$User  
</td>
<tr>

Now where I am fuzzy on since I do not have a copy of 6.1 to be sure of is if the U_Number variable which is called for is specified. You will most likely have to define it by something like this. There is a query that calls the user information. It will look something like this.

$query = "
SELECT U_Username,U_Fakeemail,U_Name,U_Totalposts,U_Homepage,U_Occupation,U_Hobbies,U_Location,U_Bio,U_Extra1,U_Extra2,U_Extra3,U_Extra4,U_Extra5,U_Registered,U_Picture,U_Title,U_Status,U_Number,U_Rating,U_Rates,U_Picwidth,U_Picheight,U_BirthMonth,U_BirthDay,U_BirthYear
FROM {$config['tbprefix']}Users
WHERE U_Number = '$User'

This is from 6.2 so do not try and do a search on this exact text. But you see what you need to do.

6.1 probally has

WHERE U_Username = '$User'

You need to make sure under that query that it reads

WHERE U_Number = '$User'

Backup both files before you try this and let me know if it works.


Now I would think you could place this in

Sponsored Links
Entire Thread
Subject Posted By Posted
No. of member in profile Slawek_L 01/29/2003 5:12 PM
Re: No. of member in profile omegatron 01/29/2003 6:46 PM
Re: No. of member in profile Slawek_L 01/29/2003 8:49 PM
Re: No. of member in profile omegatron 01/29/2003 10:48 PM
Re: No. of member in profile Slawek_L 01/29/2003 11:02 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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)