REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sign up notice for guests only..
#1
Okay, first, for this, you'll need this; http://www.mybbcentral.com/thread-1616.html (works on mybb1.6 - just change the compatibility line in the php file).

Then, when you're in the ad manager settings, in the top box "Enable Inline Ads" click enable, and put this code (obviously changing the references to sectorz.com to your own)

Code:
<table border="0" cellspacing="0" cellpadding="6" class="tborder" style="clear: both; border-bottom-width: 0;">
        <tr>
            <td class="thead" colspan="2">
                <div style="float: right;">
                    <span class="smalltext"><strong><a href="member.php?action=register">Register</a> | <a href="member.php?action=login">Login</a></strong></span>
                </div>
                <div>
                    <strong>Register to Remove these Ads</strong>
                </div>
            </td>
        </tr>
        
    </table>
    <div id="posts">
        <!-- start: postbit -->

<a name="advertisement" id="advertisement"></a>
<table border="0" cellspacing="0" cellpadding="6" class="tborder" style="border-top-width: 0; " id="post_157">
    <tbody>
        <tr>
            <td class="tcat">
                <div class="float_left smalltext">
                </div>
                <!-- start: postbit_posturl -->
<div style="float: right; width: auto; vertical-align: top"><span class="smalltext"><strong><a href="#advertisement">Advertisement</a></strong><!-- start: postbit_inlinecheck --> </span></div>
            </td>
        </tr>

        <tr>
            <td class="trow1 ">
                <table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <tr>
                        <td class="post_avatar" width="1" style="">
                            
                        </td>
                        <td class="post_author">
                            <strong><span class="largetext"><a href="member.php?action=register">SectorZ Ad Bot</a></span></strong> <!-- start: postbit_offline -->
<img src="images/buddy_online.gif" title="Online" alt="Online" />
<!-- end: postbit_offline --><br />
                            <span class="smalltext">
                                SectorZ Loves Me!<br />
                                <img src="images/star.gif" border="0" alt="*" /><img src="images/star.gif" border="0" alt="*" /><br />
                                
                            </span>
                        </td>
                        <td class="smalltext post_author_info" width="165">
                            <!-- start: postbit_author_user -->

    <br />
    <!-- start: postbit_warninglevel -->
<br />
<!-- end: postbit_warninglevel -->
<!-- end: postbit_author_user -->
                        </td>
                    </tr>
                </table>
            </td>
        </tr>

        <tr>
            <td class="trow2 post_content ">
                <span class="smalltext"><strong>Register on SectorZ.com to remove this Ad!</strong></span>

                <div class="post_body" id="advertisement">
                    Hey Guest! Looks like you're browsing SectorZ without an account! We reccommend that you <a href="member.php?action=register">Sign Up</a> or <a href="member.php?action=login">Sign In</a> to experience our web site to the fullest extent! This box will disappear when you're logged in :)
                </div>
                
                

            </td>
        </tr>
    </tbody>
</table>

this will add a post type thing to everyone telling them to register, now, for guests only, in the "Exempt Groups Inline" box in the ad settings, put 2,3,4,5,6,7 (as long as 1 is the only group which sees the ads)

That's it, voila, you have an ad after the first post to guests telling them to join up.

[Image: 2010-08-13-02h46_25.png]
Sorry, this is more of a tutorial than a plugin, but I couldn't see a tutorial area.
Reply
#2
Great Tout inline ads never worked for me, hmm wierd maybe on 1.6 they will.
[Image: mybbsig.php]
[Image: mybbsig.php]

Reply
#3
OMG this is very useful.
Thanks! Smile
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Request] Hide Links to Guests blazendevil2 6 4,369 Oct 27, 2010, 03:22 PM
Last Post: xomp
  Sign up rules & profile sections required wcwman18 5 2,584 Sep 03, 2010, 01:25 AM
Last Post: wcwman18
  Get ip/Ban Guests vb-board.com 11 3,438 Jul 09, 2010, 10:49 PM
Last Post: vb-board.com
  Only Guests can view image Rozzy 2 1,706 May 23, 2010, 01:29 PM
Last Post: Rozzy
  A mod that disallows guests to view threads spinning 3 2,448 May 09, 2010, 08:24 PM
Last Post: CometJack

Forum Jump:


Users browsing this thread: 1 Guest(s)