Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 If Usergroup and Forum Id than
WINBOY Offline
Member
***
Posts: 71
Joined: Nov 2012
Post: #3
RE: If Usergroup and Forum Id than
I didnt understand bro.
If i put your code before <if than how it will be work?
Please can you post edited code?
thank you.
i tried below code also but result remain same means Proected forum shown under all forums last post.

Code:
1
2
3
4
5
6
if {$mybb->user['usergroup']} = '4,8,9'  &&  {$forum['fid']} = '168,169'  then>
<td>{$forum['lp_avatar']}</td>
<td><span class="smalltext"><a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br/>{$lastpost_date} {$lastpost_time}<br/> {$lastpost_profilelink}</span></td>
	<else> Protected Forum
</if>

(This post was last modified: 01-29-2016 06:36 PM by WINBOY.)
01-29-2016 06:24 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
If Usergroup and Forum Id than - WINBOY - 01-25-2016, 08:05 PM
RE: If Usergroup and Forum Id than - WINBOY - 01-29-2016 06:24 PM

 Standard Tools
Forum Jump: