Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
add "Edit Profile" button in the member action drop menu Details »»
add "Edit Profile" button in the member action drop menu
Version: 1.00, by fnrtop fnrtop is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.1.2 Rating:
Released: 05-12-2011 Last Update: Never Installs: 17
Template Edits
Re-useable Code Translations  
No support by the author.

Hello everyone,

lately it have been really making me sick every time i wanted to edit a user name or his title or promote him ... etc

I started playing around with the codes and it worked so I figured to share it with you guys

1- open Styles & Templates> Search in Templates and look for
PHP Code:
popupmenu memberaction 
2- in the template "memberaction_dropdown"
after this code
PHP Code:
<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
add this code

PHP Code:
<li class="right">
            <
img src="[COLOR="Red"]images/buttons/edit_40b.png[/COLOR]" alt="{vb:rawphrase edit_user_profile}" />
            <
a href="moderator.php?{vb:raw session.sessionurl}do=useroptions&amp;userid={vb:raw memberinfo.userid}">
                
Edit Profile
                            
</a>
        </
li
if the image didnt work make sure to change it distenation to your style directory

I hope this was helpful and will make your job easier haha

:up:

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.
    Благодарность от:
    spencerp

    Comments
      #2  
    Old 05-15-2011, 07:38 AM
    Dr.osamA's Avatar
    Dr.osamA Dr.osamA is offline
     
    Join Date: Aug 2004
    Location: Syrie
    Posts: 979
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    thank you bro

    installed
    Reply With Quote
      #3  
    Old 05-28-2011, 01:35 PM
    MediaHound MediaHound is offline
     
    Join Date: May 2004
    Location: Florida
    Posts: 165
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    You might want to wrap it with
    PHP Code:
    <vb:if condition="$show['modcplink']">
    ...
    </
    vb:if> 
    Reply With Quote
    4 благодарности(ей) от:
    archet1337, bp323, fnrtop, nacaruncr
      #4  
    Old 05-28-2011, 03:54 PM
    Last_Zero's Avatar
    Last_Zero Last_Zero is offline
     
    Join Date: Jan 2011
    Posts: 108
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by MediaHound View Post
    You might want to wrap it with
    PHP Code:
    <vb:if condition="$show['modcplink']">
    ...
    </
    vb:if> 
    Thats Right So Only Mods See It

    The Template Called (( memberaction_dropdown )) On My vBulletin
    Reply With Quote
      #5  
    Old 08-10-2011, 10:56 PM
    Divvy Divvy is offline
     
    Join Date: Nov 2008
    Posts: 161
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Suggestion:

    change:
    PHP Code:
    <img src="[color="Red"]images/buttons/edit_40b.png[/color]" alt="{vb:rawphrase edit_user_profile}" /> 
    to:
    PHP Code:
    <img src="images/buttons/edit_40b.png" alt="{vb:rawphrase edit_user_profile}" /> 
    to fix the image issue... you added a wrong tag inside the src, will not work like that
    Reply With Quote
    2 благодарности(ей) от:
    nacaruncr, spencerp
      #6  
    Old 08-11-2011, 10:16 AM
    archet1337's Avatar
    archet1337 archet1337 is offline
     
    Join Date: Sep 2009
    Location: Norway
    Posts: 251
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Great mod. Thanks a lot for sharing!
    Reply With Quote
      #7  
    Old 09-12-2011, 02:21 AM
    bp323 bp323 is offline
     
    Join Date: May 2006
    Posts: 40
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    excellent & very helpful piece! thank you
    Reply With Quote
    Reply


    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 07:31 PM.


    Powered by vBulletin® Version 3.8.12 by vBS
    Copyright ©2000 - 2024, vBulletin Solutions Inc.
    X vBulletin 3.8.12 by vBS Debug Information
    • Page Generation 0.05073 seconds
    • Memory Usage 2,296KB
    • Queries Executed 24 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (7)bbcode_php
    • (1)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (7)post_thanks_box
    • (7)post_thanks_box_bit
    • (7)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (3)post_thanks_postbit
    • (7)post_thanks_postbit_info
    • (6)postbit
    • (7)postbit_onlinestatus
    • (7)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.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/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.php 

    Hooks Called:
    • init_startup
    • init_startup_session_setup_start
    • init_startup_session_setup_complete
    • cache_permissions
    • fetch_postinfo_query
    • fetch_postinfo
    • fetch_threadinfo_query
    • fetch_threadinfo
    • fetch_foruminfo
    • style_fetch
    • cache_templates
    • global_start
    • parse_templates
    • global_setup_complete
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • fetch_musername
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • post_thanks_function_fetch_thanks_bit_start
    • post_thanks_function_show_thanks_date_start
    • post_thanks_function_show_thanks_date_end
    • post_thanks_function_fetch_thanks_bit_end
    • post_thanks_function_fetch_post_thanks_template_start
    • post_thanks_function_fetch_post_thanks_template_end
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete