MyBB - display content on profile only if ? is filled - Printable Version +- Makestation (https://makestation.net) +-- Forum: Technical Arts (https://makestation.net/forumdisplay.php?fid=45) +--- Forum: Web Design & Internet (https://makestation.net/forumdisplay.php?fid=62) +---- Forum: MyBB Related (https://makestation.net/forumdisplay.php?fid=120) +---- Thread: MyBB - display content on profile only if ? is filled (/showthread.php?tid=1299) |
MyBB - display content on profile only if ? is filled - Harry K. - December 18th, 2014 I can't seem to work out how to only display certain content only if multiple custom profile fields have been filled in. The custom profile fields are: - Ad BG Image - Ad Name(1 word) - Ad link if all of these fields are filled in, I want it to show the content, however if only 1 or 2(or none) of them are, I don't want it to display. I know this can be done in PHP, but I suck at that, haha, so I need some guidance. Basically it would be something like this(I think): PHP Code: <?php The content that I want putting in there, is as follows: Code: <div class="ui dimmable image" id="dim" style="float:right;margin-top:20px;"> RE: MyBB - display content on profile only if ? is filled - Darth-Apple - December 18th, 2014 I think that has been suggested elsewhere as well. Not sure it's really possible without a plugin, but I could be mistaken. That would be a silly thing to have to do a plugin for. RE: MyBB - display content on profile only if ? is filled - Harry K. - December 19th, 2014 Wouldn't you be able to do it with the php in templates plugin? |