News:

Wondering if this will always be free?  See why free is better.

Main Menu

Karma Description Mod

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

Previous topic - Next topic

Joe N

Thanks
It works  ;)
Now I need to add notify by pm to all my members. lol
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Keith Tysinger

In your modification file:

echo'                     </span>
                                        </td>
                                </tr>

The above is not needed and breaks the xhtml validation.

Very nice mod the little error notwithstanding.
Contact me for all of your website design needs.

vladok

Грек, а можно доработать хак, установив к примеру, что администратор может менять репутацию +5 /-5, модератор + 3/-3 ?
***
Grek, but you can refine hack option, setting for instance, that an administrator can change the reputation of +5 / -5, moderator + 3/-3 ?

Grek.Kamchatka

ММ, не совсем понял о чем речь.

vladok

Ок.
Попробую описать фишку.

У нас есть админы, и модеры -для простоты картины. Супера - пусть с этой точки зрения будут как модеры.

Мы прописываем к примеру - если админ повышает карму юзеру, то приплюсовывается не +1 а +5 или к примеру +10. Если модер повышает карму, то приплюсовывается не +1 а + 3 или там +5.
Ну и если отнимает - то же самое но - вычитается.
Ну а обычные юзеры - как обычно.

Так сказать, в рамках поощрения юзеров административно модераторским составом.

Grek.Kamchatka

А, ясно. Это можно сделать, но в основной  состав мода я это включать не буду, так как не всем это нужно, да и не всем понравится. Я просто отпишу тебе как это сделать вручную.

vladok


vladok

#1227
Вдогонку: нашел баг.
После установки мода для RC1 исчезает выбор показывать функции быстрого модерирования (профиль / внешний вид форума )  "значками".

Ячейками -остается, значками -вырубает

Происходит это оттого, что мод при установке секциеи //Karma Description Mod (Notification)  в /Profile.template.php пишется "внутри" выборки опций,  а не после окончания выборки.

Другими словами:

Было после установки мода:

<td colspan="2"><label for="display_quick_mod">', $txt['display_quick_mod'], '</label>
<select name="default_options[display_quick_mod]" id="display_quick_mod">
<option value="0"', empty($context['member']['options']['display_quick_mod']) ? ' selected="selected"' : '', '>', $txt['display_quick_mod_none'], '</option>
<option value="1"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] == 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_check'], '</option>

';
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
</tr>
<option value="2"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] != 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_image'], '</option>
</select>
</td>
</tr>
</table>
</td>
</tr>';


Надо изменить на что то вроде  <td colspan="2"><label for="display_quick_mod">', $txt['display_quick_mod'], '</label>
<select name="default_options[display_quick_mod]" id="display_quick_mod">
<option value="0"', empty($context['member']['options']['display_quick_mod']) ? ' selected="selected"' : '', '>', $txt['display_quick_mod_none'], '</option>
<option value="1"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] == 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_check'], '</option>
<option value="2"', !empty($context['member']['options']['display_quick_mod']) && $context['member']['options']['display_quick_mod'] != 1 ? ' selected="selected"' : '', '>', $txt['display_quick_mod_image'], '</option>
</select>
</td>
</tr>';
//Karma Description Mod (Notification)
if (!empty($modSettings['karmadescmod']) && !empty($modSettings['karmanotifier']))
echo '
<tr>
<td colspan="2"><label for="enable_notify">', $txt['enable_notify'], '</label>
<select name="default_options[enable_notify]" id="none_notifier">
<option value="0"', empty($context['member']['options']['enable_notify']) ? ' selected="selected"' : '', '>', $txt['enable_notify_none'], '</option>
<option value="1"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] == 1 ? ' selected="selected"' : '', '>', $txt['enable_notify_popup'], '</option>
<option value="2"', !empty($context['member']['options']['enable_notify']) && $context['member']['options']['enable_notify'] !=1 ? ' selected="selected"' : '', '>', $txt['enable_notify_pm'], '</option>
</select>
</td>
</tr>
</table>
</td>
</tr>';

SFF Forum

Hello,

i installed Karma_Description_Mod_ver[1].2.3.1 in my forum,but the

Send link in personal message to own karma log   
Send the reason in personal message   
Send link in personal message to message where karma was changed


didn't work,user couldn't recieve PM,why?

Need help,thanks
I Love Simple Machines Forum .

Joe N

Quote from: bosser on May 16, 2009, 05:57:00 PM
Hello,

i installed Karma_Description_Mod_ver[1].2.3.1 in my forum,but the

Send link in personal message to own karma log   
Send the reason in personal message   
Send link in personal message to message where karma was changed


didn't work,user couldn't recieve PM,why?

Need help,thanks

What smf version?

If you go to profile > Look and layout Preferences and at the bottom, it says, Notify me when my karma will be changed, change it to either pm or popup.

If you go to admin, where it says Send PM from this Member ID (1 by default), put 1

Joe
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


c a g a t a y

Hi all

all moderators of my site could not see below link
they say it gives "you dont have a permission to see this page" error

.....forum/index.php?action=viewkarma

any idea?

Regards

Aleksi "Lex" Kilpinen

The error says it all. They haven't got the permission to view it.
Have you checked the permissions and the mod settings?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

c a g a t a y

Here is my Karma Settings


And also in Admin CP >> Permissions alreade given view karma log permission to all moderators

charlottezweb

This has stopped working after the 1.1.9 upgrade.  Is there a fix available?

I have a user running 2.3.1 on a 1.1.9 forum.

c a g a t a y

#1234
I am using Karma Description Mod ver.2.2 (with SMF 1.1.8 )

How can I upgrade it to Karma_Description_Mod_ver.2.3.1 ?

Uninstall 2.2 and then install 2.3.1 ?? Will I lose any description data ?

everwake

hello!

i have instaled this mod in my forum (btw great mod!!)

and i have 1 problem now!

after the installation the "online users" tab now is in the top of my forum index! and not in the bottom inside the "info center"

how can i fix this?

smf version : 2.0 RC1-1


thanks

universalsameera

I wasted whole 2 days trying to get this mod to work so please help guys. There is obviously nothing wrong with mod but I can't get it to work.

All my tests were successful in the package manager and when I click install there is an error in the /temp/change database comes up.

If anyof you are kind of enough to upload your working karma.php file or some other files of this I'll be so greatful. It doesn't matter if it is only karma.php.So then I can look at it and work out the manual instruction thing. I just need an example to grasp this manual instruction thing. Thankyou so much for anyone who is going to help me(which no one has so far for me). Thank you!!


universalsameera

Ha Ha got it to work  ;) I created a virtual server in my pc then installed the mod and then replaced the files. I'll tell you how I did it because I know what is like to stay there and not get any help.

Yes got it to work. I'll write this post on behalf of everyone who would like to do this.

My smf version- 1.18
Karam descriprion mod - 2.31

1. Download and install wampserver
http://www.wampserver.com/en/download.php
2. Download the smf forum version you like and then place it it in the folder c/wamp/www/
3. Then type in your internet browser http://localhost/the name of the folder you placed inside www/install.php
4. Choose root for username and no password is required
5. Install and try your mods.Good Luck ;)

charlottezweb

It works with that version (1.1.8) but not with the most recent I believe.

Also, you need to upgrade -- that version has some security issues:

http://www.simplemachines.org/community/index.php?topic=311899.0

elfugazi

Quote from: Grek_Kamchatka on September 17, 2005, 11:47:13 PM
In Admin panel->Features and Options-> check "Enable Karma Description Mod"
Then on main page you will see [Karma Stat] label near the [More Stats]

http://yourdomain/forum/index.php?action=viewkarma

hey guys... i cant see "Karma Change Description" in my forum, because i didn't saw any link to that page?
i have Karma_Description_Mod_ver.2.3.1

PLEASE HELP!!! TEACH ME ADD MANUALLY THANKS!!

Advertisement: