- Posts: 24
- 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
Question Will this work?
16 years 10 months ago #19121
by sanderson
Will this work? was created by sanderson
Just found this:
www.bestofjoomla.com/component/option,co...w/id,51774/catid,68/
Will this work for kunena? would their be a way to integrate with out hacking the forum?
www.bestofjoomla.com/component/option,co...w/id,51774/catid,68/
Will this work for kunena? would their be a way to integrate with out hacking the forum?
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19122
by Matias
Replied by Matias on topic Re: Will this work?
It should work in Kunena without any changes.
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19136
by sanderson
Replied by sanderson on topic Re: Will this work?
Thank you
, I just gave it a quick try and it doesn't seem to work this was the code I used:
I changed the the "LIMIT 1" to "LIMIT 100" assuming this was the post count? and the award id to 3 my account has 164 posts and I just made a new one but no new award, any ideas?
thank you again.
Code:
$database->setQuery("select posts FROM jos_fb_users WHERE userid={$my->id} LIMIT 100");
$jupdate=$database->loadResult();
echo $database->getErrorMsg();
if($jupdate==5){
$database->setQuery("INSERT INTO jos_jawards_awards (id,userid,award,date,reason) VALUES($my->id, 3,DATE(CURRENT_TIMESTAMP),'Posting required amount of times in forums')");
$database->query();
echo $database->getErrorMsg();
}
I changed the the "LIMIT 1" to "LIMIT 100" assuming this was the post count? and the award id to 3 my account has 164 posts and I just made a new one but no new award, any ideas?
thank you again.
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19232
by sanderson
Replied by sanderson on topic Re: Will this work?
Opps im using the latest version (not 1.5)
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19249
by Matias
Replied by Matias on topic Re: Will this work?
Changing limit has no effect, as it will change the number of users, but the query only fetches one.
That query adds avard only if post count = 5..
That query adds avard only if post count = 5..
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19270
by sanderson
Replied by sanderson on topic Re: Will this work?
Don't worry fixed it this code is wrong, i have now changed it!
Please Log in or Create an account to join the conversation.
Time to create page: 0.213 seconds