Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question AlphaUserPoints plugin for Kunena

More
17 years 2 months ago #2556 by cferron
Same here at the exact same line...

Any news on this one, my user have stopped posting suddenly!!!

Claude

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

More
17 years 2 months ago - 17 years 2 months ago #3105 by mknit
I had the same error, and this seemed to work for me. I didn't use the post.php included in the zip file, just added the AUP section to the default post.php. This should work either way, though.

Find this section in post.php...
Code:
if ($database->query()) // aup kunena ny aniphreak $api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php'; if ( file_exists($api_AUP)) { require_once ($api_AUP); AlphaUserPointsHelper::newpoints( 'plgaup_reply_kunena' ); } // aup kunena ny aniphreak {

and change it to read like this:
Code:
if ($database->query()) { // aup kunena ny aniphreak $api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php'; if ( file_exists($api_AUP)) { require_once ($api_AUP); AlphaUserPointsHelper::newpoints( 'plgaup_reply_kunena' ); } // aup kunena ny aniphreak

Basically I just moved the new AUP code inside the "{" brackets of the IF statement.

I'm not a programmer, so I'm not sure if that's the best fix, but it works for me.
Last edit: 17 years 2 months ago by mknit.

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

More
17 years 2 months ago - 17 years 2 months ago #3403 by cferron
Well that partially fixed the issue... I have 2 rules

1 point if you reply and 2 points if you start a new thread.
With your modification, I do not get any error message BUT BOTH rules applies if I either create new topic or reply :blink:

Any idea how can I fix the thing?

Thanks

Claude
Last edit: 17 years 2 months ago by cferron.

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

More
17 years 2 months ago #3851 by aniphreak
wow... sorry for not fixing the plugin >_<

yes the code shared by mknit is the right thing

@cferron
its a normal thing for alphauserpoints ^_^

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

More
17 years 2 months ago #3867 by cferron
aniphreak wrote:

@cferron
its a normal thing for alphauserpoints


This is weird, because when I had Fireboard it was not acting the same way! Again now with Kunea, both rules gets applied at the same time.

My rules create a new topic = 2 pts
Reply to a topic = 1 pt

If I create a new topic I get 2 + 1 points from Alpha User point (should be 2 pts)??? Exact thing happend if I reply to a topic 2 + 1 for a total of three... (should be 1 pt)

Any idea?

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

More
17 years 2 months ago #4299 by phoenixinno
Will the post.php replacement also work for 1.0.8 or will someone create a new set of rules and post.php file.Intergration with AUP is quite important for me.

Thanks

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

Time to create page: 0.238 seconds