Not Solved User/guest conditional
#1
Not Solved
Hi guys,

I am using an external shout box provider, but what I would like to know is if I can make this viewable to members only. I know how to do this in vBulletin, just wrap a conditional around the code. My question is, is this same thing available in MyBB?

I've searched and found a post that requires editing a php file, do I really have to do that?

Thanks in advanced!
LTC
Reply
#2
Not Solved
Where do you want to put it? If it's in the header area, I suggest sticking the code in the header_welcomeblock_member.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
Reply
#3
Not Solved
No it's actually in the footer...could try it in the header though, that's a good idea Wink

Thanks,
LTC
Reply
#4
Not Solved
Didn't really like it in the header Sad

Is anyone able to point me in the right direction please Smile Thanks very much in advance.
Reply
#5
Not Solved
I think the only template that is different for guests and members is the welcomeblock, anything else will show the same for everybody and will need some additional code modification, so moved.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#6
Not Solved
Any progress?

Thanks
Reply
#7
Not Solved
You can use my PHP templates (link in signature below).
Wrap it in a conditional, like:
<if $mybb->user['uid'] then>
<!-- code here -->
</if>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)