Welcome to Creative Nation!

Welcome to Creative Nation, . Feel free to browse our forums and help yourself to all our free tutorials, images, and recources!

Download

To download this script go back to article »

Member Login

Lost your password?

Not a member yet? Sign Up!

Pm counter problem
  • Pm counter problem Announ10
  • Pm counter problem Tutori10
  • Pm counter problem Profil10
  • Pm counter problem New_pr10
  • Pm counter problem Back_t10


The next generation of web design.


You are not connected. Please login or register

Pm counter problem

3 posters

Go down  Message [Page 1 of 1]

1Pm counter problem Empty Pm counter problem 9/4/2011, 10:06 am

shadowz_au

shadowz_au


When i add it and pm myself and it count as 2 pm but i got 1 pm on my inbox

here the code

Code:

$.ajax({
  url: '/privmsg?folder=inbox',
  success: function(ajax) {
    count = $('img[src="http://2img.net/i/fa/empty.gif"]', ajax).length;
 
    if (count < 1) {
      $('a.mailbox').html('Mailbox');
    }

    else {
      $('a.mailbox').html('Mailbox ('+count+')');
    }
  }
});


If you guy know anything about this

I cant post anywhere on web section so i have to post here

2Pm counter problem Empty Re: Pm counter problem 9/4/2011, 1:34 pm

Gangstar15

Gangstar15


see if you have two scripts of it Smile and remember to change this this https://2img.net/i/fa/empty.gif to your new PM icon Smile

3Pm counter problem Empty Re: Pm counter problem 9/4/2011, 2:56 pm

virtuosity

virtuosity

Is that the JS code for new message?

4Pm counter problem Empty Re: Pm counter problem 9/5/2011, 3:13 am

shadowz_au

shadowz_au


Yes. I try different icon but it doesnt work and i dont have two script.

If u can do it for me? Gangstar

5Pm counter problem Empty Re: Pm counter problem 9/5/2011, 5:35 am

Gangstar15

Gangstar15


send me the details Smile

6Pm counter problem Empty Re: Pm counter problem 9/5/2011, 6:51 am

shadowz_au

shadowz_au


SENT!

7Pm counter problem Empty Re: Pm counter problem 9/5/2011, 7:04 am

Gangstar15

Gangstar15


First, you are linking an image, where you don't have it in the ACP - Pics Managements o.O
: https://i.servimg.com/u/f24/14/74/84/24/aficon10.png

now its done.

8Pm counter problem Empty Re: Pm counter problem 9/5/2011, 7:15 am

shadowz_au

shadowz_au


oo Thanks Smile

(s)?

9Pm counter problem Empty Re: Pm counter problem 9/5/2011, 8:20 am

Gangstar15

Gangstar15


(s)?

I though it was (3)?

10Pm counter problem Empty Re: Pm counter problem 9/5/2011, 8:23 am

shadowz_au

shadowz_au


ill check it

Well it look this a (s)

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

.

Make a forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com.