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
Question AlphaUSerPoints Problem
- pioneer6869
-
Topic Author
- Offline
- Junior Member
-
Less
More
14 years 10 months ago #98269
by pioneer6869
Wholesale Drug Testing.Com
Management
www.wholesaledrugtesting.com
Replied by pioneer6869 on topic Re: AlphaUSerPoints Problem
Did you ever check??
I still havnt been able to fix this...
I still havnt been able to fix this...
Wholesale Drug Testing.Com
Management
www.wholesaledrugtesting.com
Please Log in or Create an account to join the conversation.
- Dazhelpwiz
-
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
14 years 10 months ago #99791
by Dazhelpwiz
Replied by Dazhelpwiz on topic Re: AlphaUSerPoints Problem
as inelegant as it is I have a hack for this issue (AUP 1.6.1, Kunena 1.6.4, J1.6.4).
It seems as tho the AUP API is missing from the functions in kunena.
Find the file ./components/com_kunena/funcs/post.php.
Scroll down to protected function newtopic.
Now, just above this function is the tail end of the post function for posting your response/new topic.
change the following from:
to:
unfortunately this will award the same points for a reply and new topic to whatever you have set in the reply rule.
Inelegent yes, but it works...
It seems as tho the AUP API is missing from the functions in kunena.
Find the file ./components/com_kunena/funcs/post.php.
Scroll down to protected function newtopic.
Now, just above this function is the tail end of the post function for posting your response/new topic.
change the following from:
Code:
if ($holdPost == 1) {
$redirectmsg .= JText::_ ( 'COM_KUNENA_POST_SUCCES_REVIEW' );
} else {
$redirectmsg .= JText::_ ( 'COM_KUNENA_POST_SUCCESS_POSTED' );
}
$this->_app->redirect ( CKunenaLink::GetMessageURL ( $id, $this->catid, 0, false ), $redirectmsg );
}
to:
Code:
if ($holdPost == 1) {
$redirectmsg .= JText::_ ( 'COM_KUNENA_POST_SUCCES_REVIEW' );
} else {
$redirectmsg .= JText::_ ( 'COM_KUNENA_POST_SUCCESS_POSTED' );
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
if ( file_exists($api_AUP))
{
require_once ($api_AUP);
AlphaUserPointsHelper::newpoints( 'plgaup_kunena_topic_reply' );
}
}
$this->_app->redirect ( CKunenaLink::GetMessageURL ( $id, $this->catid, 0, false ), $redirectmsg );
}
unfortunately this will award the same points for a reply and new topic to whatever you have set in the reply rule.
Inelegent yes, but it works...
Please Log in or Create an account to join the conversation.
14 years 9 months ago #100001
by Matias
Replied by Matias on topic Re: AlphaUSerPoints Problem
Actually we call AlphaUserPointsHelper::newpoints() if you enable activity integration for AUP (see configuration). The integration code is inside admin../libraries/integration/alphauserpoints/activity.php
Please Log in or Create an account to join the conversation.
14 years 7 months ago #106558
by Frunzik
Replied by Frunzik on topic Re: AlphaUSerPoints Problem
integration for AUP not working!
See:
www.kunena.org/forum/201-alphauserpoints...s-not-working#106553
See:
www.kunena.org/forum/201-alphauserpoints...s-not-working#106553
Please Log in or Create an account to join the conversation.
14 years 6 months ago #108447
by RedHeron
Understanding is a three-edged sword.
Replied by RedHeron on topic Re: AlphaUSerPoints Problem
Yeah... it's not working, flatly. I've posted my config in like 3-4 different threads and I have a live site that I just upgraded to Joomla 1.7, Kunena 1.7, and AUP 1.6.4, along with UddeIM 2.5.
NOTHING works to make it go. I've been looking through the code, but my lack of knowledge about both Kunena's and Joomla's APIs does tend to hinder things.
I'm looking for a hack to fix it, and I may actually resort to the one in this thread.
NOTHING works to make it go. I've been looking through the code, but my lack of knowledge about both Kunena's and Joomla's APIs does tend to hinder things.
I'm looking for a hack to fix it, and I may actually resort to the one in this thread.
Understanding is a three-edged sword.
The following user(s) said Thank You: TAR_Loki
Please Log in or Create an account to join the conversation.
14 years 6 months ago #109037
by TAR_Loki
Replied by TAR_Loki on topic Re: AlphaUSerPoints Problem
I`ve got the same problem!
Can anyone help us?
Can anyone help us?
Please Log in or Create an account to join the conversation.
Time to create page: 0.229 seconds