php forum
php mysql forum
php mysql smarty
 
Topic Options
#234488 - 01/29/03 09:12 AM No. of member in profile
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
How can I add this section to 6.1 version ?
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#234489 - 01/29/03 10:46 AM Re: No. of member in profile [Re: Dawg_dup1]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
This is a feature of 6.2 <br /><br />This should work for 6.1 Someone with PHP knowledge might be able to help better. In showprofile.tmpl after<br /><br /><td align="right" valign="top" rowspan="12"><br /><img src="$Picture" alt="Picture" width="$width" height="$height" /><br /></td><br /></tr><br /><br />add this:<br /><br /><tr><br /><td class="darktable"><br />Member #<br /></td><br /><td><br />$User &nbsp;<br /></td><br /><tr><br /><br />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.<br /><br /> $query = " <br /> 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<br /> FROM {$config['tbprefix']}Users<br /> WHERE U_Number = '$User'<br /><br />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.<br /><br />6.1 probally has<br /><br /> WHERE U_Username = '$User'<br /><br />You need to make sure under that query that it reads<br /><br /> WHERE U_Number = '$User'<br /><br />Backup both files before you try this and let me know if it works.<br /><br /><br />Now I would think you could place this in
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#234490 - 01/29/03 12:49 PM Re: No. of member in profile [Re: sf49rminer]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
Thx <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top
#234491 - 01/29/03 02:48 PM Re: No. of member in profile [Re: Dawg_dup1]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Did it work for you?
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#234492 - 01/29/03 03:02 PM Re: No. of member in profile [Re: sf49rminer]
Slawek_L Offline
Enthusiast

Registered: 01/28/03
Posts: 364
Loc: Poland, Warsaw
Yes []http://autokacik.pl/images/graemlins/ok.gif[/]
_________________________
[]http://www.mb.org.pl/forum/images/graemlins/icon_astro.gif[/] MB Klub Polska
[b]& Orlen-Team

Top


Who's Online
0 registered (), 24 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Today at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Today at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Today at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Today at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks