The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How can I eliminate postbit links for guests?
I want to make it so the username in the postbit, is not clickable for guests...
How can I do this? |
#2
|
|||
|
|||
On my board, I have configured the GUEST user permissions so that they cannot view member profiles, or use the search function or view who's on line, etc... So while they can click on a handle and see the drop menu, clicking on any of the links simply brings them to a no permission log in screen that tells them they have to log in or register to see this page. Works fine for me.
|
#3
|
||||
|
||||
its still a link that takes someone to another page. That's not what I want. I want it to not be a link at all for guests.
|
#4
|
||||
|
||||
Then you need to go through all templates and wrap conditions around the <a>-Tags. That dropdown does not only show up in postbit.
|
#5
|
||||
|
||||
Find in postbit template:
HTML Code:
{vb:raw memberaction_dropdown} HTML Code:
<vb:if condition="$show['guest']">{vb:raw post.musername}<vb:else />{vb:raw memberaction_dropdown}</vb:if> |
#6
|
||||
|
||||
that worked except all formatting is gone for the username.
|
#7
|
||||
|
||||
What is happening by doing it that way is removing some of the classes needed for the display. Undo the above edit, then open your memberaction_dropdown template, and find the following:
Code:
<ul class="popupbody popuphover memberaction_body"> Code:
<vb:if condition="$show['member']"> Code:
</ul> Code:
</vb:if> |
#8
|
||||
|
||||
Hmmm.. That kind of worked Ozz --
http://www.lincolnvscadillac.com/for...traight-issues The link to the profile is there but doesn't work unless you right click and open in a new window. Ideally - it wouldn't have a link at all. |
#9
|
||||
|
||||
Ok give me a minute, stay tuned.
|
#10
|
||||
|
||||
OK find this line:
Code:
<a class="username {vb:raw memberinfo.online} popupctrl" href="{vb:link member, {vb:raw memberinfo}}" title="{vb:rawphrase {vb:raw memberinfo['onlinestatusphrase']}, {vb:raw memberinfo.username}}"><strong><vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong></a> Code:
<a class="username {vb:raw memberinfo.online} popupctrl" <vb:if condition="$show['member']">href="{vb:link member, {vb:raw memberinfo}}"</vb:if> title="{vb:rawphrase {vb:raw memberinfo['onlinestatusphrase']}, {vb:raw memberinfo.username}}"><strong><vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong><vb:if condition="$show['member']"></a></vb:if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|