php forum
php mysql forum
php mysql smarty
 
Topic Options
#279587 - 09/14/04 02:18 PM Finished-[6.5] Private Message Inbox Status
Medar Offline
Junior Member

Registered: 03/19/00
Posts: 571
Mod Name / Version: Private Message Inbox Status <br /> <br />Description: Yes I almost feel silly posting this...it is a no-frills and no-big-deal little snippet of code. This really is nothing special, but someone besides myself might find it useful for busy forums using 6.5's new "max # of private messages allowed" setting. <br /> <br />What this does is add a percent used amount under the Header, ie: <br /> <br /> [:"blue"]Viewing your received messages <br />Your inbox is at 4% capacity (50 total private messages allowed). [/] <br /> <br />Working Under: UBB.Threads 6.5 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: <br /> <br />Author(s): Medar <br /> <br />Date: 09/14/04 <br /> <br />Credits: Oh, just me. <br /> <br />Files Altered: /languages/english/viewmessages.php, viewmessages.tmpl, viewmessages.php <br /> <br />New Files: None. <br /> <br />Database Altered: No <br /> <br />Info/Instructions: See attached - very easy! FYI there is an enhanced version of this (it allows you to save Private Messages, etc) that may be found here. <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
119869-box_status.txt (143 downloads)



Edited by Medar (10/11/04 10:51 AM)

Top
#279588 - 09/14/04 04:25 PM Re: Finished-[6.5] Private Message Inbox Status [Re: Intel -*RW*-]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
Thanx Medar <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#279589 - 09/14/04 08:57 PM Re: Finished-[6.5] Private Message Inbox Status [Re: 234234]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
no frills - but still very cool! <img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" /> Thanks!
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#279590 - 09/30/04 10:46 AM Re: Finished-[6.5] Private Message Inbox Status [Re: Daine]
MattUK Offline
Journeyman

Registered: 11/23/01
Posts: 137
Its great, although I think it would be more useful on the myhome page, and if the user's mailbox is full a big red "its full" type alert...

Top
#279591 - 09/30/04 10:47 AM Re: Finished-[6.5] Private Message Inbox Status [Re: statusblue]
MattUK Offline
Journeyman

Registered: 11/23/01
Posts: 137
You might also want to update the instructions, as the language files update isnt so clear.<br /><br />Should actually be<br /><br />$ubbt_lang['cap1'] = "Your inbox is at ";<br />$ubbt_lang['cap2'] = "capacity (";<br />$ubbt_lang['cap3'] = "total private messages allowed).";

Top
#279592 - 10/10/04 01:30 PM Re: Finished-[6.5] Private Message Inbox Status [Re: Intel -*RW*-]
Rutto Offline
Member

Registered: 02/10/01
Posts: 182
Thank you Medar, I installed this and works perfectly.<br /><img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
#279593 - 10/11/04 10:49 AM Re: Finished-[6.5] Private Message Inbox Status [Re: statusblue]
Medar Offline
Junior Member

Registered: 03/19/00
Posts: 571
[]MattUK said:<br />Its great, although I think it would be more useful on the myhome page, and if the user's mailbox is full a big red "its full" type alert... [/]<br />Actually Matt - that alert is built in, and that is why I did not touch the myhome.tmpl file. This was more of a quick way to see where you are BEFORE you are full up.<br /><br />I did update this to include better language instructions, thanks!

Top
#279594 - 10/13/04 09:14 PM Re: Finished-[6.5] Private Message Inbox Status [Re: statusblue]
kristiet Offline
Junior Member

Registered: 10/08/04
Posts: 18
[]MattUK said:<br />You might also want to update the instructions, as the language files update isnt so clear.<br /><br />Should actually be<br /><br />$ubbt_lang['cap1'] = "Your inbox is at ";<br />$ubbt_lang['cap2'] = "capacity (";<br />$ubbt_lang['cap3'] = "total private messages allowed)."; [/]<br /><br />actually, the correct coding (after trial and error for 1/2 an hour since it wasn't working on my 6.5 ubbt)<br /><br />needs to be:<br /><br /><?$ubbt_lang['cap1'] = "Your inbox is at ";$ubbt_lang['cap2'] = "capacity (";$ubbt_lang['cap3'] = "total private messages allowed).";?><br /><br />the beginning and end tags (with the ?'s) were missing!<br /><br />Hope this helps the other users out there that were having the same problem I was (line of code was showing up at the top of the page in black and decoded). <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" /><br /><br />Kristie

Top
#279595 - 10/13/04 11:26 PM Re: Finished-[6.5] Private Message Inbox Status [Re: Bill Holt]
Medar Offline
Junior Member

Registered: 03/19/00
Posts: 571
Kristie, did you add those to your language file, or somewhere else?

Top
#279596 - 10/13/04 11:43 PM Re: Finished-[6.5] Private Message Inbox Status [Re: Intel -*RW*-]
kristiet Offline
Junior Member

Registered: 10/08/04
Posts: 18
to the language file

Top
#279597 - 04/25/05 10:27 PM Re: Finished-[6.5] Private Message Inbox Status [Re: Intel -*RW*-]
Tina Offline
User

Registered: 07/22/04
Posts: 45
This is wonderful, Medar... thanks!!!! <br /> <br />[]Medar said: <br />Kristie, did you add those to your language file, or somewhere else? [/] <br />I actually downloaded the language file directly and added it rather than going through the admin console... although, in both cases, I imagine it will work. Just quicker when I download, edit, and re-ftp. <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /> <br /> <br />[:"brown"]By the way, how do I reduce the number of digits after the decimal point to two instead the endless number that shows up??? [/] <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />
_________________________
Helping the lost & lonely one sweet soul at a time...

Top


Moderator:  Ian_W 
Who's Online
0 registered (), 27 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks