PDA

View Full Version : Remove profile links from currently active users


Sharingan_Okami
07-29-2014, 06:22 AM
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):

<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:

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

Sharingan_Okami
07-29-2014, 05:47 PM
You want the users listed, just not linked? Just edit the FORUMHOME template to remove it (the red stuff):

<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!