- Posts: 17
- Thank you received: 0
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.
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
17 years 2 months ago #2556
by cferron
Replied by cferron on topic Re:alphauserpoints plugin for kunena
Same here at the exact same line...
Any news on this one, my user have stopped posting suddenly!!!
Claude
Any news on this one, my user have stopped posting suddenly!!!
Claude
Please Log in or Create an account to join the conversation.
17 years 2 months ago - 17 years 2 months ago #3105
by mknit
Replied by mknit on topic Re:alphauserpoints plugin for kunena
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...
and change it to read like this:
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.
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.
17 years 2 months ago - 17 years 2 months ago #3403
by cferron
Replied by cferron on topic Re:alphauserpoints plugin for kunena
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
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.
17 years 2 months ago #3851
by aniphreak
Replied by aniphreak on topic Re:alphauserpoints plugin for kunena
wow... sorry for not fixing the plugin >_<
yes the code shared by mknit is the right thing
@cferron
its a normal thing for alphauserpoints
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.
17 years 2 months ago #3867
by cferron
Replied by cferron on topic Re:alphauserpoints plugin for kunena
aniphreak wrote:
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?
@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.
- phoenixinno
-
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
17 years 2 months ago #4299
by phoenixinno
Replied by phoenixinno on topic Re:alphauserpoints plugin for kunena
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
Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.238 seconds