The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Code this ?

View previous topic View next topic Go down

Solved Code this ?

Post by EmperorAdam on December 12th 2011, 10:35 am

When You have a New Msg or any thing Normally people dont remember to see it

you possible to Add amount of msgs numbers will be Great

Want is to say this --> Messages: 27

Or This --> You have __ new messages!

Not this --> You have no new messages <= Here You can Do it

Its Possible to Be the Best Way so you can Checks pms if number take +1


Last edited by EmperorAdam on December 12th 2011, 12:18 pm; edited 1 time in total

EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Solved Re: Code this ?

Post by LGforum on December 12th 2011, 10:50 am

When you have new messages it will say the number. Whats wrong with the word 'no' for zero PM's?

anyway ... on your forum this would change the word 'no' to 0.

Code:

$(function() {
 var x=$('a.mainmenu[href="/privmsg?folder=inbox"]')[0];
 x.innerHTML=x.innerHTML.replace(/no/,'0');
});

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Code this ?

Post by EmperorAdam on December 12th 2011, 10:52 am

Do i put this in the css part?

EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Solved Re: Code this ?

Post by LGforum on December 12th 2011, 10:59 am

No, you put CSS in the CSS part. You put THIS in Javascript management.
I'll do it for you since i'm on your board...

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Code this ?

Post by EmperorAdam on December 12th 2011, 11:00 am

THANKS Smile

EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Solved Re: Code this ?

Post by Sanket on December 12th 2011, 8:08 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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