vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove username href (https://vborg.vbsupport.ru/showthread.php?t=176109)

steveneff 04-14-2008 03:37 PM

Remove username href
 
I would like to remove some of the href username links but still keep the username itself.

This one in the forumhome_lastpostby has got me a bit stuck as I don't see any href yet it has one when displayed in the forum home

Code:

<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

Lynne 04-14-2008 04:40 PM

Maybe try:
<phrase 1="" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>

However, this will give an empty link for the poster.

If you want to totally remove the link, then you need to edit the phrase also:
From: by <a href="{1}" rel="nofollow">{2}</a>
To: by {2}

(this has not been tested by me, so try at your own risk.)

steveneff 04-15-2008 11:03 AM

Thanks for your help Lynne, but I'm still not any closer on this. could not find the phrase were are they?

Lynne 04-15-2008 02:54 PM

Quote:

Originally Posted by steveneff (Post 1491152)
Thanks for your help Lynne, but I'm still not any closer on this. could not find the phrase were are they?

In your Admin CP > Languages & Phrases > Search for Phrase > input "by_x" and make sure "Phrase Variable Name Only" is checked and it should be one of the ones that comes up.

steveneff 04-15-2008 03:25 PM

Perfect, thanks again lynne


All times are GMT. The time now is 07:55 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.01076 seconds
  • Memory Usage 1,715KB
  • 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)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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