Previous Thread
Next Thread
Print Thread
Rate Thread
#116657 03/01/2001 8:37 PM
Joined: Mar 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 7
I was requesting a Custom rank mod for v. 6.0. They recommended me the Stars Hack, but it wasn't exactly what I wanted.

However (I have no experience with programming and hacking), taking a look at the code, decided to make my own code. I did this:

if ($user_profile[7] > 0) {
$user_status = "Newbie";
}

if ($user_profile[7] > 5) {
$user_status = "Member";
}

And added many ranks. It worked, but they don't recognize the administrators or moderators. What should I add?
Thanks in Advance smile

Sponsored Links
#116658 03/01/2001 9:06 PM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Code
code:

and

Code
code:

Try that it should work, but I am not too sure about it. Please make back-ups!
[edit]*Had to change one thing*[/edit]

[ March 01, 2001: Message edited by: Gamer ]

#116659 03/01/2001 9:29 PM
Joined: Mar 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 7
Thanks... smile

But I tried and didn't worked... am I suppose to include that in every rank? Because I only included it once, before all ranks.

#116660 03/02/2001 11:35 AM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Just one time before all the ranks. What exactly are you trying to do anyways?

#116661 03/02/2001 11:36 AM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Where are you placing the coding? It could be that you placed it in the wrong place.

Sponsored Links
#116662 03/02/2001 1:15 PM
Joined: Mar 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 7
Here's what I did:

Code
code:

I added many more ranks, I am just showing an example here.

#116663 03/02/2001 8:53 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Why? There is already a hack out for that, your doing things the hard way.

#116664 03/02/2001 9:10 PM
Joined: Nov 2000
Posts: 652
Member
Member
Offline
Joined: Nov 2000
Posts: 652
Why would you do that anyway? You can do that from the Control Panel. MasterMind was right, there is already a hack out for that.

#116665 03/09/2001 6:05 PM
Joined: Mar 2001
Posts: 12
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 12
Which file are you doing this in, because I'm trying to do it as well. Though I see there's a hack already out.

#116666 03/10/2001 12:13 PM
Joined: Sep 2000
Posts: 793
Member
Member
Offline
Joined: Sep 2000
Posts: 793
I will kindly ask you to stop development on this, because I have already created a hack that is, as it stands now, far superior to this bit of coding; I have yet to release the cp controls to my hack, which I have finished for status but not for the stars part.


-DT
Sponsored Links
#116667 03/10/2001 2:00 PM
Joined: Mar 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 2
Dark Templar.. Forgive me because I haven't read all of the forums quite yet, but where can I find the hack you are working on? Thanks ahead of time!

#116668 03/10/2001 4:19 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
In UBB 6 Beta Mods

q

#116669 03/10/2001 10:20 PM
Joined: Mar 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 2
There's nothing like the obvious! DOH! Thanks again! laugh


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
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
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,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 2
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-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)