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

Reply
 
Thread Tools
New PM button in messagelist Details »»
New PM button in messagelist
Version: 1.00, by Mazinger Mazinger is offline
Developer Last Online: Feb 2019 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.7.x Rating:
Released: 05-12-2008 Last Update: Never Installs: 66
Template Edits
Re-useable Code Translations  
No support by the author.

This is a modification to show 'send pm' button in messagelist -- screenshot attached.


Style Manager -> Edit Templates -> pm_messagelist

Find:

HTML Code:
<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>
Replace it with:


HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td><a href="private.php?do=newpm"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="$vbphrase[send_new_message]" border="0" /></a></td>
 <if condition="$pagenav">
<td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>

Then save.



You may change $stylevar[imgdir_button]/sendpm.gif to any other image.



Please click INSTALLED to get support for this modification

Show Your Support

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

Comments
  #22  
Old 12-19-2008, 02:53 AM
caltek caltek is offline
 
Join Date: Nov 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OMG...thank you. Makes navigating that section a little easier!

*INSTALLED*
Reply With Quote
  #23  
Old 12-23-2008, 03:03 PM
Bill from Cleve Bill from Cleve is offline
 
Join Date: Sep 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice. Installed!
Reply With Quote
  #24  
Old 12-31-2008, 08:29 AM
SSJB_7 SSJB_7 is offline
 
Join Date: Jul 2008
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i added also in postbit or postbit_legacy ?
it will work there?
Reply With Quote
  #25  
Old 08-09-2009, 08:51 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Id like to see a PM tool bar actually. So right across the top it would say: New Message - Inbox - Sent - Saved, etc...

Each item on the tool bar would be an Ajax tabbed item. There is zero reason why we have to reload a whole page anymore these days because Ajax is now perfectly integrated with VB.
Reply With Quote
  #26  
Old 08-09-2009, 09:48 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More Buttons in PMs!

Aaa now this is how I like my PMs! (see my screenshot!)

I added more buttons in the line and already my members are in love with me! LOL

Here is the code I am using to do the replacement:

Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td><a href="private.php?do=newpm"><img src="$stylevar[imgdir_button]/newmessage.gif" alt="$vbphrase[send_new_message]" border="0" /></a> <a href="private.php?s=&pp=&folderid=0"><img src="$stylevar[imgdir_button]/inbox.gif" alt="Inbox" border="0" /></a> <a href="private.php?s=&pp=&folderid=-1"><img src="$stylevar[imgdir_button]/sent.gif" alt="Sent Items" border="0" /></a></td>
 <if condition="$pagenav">
<td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
Reply With Quote
  #27  
Old 10-27-2009, 11:38 PM
Mr_Pat Mr_Pat is offline
 
Join Date: Dec 2008
Location: Cheyenne
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, Thanks for your hard work!
Reply With Quote
  #28  
Old 10-27-2009, 11:52 PM
Mr_Pat Mr_Pat is offline
 
Join Date: Dec 2008
Location: Cheyenne
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yotsume View Post
More Buttons in PMs!

Aaa now this is how I like my PMs! (see my screenshot!)

I added more buttons in the line and already my members are in love with me! LOL

Here is the code I am using to do the replacement:

Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td><a href="private.php?do=newpm"><img src="$stylevar[imgdir_button]/newmessage.gif" alt="$vbphrase[send_new_message]" border="0" /></a> <a href="private.php?s=&pp=&folderid=0"><img src="$stylevar[imgdir_button]/inbox.gif" alt="Inbox" border="0" /></a> <a href="private.php?s=&pp=&folderid=-1"><img src="$stylevar[imgdir_button]/sent.gif" alt="Sent Items" border="0" /></a></td>
 <if condition="$pagenav">
<td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
I like that a lot, does anyone have some icons to use with it? I have no idea how to make an icon.
Reply With Quote
  #29  
Old 10-30-2009, 01:09 AM
93Corvette 93Corvette is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really like this mod.... I am also looking for Icons.... Any know of a good site that has the New PM, Inbox, and Sent?
Reply With Quote
  #30  
Old 11-02-2009, 12:02 PM
Mazinger's Avatar
Mazinger Mazinger is offline
 
Join Date: Nov 2006
Location: Egypt
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 93Corvette View Post
I really like this mod.... I am also looking for Icons.... Any know of a good site that has the New PM, Inbox, and Sent?
You can find some in the Graphics Section.
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 04:41 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.04515 seconds
  • Memory Usage 2,302KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete