Topic: "New Private Message" Indicator??

I was wondering if there was a way to display a small animation (or any kind of indicator really) when there is a new private message waiting to be read. I've searched and can't seem to find a way to do so. Any help would be great. Thanks.

2

Re: "New Private Message" Indicator??

Wrong forum. Moved.

3 (edited by thesaint 2007-02-03 21:52)

Re: "New Private Message" Indicator??

we made this : http://www.shiftzone.com/forum/img/mail.gif

Btw, you can use every gif for it...

Put the url in your browser, because we block hotlinking.. smile

And put in your lang file (pms.php) this :

     'New messages'                 =>        '<img src="./img/mail.gif" width="12" height="12">  You have mail...',
PunnyBunny..

4 (edited by tiger2base 2007-02-04 01:50)

Re: "New Private Message" Indicator??

thanks guys!

Sorry about the wrong forum. This kinda falls between catagories.

Where in the pms.php am i supposed to put it? At the end? Do i replace one that is already there?

Re: "New Private Message" Indicator??

thesaint wrote:

Put the url in your browser, because we block hotlinking.. smile

how do you block pics like that from other sites hotlinking to it? is it in the httpd.conf for apache somewhere? any url u can refer me to? thx

~thegleek

Re: "New Private Message" Indicator??

put this .htaccess in the root from your server. Keep in mind that you don't see it in a FTP program when you upload it. You must use your admin panel to control this file. Also read something about it, so you know what you are doing.

This is what i use...

Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(.*\.)?PUTYOUTDOMAINNAMEHERE.com(/)?.*$ [NC]
RewriteRule .*\.(mpeg|rar|zip|wmv|xml|asx|asf|gif|swf|png|jpg|pps|css|mpg|avi)$ http://localhost/ [R,NC]
PunnyBunny..

Re: "New Private Message" Indicator??

thesaint wrote:

put this .htaccess in the root from your server. Keep in mind that you don't see it in a FTP program when you upload it. You must use your admin panel to control this file. Also read something about it, so you know what you are doing.

thank you ever so much! yeah i know a little about what goes on with the rewrite rules and .htaccess, but this is definately a jump start! smile

~thegleek

Re: "New Private Message" Indicator??

Your welcome smile

PunnyBunny..

Re: "New Private Message" Indicator??

I still have a few questions unanswered. I have everything uploaded correctly. I've attached the necessary code in pms.php

I moved the menu to the sidebar. Could that interfere with anything?
Also, in this line:   'New messages'                 =>        '<img src="./img/mail.gif" width="12" height="12">  You have mail...',

is there supposed to be a "." before /img/mail....etc....?
I would really like to get this working, but am still struggling

Re: "New Private Message" Indicator??

Just as i put it here..thats the way we have done it.

PunnyBunny..

Re: "New Private Message" Indicator??

Ok. It's probably just an ID10T problem, if you know what i mean.

I'll work on on it and maybe try reloading some things. Thanks for your help.