vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Remove profile links from currently active users (https://vborg.vbsupport.ru/showthread.php?t=313312)

Sharingan_Okami 07-29-2014 06:22 AM

Remove profile links from currently active users
 
Hello,

I was wondering if anyone knew how to remove links to user profiles in this area below "currently active users" :
http://puu.sh/avE7e.png

I still want the names to show up, i just don't want the links to their profiles.
Is this possible?

ForceHSS 07-29-2014 10:11 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.

Lynne 07-29-2014 04:02 PM

You want the users listed, just not linked? Just edit the FORUMHOME template to remove it (the red stuff):

Code:

<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
If you do a Search in Templates for class="username", you will find it in several places and you would need to remove it in each place you don't want it linked.

OR, add this to your additional.css:

HTML Code:

a.username {
  pointer-events: none;
  cursor: default;
}


Sharingan_Okami 07-29-2014 05:47 PM

Quote:

Originally Posted by Lynne (Post 2508873)
You want the users listed, just not linked? Just edit the FORUMHOME template to remove it (the red stuff):

Code:

<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>

Thank you so much this is exactly what i wanted :D

Thanks for your help!


All times are GMT. The time now is 10:01 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.00928 seconds
  • Memory Usage 1,720KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (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