vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - BBR - Useful Links on Member Action Dropdown. (https://vborg.vbsupport.ru/showthread.php?t=230901)

eTiKeT? 03-05-2010 05:45 AM

Very Nice Thank You
Added Tükçe xml

İnstalled ...

Retal 04-10-2010 02:29 PM

Quote:

Originally Posted by cloferba (Post 1950397)
this space is what i mean

http://img412.imageshack.us/img412/3775/71966726.jpg
left..default vbulletin space

right, space between options using this mod

Hi, I found out the reason for the larger padding.
Turns out the code is not exactly the same.
Whereas in the original template each link has this structure
HTML Code:

<li><img><a></a></li>
this mod uses a slight variation
HTML Code:

<li><a><img></a></li>
Here are the updated templates for version 1.04 with the original structure (and smaller padding):
memberaction_dropdown_by_bbr
HTML Code:

<div class="popupmenu memberaction<vb:if condition="$page_class"> {vb:raw page_class}</vb:if>">
        <a class="username {vb:raw memberinfo.online} popupctrl" href="{vb:link member, {vb:raw memberinfo}}" title="{vb:rawphrase x_is_y_now, {vb:raw memberinfo.username}, {vb:raw memberinfo.online}}"><strong><vb:if condition="$memberinfo['musername']">{vb:raw memberinfo.musername}<vb:else />{vb:raw memberinfo.username}</vb:if></strong></a>
        <ul class="popupbody popuphover memberaction_body">
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/profile.png" alt="" />
                        <a href="{vb:link member, {vb:raw memberinfo}}">
                                {vb:rawphrase view_profile}
                        </a>
                </li>

                <vb:if condition="$vbulletin->options['bbr_useful_post']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="" />
                        <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw memberinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1" rel='nofollow'>       
                                {vb:rawphrase view_forum_posts}
                        </a>
                </li>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_addfriend']">
                <vb:if condition="$show['addfriend']">
                <li class="left">
                                <img src="{vb:stylevar imgdir_siteicons}/add.png" alt="" />
                                <a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=buddy&amp;u={vb:raw memberinfo.userid}">
                                {vb:rawphrase add_as_contact}
                        </a>
                </li>
                </vb:if>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_threads']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/search.png" alt="" />
                        <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw memberinfo.userid}&amp;starteronly=1&amp;contenttype=vBForum_Post" rel="nofollow">
                                {vb:phrase bbr_show_all_threads}
                        </a>
                </li>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_ignore']">
                <vb:if condition="$show['member']">
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/x.png" alt="" />
                        <a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=ignore&amp;u={vb:raw memberinfo.userid}" rel="nofollow">
                                {vb:phrase bbr_ignore}
                        </a>
                </li>
                </vb:if>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_albums']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/photo.png" alt="" />
                        <a href="album.php?{vb:raw session.sessionurl}u={vb:raw memberinfo.userid}" rel="nofollow">
                                {vb:phrase bbr_show_all_albums}
                        </a>
                </li>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_pmlink']">
                <vb:if condition="$show['pmlink']">
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/message.png" alt="" />
                        <a href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw memberinfo.userid}" rel='nofollow'>
                                {vb:rawphrase private_message}
                        </a>
                </li>
                </vb:if>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_email']">
                <vb:if condition="$show['emaillink']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/message.png" alt="" />
                        <a href="sendmessage.php?{vb:raw session.sessionurl}do=mailmember&amp;u={vb:raw memberinfo.userid}" rel='nofollow'>
                                {vb:rawphrase send_email}
                        </a>
                </li>
                </vb:if>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_homepage']">
                <vb:if condition="$show['homepage']">
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="" />
                        <a href="{vb:raw memberinfo.homepage}" rel="nofollow">
                                {vb:rawphrase visit_homepage}
                        </a>
                </li>
                </vb:if>
                </vb:if>
                <vb:if condition="$vbulletin->options['bbr_useful_viewfriends']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/network.png" alt="" />
                        <a href="member.php?{vb:raw session.sessionurl}u={vb:raw memberinfo.userid}&tab=friends" rel="nofollow">
                                {vb:phrase bbr_all_friends}
                        </a>
                </li>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_articles']">
                <vb:if condition="$show['viewarticles']">
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/article.png" alt="" />
                        <a href="list.php/author/{vb:raw memberinfo.userid}-{vb:raw memberinfo.username}" rel='nofollow'>
                                {vb:rawphrase view_articles}
                        </a>
                </li>
                </vb:if>
                </vb:if>

                <vb:if condition="$vbulletin->options['bbr_useful_blog']">
                <vb:if condition="$show['viewblog']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/blog.png" alt="" />
                        <a href="blog.php?{vb:raw session.sessionurl}u={vb:raw memberinfo.userid}" rel='nofollow'>
                                {vb:rawphrase view_blog_entries}
                        </a>
                </li>
                </vb:if>
                </vb:if>

                {vb:raw template_hook.memberaction_dropdown_items}

        </ul>
</div>

memberaction_dropdown_manage_bbr
HTML Code:

                <vb:if condition="$vbulletin->options['bbr_useful_admin_active']">
                <vb:if condition="is_member_of($vbulletin->userinfo, 5, 6)">
                <li class="left">&nbsp;</li>
                <li class="left"><b>Manage User</b>:</li>

                <vb:if condition="$post[usergroupid] == '8'">
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/subscribe.png" alt="" />
                        <a href="{vb:raw modcpdir}/banning.php?do=liftban&userid={vb:raw post.userid}">
                                {vb:phrase bbr_removeban}
                        </a>
                </li>
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/moderation.png" alt="" />
                        <a href="{vb:raw modcpdir}/banning.php?do=editreason&userid={vb:raw post.userid}">
                                {vb:phrase bbr_edit_banreason}
                        </a>
                </li>
                <vb:else />
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/delete.png" alt="" />
                        <a href="{vb:raw modcpdir}/banning.php?do=banuser&userid={vb:raw post.userid}">
                                {vb:phrase bbr_ban}
                        </a>
                </li>
                </vb:if>

                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" />
                        <a href="{vb:raw modcpdir}/user.php?do=editsig&userid={vb:raw post.userid}">
                                {vb:phrase bbr_edit_sig}
                        </a>
                </li>

                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" />
                        <a href="{vb:raw modcpdir}/user.php?do=avatar&userid={vb:raw post.userid}">
                                {vb:phrase bbr_edit_avatar}
                        </a>
                </li>

                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" />
                        <a href="{vb:raw modcpdir}/user.php?do=profilepic&userid={vb:raw post.userid}">
                                {vb:phrase bbr_edit_profilepic}
                        </a>
                </li>


                <vb:if condition="$show['admincplink']">
                <li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" />
                        <a href="{vb:raw admincpdir}/user.php?do=editaccess&u={vb:raw post.userid} ">
                                {vb:phrase bbr_edit_forumperm}
                        </a>
                </li>
                <li class="left">
                        <img src="{vb:stylevar imgdir_siteicons}/settings.png" alt="" />
                        <a href="moderator.php?do=useroptions&u={vb:raw post.userid}">
                                {vb:phrase bbr_edit_options}
                        </a>
                </li>
                </vb:if>



                </vb:if>
                </vb:if>

Thank you for the mod, BBR. Installed.

Furcal15 04-11-2010 07:48 PM

Awesome, thank you!

aaronrand 04-16-2010 04:55 PM

Quote:

Originally Posted by BBR-APBT (Post 1950532)
Can you go to your plugin manager and make sure the three plugins below Are set to active?

Product : BBR - Useful Links on Member Action Dropdown.
Memberaction Dropdown - Cache
Memberaction Dropdown - Manage Member
Memberaction Dropdown - Template Replacement

Especially the one in red.

There is not much I can do to help you. If all your telling me is it is not working.

I have the same problem. Above is active, but i cannot see the Admin portion.
Is there a fix for this?
I am on 4.0.1

Sunka 04-16-2010 08:12 PM

Why moderators can not see ban options?

aaronrand 04-30-2010 02:13 PM

Any fix for those of us not seeing admin options?

KURTZ 06-19-2010 06:47 PM

what are the differences between this hack and this: https://vborg.vbsupport.ru/showthread.php?t=238189

OturanBoğa 06-27-2010 07:42 AM

vb 4.0.4:

Quote:

Originally Posted by ientrydave (Post 2058061)
I'm having trouble getting this plugin to work with vB 4.0.4. it worked great with 4.0.3. I tried re-uploading the xml and it didn't help. Any thoughts would be appreciated.

EDIT: I found the problem. In version 4.0.4, the $vbulletin variable is no longer global by default in the postbit_display_complete hook. Simple fix, just put
PHP Code:

global $vbulletin

in front of
PHP Code:

if ($vbulletin->options['modtools_onoff']) 

in the plugin manager.


KURTZ 07-14-2010 09:05 AM

PHP Code:

Warningarray_merge() [function.array-merge]: Argument #1 is not an array in [path]/modcp/user.php(348) : eval()'d code on line 40 

when you change the avatar you got this error ...

CRDeveloper 07-16-2010 09:34 AM

not working on 4.0.5

bluered 07-16-2010 12:36 PM

Nice work. its work but admin options cant see.

GeorgeB85 07-16-2010 01:18 PM

Quote:

Originally Posted by BBR-APBT (Post 1935949)
Future Additions:
Manage User - added
Ban and Unban Members - added
Edit Banning Reason - added
Edit Signature - added
Edit User Forum Permissions - added
Edit U ser Options - added

If you have a suggestion for a link to add post it in this thread.

None of these are in the one I just downloaded.?

COL NIL SATIS 07-16-2010 04:01 PM

tagged...will add this later

KURTZ 07-18-2010 11:16 AM

this product need an upgrade ... :)

Fungsten 08-04-2010 09:04 PM

Installed it and I noticed the Usernames disappear in VB's default style. Checked the other styles and everthing is fine though.

InTeNsE-HuMoR 08-06-2010 02:00 AM

Quote:

Originally Posted by bluered (Post 2070060)
Nice work. its work but admin options cant see.

Same for me. Also the "add as contact" shouldn't appear if the person is already a contact. Instead there should be an option to remove contact.

bhkien 08-10-2010 04:17 AM

I cannot see the Manage User part in the dropdown.

How can I show it up?

rootrider 09-10-2010 11:32 AM

seems the admin links disappeared somewhere along the line during the recent vbulletin upgrades. Any idea how to get them back?

rootrider 09-30-2010 11:35 AM

Quote:

Originally Posted by rootrider (Post 2096183)
seems the admin links disappeared somewhere along the line during the recent vbulletin upgrades. Any idea how to get them back?

:confused:

CRDeveloper 11-30-2010 03:12 PM

Not working at all in 4.1.0 Beta 1 :erm:

When the mod is active online the profile links shows up.

hiker 11-30-2010 08:15 PM

I'm looking to display the total threads a user has started with a certain prefix. Can this be added or customized on my end?

Arboristsite 12-18-2010 02:40 AM

When you work out the kinks, it would also be nice to have a clean system too. So it's like a ban and clean to get rid of spammers and all their posts.

CRDeveloper 12-21-2010 04:52 AM

Any updates???


All times are GMT. The time now is 01:05 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.01986 seconds
  • Memory Usage 1,854KB
  • 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
  • (4)bbcode_html_printable
  • (3)bbcode_php_printable
  • (6)bbcode_quote_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
  • (23)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