Announcement

Collapse
No announcement yet.

Ok, this is a very weird problem saving templates

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

  • Ok, this is a very weird problem saving templates

    I currently have this postbit template saved.

    PHP Code:
    <!-- new postbit -->
    <!-- 
    post #$post[postid] -->
    <if condition="$show['spacer']">
        
    $spacer_open
        
    <div id="edit$post[postid]style="padding:0px 0px $stylevar[cellpadding]px 0px">
        <if 
    condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>    
    </if>
    <
    div class="aria_postbit_spacer"></div>
      <!-- 
    Aria Cat Top Start -->
      <
    table   border="0" cellpadding="0" cellspacing="0"  width="100%"  align="center">
        <
    tr
          <
    td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
          <
    td  height="31" width="80%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div style="color: #496690; font-weight: bold; padding-top: 6px; font-family: Tahoma;"><strong>$post[title]</strong></div></td>
          <
    td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>
          <
    td  align="right" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)"><a style="float:$stylevar[right]; padding-top: 9px;" href="#top" onclick="return toggle_collapse('postbit_$post[postid]')"><img id="collapseimg_postbit_$post[postid]src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a
          </
    td>
          <
    td width="14" height="31" align="right" valign="top"><img border="0" src="$stylevar[imgdir_misc]/top_right.gif" width="14" height="31" alt="" /></td>
        </
    tr>
      </
    table>
      <!-- /
    Aria Cat Top End -->
      
      <
    table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
        <
    tr
          <
    td colspan="2" class="thead" $post[scrolltothis]> <div class="normal" style="float:$stylevar[right]"
              &
    nbsp; <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if><if condition="$show['inlinemod']"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
              
    </if> </div>
            <
    div class="normal"
              <!-- 
    status icon and date -->
              <
    a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" /></a
              <if 
    condition="!$show['announcement']"$post[postdate]<if condition="!$show['detailedtime']">, 
              
    $post[posttime]</if> <else /> <phrase 1="$post[startdate]2="$post[enddate]">$vbphrase[x_until_y]</phrase
              </if> 
    $post[firstnewinsert
              <!-- / 
    status icon and date -->
            </
    div></td>
        </
    tr>
        <
    tr
          <
    td colspan="2"  class="aria_userinfo_bg" style="padding:0px"
            <!-- 
    user info -->
            <
    table cellpadding="0" cellspacing="$stylevar[cellpadding]border="0" width="100%">
              <
    tr> <if condition="$show['avatar']"
                <
    td> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" 
                  
    border="0" /></a> </td>
                </if> 
                <
    td nowrap="nowrap"> <!-- vbPlaza start -->
    <
    div id="postmenu_$post[postid]<if condition="$post['namestyle']">style="$post[namestyle]"</if>>
    <!-- 
    vbPlaza end --><if condition="$show['profile']"



    <if 
    condition="$show['profile']">
        <if 
    condition="$post['glowcolor']"><div id="postmenu_$post[postid]style="filter:Glow(Color=$post[glowcolor],Strength=$post[glowstrength]); width:100%;"><else /><div id="postmenu_$post[postid]"></if>
            <
    class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a
        </
    div>
        <
    div id="postmenu_$post[postid]">
            
    $post[onlinestatus
              <
    script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
        </
    div>
    <else /> 
        <
    div id="postmenu_$post[postid]">
            
    $post[musername]
        </
    div>
    </if>




    <!-- 
    vbPlaza start -->
    <if 
    condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
    <!-- 
    vbPlaza end -->

    <if 
    condition="$post['rank']"
                    <
    div class="smallfont">$post[rank]</div>
                    </if> </if></
    div></td>
                <
    td width="100%">&nbsp;</td>
                <
    td valign="top" nowrap="nowrap"> <div class="smallfont"> <if condition="$post['joindate']"
                    <
    div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon]</div>
                    <if 
    condition="$show['estore_mlb'] or $show['estore_nba'] or $show['estore_nfl'] or $show['estore_nhl'] or $show['estore_nascar']"><div>$post[estore_mlb$post[estore_nba$post[estore_nfl$post[estore_nhl$post[estore_nascar]</div></if>

    <if 
    condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
                    <if 
    condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>

                    <
    div>$vbphrase[join_date]: $post[joindate]</div>
                    </if> <if 
    condition="$post['field2']"
                    <
    div>$vbphrase[location_perm]: $post[field2]</div>
                    </if> <if 
    condition="$post['age']"
                    <
    div>$vbphrase[age]: $post[age]</div>
                    </if> 

                    <
    div$vbphrase[posts]: $post[posts] </div>
    <if 
    condition="$vboptions['vbbux_enabled']">
    <
    div><a href="/forums/vbplaza.php"><phrase 1="$vbphrase[ebux_points]">$vbphrase[vbbux_total_points]</phrase></a>: $post[totalpoints]</div>
    </if>

                    <if 
    condition="$post['userid']">
                      <
    div>iTrader: (<b><a href="/forums/itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total] - $post[itrader_pcnt]%</a></b>)</div>
                    </if>
                    <if 
    condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: 
                    
    $post[reppower] </if> 
                    <
    div>$post[reputationdisplay]</div>
                    </if> </
    div></td>
              </
    tr>
            </
    table>
            <!-- / 
    user info -->
          </
    td>
        </
    tr>
        <
    tr valign="top" id="collapseobj_postbit_$post[postid]style="{$GLOBALS['vbcollapse']['collapseobj_postbit_' $post[postid]]};"
          <
    td colspan="2" class="alt1" id="td_post_$post[postid]"
            <!-- 
    messageattachmentssig -->
            <if 
    condition="$show['messageicon'] OR $post['title']"
            <!-- 
    icon and title -->
            <
    div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]alt="$post[icontitle]border="0" /></if> 
              <if 
    condition="$post['title']"><strong>$post[title]</strong></if> </div>
            <
    hr size="1" style="color:$stylevar[tborder_bgcolor]/>
            <!-- / 
    icon and title -->
            </if> 
            <!-- 
    message -->
            <
    div id="post_message_$post[postid]">$post[message]</div>
            <!-- / 
    message -->
            <if 
    condition="$show['attachments']"
            <!-- 
    attachments -->
            <
    div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_thumbnails]</legend>
              <
    div style="padding:$stylevar[formspacer]px"$post[thumbnailattachments
              </
    div>
              </
    fieldset>
              </if> <if 
    condition="$show['imageattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_images]</legend>
              <
    div style="padding:$stylevar[formspacer]px"$post[imageattachments
              </
    div>
              </
    fieldset>
              </if> <if 
    condition="$show['imageattachmentlink']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_images]</legend>
              <
    table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                
    $post[imageattachmentlinks
              </
    table>
              </
    fieldset>
              </if> <if 
    condition="$show['otherattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_files]</legend>
              <
    table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                
    $post[otherattachments
              </
    table>
              </
    fieldset>
              </if> <if 
    condition="$show['moderatedattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attachments_pending_approval]</legend>
              <
    table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                
    $post[moderatedattachments
              </
    table>
              </
    fieldset>
              </if> </
    div>
            <!-- / 
    attachments -->
            </if> 
    <if 
    condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
            <!-- 
    sig -->
            <
    div__________________<br />
              
    $post[signature] </div>
            <!-- / 
    sig -->
            </if> <if 
    condition="$show['postedited']"
            <!-- 
    edit note -->
            <
    div class="smallfont"
              <
    hr size="1" style="color:$stylevar[tborder_bgcolor]/>
              <
    em> <phrase 1="$post[edit_username]2="$post[edit_date]3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. 
              <if 
    condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> 
              </
    em> </div>
            <!-- / 
    edit note -->
            </if> <
    div align="$stylevar[right]"> </div></td>
        </
    tr>
        <
    tr
          <
    td width="17%" align="$stylevar[left]class="aria_postbit_bl">
            <if 
    condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a>&nbsp;</if>          
              <if 
    condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]border="0" /></a
              &
    nbsp;</if> $post[iplogged]
              </
    td>
          <
    td width="83%" align="$stylevar[right]"  class="aria_postbit_br"> <!-- controls -->
            <if 
    condition="$post['editlink']"> <a href="$post[editlink]name="vB::QuickEdit::$post[postid]id="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a>    
            </if> <if 
    condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]border="0" /></a>    
            </if> <if 
    condition="$post['replylink']"> <a href="$post[replylink]rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" 
            
    alt="$vbphrase[reply_with_quote]border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"
            <
    a href="$post[replylink]rel="nofollow" id="qr_$post[postid]onClick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]border="0" /></a>    
            </if> <if 
    condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]border="0" />    
            </if> 
            <!-- / 
    controls --></td>
        </
    tr>
      </
    table>

      
      <!-- 
    post $post[postidpopup menu -->
    <
    div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
        <
    table cellpadding="4" cellspacing="1" border="0">
        <
    tr>
            <
    td class="thead">$post[username]</td>
        </
    tr>
        <if 
    condition="$show['profile']">
            <
    tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
        </if>
        <if 
    condition="$show['pmlink']">
            <
    tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
        </if>
        <if 
    condition="$show['emaillink']">
            <
    tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
        </if>
        <if 
    condition="$show['homepage']">
            <
    tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
        </if>
        <if 
    condition="$show['search']">
            <
    tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
        </if>
        <if 
    condition="$post['userid'] AND $show['member']">
        <
    tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
        </if>
        <
    tr><td class="vbmenu_option"><a href="/memberrides/browseimages.php?do=member&imageuser=$post[userid]"><phrase 1="$post[username]">$vbphrase[see_my_ride]</phrase></a></td></tr>
        </
    table>
    </
    div>
    <!-- / 
    post $post[postidpopup menu -->
    <!-- 
    Aria Categoty Bottom -->
        <
    table width="100%" border="0" cellpadding="0" cellspacing="0">
          <
    tr>
            <
    td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
            <
    td  width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
            <
    td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
          </
    tr>
        </
    table>
       <!-- /
    Aria Categoty Bottom -->
       
    <if 
    condition="$show['spacer']">
        </
    div>
        
    $spacer_close
    </if>
    <!-- / 
    post #$post[postid] -->
    <!-- end new postbit --> 
    I made a few changes and go to save, but it just hangs and never saves. This is the changed template.

    PHP Code:
    <!-- new postbit -->
    <!-- 
    post #$post[postid] -->
    <if condition="$show['spacer']">
     
    $spacer_open
     
    <div id="edit$post[postid]style="padding:0px 0px $stylevar[cellpadding]px 0px">
     <if 
    condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if> 
    </if>
    <
    div class="aria_postbit_spacer"></div>
      <!-- 
    Aria Cat Top Start -->
      <
    table   border="0" cellpadding="0" cellspacing="0"  width="100%"  align="center">
        <
    tr
          <
    td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
          <
    td  height="31" width="80%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div style="color: #496690; font-weight: bold; padding-top: 6px; font-family: Tahoma;"><strong>$post[title]</strong></div></td>
          <
    td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>
          <
    td  align="right" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)"><a style="float:$stylevar[right]; padding-top: 9px;" href="#top" onclick="return toggle_collapse('postbit_$post[postid]')"><img id="collapseimg_postbit_$post[postid]src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a
          </
    td>
          <
    td width="14" height="31" align="right" valign="top"><img border="0" src="$stylevar[imgdir_misc]/top_right.gif" width="14" height="31" alt="" /></td>
        </
    tr>
      </
    table>
      <!-- /
    Aria Cat Top End -->
      
      <
    table class="tborder" id="post$post[postid]cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
        <
    tr
          <
    td colspan="2" class="thead" $post[scrolltothis]> <div class="normal" style="float:$stylevar[right]"
              &
    nbsp; <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if><if condition="$show['inlinemod']"><input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" onclick="inlineMod.toggle(this)" />
              
    </if> </div>
            <
    div class="normal"
              <!-- 
    status icon and date -->
              <
    a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" /></a
              <if 
    condition="!$show['announcement']"$post[postdate]<if condition="!$show['detailedtime']">, 
              
    $post[posttime]</if> <else /> <phrase 1="$post[startdate]2="$post[enddate]">$vbphrase[x_until_y]</phrase
              </if> 
    $post[firstnewinsert
              <!-- / 
    status icon and date -->
            </
    div></td>
        </
    tr>
        <
    tr
          <
    td colspan="2"  class="aria_userinfo_bg" style="padding:0px"
            <!-- 
    user info -->
            <
    table cellpadding="0" cellspacing="$stylevar[cellpadding]border="0" width="100%">
              <
    tr> <if condition="$show['avatar']"
                <
    td> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" 
                  
    border="0" /></a> </td>
                </if> 
                <
    td nowrap="nowrap"

    <if 
    condition="$show['profile']">
     <if 
    condition="$post['namestyle']"><div id="postmenu_$post[postid]style="$post['namestyle']"><else /><div id="postmenu_$post[postid]"></if>
      <
    class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a
     </
    div>
     <
    div id="postmenu_$post[postid]">
      
    $post[onlinestatus
        <
    script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
     </
    div>
    <else /> 
     <
    div id="postmenu_$post[postid]">
      
    $post[musername]
     </
    div>
    </if>




    <!-- 
    vbPlaza start -->
    <if 
    condition="$post['usertitle']"><div class="smallfont" <if condition="$post['titlestyle']">style="$post[titlestyle]"</if>>$post[usertitle]</div></if>
    <!-- 
    vbPlaza end -->

    <if 
    condition="$post['rank']"
                    <
    div class="smallfont">$post[rank]</div>
                    </if> </if></
    div></td>
                <
    td width="100%">&nbsp;</td>
                <
    td valign="top" nowrap="nowrap"> <div class="smallfont"> <if condition="$post['joindate']"
                    <
    div>$post[icqicon$post[aimicon$post[msnicon$post[yahooicon]</div>
        <if 
    condition="$show['estore_mlb'] or $show['estore_nba'] or $show['estore_nfl'] or $show['estore_nhl'] or $show['estore_nascar']"><div>$post[estore_mlb$post[estore_nba$post[estore_nfl$post[estore_nhl$post[estore_nascar]</div></if>

    <if 
    condition="$post['giftsdisplay']"><div class="smallfont">$post[giftsdisplay]</div></if>
        <if 
    condition="$post['ribbonsdisplay']"><div class="smallfont">$post[ribbonsdisplay]</div></if>

                    <
    div>$vbphrase[join_date]: $post[joindate]</div>
                    </if> <if 
    condition="$post['field2']"
                    <
    div>$vbphrase[location_perm]: $post[field2]</div>
                    </if> <if 
    condition="$post['age']"
                    <
    div>$vbphrase[age]: $post[age]</div>
                    </if> 

                    <
    div$vbphrase[posts]: $post[posts] </div>
    <if 
    condition="$vboptions['vbbux_enabled']">
    <
    div><a href="/forums/vbplaza.php"><phrase 1="$vbphrase[ebux_points]">$vbphrase[vbbux_total_points]</phrase></a>: $post[totalpoints]</div>
    </if>

                    <if 
    condition="$post['userid']">
                      <
    div>iTrader: (<b><a href="/forums/itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total] - $post[itrader_pcnt]%</a></b>)</div>
                    </if>
                    <if 
    condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: 
                    
    $post[reppower] </if> 
                    <
    div>$post[reputationdisplay]</div>
                    </if> </
    div></td>
              </
    tr>
            </
    table>
            <!-- / 
    user info -->
          </
    td>
        </
    tr>
        <
    tr valign="top" id="collapseobj_postbit_$post[postid]style="{$GLOBALS['vbcollapse']['collapseobj_postbit_' $post[postid]]};"
          <
    td colspan="2" class="alt1" id="td_post_$post[postid]"
            <!-- 
    messageattachmentssig -->
            <if 
    condition="$show['messageicon'] OR $post['title']"
            <!-- 
    icon and title -->
            <
    div class="smallfont"> <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]alt="$post[icontitle]border="0" /></if> 
              <if 
    condition="$post['title']"><strong>$post[title]</strong></if> </div>
            <
    hr size="1" style="color:$stylevar[tborder_bgcolor]/>
            <!-- / 
    icon and title -->
            </if> 
            <!-- 
    message -->
            <
    div id="post_message_$post[postid]">$post[message]</div>
            <!-- / 
    message -->
            <if 
    condition="$show['attachments']"
            <!-- 
    attachments -->
            <
    div style="padding:$stylevar[cellpadding]px"> <if condition="$show['thumbnailattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_thumbnails]</legend>
              <
    div style="padding:$stylevar[formspacer]px"$post[thumbnailattachments
              </
    div>
              </
    fieldset>
              </if> <if 
    condition="$show['imageattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_images]</legend>
              <
    div style="padding:$stylevar[formspacer]px"$post[imageattachments
              </
    div>
              </
    fieldset>
              </if> <if 
    condition="$show['imageattachmentlink']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_images]</legend>
              <
    table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                
    $post[imageattachmentlinks
              </
    table>
              </
    fieldset>
              </if> <if 
    condition="$show['otherattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attached_files]</legend>
              <
    table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                
    $post[otherattachments
              </
    table>
              </
    fieldset>
              </if> <if 
    condition="$show['moderatedattachment']"
              <
    fieldset class="fieldset">
              <
    legend>$vbphrase[attachments_pending_approval]</legend>
              <
    table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
                
    $post[moderatedattachments
              </
    table>
              </
    fieldset>
              </if> </
    div>
            <!-- / 
    attachments -->
            </if> 
    <if 
    condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
            <!-- 
    sig -->
            <
    div__________________<br />
              
    $post[signature] </div>
            <!-- / 
    sig -->
            </if> <if 
    condition="$show['postedited']"
            <!-- 
    edit note -->
            <
    div class="smallfont"
              <
    hr size="1" style="color:$stylevar[tborder_bgcolor]/>
              <
    em> <phrase 1="$post[edit_username]2="$post[edit_date]3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>. 
              <if 
    condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if> 
              </
    em> </div>
            <!-- / 
    edit note -->
            </if> <
    div align="$stylevar[right]"> </div></td>
        </
    tr>
        <
    tr
          <
    td width="17%" align="$stylevar[left]class="aria_postbit_bl">
      <if 
    condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a>&nbsp;</if>    
        <if 
    condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]border="0" /></a
              &
    nbsp;</if> $post[iplogged]
        </
    td>
          <
    td width="83%" align="$stylevar[right]"  class="aria_postbit_br"> <!-- controls -->
            <if 
    condition="$post['editlink']"> <a href="$post[editlink]name="vB::QuickEdit::$post[postid]id="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a
            </if> <if 
    condition="$post['forwardlink']"> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]border="0" /></a
            </if> <if 
    condition="$post['replylink']"> <a href="$post[replylink]rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" 
            
    alt="$vbphrase[reply_with_quote]border="0" /></a> </if> <if condition="$show['quickreply'] AND !$show['threadedmode']"
            <
    a href="$post[replylink]rel="nofollow" id="qr_$post[postid]onClick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]border="0" /></a
            </if> <if 
    condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]border="0" /> 
            </if> 
            <!-- / 
    controls --></td>
        </
    tr>
      </
    table>

     
      <!-- 
    post $post[postidpopup menu -->
    <
    div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
     <
    table cellpadding="4" cellspacing="1" border="0">
     <
    tr>
      <
    td class="thead">$post[username]</td>
     </
    tr>
     <if 
    condition="$show['profile']">
      <
    tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
     </if>
     <if 
    condition="$show['pmlink']">
      <
    tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
     </if>
     <if 
    condition="$show['emaillink']">
      <
    tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
     </if>
     <if 
    condition="$show['homepage']">
      <
    tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
     </if>
     <if 
    condition="$show['search']">
      <
    tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
     </if>
     <if 
    condition="$post['userid'] AND $show['member']">
     <
    tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
     </if>
     <
    tr><td class="vbmenu_option"><a href="/memberrides/browseimages.php?do=member&imageuser=$post[userid]"><phrase 1="$post[username]">$vbphrase[see_my_ride]</phrase></a></td></tr>
     </
    table>
    </
    div>
    <!-- / 
    post $post[postidpopup menu -->
    <!-- 
    Aria Categoty Bottom -->
        <
    table width="100%" border="0" cellpadding="0" cellspacing="0">
          <
    tr>
            <
    td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
            <
    td  width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
            <
    td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
          </
    tr>
        </
    table>
       <!-- /
    Aria Categoty Bottom -->
       
    <if 
    condition="$show['spacer']">
     </
    div>
     
    $spacer_close
    </if>
    <!-- / 
    post #$post[postid] -->
    <!-- end new postbit --> 
    If I paste back the template that was there, it saves fine.
    This is very weird to say the least. Only thing I can think of is that it's getting stuck in the validator thing it does to check if syntax is ok.

    ANy ideas?

    Derek

  • #2
    What version of vBulletin are you using?
    I think there was a bug regarding this not too long ago.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      currently @ 3.5.1 with secuity fixes up to 3.5.3

      Comment


      • #4
        Try applying the fix posted here: http://www.vbulletin.com/forum/bugs3...2020&status=20
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment

        Loading...
        Working...
        X