WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Solved New PM Mon Oct 03, 2011 4:04 pm

Matti

Matti
Registered Member
Registered Member
I really need your help I have edit the nav bar and the one that says 'You have no new messages'' I have change it to 'Mailbox' but the problem is that when I get a new PM i don't know when that is coming so is it possible to make it like this when they sending me a new PM it can say like this ''Mailbox New''

Thanks,
Maki

http://csshelp.forumotion.net/

2Solved Re: New PM Mon Oct 03, 2011 4:07 pm

ankillien

ankillien
Administrator
Administrator
Hi,

How did you make it to say "Mailbox"? Can you post the code? It needs little modification to display "Mailbox New" on new message.

3Solved Re: New PM Mon Oct 03, 2011 4:09 pm

Matti

Matti
Registered Member
Registered Member
The full code for the nav bar or just the Mailbox

http://csshelp.forumotion.net/

4Solved Re: New PM Mon Oct 03, 2011 4:50 pm

ankillien

ankillien
Administrator
Administrator
Post the full code. You can PM me if you don't want to publicize.

5Solved Re: New PM Mon Oct 03, 2011 5:11 pm

Matti

Matti
Registered Member
Registered Member
I send you the code. Smile

http://csshelp.forumotion.net/

6Solved Re: New PM Mon Oct 03, 2011 5:15 pm

ankillien

ankillien
Administrator
Administrator
Where is the javascript that you use? I didn't ge tit in my PM.

7Solved Re: New PM Mon Oct 03, 2011 5:29 pm

Matti

Matti
Registered Member
Registered Member
I didn't use javascript for it so just like that HTML and CSS!

Btw if you want to check it yourself then I can give you the log in pass...

http://csshelp.forumotion.net/

8Solved Re: New PM Mon Oct 03, 2011 9:12 pm

ankillien

ankillien
Administrator
Administrator
Ok, I don't need login. I'll give you a javascript for this asap.

9Solved Re: New PM Tue Oct 04, 2011 1:31 am

Matti

Matti
Registered Member
Registered Member
Ok, I'll wait for your reply.

http://csshelp.forumotion.net/

10Solved Re: New PM Tue Oct 04, 2011 11:34 pm

ankillien

ankillien
Administrator
Administrator
Try adding this javascript for all pages...

Code:
$(function(){
   var pm_text = $('a.mainmenu[href="/privmsg?folder=inbox"]').text();
   if(pm_text != 'You have no new messages'){
      $('ul.topnav li a[href="/privmsg?folder=inbox]').text('Mailbox New');
   }
});

11Solved Re: New PM Wed Oct 05, 2011 12:23 am

Matti

Matti
Registered Member
Registered Member
I add the code to 'Javascript codes management' but no luck, so did you test this.

http://csshelp.forumotion.net/

12Solved Re: New PM Wed Oct 05, 2011 9:13 am

ankillien

ankillien
Administrator
Administrator
Maki wrote:I add the code to 'Javascript codes management' but no luck, so did you test this.

I can't test it since all the codes are on your forum. You need to give me login details of your forum to test it.

13Solved Re: New PM Wed Oct 05, 2011 11:52 am

Matti

Matti
Registered Member
Registered Member
The founder account or the one that i have made extra.

http://csshelp.forumotion.net/

14Solved Re: New PM Wed Oct 05, 2011 1:43 pm

ankillien

ankillien
Administrator
Administrator
Founder account is not needed. Just give me a normal member account details.

15Solved Re: New PM Thu Oct 06, 2011 1:46 am

Matti

Matti
Registered Member
Registered Member
I've send you a pm.

http://csshelp.forumotion.net/

16Solved Re: New PM Thu Oct 06, 2011 5:39 pm

ankillien

ankillien
Administrator
Administrator
Have you completely removed the default navbar from templates? If so, bring it back. You must keep it. You can hide it using CSS.

17Solved Re: New PM Sun Oct 09, 2011 3:50 pm

The Unique

The Unique
Registered Member
Registered Member
Maki wrote:I send you the code. Smile

Can i have the code please?

18Solved Re: New PM Sun Oct 09, 2011 7:24 pm

ankillien

ankillien
Administrator
Administrator
The Unique wrote:
Maki wrote:I send you the code. Smile

Can i have the code please?

That code is just plain HTML and incomplete. It won't make it work on your forum. You have to use a javascript to make it work.

19Solved Re: New PM Sun Oct 09, 2011 11:09 pm

Matti

Matti
Registered Member
Registered Member
ankillien wrote:Have you completely removed the default navbar from templates? If so, bring it back. You must keep it. You can hide it using CSS.

Yeah i know i can hide them but i like as it is and how can i make it count instead.

http://csshelp.forumotion.net/

20Solved Re: New PM Sun Oct 09, 2011 11:37 pm

ankillien

ankillien
Administrator
Administrator
You should hide it using CSS and not remove form templates because it is helpful to write javascript in that case.

I don't have to PM counter code right now, I can just give you a hint. Make an ajax call to the inbox page which should return the total number of 'new pm' images on that page. Use that result to display the PM count.

I'll try to write the code, it can take time Razz

21Solved Re: New PM Mon Oct 10, 2011 1:27 am

Dion

Dion
Registered Member
Registered Member
I'll save you some time. Wink

http://www.webartzforum.com/t2442-#35996

http://diondesigns.forumotion.com

22Solved Re: New PM Thu Oct 13, 2011 1:54 pm

ankillien

ankillien
Administrator
Administrator
Dion wrote:I'll save you some time. Wink

http://www.webartzforum.com/t2442-#35996

lol...didn't notice that topic since I was away.

The split thing is cool, saves a lot of time Razz
Thanks Smile

23Solved Re: New PM Fri Oct 14, 2011 3:58 pm

Matti

Matti
Registered Member
Registered Member
Ank, you can lock it now cuz I'll bring back the default navbar and I'm gonna make a new topic. Smile

http://csshelp.forumotion.net/

24Solved Re: New PM Fri Oct 14, 2011 4:20 pm

Nera

Nera
Technician
Technician
Lock

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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