vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Disable View Single Post (https://vborg.vbsupport.ru/showthread.php?t=215295)

SledgeHead 06-04-2009 12:25 AM

Disable View Single Post
 
I'm having other websites link to individual posts on my forum. This is unsatisfactory to me because A) They don't get to see the actual layout of the forum and what we have to offer B) The Register link is hidden. This makes it very, very hard to get new members and is really only giving me people that look at this one post and then disappear.

I am wondering if there is an easy way to disable the links to individual posts. If so, how do I do it?

Lynne 06-04-2009 02:48 AM

How would you disable links on other sites to your posts? If you don't like the links in your threads, you could unlink it so it is harder to get the url to. Just change this line (in postbit/postbit_legacy):
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>
To:
HTML Code:

<if condition="$show['postcount']">#<strong>$post[postcount]</strong> &nbsp;</if>
But, like I said, you can't do anything about the links already out there on other sites.

SledgeHead 06-04-2009 05:36 AM

Quote:

Originally Posted by Lynne (Post 1823111)
But, like I said, you can't do anything about the links already out there on other sites.

Right. ;) I would like to remove them from future use. I'll give it a try. Thanks much. :)

--------------- Added [DATE]1244099254[/DATE] at [TIME]1244099254[/TIME] ---------------

I tried this and didn't see any changes.

Lynne 06-04-2009 02:11 PM

Which postbit are you using on your site? Did you do this to both postbits? The code I wrote only make the post number in the upper right corner (#4, #5, etc) non-clickable. I'm not sure what else you would want done on your site regarding this issue.

SledgeHead 06-04-2009 07:50 PM

I had put it in Postbit Legacy before (I'm a novice so I don't know what all that means or does), but this time I tried it in Postbit and it worked. Thanks.

I appreciate the help.

Silver Tiger 06-04-2009 08:16 PM

Quote:

Originally Posted by SledgeHead (Post 1823540)
I had put it in Postbit Legacy before (I'm a novice so I don't know what all that means or does), but this time I tried it in Postbit and it worked. Thanks.

I appreciate the help.

Postbit legacy is how you see the postbit sideways (hoizontally) and postbit_legacy is going down (similar to vb.org)

Haha I use legacy :P


All times are GMT. The time now is 01:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01073 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete