Karma Description Mod

Started by Grek.Kamchatka, September 11, 2005, 11:48:26 PM

Previous topic - Next topic

rockinaway

I installed it the first time, but when I clicked karma it went to a karma error with $end, and then I decided to check code, still same problem. So I removed the code manually, then basic karma worked. So to get the mod working again I added the code manually and I get the new error which is on the page with the two bits of code.
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Ryan

Anyone with smf 1.1 rc3
With the 2.0 version of this mod...

Having apache problems? I mean i havent tested this enough... but it seems my apache keeps restarting...

[Thu May 12 15:22:38 2006] [notice] Parent: child process exited with
status 128 -- Restarting.
[Thu May 12 15:22:38 2006] [notice] Apache/2.2.20 configured -- resuming
normal operations

This happens all the time when the mod is installed but when i uninstall mod i do not recieve the error, and my site runs fine...

I noticed this cos i have alota file downloads, and everyones fikles keep getting reset.

Anyone have similar issue..

ill let you know if i find out more.

Grek.Kamchatka

Quote from: M3THOD on October 11, 2006, 09:35:07 PM
Anyone with smf 1.1 rc3
With the 2.0 version of this mod...

Having apache problems? I mean i havent tested this enough... but it seems my apache keeps restarting...

[Thu May 12 15:22:38 2006] [notice] Parent: child process exited with
status 128 -- Restarting.
[Thu May 12 15:22:38 2006] [notice] Apache/2.2.20 configured -- resuming
normal operations

This happens all the time when the mod is installed but when i uninstall mod i do not recieve the error, and my site runs fine...

I noticed this cos i have alota file downloads, and everyones fikles keep getting reset.

Anyone have similar issue..

ill let you know if i find out more.
No, your web server can't restart from this mod.

n1kki6

Quote from: Grek_Kamchatka on October 03, 2006, 01:02:51 AM
Whoops, it's not a _members table. It is a _setting table, i forget it. So it is a dynamical table, and it can't consist default value. You only can edit Profile.template.php lines with Karma Description Mod to set default value = 2

Im a little confused now, so I should change it in profile.template and change something in the DB?  or this can't be done.

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Grek.Kamchatka

Quote from: rockinaway on October 12, 2006, 11:38:46 AM
hey I got no help  ??? ???
Can you upload fresh files to your forum? Do it.

Reynard

I just upgraded to the last update of this mod, but when someone wants to give someone karma, the following error message appears:

QuoteParse error: syntax error, unexpected $end in /hsphere/local/home/reynard/alterego.vault.ign.com/board/Sources/Karma.php on line 577

I checked the karma.php file and the only thing which is on line 577 is: ?>

any suggestions?

Grek.Kamchatka

After uninstalling the mod, i advice you upload new Karma.php couse package manager can't clean normaly this file
I wrote this 1000 times, i can't repeat it on each page. It's a last time i write this.

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

houston

I am getting this error when ever a member changes another members karma.

8: Undefined index: current_topic
File: /home/eaglebay/public_html/newforum/Themes/default/PersonalMessage.template.php (eval?)
Line: 303

8: Undefined index: current_topic
File: /home/eaglebay/public_html/newforum/Themes/default/PersonalMessage.template.php (eval?)
Line: 302


This is the code in the PersonalMessage.php lines 303 and 302

<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/', $modSettings['karmaApplaudImage'], '" alt="', $modSettings['karmaApplaudLabel'], '" title="', $modSettings['karmaApplaudLabel'], '" border="0" /></a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/', $modSettings['karmaSmiteImage'], '" alt="', $modSettings['karmaSmiteLabel'], '" title="', $modSettings['karmaSmiteLabel'], '" border="0" /></a><br />


Any comments

8)

Grek.Kamchatka

Do you have another installed mod? Like karma buttons?

Grek.Kamchatka

New version of Karma Description Mod now available.
*Fixed small defect with error log. Thanks to SleePy
*Added another one function. Now you can restrict to change karma to defined users. For example, you can restrict to change your karma and your users will be noticed about it.

After uninstalling the mod, i advice you upload new Karma.php couse package manager can't clean normaly this file

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Gobo

is there some way to lesen the karma wait time to 5 mins?

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Gobo

i've tried putting a decimal....dosent seem to work

RoarinRow

In regards to the small defect with error log.  Can you tell me what I need to look for and replace so I can do it manually.

I don't want to risk messing up the db.  Plus when I try to un-install I get a failure for karma.php, boardindex.template.php, and index.english.php

Thanks!

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

SleePy

That change was mainly to the viewkarma.template.php
It had to do with collecting what action you were on so when you sorted different it would stay on that action..
Uploading viewkarma.template.php should fix it.. Unless Greks new action added to it..

I have upgraded before and never had a problem of this.. The Uninstall shouldn't touch the database and since when you install it should have a check to see if it exists.. and if it does it wont do anything. So you should be safe..
Though if you want to be safe you can go to phpmyadmin and backup smf_log_karma to save it just incase..
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

RoarinRow

Quote from: SleePy on October 28, 2006, 09:53:50 PM
That change was mainly to the viewkarma.template.php
It had to do with collecting what action you were on so when you sorted different it would stay on that action..
Uploading viewkarma.template.php should fix it.. Unless Greks new action added to it..

I have upgraded before and never had a problem of this.. The Uninstall shouldn't touch the database and since when you install it should have a check to see if it exists.. and if it does it wont do anything. So you should be safe..
Though if you want to be safe you can go to phpmyadmin and backup smf_log_karma to save it just incase..

ok. I'll wait to see Greks response if he made any changes to the viewkarma.template.php.  If he didn't then I'll backup and upload the new one.

Just hate to touch the other files if I don't have to.  Thank you!

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Grek.Kamchatka

New version of Karma Description Mod now available.
*I changed restrict karma function from User name to user ID, because of users can changed their realname so engine can't restrict karma action
*Added another one restrict karma function.

RoarinRow, you can upload viewkarma.template.php from new version of KDM 2.2. It's only bug fixes and nothing new in this file.

Advertisement: