View Single Post
  #41  
Old 03-18-2012, 11:16 AM
pvelkov pvelkov is offline
 
Join Date: Jan 2012
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's easier to publish the code here then answer each PM individually.

As an attachment you can find a screenshot of the platform where I made the modification.

You can see working example (in Bulgarian, unfortunately) on this page.

The installation process remains the same, except of the code:


Code:
<vb:if condition="$post['isfirstshown'] AND $show['guest']">
<ul>
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

    <div class="posthead">
        <span class="postdate old"><span class="date"><a href="register.php" style="color:#FFFFFF; text-decoration:underline;">(No Advertising after the first post? Register now for free!)</a></span></span><span class="nodecontrols">#0</span>
    </div>

    <div class="postdetails">
        <div class="userinfo">
            <div class="username_container">
              
                <div class="popupmenu memberaction">
                    <a class="username online popupctrl" href="register.php" title="Register now and stop seeing ads!"><strong>Google AdSense</strong>&nbsp;</a>
                </div>

                <img class="inlineimg onlinestatus" src="images/statusicon_custom/user-online.png" alt="Google is online" border="0" title="Google is online">
            </div>

            <span class="usertitle">Advertising from Google</span>

            <a class="postuseravatar" title="Google is online"><img src="images/google.png"  alt="Advertising from Google" title="Advertising from Google" /></a>

            <hr>
            <dl class="userinfo_extra"> 
         <dt>Joined in</dt>
         <dd>Dec 2007</dd>
         <dt>Address</dt>
         <dd>Google.com</dd>
        </dl>
            
        </div>
        <div class="postbody">
           <br />
           &nbsp;&nbsp;<!- Your Google Adsense Code with any size -->
         <div class="cleardiv"></div>
        </div>
    </div>
        <div class="postfoot">
            <div class="textcontrols floatcontainer">
                <span class="postcontrols">&nbsp;</span>
            </div>
        </div>
    <hr />
</li>
</ul>
</vb:if>

The code in red you may change/adapt to your needs.


Good luck!
Attached Images
File Type: jpg adsense_bga.jpg (115.4 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01144 seconds
  • Memory Usage 1,796KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete