MyBB Community Forums
Invite Message Bar!!! - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Tutorials (https://community.mybb.com/forum-38.html)
+--- Thread: Invite Message Bar!!! (/thread-102667.html)



Invite Message Bar!!! - M.Abbasi - 2011-08-28

Hello guys!
In this topic i want learn a method for showing invite message for your community.

You can use this code for show any message in your forum. (e.g: Prefer a topic, Introduce new services, install Alexa toolbar request (!! Big Grin) , etc)

For use this Codes:
1. Upload "image-bar.png" (Attached it) in "images" directory.
2. Copy this code and paste it in this path:

<a target="_blank" href="member.php?action=register" style="display:block;position:fixed;right:5px;bottom:0px;padding:5px 70px 6px 10px;color:#fff;background:#000;border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0; -moz-opacity:0.7; opacity:0.7;">
Hello There,Guest! For use all services and access to all sections, You should register
</a>

<div style="position:fixed;right:10px;bottom:0px;">
<a target="_blank" href="member.php?action=register"><img src="images/image-bar.png" alt="" /></a>
  • Show For Guests:
    ACP >> Templates >> **Your Template** >> Header Templates >> header_welcomeblock_guest
    and Paste Code after latest line


  • Show For All:
    ACP >> Templates >> **Your Template** >> Footer Templates >> footer

    and Paste codes after this :
    {$lang->powered_by} <a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.<br />
    				<!-- End powered by -->
    				<br />

Now You can view changes in your forum.
Screen Shot: [VIEW]

Image Attached: [DOWNLOAD]


RE: Invite Message Bar!!! - vodka - 2011-09-02

Unable to use the code. its showing a syntrax error.


RE: Invite Message Bar!!! - M.Abbasi - 2011-09-02

Are you sure?
I test it again and it work correct.
Please copy codes to notepad first so copy again from notepad to template!!