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

Reply
 
Thread Tools
Simple PM Inbox/Outbox mod Details »»
Simple PM Inbox/Outbox mod
Version: 1.00, by Nickbe Nickbe is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.6.8 Rating:
Released: 11-21-2007 Last Update: Never Installs: 10
Template Edits
Translations  
No support by the author.

Personally I dislike that drop down list that allows you to select the Inbox or Outbox. I don't know why but I find it tedious. So I edited it a little to show direct links to the inbox/outbox as opposed to the little drop-down list.

Find template: pm_messagelist

Find
PHP Code:
<td>
$vbphrase[jump_to_folder]:<br />
<
select name="folderid" onchange="this.form.submit();">
$folderjump
</select>$gobutton
</td

Replace with:
PHP Code:
<td>
$vbphrase[jump_to_folder]:&nbsp;&nbsp;<a href="private.php?s=&pp=&folderid=0">Inbox</a>&nbsp;&nbsp;&nbsp;<a href="private.php?s=&pp=&folderid=-1">Outbox</a>
</
td
This is a very simple mod that makes the PM area more efficient.

I do not make mods but when I make something for myself I usually share it.

Show Your Support

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

Comments
  #2  
Old 11-22-2007, 11:27 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool idea - I find dropdowns to be annoying also, especially when it is only choosing between 2 options, but why not use the phrases?

Code:
<td>
$vbphrase[jump_to_folder]:&nbsp;&nbsp;<a href="private.php?s=&pp=&folderid=0">$vbphrase[inbox]</a>&nbsp;&nbsp;&nbsp;<a href="private.php?s=&pp=&folderid=-1">$vbphrase[sent_items]</a>
</td>
also - one nice thing about the way it is by default is the fact that it displays the number of itmes in the inbox and sent items in the dropdown - can you add that feature in to your mod?
Reply With Quote
  #3  
Old 11-22-2007, 11:41 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The drop down is good fo those who created folders. With this change they no longer have access to them.
Reply With Quote
  #4  
Old 11-22-2007, 11:44 AM
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says it at the top so I did not bother but I will look into it anyway. I am an amateur coder only been doing it a month or two. I will figure it out and update soon.
Reply With Quote
  #5  
Old 11-22-2007, 11:45 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
The drop down is good fo those who created folders. With this change they no longer have access to them.
good point - I never create folders, but I imagine other people do, so I forgot about that.
Reply With Quote
  #6  
Old 11-22-2007, 11:46 AM
Nickbe Nickbe is offline
 
Join Date: Jul 2007
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
The drop down is good fo those who created folders. With this change they no longer have access to them.
Can easily add additional folders.

You are right though, if you create additional folder this is probably not for you.
Reply With Quote
  #7  
Old 11-22-2007, 11:49 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not necessarily me, but you don't know others who did so you can't add their folders therefore cannot add what you don't know :-)
Reply With Quote
  #8  
Old 11-22-2007, 12:00 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Best would be to add the direct links, instead of replacing the dropdown. Then you would have best of both worlds.
Reply With Quote
  #9  
Old 12-03-2007, 08:09 AM
alserb's Avatar
alserb alserb is offline
 
Join Date: Oct 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool
Reply With Quote
  #10  
Old 12-05-2007, 05:13 PM
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it - I just added the code in instead of replacing it like Marco suggested - both options are there now. Works well!
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 03:20 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.04795 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (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
  • (1)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_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