vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How can I eliminate postbit links for guests? (https://vborg.vbsupport.ru/showthread.php?t=309681)

joeychgo 03-19-2014 11:17 PM

if you meant in addition to the earlier.. Ive done it.

now all text in the first post is subject to hover / ul

http://www.lincolnvscadillac.com/for...traight-issues

ozzy47 03-19-2014 11:27 PM

Hmmm, ok back to the drawing board.

joeychgo 03-19-2014 11:30 PM

the goal here is to minimize links off page for guests.

ozzy47 03-19-2014 11:39 PM

Ok was your member action dropdown customized before, or was it stock?

joeychgo 03-19-2014 11:45 PM

stock I believe

ozzy47 03-19-2014 11:48 PM

Ok then replace the entire contents with this:

Code:

<div class="popupmenu memberaction<vb:if condition="$page_class"> {vb:raw page_class}</vb:if>">
    <vb:if condition="$show['guest']">
            <span class="username" style="font-size:{vb:stylevar font.fontSize}{vb:stylevar font.units};
            font-weight:bold;" 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></span>
    <vb:else />
            <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>
    </vb:if>
        <vb:if condition="$show['member']">
                <ul class="popupbody popuphover memberaction_body">
                        <li class="left">
                                <a href="{vb:link member, {vb:raw memberinfo}}" class="siteicon_profile">
                                        {vb:rawphrase view_profile}
                                </a>
                        </li>
                       
                        <li class="right">
                                <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw memberinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1" class="siteicon_forum" rel="nofollow">
                                        {vb:rawphrase view_forum_posts}
                                </a>
                        </li>
                       
                        <vb:if condition="$show['pmlink']">
                        <li class="left">
                                <a href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw memberinfo.userid}" class="siteicon_message" rel="nofollow">
                                        {vb:rawphrase private_message}
                                </a>
                        </li>
                        </vb:if>
                       
                        <vb:if condition="$show['viewblog']">
                        <li class="right">
                                <a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php?{vb:raw session.sessionurl}u={vb:raw memberinfo.userid}" class="siteicon_blog" rel="nofollow">
                                        {vb:rawphrase view_blog_entries}
                                </a>
                        </li>
                        </vb:if>
                       
                        <vb:if condition="$show['homepage']">
                        <li class="left">
                                <a href="{vb:raw memberinfo.homepage}" class="siteicon_homepage">
                                        {vb:rawphrase visit_homepage}
                                </a>
                        </li>
                        </vb:if>
                       
                        <vb:if condition="$show['viewarticles']">
                        <li class="right">
                                <a href="{vb:raw memberinfo.author_list_url}" class="siteicon_article" rel="nofollow">
                                        {vb:rawphrase view_articles}
                                </a>
                        </li>
                        </vb:if>
       
                        <vb:if condition="$show['addfriend']">
                        <li class="left">
                                <a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=buddy&amp;u={vb:raw memberinfo.userid}" class="siteicon_add">
                                        {vb:rawphrase add_as_contact}
                                </a>
                        </li>
                        </vb:if>
       
                        <vb:if condition="$show['emaillink']">
                        <li class="right">
                                <a href="sendmessage.php?{vb:raw session.sessionurl}do=mailmember&amp;u={vb:raw memberinfo.userid}" class="siteicon_email">
                                        {vb:rawphrase send_email}
                                </a>
                        </li>
                        </vb:if>
       
                        <vb:comment><li class="left">
                                <a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw memberinfo.userid}&starteronly=1&searchdate=30&beforeafter=after&contenttype=vBForum_Thread" class="siteicon_email">
                                        30 Days
                                </a>
                        </li></vb:comment>
       
                        {vb:raw template_hook.memberaction_dropdown_items}
                </ul>
        </vb:if>
</div>


joeychgo 03-19-2014 11:54 PM

That worked almost perfectly. only thing is the username is a little smaller then before....

ozzy47 03-20-2014 12:00 AM

Not that I can see on my site, there should be no reason it does that on yours. Since the css is in there:
Code:

style="font-size:{vb:stylevar font.fontSize}{vb:stylevar font.units};
            font-weight:bold;"


joeychgo 03-20-2014 12:04 AM

1 Attachment(s)
see

ozzy47 03-20-2014 12:11 AM

Hmmm, that is strange, care to give me a admin account so I can debug it on your site, as I can not replicate it on mine?


All times are GMT. The time now is 03:13 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.03293 seconds
  • Memory Usage 1,754KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete