Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Private Message Inbox Bar Enhanced Details »»
Private Message Inbox Bar Enhanced
Version: 1.0.1, by CoryNickerson CoryNickerson is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.6.8 Rating:
Released: 02-19-2008 Last Update: 02-20-2008 Installs: 29
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Hello,

This is officially my first modification submitted to this site. I've been working on my vBulletin forums customizing it for about 6 months now and I'm starting to get use to it. There will be some more modifications I will be submitting later.

Description:

This is a template modification that changes that boring green, orange, red colored bar above your PM's. This bar shows how much of your inbox is full out of the available space.

This is just a simple enhancement to use images for the bar instead of using colored cells.



Installation:
Time: 1 Minute.
Difficulty: Extremely Easy.
Template Modifications: 2.
Uploads: 2 images.

Directions:

1. Upload the 2 images to your images/misc folder. If you wish to store in a different location such as a theme folder that is fine. The images used in the bar can vary between theme since its locations are controlled in the CSS.

2. In pm_messagelist template,

Find: (line 43 - 49 default)
Code:
<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="100%">
	<tr>
		<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:red; font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>">&nbsp;</td></if>
		<if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" style="background-color:orange; font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>">&nbsp;</td></if>
		<if condition="$tdwidth[quota] > 0"><td width="$tdwidth[quota]" style="background-color:green; font-size:10px" title="<phrase 1="$permissions[pmquota]">$vbphrase[maximum_allowed_messages_x]</phrase>">&nbsp;</td></if>
	</tr>		
</table>
Replace with:
Code:
<div class="inbox_bar_full" style="width:481px; height:20px;">
	<div style="float:left; height:20px; width:$tdwidth[folder]%;"></div>
	<div style="float:left; height:20px; width:$tdwidth[total]%;"></div>
	<div class="inbox_bar_empty" style="float:right;height:20px; width:$tdwidth[quota]%;"></div>	
</div>

3. In your Main CSS under Additional CSS Definitions,

Add:
Code:
/* Custom Private Message Inbox Bar Enhanced */

.inbox_bar_full {
background: url(images/misc/barfull.png);
}
.inbox_bar_empty {
background: url(images/misc/barempty.png);
background-position: right;
filter:alpha(opacity=50);
-moz-opacity:.50;
opacity:.50;
}

THATS IT!!

Nothing else to do. Pretty simple edit and makes it look 10x better. You can adjust the images to change with the themes by changing the image location in each themes CSS.

In the zip I included a copy of these directions, the images and the PSD to the images.

Hope you like the mod!! More to come!!

Thanks!
Cory Nickerson
http://ezpk.net

Updates:
v1.0.0 Original release.
v1.0.1 Changed image height from 30px to 20px.

Show Your Support

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

Comments
  #2  
Old 02-20-2008, 04:39 PM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and it works perfectly

*installed*


EDIT:
OK,I found a problem. Your additional CSS Definitions code threw off 3 of 8 of my skins(I put it on all of them :-)).

For the ones where errors were created I removed the
HTML Code:
opacity:.50;"
from the CSS you provided.

Now they ALL work perfectly.
Reply With Quote
  #3  
Old 02-21-2008, 01:12 AM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by indie2industry View Post
and it works perfectly

*installed*


EDIT:
OK,I found a problem. Your additional CSS Definitions code threw off 3 of 8 of my skins(I put it on all of them :-)).

For the ones where errors were created I removed the
HTML Code:
opacity:.50;"
from the CSS you provided.

Now they ALL work perfectly.
Noted thanks.

I haven't ran into any errors with it yet. I've tried it in all browsers. What was the error message you got? Or what was effect in the physical appearance?
Reply With Quote
  #4  
Old 02-21-2008, 10:10 AM
indie2industry's Avatar
indie2industry indie2industry is offline
 
Join Date: Jan 2008
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CoryNickerson View Post
Noted thanks.

I haven't ran into any errors with it yet. I've tried it in all browsers. What was the error message you got? Or what was effect in the physical appearance?
Ok, after a little work, I just removed the (") after the opacity:.50; and now its 100% perfect..


The error:
In the internet explorer, it removed all of my grey background tables on my forum homepage. I circled the effected areas in the attachment.
Reply With Quote
  #5  
Old 02-21-2008, 10:13 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried this but it messed my whole style up completely. Moved everything across to one side with lots of empty spaces and unwanted stuff. I might try to rearrange the CSS in a bit when I try it again. But for now, I am just using the normal one. Thanks for this though, I'll mark installed.
Reply With Quote
  #6  
Old 02-21-2008, 08:52 PM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by indie2industry View Post
Ok, after a little work, I just removed the (") after the opacity:.50; and now its 100% perfect..


The error:
In the internet explorer, it removed all of my grey background tables on my forum homepage. I circled the effected areas in the attachment.
Ah yes... At first I had the opacity in the div itself thats holding the image. It was using the style command. I guess I accidentally copied that end quotation. I removed it from the code. Thanks.
Reply With Quote
  #7  
Old 02-21-2008, 08:54 PM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
I tried this but it messed my whole style up completely. Moved everything across to one side with lots of empty spaces and unwanted stuff. I might try to rearrange the CSS in a bit when I try it again. But for now, I am just using the normal one. Thanks for this though, I'll mark installed.
If it messed your style up you most likely made a mistake. You have a test login I can use for your forums to see whats going on? I'll try to find out what went wrong. Thanks.
Reply With Quote
  #8  
Old 02-22-2008, 05:59 PM
Cobro Cobro is offline
 
Join Date: Oct 2006
Location: cellar
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think i have done all thing right i hope but it shows up like this could you help me ?

this is great hack i really like it to work on my site plz help me check it out and see if you can see what is wrong

Installed!
Reply With Quote
  #9  
Old 02-22-2008, 06:55 PM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cobro View Post
i think i have done all thing right i hope but it shows up like this could you help me ?

this is great hack i really like it to work on my site plz help me check it out and see if you can see what is wrong

Installed!
Seems like the DIV's are too high. You must have updated the new images but left the div's height at 30px. Change it from 30px to 20px.

I just realized I didn't edit the code to 20px in the first thread. My mistake. I updated it.
Reply With Quote
  #10  
Old 02-22-2008, 08:58 PM
Cobro Cobro is offline
 
Join Date: Oct 2006
Location: cellar
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much my friend great hack !!
Reply With Quote
Reply

Thread Tools

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 11:31 AM.


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.04511 seconds
  • Memory Usage 2,303KB
  • 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
  • (3)bbcode_code
  • (2)bbcode_html
  • (5)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