Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Custom Permalink On Postbit Details »»
Custom Permalink On Postbit
Version: 1.00, by aveon aveon is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 3.6.5 Rating:
Released: 04-07-2007 Last Update: Never Installs: 24
 
No support by the author.

Hey Guys,


Discription:
this code will add a direct link to that message on postbit....


Steps:

open postbit_legacy/postbit template

Find
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]">$post[postcount]</a>)</if> &nbsp;
Add Below
HTML Code:
&nbsp;(<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;#post$postid" rel="nofollow">permalink</a></strong>)&nbsp;
i hope u like it...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-02-2007, 07:42 PM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is nice, but don't work in a thread with many pages..

Read this link to get a solution.
Reply With Quote
  #23  
Old 06-12-2008, 02:24 AM
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
Posts: 1,156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on VB 3.7.1 as well thanks.
Reply With Quote
  #24  
Old 06-19-2008, 07:08 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are the Prmalinks listed? I checked according to the instructions and can't find them. TIA.
Reply With Quote
  #25  
Old 07-31-2008, 06:48 PM
shooter83 shooter83 is offline
 
Join Date: Dec 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigwest View Post
True, I noticed that.

However, if the permalink is clicked on page 200 of a thread why would it go to page #1, post#1?

It's funny because the hack seemed to work for me the first couple times when I tried it on threads with only a couple pages.

Also.... it's funny because I still run one vBulletin that is really old, (2.3.4) and it seems to have this feature built in (I can't remember hacking it). Anyway, I love this feature I hope I can make it work on my 3.6.5.
Quote:
Originally Posted by Stickers View Post
I got the same problem...
I like the idea, but have uninstall it cause it dont work 100% for me

thanks...
Quote:
Originally Posted by bigwest View Post
Hmmmmm... it seemed like this kinda worked for me but most of the time when you clicked the permalink it would take you to the first post in the thread.
i changed the code and it's working flawlessly on multable thread pages now:

Code:
&nbsp;(<strong><a href="showthread.php?$session[sessionurl]p=$postid&amp;#post$postid" rel="nofollow">permalink</a></strong>)&nbsp;
Reply With Quote
  #26  
Old 03-20-2009, 08:47 PM
Chunky Monkey Chunky Monkey is offline
 
Join Date: Oct 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to get $pagenumber into scope in postbit or postbit_legacy template? If we could do that then we could get permalinks pointing to particular pages within a thread and then jumping to the appropriate post via an anchor, instead of permalinking to particular posts. This would likely help with seo because, assuming people linked to posts on a page, the links would all be to the same page, rather than to different posts on the same page.

$pagenumber is available in SHOWTHREAD but not postbit_legacy where I need it to accomplish this. Any ideas how I can get it into scope?
Reply With Quote
  #27  
Old 03-22-2009, 06:57 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fungsten View Post
Where are the Prmalinks listed? I checked according to the instructions and can't find them. TIA.
Anyone?

Aveon, please conact me. For VB 3.8.1 PL1 there are different codes in the emples you have to search for to make it show up. TIA.
Reply With Quote
  #28  
Old 04-19-2012, 04:33 PM
paktvsite paktvsite is offline
 
Join Date: Jan 2012
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I searched and can't find this code.

Quote:
<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]">$post[postcount]</a>)</if> &nbsp;
i am using 4.1.10
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04498 seconds
  • Memory Usage 2,285KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete