MyBB Community Forums

Full Version: Help me , !
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have a question, how can I make the Threads and Posts number visible when I control who can see the forum posting, is it possible?

because when I change the permission, the Posts and Thread numbers disappear and only one line is visible

[Image: pmtNa67.png]
use template conditional plugin
(2021-10-01, 08:53 AM)PARADOXP Wrote: [ -> ]use template conditional plugin

Hi , thanks info , but and where do i find it? or how to?
This is the link for that plugin :- http://mybbhacks.zingaburga.com/showthread.php?tid=464
(2021-10-02, 12:38 AM)PARADOXP Wrote: [ -> ]This is the link for that plugin :- http://mybbhacks.zingaburga.com/showthread.php?tid=464


I installed it, but the same problem, when I want a certain class not to see the thread, but the posts number verb, then it does not happen


[Image: 2021-10-02-133451.png]
man ! see the instructions given in the page that i shared with you. You will know how to use it. Just by installing and doing nothing , your problems not gonna solved , you have to use the conditionals as well.

For extra information see this page :-
https://community.mybb.com/thread-31860.html
(2021-10-02, 12:05 PM)PARADOXP Wrote: [ -> ]man ! see the instructions given in the page that i shared with you. You will know how to use it. Just by installing and doing nothing , your problems not gonna solved , you have to use the conditionals as well.

For extra information see this page :-
https://community.mybb.com/thread-31860.html


I read it carefully and pasted the code into Posbit, but no change, can you help?
what was the code that you pasted ?
(2021-10-02, 05:31 PM)PARADOXP Wrote: [ -> ]what was  the code that you pasted ?


{$post['user_details']}

<if $post['fid5'] then>
Your game tag is <func htmlspecialchars_uni>{$post['fid5']}</func>
<elseif $post['fid6'] and $mybb->user['cancp'] then>
This user's lucky number is <func intval>{$post['fid6']}</func>
<else />Some other profile field: {$post['fid7']}</if>

<?php echo "Hi from PHP"; ?>
if you want to hide the contents from guests then you can simply use
 <if $GLOBALS['mybb']->user['usergroup'] == 1 then><else> your content </if>
or if you want to hide that from only some users then replace usergroup with 'uid' and == the uid number. 
Pages: 1 2