Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin SEO Tips and SEO Questions

Reply 
 
LinkBack Thread Tools Display Modes
Old 01-02-2007, 01:13 AM   #1
jarod1981®
Guest
 
Posts: n/a
Lightbulb Link to this thread

Hi guys!

Please, How is possibile add to each firs post of thread, a function as in this forum, "Link to this thread"?

Thanks
  Reply With Quote

Advertisement [Remove Advertisement]

Old 01-02-2007, 09:21 AM   #2
Brent
Guest
 
Posts: n/a
Here is the code I used. You may have to alter the url if you use a different url structure than I do here.

Let me know if you need help and I will do my best
HTML Code:
<if condition="($post[postcount] == 1 and !$GLOBALS['vbulletin']->GPC['ajax'])">
<div style="padding-top: 5px;"></div>
<div class="box_bl_blue">
   <div class="box_br_blue">
      <div class="box_tl_blue">
         <div class="box_tr_blue">
<table cellspacing="0" cellpadding="5" border="0" width="100%">
<tr>
<td class="smallfont" style="color: #fff; font-weight: bold; text-align: center; vertical-align: middle;">Link To This Thread: <input type="text" name="link" value="http://www.vbulletinzone.com/t$post[threadid]/" size="50">
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</if> 
  Reply With Quote
Old 01-02-2007, 04:28 PM   #3
jarod1981®
Guest
 
Posts: n/a
Hi Brent and very thanks for your kind!

I have a little problem..pardon me :rolleyes:

Example of thread from my forum P2PSIN Italia :

Utility - SubEdit Player build 4056 - P2PSIN Forum Italia

With your code I see the link under as:

http://www.p2psin.net/forum/t8069 (it's don't work)

I try to modify in :

Quote:
<input type="text" name="link" value="http://www.p2psin.net/forum/$post[threadid]-[thread_title].html
But now Link to thread is:

http://www.p2psin.net/forum/8069-[thread_title].html (don't work!)

Please, How Can I modify exactly the code for my forum's url?

Very thanks
  Reply With Quote
Old 01-02-2007, 11:40 PM   #4
Brent
Guest
 
Posts: n/a
I'm not sure how you go about that. What you can do is post on VBSEO and ask the developers how to get the full url. As you can see mine are simple /t4657/ and do not have the forum name and forum title within the url. This means it will take a bit more work to get this to work with your url structure.

VBSEO developers should be able to give you the correct variables to use within postbit to make this happen.
  Reply With Quote
Old 01-03-2007, 02:22 AM   #5
jarod1981®
Guest
 
Posts: n/a
Hello Brent, no problem

I have ask help on VBseo community here

Very thanks, Bye!
  Reply With Quote
Old 01-13-2007, 12:57 AM   #6
Brent
Guest
 
Posts: n/a
Did you get this working for you?
  Reply With Quote
Old 02-01-2007, 08:12 AM   #7
vBulletin Owner
 
Join Date: Jan 2007
Posts: 3
Przemysław Rejf will become famous soon enough
Modification looking good, one minus - no installation instructions.

Any install instructions ?
Przemysław Rejf is offline   Reply With Quote
Old 02-01-2007, 12:21 PM   #8
Brent
Guest
 
Posts: n/a
The code goes into postbit (or postbit_legacy) at the very end. You will have to adjust the style as it uses classes dependent on my style.
  Reply With Quote
Old 02-06-2007, 12:19 AM   #9
Get Shorty
Guest
 
Posts: n/a
Here's my spin on it. It doesn't require any uploaded images and it works fine with quickreply. It's valid XHTML 1.0 transitional too.

Attachment 32

Code:
<!-- Link to this thread -->
<if condition="THIS_SCRIPT == 'showthread' AND  $post[postid] == $GLOBALS['qrfirstpostid']">

<if condition="$show['spacer']">
    </div>
    $spacer_close
</if>

<if condition="$show['spacer']">
    $spacer_open
    <div 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" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody><tr>
    <td class="thead">
        <div align="center">
Link To This Thread: <input type="text" name="link" value="http://forum.alcoholreport.com/t$post[threadid]/" size="50"></input>
        </div>
    </td>
</tr>
</tbody>
</table>
</if>
<!-- / Link to this thread-->
Attached Images
File Type: jpg linkto.jpg (240.6 KB, 27 views)
  Reply With Quote
Old 02-06-2007, 01:36 AM   #10
Brent
Guest
 
Posts: n/a
Very nice
  Reply With Quote
Old 02-06-2007, 01:46 AM   #11
Get Shorty
Guest
 
Posts: n/a
I had to do it that way. I'm terrible with images. :o
  Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > vBulletin SEO Tips and SEO Questions

Tags
link, thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link-bids link directory website for sale Auctions Webmaster Auctions 0 06-23-2009 06:04 AM
Link-bids link directory website for sale Auctions Webmaster Auctions 0 06-13-2009 12:25 PM
Longest Thread in the World, Can we make the longest thread ever Brandon Sheley General Discussion 117 08-17-2008 09:06 PM
hack doing with thread post link megabyte366 Troubleshooting vBulletin Problems 3 06-23-2008 05:27 AM
Moving posts from one thread into a different thread. Lampwick Troubleshooting vBulletin Problems 4 06-03-2008 02:00 PM


All times are GMT -8. The time now is 11:37 AM.