#38030
12/22/2000 7:47 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
The new version is finally out!New is this version are: - Multiple warn/praise levels. - Recording of warnings/praises in an admin/mod viewable "Karma history." - Numerous bug fixes. - Some other things that I just can't remember right now. ![[Linked Image]](https://ubbdev.com/ubb/smilies/wink.gif) Upgrading from a previous version is incredibly easy. All you need to do is replace the karma.pl file with the new version and make a couple small updates, noted in the readme file. Just look for the "*** Look here if you're upgrading! ***" lines to find the updates. If you have any problems or suggestions for future updates, let me know. ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ Leshrac leshrac@magictraders.com Founder, Owner - Magic Online Trading League (MOTL) http://www.magictraders.com MOTL Bulletin Board
|
|
|
#38031
12/22/2000 10:33 PM
|
Joined: Feb 2000
Posts: 2,668
Pooh-Bah
|
Pooh-Bah
Joined: Feb 2000
Posts: 2,668 |
GREAT! Thanks for letting us know Leshrac. I'm sure a lot of members will be VERY, very happy!! I can't wait to try it.... ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) Cheers!
- Deb
|
|
|
#38032
12/22/2000 11:02 PM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
I'm glad you updated this hack. It's one of my favorites. The only problem I'm having is the karma history values aren't appearing. I've warned a user multiple times and included a reason, but still...nothing appears accept "Issuer, Amount, & Reason" Oh, and here's a suggestion for your next update (if there is one): Make it so that the reason why a person is warned or praised appears at the bottom of their "karmaed" message. One last minor thing, on the Adjust Karma panel, it says "You must be an administrator or moderator of the Bad Trader Alerts forum." (Obviously specific code for your forums) ------------------ -Webmaster of Cheat City This message has been edited by WEAPON on December 22, 2000 at 10:39 PM
|
|
|
#38033
12/22/2000 11:50 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Nice job on this one! ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------  Modification Developer of the Ultimate Bulletin Board Due to time limitation, I do not offer support Via. E-mail, ICQ or AIM. Please post on the forums. Sincerely, MasterMind
|
|
|
#38034
12/23/2000 8:41 PM
|
Joined: Dec 2000
Posts: 17
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 17 |
First of all, just wanted to say that I really like this hack. It really STOPS a lot of spammers from my forum. Also, I turned some trouble makers into helpers after I praised them for good things they have done. Thanks for the great hack. A few things: 1) I can't find the latest version in the database (yet), can you provide the link here. 2) You were looking for a good picture to replace the lightning, how about 3) Someone suggested that it maybe cool to have a page to display the highest karma and lowest karma members, is this hard to incorporate. 4) In case anyone is interested, here is the thread to our karma rating discussion on our forum http://pgz.pgamers.com/ubb/Forum1/HTML/000059.html P.S. Please take other hacks into consideration when you document the instructions. ------------------ Pokemon Gameboy Zone PGZ Forum
|
|
|
#38035
12/23/2000 8:43 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
http://www.magictraders.com/ubb/karma.zip That IS the new updated version. ------------------  Modification Developer of the Ultimate Bulletin Board Due to time limitation, I do not offer support Via. E-mail, ICQ or AIM. Please post on the forums. Sincerely, MasterMind
|
|
|
#38036
12/23/2000 8:47 PM
|
Joined: Dec 2000
Posts: 17
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 17 |
Thanks. That was fast. Are you peaking over my shoulder or something? ![[Linked Image]](https://ubbdev.com/ubb/smilies/biggrin.gif) Anyway, Mastermind, I have a few questions about your hacks too, but I'll find the appropriate threads to post them on. ------------------ Pokemon Gameboy Zone PGZ Forum
|
|
|
#38037
12/23/2000 9:20 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Yea. Thanks. If you have specific concerns about my hacks, you can e-mail me at [email protected]DONT ASK FOR HELP! ------------------  Modification Developer of the Ultimate Bulletin Board Due to time limitation, I do not offer support Via. E-mail, ICQ or AIM. Please post on the forums. Sincerely, MasterMind
|
|
|
#38038
12/23/2000 10:52 PM
|
Joined: Nov 2000
Posts: 169
Member
|
Member
Joined: Nov 2000
Posts: 169 |
What dose it do?<-------NEWBIT
Some men live for others and make their presence known Some men live in seclusion and choose to live alone... Some men live for justice and walk inside the law But of these men, the group I'm in are the men behind the wall... - Gato Suertudo
|
|
|
#38039
12/24/2000 8:06 AM
|
Joined: Oct 2000
Posts: 565
Member
|
Member
Joined: Oct 2000
Posts: 565 |
I second rick's request, about the highest and lowest listing. What would be neat is a list of spammers (for example, everyone with -2 or lower) and a list of helpers (+5 or higher) . anyway, great hack! ------------------ www.skinningworld.net
|
|
|
#38040
12/24/2000 12:04 PM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
No one else is having a problem with the Karma History not displaying? ------------------ -Webmaster of Cheat City
|
|
|
#38042
12/24/2000 4:00 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
One of these days I'll install this new version on my boards...so much to do, plus I'm real lazy ![[Linked Image]](https://ubbdev.com/ubb/smilies/wink.gif) . ------------------ 
-DT
|
|
|
#38043
12/24/2000 5:47 PM
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Works great for me ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) Thanks ------------------ I Disappear ? http://www.Metallifukinca.com
|
|
|
#38044
12/24/2000 7:13 PM
|
Joined: Nov 2000
Posts: 19
Member
|
Member
Joined: Nov 2000
Posts: 19 |
I'm having the same trouble with the History things as well. Is it a UBB version problem
This message has been edited by DraGooN on December 24, 2000 at 07:55 PM
|
|
|
#38045
12/24/2000 9:38 PM
|
Joined: Nov 2000
Posts: 19
Member
|
Member
Joined: Nov 2000
Posts: 19 |
Where does this new History Feature store its information. Does it write to a separate file. Just curious, asking some common questions to help figure out why its not showing the Karma History.
I've had the original hack installed for a long time and it worked great. I just upgraded to this one, everything still works ok except the History.
Thanks
|
|
|
#38046
12/26/2000 11:13 AM
|
Joined: Dec 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 2 |
I installed the hack and it works perfectly fine. The problem is that not too long ago I have installed Turbinator's hack with the custom title and custom icons, now when a person posts, instead of their personal icon and title this appears: 0:0 . I really hate to get rid of any of those hacks, so doesn anyone know a way that I get to keep both hacks and it would work perfectly? ------------------ RPGone Forums
|
|
|
#38047
12/26/2000 12:13 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
Oops, I forgot to include this:
You need to create a folder named "karma" in your Members directory and CHMOD it to 777 in order for the history feature to work.
|
|
|
#38048
12/26/2000 1:08 PM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
stuff is being recorded in the karma directory but, it's still not displaying anything... ------------------ -Webmaster of Cheat City
|
|
|
#38049
12/26/2000 2:01 PM
|
Joined: Dec 2000
Posts: 2
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 2 |
No help huh? ------------------ RPGone Forums
|
|
|
#38050
12/26/2000 9:15 PM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
Eminem, change the karma hack value to the next available one. You can do that in the Karma Control Panel. ------------------ -Webmaster of Cheat City
|
|
|
#38051
12/26/2000 9:26 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
Hi guys i dont have this hack yet. But i made some image for it. dark bg :  light bg :  ------------------ Happy Holidays Everyone!!!
|
|
|
#38052
12/27/2000 2:11 AM
|
Joined: Nov 2000
Posts: 19
Member
|
Member
Joined: Nov 2000
Posts: 19 |
k, I created the "karma" directory and set permission. I'm getting the same results as WEAPON is, its login now, but not displaying...any other hints or information missed.
Thanks
|
|
|
#38053
12/27/2000 5:37 AM
|
Joined: Nov 2000
Posts: 112
Member
|
Member
Joined: Nov 2000
Posts: 112 |
I just want to thank you for releasing such a supurb mod..... it rocks *hugs* 
|
|
|
#38054
12/27/2000 3:33 PM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Leshrac: I'd like to see this done *also* without the modification of the handling of the profile fields. If you're interested in doing this for me personally, I'll make it worth your time. (I don't mind if you release it as well). ------------------  Visit Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#38055
12/31/2000 11:56 PM
|
Joined: Jul 2000
Posts: 610
Member
|
Member
Joined: Jul 2000
Posts: 610 |
quote:</font><HR><font face="Verdana, Arial" size="2">Originally posted by Alien: Leshrac: I'd like to see this done *also* without the modification of the handling of the profile fields. If you're interested in doing this for me personally, I'll make it worth your time.
(I don't mind if you release it as well).
</font><HR></BLOCKQUOTE>
Same here Leshrac, i got to much profile vields and if i use that chunk of code, i get probly problems with it, i am talkin about theese 2. <BLOCKQUOTE><font size="1" face="Verdana, Arial">code: Thanks... ------------------ 
|
|
|
#38056
01/01/2001 12:52 PM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Yes, I'd definatly like to use the old method myself. While I do appreciate the way you set it up the new way though, I just can't get used to it. ![[Linked Image]](https://ubbdev.com/ubb/smilies/tongue.gif) ------------------  Visit Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#38057
01/01/2001 1:33 PM
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
yea me too soo much that would help sooo much ------------------ -= DFT =- ................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
|
|
|
#38058
01/06/2001 3:50 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
It looks like you guys are running into some permission problems, so I've updated karma.pl to hopefully handle it. Just download the ZIP file again and upload the new karma.pl. Then, CHMOD all the files in your Members/karma directory to 777 (if you can, otherwise just delete them).
As for changing the profile writing method, it's actually a lot easier to install new profile fields with the new method than it is with the old one. If there are people willing to read it, I'll write up some instructions on how the new method works and how to convert hacks that use the old one.
|
|
|
#38059
01/06/2001 6:02 PM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
I'm still not getting any karma history, Leshrac. ------------------ -Webmaster of Cheat City
|
|
|
#38060
01/07/2001 6:52 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
It looks like one of the new GetUserNumber speed-ups is causing problems with this due to a lack of proper variable declaration. I'd recommend either using my original GetUserNumber speedup (which is faster anyway if you're using Memberlist), or changing your GetUserNumber subroutine so that it declares $ProfileNumber as a local variable. ------------------ Leshrac leshrac@magictraders.com Founder, Owner - Magic Online Trading League (MOTL) http://www.magictraders.com MOTL Bulletin Board
|
|
|
#38061
01/10/2001 10:32 AM
|
Joined: Jan 2000
Posts: 825
Member / CodeFixer
|
Member / CodeFixer
Joined: Jan 2000
Posts: 825 |
can you post the url for the new way of the profile field additions? ------------------ Peace Out, DJLunacy www.mp3.com/voi
|
|
|
#38062
01/13/2001 7:36 AM
|
Joined: Oct 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 4 |
hi leshrac! first: your hack is really great :-) i really love this hack so i translated it to german! i had already a karma hack and translated the new one also, but i downloadet the new one @ first of januar, so i dont have the bugfix included. could you please let me know what you changed in your new karma.pl?if you're interested you can have the GERMAN version of your hack (just the hack, not the instructions, i think everyone can read englisch ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ) to release it! for sure i'll translate further versions of your hack to if needed. feel free 2 contact me: [email protected]and please post your updates :-) thx greets, cRackY
|
|
|
#38063
01/24/2001 12:21 PM
|
Joined: Oct 2000
Posts: 21
Member
|
Member
Joined: Oct 2000
Posts: 21 |
Is that profile field info avail yet? just wondering what I should do with the extra profile fields I got >14 help please. Thanks. specifically this line of code: # Karma Hack $theprofile[4] = "$PermissionLine"; $theprofile[8] = "$UserStatus"; if (($maxmemfields > 14) && ($#thisprofile > $maxmemfields)) { $#thisprofile = $maxmemfields; } foreach $foo (@theprofile) { chomp($foo); print MEMBERSHIP "$foon"; } ------------------ http://gmncomputers.dyndns.org/ubbcgi/Ultimate.cgi?
|
|
|
#38064
01/24/2001 6:31 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
From the readme file:
Then find:
------------------------------ print MEMBERSHIP ("$theprofile[0]n"); print MEMBERSHIP ("$theprofile[1]n"); print MEMBERSHIP ("$theprofile[2]n"); print MEMBERSHIP ("$theprofile[3]n"); print MEMBERSHIP ("$PermissionLinen"); print MEMBERSHIP ("$theprofile[5]n"); print MEMBERSHIP ("$theprofile[6]n"); print MEMBERSHIP ("$theprofile[7]n"); print MEMBERSHIP ("$UserStatusn"); print MEMBERSHIP ("$theprofile[9]n"); print MEMBERSHIP ("$theprofile[10]n"); print MEMBERSHIP ("$theprofile[11]n"); print MEMBERSHIP ("$theprofile[12]n"); print MEMBERSHIP ("$theprofile[13]n"); print MEMBERSHIP ("$theprofile[14]n"); ------------------------------
REPLACE that entire code block, INCLUDING ANY SIMILAR LINES ADDED FROM HACKS, with:
------------------------------ # Karma Hack $theprofile[4] = "$PermissionLine"; $theprofile[8] = "$UserStatus"; if (($maxmemfields > 14) && ($#thisprofile > $maxmemfields)) { $#thisprofile = $maxmemfields; } foreach $foo (@theprofile) { chomp($foo); print MEMBERSHIP "$foon"; } ------------------------------
*Also*
Then find:
------------------------------ print MEMBERSHIP ("$profileinfo[0]n"); print MEMBERSHIP ("$Passwordn"); print MEMBERSHIP ("$Emailn"); print MEMBERSHIP ("$URLn"); print MEMBERSHIP ("$Permissionsn"); print MEMBERSHIP ("$Occupationn"); print MEMBERSHIP ("$Locationn"); print MEMBERSHIP ("$TotalPostsn"); print MEMBERSHIP ("$Statusn"); print MEMBERSHIP ("$Interestsn"); print MEMBERSHIP ("$DateRegisteredn"); print MEMBERSHIP ("$in{'EmailView'}n"); print MEMBERSHIP ("$Signaturen"); print MEMBERSHIP ("$in{'ICQnum'}n"); print MEMBERSHIP ("$in{'AllowMassMail'}n"); ------------------------------ (IMPORTANT: You may have additional lines here if you have hacks installed that have added fields to your profile. Take careful note of them when you make the following modification.)
REPLACE this with:
------------------------------ # Karma Hack $profileinfo[1] = "$Password"; $profileinfo[2] = "$Email"; $profileinfo[3] = "$URL"; $profileinfo[4] = "$Permissions"; $profileinfo[5] = "$Occupation"; $profileinfo[6] = "$Location"; $profileinfo[7] = "$TotalPosts"; $profileinfo[8] = "$Status"; $profileinfo[9] = "$Interests"; $profileinfo[10] = "$DateRegistered"; $profileinfo[11] = "$in{'EmailView'}"; $profileinfo[12] = "$Signature"; $profileinfo[13] = "$in{'ICQnum'}"; $profileinfo[14] = "$in{'AllowMassMail'}"; $profileinfo[$KProLoc] = "$Karma:$LastKPosts"; if (($maxmemfields > 14) && ($#thisprofile > $maxmemfields)) { $#thisprofile = $maxmemfields; } foreach $foo (@profileinfo) { chomp($foo); print MEMBERSHIP "$foon"; } ----------------------------- IMPORTANT: If you have additional fields in your profile, you should include them into the code above. You can do so by using the following format: ----------------------------- $profileinfo[location of the field goes here] = "Variable that would normally be printed goes here"; ----------------------------- Create an additional line for each additional field you have. Place these extra lines directly BELOW the following: ----------------------------- $profileinfo[$KProLoc] = "$Karma:$LastKPosts"; -----------------------------
Please read the last part carefully, it explains everything you need to do to add extra profile fields used by other hacks.
|
|
|
#38065
01/25/2001 4:55 PM
|
Joined: Jan 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 5 |
Did anyone get anywhere on the problem with the history not showing up? I have the same problem and it isn't related to permissions, as far as I can tell. I've checked all of that kind of stuff a hundred times.
|
|
|
#38066
01/25/2001 8:09 PM
|
Joined: Jan 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 5 |
Ok, everyone. I've sorta figured out the "history not showing up" problem. Keep in mind, I'm a big time Perl amateur, so I'd be pleased if someone wants to explain this more clearly or verify my findings.
I traced everything back through karma.pl to the sub karmaMsg and did various kinds of troubleshooting to see what was working and what wasn't. The karma profiles were writing fine and the code to print the history was working fine, too. The problem seemed to be where the karma profile file opens and then loads into the array. I focused my attention on this bit of code:
open (MESSAGES, "$MembersPath/karma/$ProfileNumber.cgi"); @kMessages = ; close (MESSAGES);
I subsituted the expression
open (MESSAGES, "$MembersPath/karma/$ProfileNumber.cgi");
for the direct path of a profile file I knew existed, like this:
open (MESSAGES, "/usr/otd/cgi-bin/ubb/Members/karma/00000003.cgi");
Sure as heck, it worked. My history was reading fine. I worked backwards and replaced the absolute path with $MembersPath/karma/ again and it continued to work, thus showing that the problem was with the variable $ProfileNumber. I assumed that $ProfileNumber is being reset to some other value in between loading the profile number at the beginning of the routine and where it is being used to load the karma profile from the Members/karma directory. I pinpointed the problem to this expression:
$PN = &GetUserNumber($UserName);
This expression finds the user number of YOU, the person looking up the karma, which is later used to make sure you're authorized. It calls sub GetUserNumber, which is located in ubb_libary.pl. During this routine, $ProfileNumber is set to YOUR user number and stays that value upon return to sub karmaMsg in karma.pl. So, in my case, with the history was trying to read from MY profile file that didn't exist because I *had* no karma adjustments, therefore no history was being displayed.
My fix: I changed $ProfileNumber to $ProfileNumber2 everywhere in sub karmaMsg, in karma.pl. There are four instances of it. It now seems to work reliably.
Good luck!
This message has been edited by Matthew on January 25, 2001 at 07:13 PM
|
|
|
#38067
01/25/2001 8:32 PM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
I solved this problem two weeks ago:
|
|
|
#38068
01/26/2001 7:52 PM
|
Joined: Jan 2001
Posts: 100
Member
|
Member
Joined: Jan 2001
Posts: 100 |
For this line??
$profileinfo[$KProLoc] = "$Karma:$LastKPosts"; if (($maxmemfields > 14) && ($#thisprofile > $maxmemfields)) { $#thisprofile = $maxmemfields; } foreach $foo (@profileinfo) { chomp($foo); print MEMBERSHIP "$foon"; }
****************************** If we got more profile fields than 14, say in ubb_library.pl it says maxmemfields 20. Would we keep the 2 or three chunks of codes that look like the one above to maxmemfields 14 or change the 14 to fit our current number of member fields???
Also you say the Karma History problem is fixed, has it been updated in the hack link??
By chance what would I add if I wanted members Karma to be displayed in a Author Extra field... Like under post, from, registered.. Say like on the bottom, or even by the IP ICON, if I wanted everyones karma level to be viewable, where would I do so??? I think this is a briliant hack.. If I can get it to work as needed...
Thanks!
|
|
|
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: 1,157
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
|
|
|
|