Previous Thread
Next Thread
Print Thread
Rate Thread
#36166 01/22/2000 2:00 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
I thinking of a hack much like the stars hack for under the username. It will be based on number of posts and will assign a roman number based icon. I took these from one of my favorite games, galaga.

[Linked Image] = 1
[Linked Image] = 5
[Linked Image] = 10
[Linked Image] = 50
[Linked Image] = 100
[Linked Image] = 500
[Linked Image] = 1000

Problem is I might have to divide the number of posts by 10 before computing the icons to display so it doesn't get too busy. Any thoughts?

------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

Sponsored Links
#36167 01/22/2000 2:59 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Here's my code:

In ubb_library2.pl
find:

Code
code:

After add:

Code
code:

find:
Code
code:

change to:
Code
code:

Note that the $thisutext is part of a custom user status hack. This line of code may be different in your file.

Above icons need to be in the noncgi directory.

#36168 01/22/2000 5:43 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Correction for the icon building logic. This work alot better. [Linked Image]

Code
code:

------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36169 01/22/2000 7:04 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Ohh. If you use this one, don't tell the users what it is. It'll drive them nuts trying to figure out what those little shields mean. hehe

------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36170 01/23/2000 4:20 AM
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Nice hack, but what is the advantage over the normal star hack?

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

Sponsored Links
#36171 01/23/2000 5:25 AM
Joined: Jan 2000
Posts: 67
Member
Member
Offline
Joined: Jan 2000
Posts: 67
This is the 'star' hack

#36172 01/23/2000 6:58 AM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
It's an alternative to the star hack. Just with a different twist. Also there are more levels for advancement than the standard 1 through 5 stars. This has an infinite number of levels (you may need to create icons for 5000, 10000, etc if users have more than 50,000 posts). The way I have it setup on my UBB is every ten posts, the user gains a shield level. It helps in promoting conversation! [Linked Image]

------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36173 01/23/2000 8:30 AM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
To see a good example of what it looks like on my board: http://www.chainmaille.prohosting.com/ubb/Forum1/HTML/000023.html



------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36174 01/23/2000 10:20 AM
Joined: Jan 2000
Posts: 67
Member
Member
Offline
Joined: Jan 2000
Posts: 67
I'm not taking the **** whatsoever but it is exactly the star hack-

When we (Topher and I) came up with the stars the idea was that people would add different icons than the stars that I used originally [Linked Image]

I used to have Gold, Silver and Bronze Stars - too confusing though

#36175 01/23/2000 12:45 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Quote
quote:
This is not even based on the stars hack. I came up with this one on my own without consulting anyones code. If I remember correctly, the stars hack only displays 1, 2, or 3 stars for users. 4 for moderaters and 5 for admins. This hack does not do that. Mine uses a while { loop to build the icon string based on number of posts. Did you look at the in action post to see what it looks like? I like liked the stars hack very much but I just wanted something a little more elaborate.




------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

Sponsored Links
#36176 01/23/2000 2:45 PM
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
Ah I get it! [Linked Image]
Let's say user A has status 'cadet'
during that status the could have 2 stars with 20 posts, and get 3 stars when he has 30 posts, but still keep the same status [Linked Image]

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

#36177 01/24/2000 8:39 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
This is a BAD, BAD, BAD hack! (spanking self with keyboard).

Posts on my board have increased 100% because of this ganged thing. Users are more addicted to gaining a sheild level than reading replies by other users. Once I posted the rules of 1 sheild per 10 posts, it's been a free for all. -LOL-

Also, there is no special treatment to admins or moderators. He with the most posts wins,
CW


------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36178 01/24/2000 8:55 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Menno: Status has nothing to do with it. It's purely a counter of number of posts. Admins/Mods/Members/JrMembers are all treated equally on this one. It's purely a count (+/-10) of posts by ANY given users. It keeps mod's in check (they should have more posts any the average Joe) and Admins asleep at the wheel.

It breaks down to as I posted above:

0-9 posts = no shields
10-19 posts = 1 single shield
20-29 posts = 2 single shields
...
50-59 posts = 1 five shield.
...
90-99 posts = 1 five shield + 4 single shields.
100-109 posts = 1 ten shield.
...
etc
etc
etc

Roman numbers minus the IV or IX nonsense.

[Linked Image] CW,


------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36179 01/25/2000 9:43 AM
Joined: Mar 2001
Posts: 69
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 69
That's what I meant [Linked Image]
Just didn't know how to put in into words [Linked Image]

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

#36180 01/28/2000 6:59 PM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
About the icons. You may want to generate your own versions of 1.gif ... 1000.gif if you have anything other than a black background. They may look terrible. [Linked Image] Try to keep them as narrow (between 8 to 16 pixels wide for 10.gif and up, 1 and 5 should be no more than 8 pixels wide)


------------------
Code Warrior - Chainmaille Armourer
Code Warrior's Chain Mail Page
The Chainmaille Board

#36181 02/01/2000 2:35 PM
Joined: Feb 2000
Posts: 2
fex Offline
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 2
does anyone know if this will work in 5.43?

so far i have had no luck, in what appears to be a very simple hack.

#36182 02/01/2000 7:40 PM
Joined: Feb 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 4
Yes, it works fex. I'll help you out later. smile

#36183 02/05/2000 2:53 PM
Joined: Feb 2000
Posts: 11
Junior Member
Junior Member
Offline
Joined: Feb 2000
Posts: 11
Yes, but it's still the star hack- it has basically the same code. The only difference is that it adds different images.

#36184 02/09/2000 12:12 AM
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
If I'm understanding what CW is saying about this hack it's definately NOT the star hack .. it's much much better!

I'm going to try to install it tonight once I can gather some cool images that will work with my website! (looking for little swords, shields, armor sort of stuff if anyone has any)

I have a feeling that my board users are going to LOVE THIS! Thanks CW!

~Kat [Linked Image]

#36185 02/09/2000 4:21 AM
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
I've installed this hack .. it's WONDERFUL!

I do have two questions however ..

1) I'm not using the custom user name hack thingy (tried to install it, but couldn't get it to work) .. so instead I would like to use my titles instead ... this is what I have in my ubb_library2.pl file:
Code
code:

But it's not showing the $ThisStatus which I created, instead it's only using the two that UBB gives us ...

Does anyone have any suggestions on how I could use the Galaga hack and still customize user "titles"?

I found/made some images too .. but I don't like them much -- but they are all I have for now:
[Linked Image]
[Linked Image]
[Linked Image]
[Linked Image]
[Linked Image]
[Linked Image]

I'm currently hacking a clean board at http://www.cazic-thule.com/cgi-bin/hackboard/Ultimate.cgi?action=intro

2. Lastly, CW - I'm a little confused on how this tallies the "symbols" ... for example, my total posts are: 1,172 so I expected to see my icons as:
[Linked Image] [Linked Image] [Linked Image] [Linked Image] [img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img]
(or something similar) - most importanly I thought I would see 1000.gif there ...

Instead this is what is under my name:
[img]http://www.cazic-thule.com/ubb/hackedubb/100.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/10.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/5.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img]
-- Which is making me wonder if I did something wrong - or am I just not understanding how it calculates these symbols?

Oddly enough another user has 40 posts and his symbols are:
[img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img] [img]http://www.cazic-thule.com/ubb/hackedubb/1.gif[/img]
Which means he's getting four 1.gifs where I would have thought he would get four 10.gifs


Gosh .. thanks for reading all this .. any help would be appreciated.

~Kat [img]http://ubbcodehacking.com/ubb/smile.gif[/img]
The eternally confused

#36186 02/09/2000 11:00 AM
Joined: Jan 2000
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jan 2000
Posts: 1
I believe this hack divides the total posts by 10 and then does the ranking.

#36187 02/09/2000 11:07 PM
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
I took this code, added more rank icons, classified them by shape, and assigned those shapes to ranks (admin & mod, senior member & member, junior member). Now I have a post and rank widget that divides post count by five :-)

------------------
- Armage Bedar
Administrator, SW-RPG HoloNet Discussion Forums
Moderator, UltimateBB Code Hackers' Hideout

#36188 02/10/2000 12:42 AM
Joined: Jan 2000
Posts: 18
Member
Member
Offline
Joined: Jan 2000
Posts: 18
Quote
quote:
I like what you've done .. your board looks very nice .. perhaps I'll use something similar with little circles and squares .. I like that idea.

~Kat [Linked Image]

#36189 03/15/2000 5:40 AM
Joined: Mar 2000
Posts: 11
AJ Offline
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 11
In case anyone is wondering, this hack works in 5.44b! I run a Marine website so I changed the gifs to Rank Insignias. Here is the description I gave to my members about the images:
http://www.thefew.com/ubb/Forum18/HTML/000001.htm

Images I made:
= 1
= 5
= 10
= 50
= 100
= 500
= 1000

I'm kinda wondering if I should divide by 5 or even 3 instead of 10 because I doubt my users will get to 10,000 posts! There aren't many posts on my board yet. I have moved from WebBBS v4.02 (script kept crashing due to Perl5 not being installed correctly) to community.everyone.net to network54.com trying to find a good Forum script. All the while my users keep following...and getting upset...so UBB is DEFINETELY it! I've added a few hacks so far and I'm diving for more ... catch ya later!


AJ

#36190 04/16/2000 3:10 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
do you have to have the custom user status hack installed for this to work?

------------------
http://metunbound.virtualave.net/cgi-bin/ubbcgi/Ultimate.cgi

#36191 04/16/2000 7:51 PM
Joined: Mar 2000
Posts: 344
Member
Member
Offline
Joined: Mar 2000
Posts: 344
Short answer? Nope. [Linked Image]


------------------
Administrator
Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi


Administrator / WTF.com / IWantMy80s.com
http://www.wtf.com
http://www.iwantmy80s.com
#36192 04/16/2000 10:02 PM
Joined: Mar 2000
Posts: 13
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 13
Okay, I installed the Galaga code, and it's awesome! Thanks! but Since I did, I'm having the same trouble that another person did and I haven't seen a solution posted yet. My Admins and Moderators are getting overridden by my other titles.

I want to have the Admins and moderator titles override the "novice", "Skilled", etc. titles, but not specific ones (like the "Webmaster & Admin" on I have listed.

Here's my code:

Code
code:
etc...

This may not have anything to do with the Galaga hack, but it's the last thing I did before this broke.

-twice http://utbooty.unrealism.com/cgi-bin/ubb/Ultimate.cgi

#36193 04/17/2000 7:53 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
I am havin a small problem with this hack.
I have 1262 posts. But, it is displaying the icons so it shows 262, so it's not displaying the 1000 icon.

#36194 04/18/2000 11:53 AM
Joined: Jan 2000
Posts: 48
Member
Member
Offline
Joined: Jan 2000
Posts: 48
Quote
quote:
Keep in mind that the post count is divided by 10 before converting to icons... Are you sure it's not displaying 126 (100,10,10,5,1) instead of 262 (100,100,50,10,1,1)?

CW

#36195 04/18/2000 12:09 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
No. It's displaying it so the icons say i have 262 posts.
How can i make it so it displays it EXACTLY with the number of posts?

#36196 04/18/2000 12:31 PM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Take out the /10 line.

Just a thought [Linked Image]

#36197 04/27/2000 10:17 PM
Joined: May 2001
Posts: 3
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 3
Can you use any of these hacks on a Novogate board? You know the free version of UBB. Or do they only work on the full UBB ones? Right now I'm to lazy and cheap to for the full board but if only these can be hacked then hmm...

#36198 04/28/2000 3:28 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Check out the freeware forum.

Just a thought [Linked Image]


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
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
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)