hi all,
i have altered the CB Authbot Plugin, so it displays karma + / - buttons in content items.
it allows users the give karma to authors of content items, but not to their own, it also hides the button from guests.
i have attached the file.
you can see it in action at
www.iloveit.at
(
www.nnw.at
)
(but be warned: german site..)
installation: copy the file contents (from editor) in joomlaxplorer over the contents of /mambots/content/CBAuthorBot.php
(or overwrite the CBAuthorBot.php file there via FTP, if owner is the webserver itself)
*****************************
more infos: honestly, i have no idea what i actually did, but it works, well, okay, i have a little experience wuith changing PHP code, but i would never say i can write php.
here in this mod, i have created the first if - elseif - else thing in my life. im proud. at least:)
so, if there is a better way for e.g. exclude the + / - buttons for guests, tell me:)
ok, cheers
ka
www.nnw.at