vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Remove member links for guests (https://vborg.vbsupport.ru/showthread.php?t=226937)

joyboy2001 10-28-2009 04:24 AM

Remove member links for guests
 
Hi,

I would like to remove links to member profiles from forum index, forumdisplay, forum home and showthread from guest view. This means, that the member name will never be a link, just text for guests.

This would help increase the pagerank flow within my website as PR will never flow to any member pages.

I was thinking, someone could help me with some "if" conditions that I could insert into these pages as instructed that would to the trick for me.

Thanks :)

Lynne 10-28-2009 04:29 AM

The condition would be different depending on the template you are entering the condition into. So, you might want to list the line you want to put the condition around and the template name for the ones you need help with.

joyboy2001 10-28-2009 04:39 AM

er .. I don't know anything about code ... I'm using the default vBulletin style ...

I'm guessing that for the showthread page, I'll need to make the change in postbit.

Lynne 10-28-2009 04:45 AM

In order to remove all those instances, you are going to have to find all the ones you want to remove, no? If you aren't sure what template you are going to have to look in for the code, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.


All times are GMT. The time now is 12:34 AM.

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.01938 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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