- Posts: 12
- 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 third-party extensions (e.g. JomSocial, Community Builder, etc.) 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, the ideas in these topics may 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, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.
Question Display Post Count?
- joomlamanisdaman
-
Topic Author
- Offline
- New Member
-
Less
More
16 years 2 weeks ago #45161
by joomlamanisdaman
Display Post Count? was created by joomlamanisdaman
I've been browsing these forums for about an hour trying to find a similar question and haven't seen one yet, so am going to post it here. While there are lots of posts asking how to display the posts in the activity stream, I haven't found one asking how to display the actual post count in the profile...
A lot of times, post count is a measure of authority and I'd like the users to be able to see it in JomSocial. What code would I need to add to make this possible?
It'll probably be something similar to this:
All help is appreciated! Thanks!
A lot of times, post count is a measure of authority and I'd like the users to be able to see it in JomSocial. What code would I need to add to make this possible?
It'll probably be something similar to this:
Code:
<?php
$myuserid = $user->id;
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
require_once ($api_AUP);
$query = "SELECT
points
FROM jos_alpha_userpoints
WHERE
userid = " . $myuserid ;
$db =& JFactory::getDBO();
$db->setQuery( $query );
$row = $db->loadObject();
$mypoints = $row->points + $user->_points;
?>
All help is appreciated! Thanks!
Please Log in or Create an account to join the conversation.
16 years 1 week ago #45830
by WinuxFF
Replied by WinuxFF on topic Re: Display Post Count?
Maybe its going to sound a bit crazy to you, but how do you plan to echo kunena posts count using alphauserpoints code?
I myself am very interested in this but will probably wait for Kunena 1.6 where API "should" allow for these modifications to be done via plugins or simple, much easier hacks.
I myself am very interested in this but will probably wait for Kunena 1.6 where API "should" allow for these modifications to be done via plugins or simple, much easier hacks.
Please Log in or Create an account to join the conversation.
- joomlamanisdaman
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
16 years 1 week ago #46120
by joomlamanisdaman
Replied by joomlamanisdaman on topic Re: Display Post Count?
Well, you can do it with Community Builder, so there must be a way to do with JomSocial...
Please Log in or Create an account to join the conversation.
16 years 1 week ago #46123
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: Display Post Count?
Maybe this is something best asked at the
JomSocial support forum
? :dry:
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
16 years 1 week ago #46215
by WinuxFF
Replied by WinuxFF on topic Re: Display Post Count?
Have you ever tried to look how Communuty Builder done that?
Oh, wait, let me save you from reverse engineering. It would be beyond many users do that by themselves. Thats why i said, wait for 1.6 API to see what is going to bring to us, and maybe, just maybe we can hook for it via plugin, or much simpler hack.
Oh, wait, let me save you from reverse engineering. It would be beyond many users do that by themselves. Thats why i said, wait for 1.6 API to see what is going to bring to us, and maybe, just maybe we can hook for it via plugin, or much simpler hack.
Please Log in or Create an account to join the conversation.
- joomlamanisdaman
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
16 years 1 week ago - 16 years 1 week ago #46221
by joomlamanisdaman
Replied by joomlamanisdaman on topic Re: Display Post Count?
Thanks for the replies guys. I've posted in the JomSocial forum as well, but I don't expect to have any luck.
I know it's probably difficult but there were a few things that caught me off guard.
Isn't the number of posts stored in a database? I mean, doesn't it seem strange that JomSocial can display each individual post that a user makes but can't give a count of the total number of posts...?
Anyway, thanks for the help.
I'll see what the people over at JomSocial say.
P.S. Any idea as to when 1.6 is coming out?
I know it's probably difficult but there were a few things that caught me off guard.
Isn't the number of posts stored in a database? I mean, doesn't it seem strange that JomSocial can display each individual post that a user makes but can't give a count of the total number of posts...?
Anyway, thanks for the help.
P.S. Any idea as to when 1.6 is coming out?
Last edit: 16 years 1 week ago by joomlamanisdaman.
Please Log in or Create an account to join the conversation.
Time to create page: 0.248 seconds