Google Adsense in quick reply, reply and new thread

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • taydu
    Senior Member
    • Oct 2006
    • 168

    Google Adsense in quick reply, reply and new thread

    Hi all,

    I would like to know how to edit my template so google adsense will appear on top of quick reply, reply and new thread when it activate (Only show when user click on the the quick reply, reply or when user create a new thread, and when user edit post.)

    Thanks
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Add your code to these templates:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> showthread_quickreply

    Admin CP -> Styles & Templates -> Style Manager -> « » -> New Posting Templates -> newthread

    Admin CP -> Styles & Templates -> Style Manager -> « » -> New Posting Templates -> newreply

    Comment

    • taydu
      Senior Member
      • Oct 2006
      • 168

      #3
      thanks a lot Jake

      Comment

      • taydu
        Senior Member
        • Oct 2006
        • 168

        #4
        Jake Please help!!! please look at the attachment
        Attached Files

        Comment

        • Jake Bunce
          Senior Member
          • Dec 2000
          • 46598
          • 3.6.x

          #5
          Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

          Code:
          </tbody>
          <tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
          <tr>
          	<td class="panelsurround" align="center">
          		<div class="panel">	
          			[color=red]YOUR CODE HERE[/color]
          			<table cellpadding="0" cellspacing="0" border="0" align="center">
          			<tr>
          				<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
          			</tr>
          			<tr>
          				<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
          			</tr>
          			<tr>

          Comment

          • taydu
            Senior Member
            • Oct 2006
            • 168

            #6
            thank a lot Jake, just got a few more problem please take a look at the attachment
            Attached Files

            Comment

            • Jake Bunce
              Senior Member
              • Dec 2000
              • 46598
              • 3.6.x

              #7
              1) You will need to adjust the alignment on your code to be compatible with both browsers. Welcome to the world of browser compatibility issues. For example, try a div:

              Code:
              <div align="center">
              
              <div>
              2) Set a width on your HTML tags. For example:

              Code:
              <div align="center" width="200">
              
              <div>

              Comment

              • Tony-OH
                New Member
                • Sep 2005
                • 11
                • 3.0.6

                #8
                Originally posted by Jake Bunce
                Admin CP -> Styles & Templates -> Style Manager -> « » -> Show Thread Templates -> SHOWTHREAD

                Code:
                </tbody>
                <tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
                <tr>
                    <td class="panelsurround" align="center">
                        <div class="panel">    
                            [COLOR=red]YOUR CODE HERE[/COLOR]
                            <table cellpadding="0" cellspacing="0" border="0" align="center">
                            <tr>
                                <td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
                            </tr>
                            <tr>
                                <td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
                            </tr>
                            <tr>
                I can not find this code in my template. I'm looking in the quick reply, but I don't see <div class="panel"> is. I even used find and it didn't find it either.

                Comment

                • Yours Truly
                  Senior Member
                  • Feb 2007
                  • 377
                  • 3.6.x

                  #9
                  Search for this bit

                  <tbody id="collapseobj_quickreply"

                  Comment

                  • riccardo83
                    New Member
                    • May 2007
                    • 27
                    • 3.7.x

                    #10
                    Thanks for this mod.. but how can I add a Rectangle to the right of the whole Quick Reply Box? Basically right next to the message area?
                    http://www.riccardo-ulpts.com

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...