Previous Thread
Next Thread
Print Thread
Rate Thread
#36128 01/22/2000 12:36 AM
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Description: Allows a "Senior Member" to pick their own rank which is displayed throughout the threads.

Would anyone like this? I'll document it if you like. [Linked Image]

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Sponsored Links
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Yes, that would be nice [Linked Image]
So a user can make up his own status after he reaches a certain ammount of posts?

------------------
Cougar's here, so have no fear
Webmaster of www.artbeast.de

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Yeah, after the member reaches the $MemberMinimum, they'll have the option
of selecting their own custom rank. [Linked Image]

In cpanel.cgi, look for:

Code
code:

Below that add:

Code
code:

In forumdisplay.cgi, look for:

Code
code:

Below that add:

Code
code:

In ubbmisc.cgi, look for:

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add

Code
code:

Look for (assuming you are not allowing HTML and images in signatures):

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

Look for (assuming you are not allowing HTML and images in signatures):

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

Look for (assuming you are not allowing HTML and images in signatures):

Code
code:

Below that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

In cpanel2.cgi, look for:

Code
code:

Above that add:

Code
code:

Look for:

Code
code:

Below that add:

Code
code:

In ubb_library2.cgi, look for:

Code
code:

Change that to:

Code
code:

That will also add member stars in this format:

5 stars - Administrator
4 stars - Moderator
3 stars - Senior Member
2 stars - Junior Member

You can use this star: [Linked Image]

If you are having any problems, post them here. They are most likely because
I may have missed a step or documented it incorrectly.

Tested on: 5.42 and 5.43

------------------
http://su.ffgamers.net

A fun hobby that only cost me $170. :E

Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Nicely done Sir Nikon...

Joined: Jan 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 6
Can you maybe post that hack without the star hack added in? I am using the galaga hack which is also on this board.

-Sock

Sponsored Links
Joined: Jan 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 2
Yes, if this can just be posted without any other hacks in it that would be great [Linked Image]

Allen

*bump*

Joined: Jan 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 11
wierd, its not working

the stars work and all and I think I put everything in. Where do you make the rank of yourself? In the profile?


If I had a dollar for all the times I bought a cheeseburger...I would probably go out and buy more cheeseburgers...
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Yeah, it's open to those that only have the $MemberMinimum for posts. [Linked Image]

If you want to have the hack alone, just remove the $MemberStars area from the hack...

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Jan 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 11
can admin's change their rank also? Cause I dont see it.

I think I found out the problem....I dont know anything about perl/cgi and Im an idiot [Linked Image]


If I had a dollar for all the times I bought a cheeseburger...I would probably go out and buy more cheeseburgers...
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Like I said... it is open to those that have the member minimum in posts. If an admin doesn't have say 55 posts, then they can't pick a s specla st.

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Sponsored Links
Joined: Feb 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 1
I installed your hack just like you said, and now I have the stars, but no rank. In your profile, you can save the custom rank, but in threads, under your name, the new rank doesn't appear.

Any idea what might be wrong?

Joined: Jan 2000
Posts: 6
Member
Member
Offline
Joined: Jan 2000
Posts: 6
Well, I have an BIG problem using the hack..

Ok, I've installed it and all that, the stars work, BUT when I try to access my profile I get an server error.. And also nobody can register no more... What did I do wrong here...

I know the problem is in "ubbmisc.cgi" because when I uploaded the original everything worked, also the stars, but not the status change thing.... HELP!

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Hmm... did you upload ubbmisc.cgi in ASCII? CHMOD it 755? I dunno what could be wrong because I gave someone a URL to this and they got it working just fine...

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Feb 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 1
Could someone put that in a text file for me? i like to have them in text files for insatalling n other servers..

------------------
www.gamerzuniverse.com web pimp

Joined: Mar 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 37
http://members.xoom.com/mazmanr/status.txt

enjoy.. [Linked Image]

------------------
Moderator Of The "CHIT CHAT" Forum
E-Mail: [email protected]
ICQ: 19608225
AIM: Mazmanr

Joined: Feb 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 2
I got the stars but the Custom Title didn't work. The field shows up in profiles but the title does not appear and when you go back to profiles, it is not there.

I'm using 5.41a

Steve www.ravensnest2.com/ubb/cgi-bin/Ultimate.cgi

Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
I'm having the same problem as these other folks ... It "appears" to be there, but never shows up when you post.

~Kat [Linked Image]

Joined: Jan 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 11
Yup, I posted that in the questions thing. I have version 5.42


If I had a dollar for all the times I bought a cheeseburger...I would probably go out and buy more cheeseburgers...
Joined: Jan 2000
Posts: 6
Member
Member
Offline
Joined: Jan 2000
Posts: 6
****, when I write the new rank, and when I post it doesn't show the new rank.. What's up??? [Linked Image]

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Hmm... crap. : I dunno what's wrong.

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 11
Please, find out! Thnkas!

Joined: Feb 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 1
This hack works fine, i've had no probs with it ne way, but i did notice that
Code
code:
is sometimes as [19] if ya make em all 15 it will fix the probs of the stats not showing up

hope this helps
[Linked Image]

btw thx to who wrote this awesome hack [Linked Image]

Joined: Jan 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 11
Wow, thanks man big time. He got it to work.

(for people who already did the hack and doesnt work for them)
In ubb_library2.cgi look for
Code
code:

and then replace it with
Code
code:

Thanks Sir Nikon for this awesome hack and Pretender for fixing that problem

------------------
If I had a dollar for all the times I bought a cheeseburger...I would probably go out and buy more cheeseburgers...


If I had a dollar for all the times I bought a cheeseburger...I would probably go out and buy more cheeseburgers...
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
*ROFL* Can't believe I totally forgot to change the 19's. [Linked Image] Oh well, thx for pointing that out Pretender. [Linked Image] I reposted it with all the fixes.

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 11
Wow, chaing all the 19s to 15s worked- thanks!
One problem, though, it got rid of all the stars! I had to go into the code and, intead od $MemberStars, put in the HTML code for thestars manually. I bit of work,b ut hey, i'm too lazy [Linked Image]

Joined: Jan 2000
Posts: 34
Member
Member
Offline
Joined: Jan 2000
Posts: 34
Hi!

Could anyone gimme a short hint how to change this mod only for admins?

Thanx!


------------------
Gruß/Regards
Stefan
UBB Support Germany
UBB: Psychoterror - der Wahnsinn im Web.
Deutsches UBB-Verzeichnis: German UBB List


Gruß/Regards
Stefan
Infopop Deutschland
Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
In ubb_library2.pl, look for:

Code
code:

Change to:

Code
code:

In ubbmisc.cgi, look for:

Below that add:

Code
code:

I think that should do it...

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Jan 2000
Posts: 34
Member
Member
Offline
Joined: Jan 2000
Posts: 34
Nikon - didn't guess that your reply was lightning fast [Linked Image]

I did it (v5.43d) this way:

Code
code:

Works great!


------------------
Gruß/Regards
Stefan
UBB Support Germany
UBB: Psychoterror - der Wahnsinn im Web.
Deutsches UBB-Verzeichnis: German UBB List


Gruß/Regards
Stefan
Infopop Deutschland
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
That fix worked like a CHARM!!

Thanks guys .. great hack! [Linked Image]

~Kat

------------------
Donna
Cazic-Thule Corner

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
How could I allow people to have custom signtures, but make sure they're not too long or contain HMTL?

Just a thought [Linked Image]

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
The hack already strips out HTML (see #Prepare CustomStat - prevent HTML, strip returns, do UBB Code), and makes use of the "cheap" limiter (just uses the maxlength variable of the input tag).

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
What a fool i've been

Just a thought [Linked Image]

Joined: Feb 2000
Posts: 64
Member
Member
Offline
Joined: Feb 2000
Posts: 64
Ok guys I am trying to do this hack. I added all the code you have here. I have the Custom line appearing in my profile. I type in something and it does not appear in the messages. it is driving me nuts. I left out the star stuff at the end so I basiclay did not alter the ubb_library file in any way, but did all the rest. Was there something I had to modify in that section that had nothing to do with the stars?

I tired changing the [] number in various files and that di dnot do anything either. I also trie dupdating the forums. Nada.

Any help would be apprciated. This is my forst attempt at a hack. I just got this thing the other day

Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Since ubb_library2.pl is the file that generates the actual thread pages, you'll have to make some kind of modification to it.

Add this code, where Sir Nikon says:
Code
code:

Just a thought [Linked Image]

Joined: Feb 2000
Posts: 64
Member
Member
Offline
Joined: Feb 2000
Posts: 64
I said screw it and added the code with the star hack. The stars work. Where my custom stat should be is the words custum stat.

Any Idea where I went wrong?

Joined: Feb 2000
Posts: 24
Member
Member
Offline
Joined: Feb 2000
Posts: 24
err what are we suppose to find in ubbmisc.cgi?

u told us what code to add but not what code to put below..

Joined: Jan 2000
Posts: 47
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 47
Umm... I told you everything to add and what to add it below. [Linked Image]

------------------
http://su.ffgamers.net

Joy! A hobby that only cost me $170.

Joined: Jun 2000
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2000
Posts: 7
Psst

I installed this on 5.45c but it didn't work until I did the following:

in ubb_library.pl find:
Code
code:
and replace with:
Code
code:

Or is it just me? [Linked Image]

[This message has been edited by Furious on July 09, 2000]


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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 20221218)