Results 1 to 11 of 11

[Need support] what is code for permalink

This is a discussion on [Need support] what is code for permalink within the Template Modifications forums, part of the vBulletin SEO Discussion category; Dear vbseo support i use modified template for my first post only in postbit, you can look it here The ...

  1. #1
    Senior Member basketmen's Avatar
    Real Name
    richie
    Join Date
    Dec 2006
    Location
    SEO Specialist
    Posts
    173
    Liked
    0 times

    [Need support] what is code for permalink

    Dear vbseo support


    i use modified template for my first post only in postbit, you can look it here The Best Email Provider - indonesia indonesia



    but it have problem,


    like you see that modified template dont have (permalink) like this behind #1

    so it looks like this





    and this is a normal postbit







    What i need to added code so (permalink) will be behind #1 again?







    This is the template for first post only

    <!-- 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>

    <table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="thead" colspan="4" $post[scrolltothis] align="center">
    <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 style="float:$stylevar[left]" name="post$post[postid]">
    <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />&nbsp;
    </a>
    $post[firstnewinsert]
    <!-- / status icon and date -->
    <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>
    </td>
    </tr>
    <tr>
    <td class="alt2" rowspan="3" width="75" style="vertical-align:top;">
    <img class="inlineimg" src="images/firstpost.gif" alt="" border="0" />
    </td>
    <td class="alt2">
    <table>
    <tr>
    <td>
    <strong>Last Seen :</strong> $post[postdate]
    </td>
    </tr>
    <tr>
    <td>
    <if condition="$show['detailedtime']">
    <strong>Post Time : </strong> $post[posttime]
    </if>
    </td>
    </tr>
    </table>
    </td>
    <td class="alt2">
    <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="Report Bad Submition" border="0" />
    </a>
    </if>
    </td>
    <td class="alt2" rowspan="3">
    <table>
    <tr>
    <td>
    <!-- user info -->
    <div id="postmenu_$post[postid]">
    <if condition="$show['profile']">
    <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
    <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
    <else />
    $post[musername]
    </if>
    </div>
    <if condition="$post['usertitle']">
    <div class="smallfont">
    $post[usertitle]
    </div>
    </if>
    <if condition="$post['rank']">
    <div class="smallfont">
    $post[rank]
    </div>
    </if>
    <if condition="$show['avatar']">
    <div class="smallfont">
    <a href="member.php?$session[sessionurl]u=$post[userid]">
    <img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
    </div>
    </if>
    <!-- user info -->
    </td>
    </tr>

    </table>
    </td>
    </tr>
    <tr>
    <td class="alt1" style="vertical-align:top;">
    <div class="normal">
    <!-- status icon and date -->
    $post[onlinestatus]
    $post[iplogged]
    </div>
    </td>
    <td class="alt1">
    <div class="normal">
    <!-- status icon and date -->
    <if condition="$show['reputationlink']">
    <a href="#" onclick="reputation($post[postid]); return false;">
    <img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" />
    </a>
    </if>
    <if condition="$show['reputation']">
    <if condition="$show['reppower']">
    <a style="float:$stylevar[left]" name="~">$vbphrase[reppower]: $post[reppower]
    </if>
    $post[reputationdisplay]&nbsp;</a>
    </if>
    </div>
    </td>
    </tr>


    <tr>
    <td class="alt2">
    <if condition="$show['postedited']">
    <strong>Last Update:</strong> $post[edit_date], $post[edit_time]
    <else />
    <strong>Last Update:</strong>&nbsp;None
    </if>
    </td>
    <td class="alt2">
    <if condition="$thread['rating']">
    <span style="float:$stylevar[center]">
    <strong>Rating:</strong>
    <img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
    </span>
    <else />
    <strong>Rating:</strong>&nbsp;None
    </if>
    </td>
    </tr>
    <!-- / user info -->
    <tr style="vertical-align: top">
    <td class="alt1" colspan="3" id="td_post_$post[postid]">
    <table width="100%">
    <tr width="100%">
    <td width="100%">
    <!-- message -->
    <div id="post_message_$post[postid]">$post[message]</div>

    </td>
    </tr>
    <tr>
    <td width="100%">
    <!-- attachments -->
    <if condition="$show['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['moderatedattachment']">
    <fieldset class="fieldset">
    <legend>$vbphrase[attachments_pending_approval]</legend>
    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
    $post[moderatedattachments]
    </table>
    </fieldset>
    </if>
    </if>
    </div>
    <!-- / attachments -->
    </td>
    </tr>
    <tr>
    <td>
    <if condition="$show['attachments']">
    <!-- attachments -->
    <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>
    <!-- / attachments -->
    </if>
    </td>
    </tr>
    </table>
    <!-- / message -->
    </td>
    <td class="alt1" align="center" width="250">
    <div align="left">
    <fieldset style="border: 1px dashed #99CCFF; height: 300px;" ><legend>Profile and Contact:</legend>
    <table>
    <tr>
    <td>
    <div class="smallfont">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
    </td>
    </tr>
    <tr>
    <td>
    <div class="smallfont">
    <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
    </div>
    </td>
    </tr>
    <tr>
    <td>
    <div class="smallfont">
    <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
    </div>
    </td>
    </tr>
    <tr>
    <td>
    <div class="smallfont">
    <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
    <div>
    </td>
    </tr>
    <tr>
    <td>
    <div class="smallfont">
    $vbphrase[posts]: $post[posts]
    </div>
    </td>
    </tr>
    </table>
    </fieldset>
    </div>
    </td>
    </tr>
    <!-- / attachments -->
    <!-- message, attachments, sig -->

    <tr>
    <td class="alt2" colspan="4" align="left">
    <div class="normal" style="float:$stylevar[right]"> &nbsp; <if condition="$post['editlink']">
    <a href="$post[editlink]" name="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> </div>

    </td>
    </tr>
    </table>
    <!-- post $post[postid] popup 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&amp;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&amp;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&amp;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&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
    </table>
    </div>
    <!-- / post $post[postid] popup menu -->


    <if condition="$show['spacer']">
    </div>
    $spacer_close
    </if>
    <!-- / post #$post[postid] -->

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member basketmen's Avatar
    Real Name
    richie
    Join Date
    Dec 2006
    Location
    SEO Specialist
    Posts
    173
    Liked
    0 times
    Hmm i had enter <!--PERMALINK_INFO--> code like instruction here to add permalink manual The vBSEO LinkBacks User Guide - vBSEO 3.0 GOLD



    but still no permalink in my firstpost postbit The Best Email Provider - indonesia indonesia






    So this is code in my firstpost postbit after i add <!--PERMALINK_INFO--> code, is that right?



    HTML Code:
    <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> &nbsp;</if>
       <!--PERMALINK_INFO-->
       <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>

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    do you have a special template for the first post? vBSEO supports permalinks in standard vBulletin's templates only (postbit/postbit_legacy).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Senior Member basketmen's Avatar
    Real Name
    richie
    Join Date
    Dec 2006
    Location
    SEO Specialist
    Posts
    173
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    do you have a special template for the first post? vBSEO supports permalinks in standard vBulletin's templates only (postbit/postbit_legacy).
    Yup you are right, i use special template for the first post from this hack First post on every page of thread. - vBulletin.org Forum



    is there any permalink code so i can added for manual in special post bit template?


    is this code right : <!--PERMALINK_INFO-->


  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    No, currently no-standard templates are not processed by vBSEO (i.e., vBSEO doesn't look for permalink replacements in templates other than postbit(_legacy)).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    Senior Member basketmen's Avatar
    Real Name
    richie
    Join Date
    Dec 2006
    Location
    SEO Specialist
    Posts
    173
    Liked
    0 times
    hmm yup i understand now permalink will only shown in postbit/postbit legacy template


    any professional sugestion for this?


    i just affraid no permalink in first post will impact for my site rank in search engine, but i need the template too (but seo is still the most important)





    thanks for the support

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you can try to manually add the link like:
    HTML Code:
    <a href="showthread.php?p=$post[postid]">permalink</a>
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  9. #9
    Senior Member basketmen's Avatar
    Real Name
    richie
    Join Date
    Dec 2006
    Location
    SEO Specialist
    Posts
    173
    Liked
    0 times
    dear oleg thanks for your support, please see here

    The Best Email Provider - indonesia indonesia


    is it permalink in first post was right? (i mean permalink function there is right?)


    i use this code completing from your code above

    (<a href=$_SERVER[VBSEO_URI]#post$post[postid] title="Link to this post">permalink</a>)


    i hope its usefull for another customer that have problem like me

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Looks good.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  11. #11
    Member
    Real Name
    Levi
    Join Date
    Nov 2007
    Posts
    30
    Liked
    0 times
    Exactly, what is "permalink" ? could i hide this link to my users?

Similar Threads

  1. to clean code or not to clean code, that is the question
    By kidmercury in forum Troubleshooting
    Replies: 3
    Last Post: 11-11-2005, 03:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •