Advanced Reputation System

Started by Fustrate, March 25, 2008, 12:51:10 PM

Previous topic - Next topic

nadrojcote

yup everytime someone loads a page, and when I ran the install.php I get the same error but I cant seem to find a problem, I have checked all the code manually and it seems fine.

http://canadiantacos.com/index.php?action=portal;sa=shoutbox;shoutbox_id=1;time=1265650024;xml
Apply Filter: Only show the errors with the same message
8: Undefined index: reputation
Apply Filter: Only show the errors from this file
File: /home1/tdrggnet/public_html/cdntaco/Sources/Subs.php
Line: 4059

nadrojcote

#1801
Ok i got the error fixed now for sure, but still cant seem to get the function working properly, is there a way I can debug this?

If it helps any, I exported some rep from my other site into the db of this site and it showed up in my profile. But when I went to delete it, it went to a blank page that said "Hacker!!!"

nadrojcote

#1802
I have got it to work by modifying this in display.template

<form id="reputation_form" name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form" onsubmit="aReputation[0].SendRep(); return false;">

<form id="reputation_form" name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form" onsubmit="aReputation[0].prototype.SendRep(); return false;">

oOo--STAR--oOo

Hi, I have freshly installed SimpleMachines v2.0 RC,

I downloaded this mod ( This is the 1st mod i have downloaded )

I am getting an error on ./Themes/default/PersonalMessage.template.php

now seems like this isnt configured propely to install on a fresh simple machines install.

the version i downloaded was  reputation_2-0_1-8

would be nice for some one to look at it and ammend the errors

Thanks.
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

Nick Whetstone

#1804
Quote from: aljo1985 on February 11, 2010, 10:24:39 PM
Hi, I have freshly installed SimpleMachines v2.0 RC,

I downloaded this mod ( This is the 1st mod i have downloaded )

I am getting an error on ./Themes/default/PersonalMessage.template.php

now seems like this isnt configured propely to install on a fresh simple machines install.

the version i downloaded was  reputation_2-0_1-8

would be nice for some one to look at it and ammend the errors

Thanks.

Ahh yes, I realized that bug the other day and forgot to post the updated package. I'll go look for and post it now.

[EDIT]
Try installing the attached package instead of the old one. Let me know if you have any problems with the installation.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

oOo--STAR--oOo

Yeah there is 3 lines i have noticed that have 2 tabs more

example
            echo '
            <li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';



and yours is like this

echo '
                  <li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';

there recursive on all 3 of the li's
and the ahref start line is tabbed 2more times than it needs to be..

Also great ill look forward to the update package if u have already created it..

Also any progress on the uninstall of the reputation system..

Love the new reputation system... only 1 thing that could be changed in my oppinion..

Maybe u could include and option to keep applaud + smite .. because the little love heart is seems kinda not very visible to post karma.
so members just never give any.
so an option to choose would be great.

EDIT.. cool ill just try that one now and let u know
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

oOo--STAR--oOo

Ahh cool yeah no errors what so ever...

also is the uninstall fixed in the new one u just posted?
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

oOo--STAR--oOo

kk another problem...

I installed the mods.. selected the option to install for other Themes I am curently using the Raven Theme..

And in posts the reputation bar is showing as error.. so the image doesnt exist here is where its asking for.

Themes/raven/images/karma_good_basic.gif 

Ill just replace the image for now.. but should be an easy fix for u to apply. :)

Thanks for a great mod....

Keep up the good work..

also when you fix the uninstall will you just beable to update so we can then uninstall the one i have installed now?

Thanks..

You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

adbrad

Quote from: aljo1985 on February 11, 2010, 10:52:37 PM
Love the new reputation system... only 1 thing that could be changed in my oppinion..

Maybe u could include and option to keep applaud + smite .. because the little love heart is seems kinda not very visible to post karma.
so members just never give any.
so an option to choose would be great.

you could try changing the image to something more visible, i changed my image

Plutuss


I have an odd problem - no way for the user to add reputation in the topic-view.

No little heart shows up, just the gems.

Reputation is certainly turned on, and all permissions are set to use it. It can be changed by the admin in their profiles numerically, just no button on the topic view.

I've attached display.template if anyone can help. Thanks!





Nick Whetstone

Quote from: Plutuss on February 12, 2010, 06:56:31 PM

I have an odd problem - no way for the user to add reputation in the topic-view.

No little heart shows up, just the gems.

Reputation is certainly turned on, and all permissions are set to use it. It can be changed by the admin in their profiles numerically, just no button on the topic view.

I've attached display.template if anyone can help. Thanks!






Try navigating to http://yourdomain.com/locationofsmf/Themes/default/images/karma.gif .

Do you see the heart on that page?
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Plutuss


Nick Whetstone

Hmm... the display template edits seem to have been made, from what I see.

Have you tried uninstalling then reinstalling the mod? I don't believe the un-installation for RC1 has the bug the other one does.

[off-topic]
I would also recommend that you upgrade your forum to 2.0 RC2 for feature/security/future mod compatibility reasons.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

~DS~

Interesting mod, so this replace karma but better?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Nick Whetstone

Quote from: Dismal Shadow on February 12, 2010, 11:35:35 PM
Interesting mod, so this replace karma but better?
It's basically a re-write of the Karma system. It adds several Admin configuration options, permissions, new features like "Reputation Power" which affects how much weight karma that you give out has, comments for the Rep points, Rep "gems" (the green/orange bars) to show how much rep a person has, plus more. It also allows users to see who gave them rep, as well as comments the giver adds.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

~DS~

Ok, installed. So all my karma gained had been lost?

BTW...do I need GiveReputation.php, what does it do?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Matthew K.

Most every file in a mod is needed ;)
Quote from: Dismal Shadow on February 13, 2010, 12:04:34 AM
Ok, installed. So all my karma gained had been lost?

BTW...do I need GiveReputation.php, what does it do?

Nick Whetstone

GiveReputation.php explained:
Quote from: Mod's front pageHow can I give my members points for their posts and topics made before I installed this mod?
Simple - download GiveReputation.php from the mod's download page, upload it to your forum's root directory, and point your browser to it. Make sure you decide how many points they get per post/topic before starting!

Quote from: Labradoodle-360 on February 13, 2010, 12:08:40 AM
Most every file in a mod is needed ;)

GiveReputation.php is a useful file, but not required to install the mod.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

~DS~

You didn't answer my question. Karmas gained had been lost?

As for GiveReputation, point my browser and get this.

Fatal error: Call to undefined function getmobileproperties() in /home/user/public_html/forum/Sources/Load.php on line 1441
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Nick Whetstone

Quote from: Dismal Shadow on February 13, 2010, 12:28:36 AM
You didn't answer my question. Karmas gained had been lost?

As for GiveReputation, point my browser and get this.

Fatal error: Call to undefined function getmobileproperties() in /home/user/public_html/forum/Sources/Load.php on line 1441

Unless you recorded records of the karma prior to installation, there is, of course, no way to retrieve/preserve it as it is a basic re-write of the core functionality, I'm afraid.

As for the error, I've just tested the file on a fresh installation of RC2 with no problems. The script (or even a fresh Load.php) doesn't call a "getmobileproperties" function anywhere, so it seems to be something else causing that error. The only search results I get for that function point back to the SMF4iPhone thread.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Advertisement: