Not Solved deleting certain info from certain user postbit_classic
#1
Not Solved
I need help with this. I am trying to per say, delete the signature, postcount, etc fields from a specific user. I have been attempting this in the postbit_classic to no avail. Help please???

mybb 1.8.5
Reply
#2
Not Solved
(2015-10-20, 09:57 PM)GregOnMybb Wrote: I need help with this. I am trying to per say, delete the signature, postcount, etc fields from a specific user. I have been attempting this in the postbit_classic to no avail. Help please???

mybb 1.8.5

Are you trying to disable certain fields from a specific user or a whole user group?
[Image: axolis.png]

Project, Portfolio and Product management for freelancers.
Reply
#3
Not Solved
Im not trying to disable, but keep from showimg up on a post as sort of an admin treat. ; P(certain users)

Not trying to restrict anything
Reply
#4
Not Solved
(2015-10-20, 10:10 PM)GregOnMybb Wrote: Im not trying to disable, but keep from showimg up on a post as sort of an admin treat. ; P(certain users)

Not trying to restrict anything

You can try the Template Conditionals plugin, you can't use PHP in the template without a plugin.
[Image: axolis.png]

Project, Portfolio and Product management for freelancers.
Reply
#5
Not Solved
alright, ill try that and get back if it works or not, thanks

ok, so apare tly, thats not a plugin. Any other suggestions?
Reply
#6
Not Solved
I'm still confused. In order to delete the {$post['usertitle']} from a specific user for example, I need to do this via functions_user.php or is there a simpler way to do this because I'm lazy unfortunatly. I'm just not sure where exactly I need to be.
Reply
#7
Not Solved
First install the Template Conditionals plugin as suggested above and then use a conditional to check the user's uid and hide the variable you want..

<if $mybb->user['uid'] != XXX then>
{$post['usertitle']}
</if>

where XXX is the UID of the user for whom it should be hidden...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#8
Not Solved
thank you, it works now. I was looking for the plugin in the acp because I'm dumb.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)