Give Karma plugin in profile!

14 years 1 month ago #6458 by lennox
Hello Joomlapolis citizens!

Is it a cool idea to intergrate the wonderfull karma system from joomlaboard to a CB plugin?

like this:

User can give karma to a other user in the forum, but also in a profile!
You can change the icon and langfile to something elso, like : Give Kiss, Give beer, etc.

I want to do it by myself (make the plugin) but is to difficult for me,

the link to give someone Karma:

component/option,com_joomlaboard/Itemid,51/func,karma/do,increase/userid,64 /pid,5/catid,2/

The red number is the userprofile, now, the difficult part. When you clickin on a profile, the plugin most appear, (just a table with the Thums up, Thums down (joomlaboards standard karma icons.) Now he must combine this link component/option,com_joomlaboard/Itemid,51/func,karma/do,increase/userid,../pid,5/catid,2/
With the userprofile number.

Any thoughts?

This will be rockin!

Post edited by: lennox, at: 2006/02/16 14:03


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

14 years 1 month ago #6459 by lennox
An example ...


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

14 years 1 month ago #6462 by lennox
sorry, the link is not good.. then you gonna be directed to a forum topic...

This is better:

yoursite.com/component/option,com_joomlaboard/func,karma/do,increase/userid,64/


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

14 years 1 month ago #6465 by lennox
I'm study the API doc...
But i don't get it ...

if ($my->id!=$user->id && $my->id > 0) { Gives the person's profile id?

How is it possible to get this link:
yoursite.com/component/option,com_joomlaboard/func,karma/do,increase/userid ,PROFILETHATYOUAREVISITING/


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

14 years 1 month ago #6466 by mad_gertje
this would be great, I hope some one would help you with this.B)
14 years 1 month ago #6488 by lennox

component/option,com_joomlaboard/func,karma/do,increase/userid,".$user->id;


ok thirst thing done :)


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

Moderators: beatnantkrileon
Time to create page: 0.431 seconds

Facebook Twitter LinkedIn