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


Please Register to get full access to the forums.
Post New Thread  Reply



#1   01-02-2007, 03:13 AM
Posts: n/a
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
Quote   |  



#2   01-02-2007, 11:21 AM
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>
Quote   |  



#3   01-02-2007, 06:28 PM
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
Quote   |  



#4   01-03-2007, 01:40 AM
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.
Quote   |  



#5   01-03-2007, 04:22 AM
Posts: n/a


Brent, no problem

I have ask help on VBseo community here

Very thanks, Bye!
Quote   |  



#6   01-13-2007, 02:57 AM
Posts: n/a


Did you get this working for you?
Quote   |  



#7   02-01-2007, 10:12 AM
Przemysław Rejf will become famous soon enough Join Date: Jan 2007 Posts: 3


Modification looking good, one minus - no installation instructions.

Any install instructions ?
Quote   |  



#8   02-01-2007, 02:21 PM
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.
Quote   |  



#9   02-06-2007, 02:19 AM
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)
Quote   |  



#10   02-06-2007, 03:36 AM
Posts: n/a


Very nice
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin SEO Tips and SEO Questions


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
Moving posts from one thread into a different thread. Lampwick vBulletin Questions 4 06-03-2008 04:00 PM
Link change to Title of Link AjEe vBulletin Questions 2 04-29-2007 08:48 PM
test thread Brandon General Discussion 0 11-26-2006 03:23 AM


All times are GMT -6. The time now is 08:13 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory