vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Page 1 of 4
1 2 3 4 LastLast
Results 1 to 15 of 58

Reduce Bandwidth, Enhance Pagerank [Remove Last Post for Guests]

This is a discussion on Reduce Bandwidth, Enhance Pagerank [Remove Last Post for Guests] within the Template Modifications forums, part of the vBulletin SEO Discussion category; This template mod reduces bandwidth and load but enhances pagerank. So what exactly does this do? - completely removes 'last ...

  1. #1
    Senior Member dutchbb's Avatar
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    786

    Reduce Bandwidth, Enhance Pagerank [Remove Last Post for Guests]

    This template mod reduces bandwidth and load but enhances pagerank.

    So what exactly does this do?
    - completely removes 'last post' table for guests
    - removes links for the reply counter in threadbit (who posted) for guests

    A quick summary; to enhance pagerank you need
    • Incoming links from other websites
    • Incoming links from your homepage to main categories
    • Incoming links from your categories to your articles and topics
    • Linkback on all pages to your homepage
    • Linkback on all pages to your main categories
    • Descriptive, static URL's for content
    • Descriptive, unique titles for all pages
    • Limit outgoing links to other websites [limit, not stop]
    • Limit the amount of links on every page
    • Limit dynamic, rapidly changing links on every page
    • Limit code [vs content]

    This template mod does the bold. The feature 'Last Post' in vBulletin creates a lot of code, duplicate links to the same content and dynamic links. The less useless links and code pages contain, the more chance that high Pagerank will go through links.

    See attachment for instructions (this also works for 3.6.8).
    Attached Files
    Last edited by dutchbb; 08-07-2007 at 03:51 PM.

  2. #2
    Senior Member Code Monkey's Avatar
    Real Name
    Code Monkey
    Join Date
    Aug 2006
    Posts
    780
    That first replace has an <else /> in there that doesn't belong. It would be better to use != and dump the else bit.

    Edit: there are a few other edits that have this as well.

    Nice idea.

  3. #3
    Senior Member dutchbb's Avatar
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    786
    Thanks, I updated the attachment file.
    Last edited by dutchbb; 01-27-2007 at 10:13 AM.

  4. #4
    Member
    Real Name
    Hemanth Jose
    Join Date
    Dec 2006
    Location
    India
    Posts
    96
    Good mod dutchbb. Your comments on PR is also great..

  5. #5
    Member
    Real Name
    Matt
    Join Date
    May 2006
    Location
    NY
    Posts
    51
    thanks for posting this!

  6. #6
    Member c2wueR's Avatar
    Real Name
    c2wueR.Com
    Join Date
    Apr 2007
    Location
    Turkiye
    Posts
    35
    If one day , I setup a vbulletin forum again.I'll use this.
    Does this work on 3.6.5 ?

  7. #7
    Senior Member Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,208
    Blog Entries
    1
    works on 3.6.4 patched to .5
    Are you on Twitter? @BrandonSheley | Social Media blog
    Latest projects: General Forums | TopekaTweetup

  8. #8
    Senior Member MarketTimes's Avatar
    Real Name
    MarketTimes
    Join Date
    Nov 2006
    Location
    On Myspace
    Posts
    173
    Nice! Good work, already installed at my forum.

  9. #9
    Member
    Real Name
    Jay
    Join Date
    May 2007
    Posts
    86
    nice......thanks

  10. #10
    Member
    Real Name
    Jay
    Join Date
    May 2007
    Posts
    86
    i had to revert back, because it messed up my look...on forumhome the last post are was all blank(big gray bar from top to bottom)...same with forumdisplay....

    Peace

  11. #11
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    172
    Used it as well. Thanks.
    It really must have the effects you mentioned.

  12. #12
    Senior Member dutchbb's Avatar
    Real Name
    ---
    Join Date
    Oct 2005
    Location
    Belgium
    Posts
    786
    Quote Originally Posted by JD76 View Post
    i had to revert back, because it messed up my look...on forumhome the last post are was all blank(big gray bar from top to bottom)...same with forumdisplay....

    Peace
    That must mean you skipped a step. Try testing it first on your testboard and be sure to follow every step. Also this was made for a fresh template, so if you have other template changes it might not work.

  13. #13
    Member
    Real Name
    Carter
    Join Date
    Apr 2007
    Posts
    34
    I threw this onto my site as well... mcarterbrown.com

    Seems to work just fine. Thank you for the mod!
    http://www.mcarterbrown.com - My Paintball Forums
    http://www.topbidr.com - My new Ebay Bid Sniper

  14. #14
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    172
    Now I've got a problem:
    Das Ende der Symptombekämpfung
    I've got the name of the forum in 2 columns. Why?
    Where Do I search this fault ... in "search-results"?
    Here it is!

    Thanks a lot!

    Marcel

    PHP Code:
    $stylevar[htmldoctype]
    <
    html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <
    head>
    $headinclude
    <title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
    <if 
    condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
    </head>
    <body>
    $header
    $navbar
    <if condition="$pagenav">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
    <tr valign="bottom">
     <td align="$stylevar[right]">$pagenav</td>
    </tr>
    </table>
    </if>
    <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
    <input type="hidden" name="url" value="$url" />
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="forumid" value="$forumid" />
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
    <tr>
     <td class="tcat" colspan="$threadcolspan" style="font-weight:normal">
     
      <if condition="$show['inlinemod'] AND $search['showposts']"><input name="allbox" style="margin: 0px 0px 0px 5px; padding: 0px; float: right; vertical-align: middle;" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all();" type="checkbox" /></if>
      <span class="smallfont" style="float:$stylevar[right]">
       <if condition="$show['results']">
       <phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
       <br />
       </if>
       <if condition="$show['generated']">
       <phrase 1="$searchtime" 2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
       <else />
       <phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
       </if>
      </span>
      
      <a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
      <span class="smallfont">
      <if condition="$action == 'process'">
       <if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
       <if condition="$displayWords AND $displayUsers">; </if>
       <if condition="$displayUsers">
        <if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
       </if>
      <else />
       <if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if>
      </if>
      <if condition="$displayForums">
       ; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
      </if>
      </span>
     </td>
    </tr>
    <if condition="$displayCommon">
    <tr>
     <td class="thead" style="font-weight: normal" colspan="$threadcolspan">$vbphrase[words_very_common]: $displayCommon</td>
    </tr>
    </if>
    <if condition="$search['showposts']">
    </table>
    $searchbits
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <else />
    $announcebits
    <tr>
     <if condition="$show['threadicons']">
      <td class="thead" colspan="2">&nbsp;</td>
     <else />
      <td class="thead">&nbsp;</td>
     </if> 
     <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
    <!-- START REMOVE LAST POST IN SEARCH RESULTS FOR GUESTS -->
    <if condition="$bbuserinfo[usergroupid] != 1"><td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td></if>
    <!-- END REMOVE LAST POST IN SEARCH RESULTS FOR GUESTS -->
     <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
     <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
     <td class="thead" width="25%">$vbphrase[forum]</td>
     
     <if condition="$show['inlinemod']">
      <if condition="$show['popups']">
       <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
      <else />
       <td class="thead" align="center">
        <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
       </td>
      </if>
     </if> 
     
    </tr>
    <if condition="!$show['results']">
     <!-- show no threads message -->
     <tr>
      <td class="alt1" colspan="$threadcolspan" align="center">
       <div style="padding: 16px">
        <strong>$vbphrase[no_unread_threads]</strong>
       </div>
      </td>
     </tr>
     <!-- end show no threads message -->
    <else />
    $searchbits
    </if>
    <if condition="$show['ajax_js'] AND $show['results']">
     <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
     <script type="text/javascript">
     <!--
     vB_AJAX_Threadlist_Init('threadslist');
     //-->
     </script>
    </if>
    </if>
    <tr>
     <td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]">
      <if condition="$show['results']">
      <span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
      <else />
      &nbsp;
      </if>
     </td>
    </tr>
    </table>
    <if condition="$pagenav">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <tr valign="top">
     <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    </if>
    <if condition="$show['inlinemod']">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <tr valign="top">
     <td align="$stylevar[right]">
      <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
      <strong>$vbphrase[moderation]</strong><br />
      <if condition="!$search['showposts']">
       <select name="do">
        <optgroup label="$vbphrase[option]">
        
         <if condition="$show['deletethread']">
         <option value="deletethread">$vbphrase[delete_threads]</option>
         <option value="undeletethread">$vbphrase[undelete_threads]</option>
         </if>
         
         <if condition="$show['openthread']">
         <option value="open">$vbphrase[open_threads]</option>
         <option value="close">$vbphrase[close_threads]</option>
         </if>
         
         <if condition="$show['approvethread']">
         <option value="approvethread">$vbphrase[approve_threads]</option>
         <option value="unapprovethread">$vbphrase[unapprove_threads]</option>
         </if>
         
         <if condition="$show['movethread']">
         <option value="stick">$vbphrase[stick_threads]</option>
         <option value="unstick">$vbphrase[unstick_threads]</option>
         <option value="movethread">$vbphrase[move_threads]</option>
         <option value="mergethread">$vbphrase[merge_threads]</option>
         </if>
        </optgroup>
        <optgroup label="____________________">
         <option value="viewthread">$vbphrase[view_selected_threads]</option>
         <option value="clearthread">$vbphrase[clear_thread_list]</option>
        </optgroup>
       </select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
       <script type="text/javascript">
       <!--
       inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
       //-->
       </script>
      <else />
       <select name="do">
        <optgroup label="$vbphrase[option]">
         <if condition="$show['managethread']">
         <option value="mergeposts">$vbphrase[merge_posts]</option>
         <option value="moveposts">$vbphrase[move_posts]</option>
         <option value="copyposts">$vbphrase[copy_posts]</option>
         </if>
         
         <if condition="$show['managepost']">
         <option value="deleteposts">$vbphrase[delete_posts]</option>
         <option value="undeleteposts">$vbphrase[undelete_posts]</option>
         </if>
         
         <if condition="$show['approvepost']">
         <option value="approveposts">$vbphrase[approve_posts]</option>
         <option value="unapproveposts">$vbphrase[unapprove_posts]</option>
         </if>
         
         <if condition="$show['approveattachment']">
         <option value="approveattachments">$vbphrase[approve_attachments]</option>
         <option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
         </if>
        </optgroup>
        <optgroup label="____________________">
         <option value="viewpost">$vbphrase[view_selected_posts]</option>
         <option value="clearpost">$vbphrase[clear_post_list]</option>
        </optgroup>
       </select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
       <script type="text/javascript">
       <!--
       inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
       //-->
       </script>
      </if>
      </div>
     </td>
    </tr>
    </table>
    </if>
    </form>
    <br />
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
     <td width="100%">&nbsp;</td>
     <td>$forumjump</td>
    </tr>
    </table>
    <if condition="$show['inlinemod'] AND $show['popups']">
     <div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
      $threadadmin_imod_menu
     </div>
    </if>
    $footer
    </body>
    </html> 

  15. #15
    Senior Member
    Real Name
    Admin
    Join Date
    Nov 2006
    Posts
    172
    I've getting more and more trouble with my users. Many of them don't login because they use the same computer with other people and so they just login from time to time.

    The results for bandwith-reduction aren't that interesting for me. It's the optimization for search-engine which is interesting.
    Can you tell me which templates I have to update for that? I would set back the other templates.
    Here are all the templates, that have to be updated normally:

    template 'FORUMHOME'
    template 'forumhome_forumbit_level2_post'
    template 'FORUMDISPLAY'
    template 'threadbit'
    template 'forumhome_forumbit_level1_post'
    template 'search_results'

    Thanks!