Announcement

Collapse
No announcement yet.

Advertising Fails to Save to Templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Advertising Fails to Save to Templates

    Vbulletin 4.2.3

    When I edit an ad in the Advertising and click "Save", everything appears to work properly. It goes through its cycle and says it has saved successfully.
    When I check the appropriate forums, nothing has been updated. If I go back and check the "Advertising", it shows the update.
    When I check the template it does not show the update.

    Where should I start

    It seems to be a problem with Styles, the "Advertising" is writing to the "Default Style" only, I don't see that I have a choice, probably my fault, but I don't see where I can choose to write to my custom style. When attempting to edit, I go to "Manage Ads", leave it on "Page: Global", "Below Navbar", but it only writes to the Default Style.

    I am looking at the template code in my default style and I am suspicious of the
    Code:
    </vb:if>
    Code:
    <div id="ad_global_below_navbar">
    
    <vb:if condition="$vbulletin->GPC['forumid'] == 81">
    <br />
    <table align="center" border="3" class="alt1" >
      <tr>
        <td colspan="11" bgcolor="#FFFF33" align="center"><i><font color="#666666" size="2"><b>Identification, VIN, Trim, Engine Specs and more...</b>&nbsp;</font></i></td>
      </tr>
      <tr>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/50.php" onmouseover="window.status='1950 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'50&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/51.php" onmouseover="window.status='1951 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'51&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/52.php" onmouseover="window.status='1952 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'52&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/53.php" onmouseover="window.status='1953 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'53&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/54.php" onmouseover="window.status='1954 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'54&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/55.php" onmouseover="window.status='1955 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'55&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/56.php" onmouseover="window.status='1956 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'56&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/57.php" onmouseover="window.status='1957 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'57&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/58.php" onmouseover="window.status='1958 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'58&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/59.php" onmouseover="window.status='1959 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'59&nbsp;</font></a></td>
        <td align="center" rowspan="3" bgcolor="#FFFF99"><a href="http://www.teambuick.com/reference/years/open.php" onmouseover="window.status='More Great Buicks!' ; return true"><font face="Verdana,arial" size="-1">&nbsp;o&nbsp;<br />&nbsp;p&nbsp;<br />&nbsp;e&nbsp;<br />&nbsp;n&nbsp;</font></a></td>
      </tr>
      <tr>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/60.php" onmouseover="window.status='1960 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'60&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/61.php" onmouseover="window.status='1961 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'61&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/62.php" onmouseover="window.status='1962 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'62&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/63.php" onmouseover="window.status='1963 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'63&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/64.php" onmouseover="window.status='1964 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'64&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/65.php" onmouseover="window.status='1965 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'65&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/66.php" onmouseover="window.status='1966 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'66&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/67.php" onmouseover="window.status='1967 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'67&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/78.php" onmouseover="window.status='1978 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'78&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/69.php" onmouseover="window.status='1969 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'69&nbsp;</font></a></td>
      </tr>
      <tr>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/70.php" onmouseover="window.status='1970 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'70&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/71.php" onmouseover="window.status='1971 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'71&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/72.php" onmouseover="window.status='1972 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'72&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/73.php" onmouseover="window.status='1973 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'73&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/74.php" onmouseover="window.status='1974 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'74&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/75.php" onmouseover="window.status='1975 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'75&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/76.php" onmouseover="window.status='1976 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'76&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/77.php" onmouseover="window.status='1977 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'77&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/68.php" onmouseover="window.status='1968 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'68&nbsp;</font></a></td>
        <td align="center" bgcolor="#FFFF99" width="44"><a href="http://www.teambuick.com/reference/years/79.php" onmouseover="window.status='1979 Facts Figures and resources' ; return true"><font face="Verdana,arial" size="-1">&nbsp;'79&nbsp;</font></a></td>
      </tr>
    </table>
    <div align="center"><i>Canadian car identification here: Serial Numbers</i> <a href="http://www.teambuick.com/forums/content.php?341-Canadian-Buick-Car-Serial-Numbers-1935-1964">1935-1964</a> | <a href="http://www.teambuick.com/forums/content.php?342-Canadian-Buick-Car-Serial-Numbers-1965-1966">1965-1966</a><br />and more information in the <a href="http://www.teambuick.com/reference/index.php">reference section here.</a></div>
    <vb:if condition="$adsshown[] = 14">
    </vb:if>
    </vb:if>
    
    <vb:if condition="in_array($vbulletin->GPC['forumid'], array(138,91,76,93,154,92,94,161,151,-1))"><table width="600" border="0" align="center" cellpadding="5" >
      <tr>
        <td>
            <div align="left">
              <ul>
                <li><a href="http://www.teambuick.com/reference/ident_engine.php">- Buick Engine Identification, by the numbers</a></li>
                <li><a href="http://www.teambuick.com/reference/ident_eng_visual.php">- Visually Identifying a 1960's or '70's GM engine</a></li>
                <li><a href="http://www.teambuick.com/reference/casting_numbers_big_block.php">- Big Block Buick Casting Numbers</a></li>
                <li><a href="http://www.teambuick.com/reference/casting_numbers_nailhead.php">- Buick Nailhead Casting Numbers</a></li>
                <li><a href="http://www.teambuick.com/reference/casting_numbers_small_block.php">- Buick Small Block Casting Numbers</a></li>
              </ul>
            </div>
        </td>
        <td><div align="right"><a href="http://performancedistributors.com/product-category/distributors/gm-distributors/"><img src="http://teambuick.com/images/banners/perf-dist-1.png" /></a></div>
        </td>
      </tr>
    </table>
    
    <vb:if condition="$adsshown[] = 20">
    </vb:if>
    </vb:if>
    
    <vb:if condition="$vbulletin->GPC['forumid'] == 172">
    <form action="dbtclassifieds.php?do=listing&action=newlisting" method="post" class="block column50">
        <h2 class="blockhead">Submit New Classifieds Listing</h2>
        <div class="blockbody formcontrols settings_form_border">
            <h3 class="blocksubhead">Select Category</h3>
            <div class="section categoryselection" rel="0">
    <img src="http://www.teambuick.com/images/for-sale2.png" alt="Buick Parts For Sale!" title="Buick Parts For Sale!" height="150" align="right" width="200">
                <br /><label for="category" class="full">- Please select the Category of the listing you want to use.<br />
    <dfn>- When selecting the Category, any sub Categories will be loaded automatically below to be selected from.</dfn><br /> </label><br />
                <select class="primary" name="categoryid" tabindex="2" id="category">
                    <option value="0" selected="selected">Select Category</option><option value="6" rel="5" >For Sale!</option><option value="5" rel="5" >Wanted</option>
                </select>
            </div>
    
        </div>
        <div class="blockfoot actionbuttons settings_form_border">
            <div class="group">
                <input type="submit" class="button" name="sbutton" id="save" value="New Listing" accesskey="s" tabindex="1" />
                <input type="hidden" name="s" value="">
    
                <input type="hidden" name="action" value="newlisting">
                <input type="hidden" name="securitytoken" value="1463541290-f9d4db79afbe466b9bc1a267d0eff8cabae5ec68" />
                <input type="hidden" name="do" value="listing">
                <input type="hidden" name="listingtypeid" value="1">
            </div>
        </div>
    </form>
    
    <vb:if condition="$adsshown[] = 24">
    </vb:if>
    </vb:if>
    
    <table width="80%" align="center" bgcolor="#FFFF33" border="0" cellpadding="10">
      <tr>
        <td><div align="center">Want to skip being a "Newbie",<a href="http://www.teambuick.com/forums/payments.php">click here!.</a></div>&nbsp;<b>WELCOME TO TEAM BUICK!</b><br />
        &nbsp;<i>Now that you have joined us, here are are a few things that will help make you comfortable...</i><br />
        <ol>
        <li>&nbsp;-&nbsp;Go to our <a href="http://www.teambuick.com/forums/forumdisplay.php?142-WELCOME-forum!">WELCOME FORUM</a> and make an introductory posting. This will help you be comfortable with the board.</li>
        <li>&nbsp;-&nbsp;Go to your "My Profile" (found in the upper right of this page), explore the convenience of your personal area of the site! Scroll down the left side and find "Albums", upload a picture of your project or ride.</li>
        <li>&nbsp;-&nbsp;Have a look through the "Reference" section, found using the tab in the top menu.</li>
        </ol>    
        </td>
      </tr>
    </table>
    <br />
    
    <vb:if condition="$adsshown[] = 26">
    </vb:if>
    
    <vb:if condition="$vbulletin->GPC['forumid'] == 155">
    <div class="above_threadlist" style="float:right;">        
        <a class="newcontent_textcontrol" href="vbrides_usercp.php?do=addedit" rel="nofollow"><span>+</span> Create New Ride</a>
                </div>
    <vb:if condition="$adsshown[] = 27">
    </vb:if>
    </vb:if>
    
    <vb:if condition="$vbulletin->GPC['forumid'] == 79"><table align="center" border="0" cellpadding="5" >
      <tr>
        <td  bgcolor="#FFFF33" >
         <ol>
            <li><a href="https://www.teambuick.com/reference/sp400_64-67.php">1964-1967 SP400 Parts Images</a></li>
            <li><a href="https://www.teambuick.com/reference/sp_400_wiring.php">How to wire the Switch Pitch on a Buick Transmission</a></li>
    <li><a href="https://www.teambuick.com/reference/auto_400_codes.php">400 auto codes</a></li>
            <li><a href="https://www.teambuick.com/reference/ident_automatic.php">BOP Bellhousings and Automatic Identification</a></li>
          </ol>
    </td>
      </tr>
    </table>
    <vb:if condition="$adsshown[] = 29">
    </vb:if>
    </vb:if>
    </div>
    Last edited by rcull; Sun 30 Jul '17, 11:50am.

  • #2
    I occasionally get this too.

    For me clicking the 'Save' button again after 'It has gone through its cycle and says it has saved successfully'.... the second 'save' always corrects it.
    I'm not saying this will work for you but give it a try.

    Comment


    • #3
      Tried a second save every way I can figure, but no luck I also messed around with the
      Code:
      </vb:if>
      , but it only save correctly the way it is.

      or...
      it could be that it won't save to any template that has had any formatting modified to make it more legible. Probably.
      This would mean that editing this location will probably only be able to be done manually from now on.
      Last edited by rcull; Sun 30 Jul '17, 1:07pm.

      Comment

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