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 1 month ago - 17 years 1 month ago #8760 by mett
Hello

I post this message on AlphaPlug forum also, but no response, maybe i will have more luck here :)

In Fireboard user get points only for one rule, depend on his action. So if post a new message, get 1 point, post a reply, get another 1 point. Now in Kunena for each new post user get 2 points, like he post 2 new messages or better say he post a new message and reply in same action :)

aniphreak, can you please check?


Thank you
Last edit: 17 years 1 month ago by mett.

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

More
17 years 1 month ago #8904 by spaceclown
I am running Jommla 1.5.8 and K 1.0.8. When I post my css is gone. I get white screen with a few links and avatar. I replaced the post.php in the default template with the one in the zip and then the one in the zip with the corrections in this thread and still nothing. Any help would be appreciated.

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

More
17 years 1 month ago #9094 by spaceclown

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

More
17 years 1 month ago #9102 by mett
Download Kunena archive and replace post.php in com_kunena/template/default, see if solve the problem. Then, to add Alphauserpoints, search for following in post.php file :

$pid = $database->insertId();

// now increase the #s in categories only case approved


before add:


// 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_newtopic_kunena' );

}
// aup kunena ny aniphreak


This code is only if you want to add same value for points when user add a new message or reply. If you want to add different points, then use code bellow, but be aware that when user add a new message and both rules are active he will get points for both rules, so if you have 1 point for new message and 2 for reply , user will get 3 points. If only reply, will get 2 points


search for:

$pid = $database->insertId();

// now increase the #s in categories only case approved

Before that add:

// 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
{


Search for

if ($thread == 0)
{
//if thread was zero, we now know to which id it belongs, so we can determine the thread and update it


Before that add:


// 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_newtopic_kunena' );

}
// aup kunena ny aniphreak


Thank you

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

More
17 years 1 week ago #13463 by sudobashnet
4k55 wrote:

cferron wrote:

I told you... get the latest post.php
here

www.kunena.com/forum?func=view&catid=6&i...mit=10&start=10#5472


I got... Where does it show how many points someone has during when they read post? Is that allowed or do they manullay see it through the user point cp part?

Its on the points board (you'd have to make a menu item for it)

Otherwise you can add it to your components/com_kunena/template/<template name>/message.php wherever you want it:
Code:
<div class = "viewcover"> <?php $database->setQuery("SELECT points FROM jos_alpha_userpoints WHERE userid = " . $fmessage->userid) ; echo "<b>", $database->loadResult(), " Points", "</b>"; ?> </div>

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

More
17 years 6 days ago - 17 years 6 days ago #13616 by dosonaro
i get this error if i want to save a reply/topic. i use kunena 1.0.9 and joomla 1.5.10

Fatal error: Class 'FBTools' not found in /www/htdocs/w00ad6d8/dosonarocom/components/com_kunena/template/default/post.php on line 224


This is my post.php rafb.net/p/iE1vG824.html
Last edit: 17 years 6 days ago by dosonaro.

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

Time to create page: 0.318 seconds