Skip to Content Skip to Menu

Karma Plugin

  • arobb
  • arobb
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: -1
18 years 4 months ago #14716 by arobb
Karma Plugin was created by arobb
Hey CB boarders. I'm brand new to this forum.

Lennox posted a great plugin that allows users to increase and decrease karma (from Joomlaboard) directly in a user profile.

I installed his plugin, followed the required changes made to a core file, and still receive the Joomlaboard error page. In addition to the error page, the karma rating doesn't change.

Is there a way to fix this problem?

Any info would be great. Thanks.

Please Log in or Create an account to join the conversation.

  • lennox
  • lennox
  • OFFLINE
  • Posts: 148
  • Thanks: 0
  • Karma: 53
18 years 4 months ago #14741 by lennox
Replied by lennox on topic Re:Karma Plugin
You have sended me a pm, i have answer it,

Check if you have installed TRail's joomlaboard ID plugin. This plugin add all you're new CB users to joomlaboard ID's. (this is needed to vote on profiles, even if the users 'don't visit the forum yet)
Without this plugin you can NOT vote on profiles that don't visit the forums yes!!!!!!


I think you have hacked the core file from joomlaboard wrong.


LENNOX
Official CB 3th Party Developer
Working on the CBRC2 Lennoxonline module
Official partner and PR-man of dcsFlashGames
RELEASED: Highest Karma Module
RELEASED: PROFILE VOTE KARMA PLUGIN


www.nightcity.nl

Please Log in or Create an account to join the conversation.

  • mediaguru
  • mediaguru
  • OFFLINE
  • Posts: 365
  • Thanks: 1
  • Karma: 70
18 years 6 days ago #22573 by mediaguru
Replied by mediaguru on topic Re:Karma Plugin
What's the latest on this? I'd like Karma linked to all users regardless of if they use joomlaboard.

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in or Create an account to join the conversation.

  • lennox
  • lennox
  • OFFLINE
  • Posts: 148
  • Thanks: 0
  • Karma: 53
18 years 6 days ago #22580 by lennox
Replied by lennox on topic Re:Karma Plugin
i have it working, hacked the joomlaboard, and a plugin created. I must check out the files, it is a while ago


LENNOX
Official CB 3th Party Developer
Working on the CBRC2 Lennoxonline module
Official partner and PR-man of dcsFlashGames
RELEASED: Highest Karma Module
RELEASED: PROFILE VOTE KARMA PLUGIN


www.nightcity.nl

Please Log in or Create an account to join the conversation.

  • mediaguru
  • mediaguru
  • OFFLINE
  • Posts: 365
  • Thanks: 1
  • Karma: 70
18 years 5 days ago #22630 by mediaguru
Replied by mediaguru on topic Re:Karma Plugin
Hey Lennox. I've got this workin on my development site. I've changed a little in the profile plug for formatting reasons.

Some questions/ideas.

1. When increasing the karma, it goes up by 5 karma points so I fear I messed something up. Yet decreasing it only goes down 1. So I bet I need to fix that.

2. How hard would it be (I'm looking into this) to have the plug call a different copy of the page that says "user karma increased" so it doesn't go back into joomlaboard. Then put somekind of a (back -1) link on that new page which says "go back to user profile" or something?

I'll let you know if I progress on any of this.

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in or Create an account to join the conversation.

  • mediaguru
  • mediaguru
  • OFFLINE
  • Posts: 365
  • Thanks: 1
  • Karma: 70
18 years 5 days ago #22631 by mediaguru
Replied by mediaguru on topic Re:Karma Plugin
Ok I found the problem with the increasing by 5 points instead of one. In your readme file where you hack the joomlaboard karma code you have:

$database->setQuery('UPDATE #__sb_users SET karma=karma+5 WHERE userid='.$userid.'');


It should be:

$database->setQuery('UPDATE #__sb_users SET karma=karma+1 WHERE userid='.$userid.'');

Post edited by: mediaguru, at: 2006/10/15 16:35

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum