#36166
01/22/2000 2:00 PM
|
Joined: Jan 2000
Posts: 48
Member
|
Member
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]](http://www.chainmaille.prohosting.com/ubb/1.gif) = 1 ![[Linked Image]](http://www.chainmaille.prohosting.com/ubb/5.gif) = 5 ![[Linked Image]](http://www.chainmaille.prohosting.com/ubb/10.gif) = 10 ![[Linked Image]](http://www.chainmaille.prohosting.com/ubb/50.gif) = 50 ![[Linked Image]](http://www.chainmaille.prohosting.com/ubb/100.gif) = 100 ![[Linked Image]](http://www.chainmaille.prohosting.com/ubb/500.gif) = 500 ![[Linked Image]](http://www.chainmaille.prohosting.com/ubb/1000.gif) = 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
|
|
|
#36167
01/22/2000 2:59 PM
|
Joined: Jan 2000
Posts: 48
Member
|
Member
Joined: Jan 2000
Posts: 48 |
Here's my code: In ubb_library2.pl find: After add: find: change to: 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.
|
|
|
#36169
01/22/2000 7:04 PM
|
Joined: Jan 2000
Posts: 48
Member
|
Member
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
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
|
|
|
#36171
01/23/2000 5:25 AM
|
Joined: Jan 2000
Posts: 67
Member
|
Member
Joined: Jan 2000
Posts: 67 |
|
|
|
#36172
01/23/2000 6:58 AM
|
Joined: Jan 2000
Posts: 48
Member
|
Member
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]](https://ubbdev.com/ubb/smile.gif) ------------------ 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
Joined: Jan 2000
Posts: 48 |
|
|
|
#36174
01/23/2000 10:20 AM
|
Joined: Jan 2000
Posts: 67
Member
|
Member
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]](https://ubbdev.com/ubb/smile.gif) 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
Joined: Jan 2000
Posts: 48 |
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
|
|
|
#36176
01/23/2000 2:45 PM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
Ah I get it! ![[Linked Image]](https://ubbdev.com/ubb/smile.gif) 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]](https://ubbdev.com/ubb/smile.gif) ------------------ 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
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
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]](http://208.56.71.87/ubb/smile.gif) 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
Joined: Mar 2001
Posts: 69 |
That's what I meant ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) Just didn't know how to put in into words ![[Linked Image]](http://ubbcodehacking.com/ubb/wink.gif) ------------------ 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
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]](https://ubbdev.com/ubb/smile.gif) 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
Junior Member
|
Junior Member
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
Joined: Feb 2000
Posts: 4 |
Yes, it works fex. I'll help you out later. 
|
|
|
#36183
02/05/2000 2:53 PM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
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
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]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#36186
02/09/2000 11:00 AM
|
Joined: Jan 2000
Posts: 1
Junior Member
|
Junior Member
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
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
Joined: Jan 2000
Posts: 18 |
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]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#36189
03/15/2000 5:40 AM
|
Joined: Mar 2000
Posts: 11
Junior Member
|
Junior Member
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
|
|
|
#36192
04/16/2000 10:02 PM
|
Joined: Mar 2000
Posts: 13
Junior Member
|
Junior Member
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: 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
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
Joined: Jan 2000
Posts: 48 |
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
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
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Take out the /10 line. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#36197
04/27/2000 10:17 PM
|
Joined: May 2001
Posts: 3
Junior Member
|
Junior Member
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
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Check out the freeware forum. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
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.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|