In my vanilla forum, I want to make these things in the image to be seen in a <div> tag. It must include this :- If anyone hasn't logged in, for him it should show "Sign in". How could I do these things using PHP ?
I assume you want to add this to your mast template so it is shown on every page. Vanilla has some Smarty plugins that make this addition trivial:
For more information, checkout the community wiki on working with Smarty in Vanilla: http://vanillawiki.homebrewforums.net/index.php/Using_Smarty_with_Vanilla
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Please HELP ME !!!