stuck at assign a function for specific usergroup
#1
Hello,
i was actually developing a Aio monthly post counter plugin which should count monthly posts of the specified group's user(there postcounts should be shown in their profile fields,postbits[only  those selected group's users only*])
till now i came to this function:
http://pastebin.com/aAkBsvyV


there i tried with admin's postcount.
but don't know how to add like
if $user is in == specified usergroup then {
function postcount () for him
}
and i tried to show the posts (using {$posts}) in the template but failed :/
anyone can help ?
Discord: Prince#4000
Reply


Messages In This Thread
stuck at assign a function for specific usergroup - by HMR - 2016-09-04, 04:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)