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

Reply
 
Thread Tools
Private Messaging in first place on UserCP Details »»
Private Messaging in first place on UserCP
Version: 1.00, by Sofia Sofia is offline
Developer Last Online: Aug 2012 Show Printable Version Email this Page

Category: End-User Options - Version: 3.8.x Rating:
Released: 05-25-2009 Last Update: Never Installs: 17
Re-useable Code Translations  
No support by the author.

This mod allows you to place Private Messaging in first place, on the UserCP






https://vborg.vbsupport.ru/vborg_mis...hreadid=214590

1. Upload


Upload all images into images/misc




2. Template



In the template USERCP_SHELL,


Find and delete:


HTML Code:
<if condition="$show['pmmainlink']">
<tr>
    <td class="thead" nowrap="nowrap">
    <span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
    <if condition="$show['popups']">
        <div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
            <table cellpadding="4" cellspacing="1" border="0">
            <tr>
                <td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
            </tr>
            $cpnav[pmfolders]
            </table>
        </div>
    </if>
    </td>
</tr>
    <tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
    <if condition="$show['pmsendlink']">
    <tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
    </if>
    <if condition="$show['pmtracklink']">
    <tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
    </if>
    <tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
In the same template (USERCP_SHELL),

Find:

HTML Code:
<!-- usercp nav -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tbody>
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>
Add below:


HTML Code:
<if condition="$show['pmmainlink']">
<tr>
<td class="thead" nowrap="nowrap">
    <span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
    <if condition="$show['popups']">
        <div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
            <table cellpadding="4" cellspacing="1" border="0">
            <tr>
                <td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
            </tr>
            
$cpnav[pmfolders]

            </table>
        </div>
    </if>
    </td>
</tr>
<tr><td style="vertical-align: middle" class="$navclass[pm_newpm]" nowrap="nowrap"><img src="images/misc/pm.gif" border="0" align="left" />&nbsp;<a class="smallfont" href="private.php?folderid=0$session[sessionurl_q]">$vbphrase[inbox]</a>
<br /><img src="images/misc/tree_ltr.gif" border="0" align="left" /><img src="images/misc/pm.gif" border="0" align="left"/>&nbsp;<a class="smallfont" href="private.php?folderid=-1$session[sessionurl_q]">$vbphrase[sent_items]</a></td></tr>


    <if condition="$show['pmsendlink']">
    <tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><img src="images/misc/userfield.gif" border="0" align="left"/>&nbsp;<a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
    </if>
    <if condition="$show['pmtracklink']">
    <tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><img src="images/misc/track_pm.png" border="0" align="left"/>&nbsp;<a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
    </if>
    <tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><img src="images/misc/folder_edit.gif" border="0" align="left"/>&nbsp;<a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>

Download Now

File Type: zip forum - images.zip (3.8 KB, 55 views)

Screenshots

File Type: png pmess.png (21.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-26-2009, 03:27 PM
abouahmed's Avatar
abouahmed abouahmed is offline
 
Join Date: Sep 2008
Location: Egypt
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work Sofia
Reply With Quote
  #3  
Old 05-26-2009, 08:59 PM
Emrah Kaya's Avatar
Emrah Kaya Emrah Kaya is offline
 
Join Date: Jan 2009
Location: Turkey
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sofia
Reply With Quote
  #4  
Old 05-26-2009, 09:33 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, hope you enjoy it
Reply With Quote
  #5  
Old 05-27-2009, 05:24 AM
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sofy

I like it
Reply With Quote
  #6  
Old 05-27-2009, 07:54 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Sofia for this cool hack

But if you dont mind me asking can you please think of upgrading this mod!?

I would love to see these edits within user CP, or atleast some of them:

1. 'Settings & Options' just below 'private messaging' with some icons if possible
2. 'Subscribed Threads' & 'Networking' with some icons
3. Maybe all other, or those bit more important options with icons (Or drop-down manu, same as here on vb.org)

Atleast 1 & 2 would be just fine with me

Thanks
Reply With Quote
  #7  
Old 05-27-2009, 10:08 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
Thanks Sofia for this cool hack

But if you dont mind me asking can you please think of upgrading this mod!?

I would love to see these edits within user CP, or atleast some of them:

1. 'Settings & Options' just below 'private messaging' with some icons if possible
2. 'Subscribed Threads' & 'Networking' with some icons
3. Maybe all other, or those bit more important options with icons (Or drop-down manu, same as here on vb.org)

Atleast 1 & 2 would be just fine with me

Thanks
I'll think to do this.
Reply With Quote
  #8  
Old 05-27-2009, 10:42 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up: I just got my favourite coder, Sofia
Installed, rated, nominated, cant wait for update

Cheers
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 02:49 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.04186 seconds
  • Memory Usage 2,318KB
  • Queries Executed 22 (?)
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
  • (3)bbcode_html
  • (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
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete