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.

"New Messages" Problem

View previous topic View next topic Go down

"New Messages" Problem

Post by Ezio on June 1st 2011, 5:47 am

Hi, I've made a navigation bar manually, but I have a problem with the "Messages" Can we make a change to New Messages whenever there are new messages?
so i'f we have a messages, the link will be like this "You Have 1 new messages"
I create a navbar manually, hehehe Very Happy

~ Thank-you in advance Very Happy

Ezio
Forumember

Male Posts : 155
Reputation : 10
Language : Bahasa. Indonesia
Location : Request change my Age, I'm 13-14 years old.. :D

http://www.forumbargedoz.ce.ms

Back to top Go down

Re: "New Messages" Problem

Post by kirk on June 1st 2011, 12:32 pm

you will have to leave that in place in order for it to work,
There is no sort of link to add to a custom nab bar for that option,

what i did is usually leave log in/log out,profile and messages,
Then the rest create a custom bar for what ever i want and just add above or below it.

Or it might be better just create your own images and add in place of your default that came with the forum.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: "New Messages" Problem

Post by Ezio on June 3rd 2011, 4:03 pm

Yeah, I think that's hard to do, hehehehehe. wait i'll try again. Very Happy

Ezio
Forumember

Male Posts : 155
Reputation : 10
Language : Bahasa. Indonesia
Location : Request change my Age, I'm 13-14 years old.. :D

http://www.forumbargedoz.ce.ms

Back to top Go down

Re: "New Messages" Problem

Post by Gangstar15 on June 3rd 2011, 4:54 pm

In my forum you can find what you need Smile

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: "New Messages" Problem

Post by ioncube on June 4th 2011, 6:55 am

I use this image file to notify user of any new message


it perfectly blends with my forum

ioncube
Forumember

Male Posts : 279
Reputation : 41
Language : eng
Location : Pakistan

http://defencedog.blogspot.com/

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 5th 2011, 11:15 am

I 've got the same problem. Can anybody give us the code for this? I don't want it to display the number of new messages. I just want to display "No new messages" or "New messages".

thanks in advance

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by Ezio on June 6th 2011, 3:08 pm

@Gangstar15 wrote:In my forum you can find what you need Smile

Yeah, I know that Cool
the navbar manually its in your forum :wouhou:
wait


@up : Same.

@ioncube wrote:I use this image file to notify user of any new message


it perfectly blends with my forum
hahahaha, the members will be check the inbox everyday Neutral , nicelly trick bro drunken

Ezio
Forumember

Male Posts : 155
Reputation : 10
Language : Bahasa. Indonesia
Location : Request change my Age, I'm 13-14 years old.. :D

http://www.forumbargedoz.ce.ms

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 6th 2011, 3:17 pm

@Ezio wrote:
@Gangstar15 wrote:In my forum you can find what you need Smile

Yeah, I know that Cool
the navbar manually its in your forum :wouhou:
wait


@up : Same.

Did you find how I can do it ? Can you post the code?

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by kirk on June 6th 2011, 6:20 pm

@jimmyc wrote:
@Ezio wrote:
@Gangstar15 wrote:In my forum you can find what you need Smile

Yeah, I know that Cool
the navbar manually its in your forum :wouhou:
wait


@up : Same.

Did you find how I can do it ? Can you post the code?


Have you checked out gangstars site. i think he is saying he has a way to do it there.

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 6th 2011, 6:43 pm

@kirk wrote:Have you checked out gangstars site. i think he is saying he has a way to do it there.

I only found this but he doesn't give any code...

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by Gangstar15 on June 6th 2011, 6:45 pm


Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 6th 2011, 7:05 pm


Thanks a lot. I found the ajax code but i don't know how to add it in overall_header. I did copy-paste but it just prints the code. Can you help me?

My version is punbb if it matters . . .

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by Gangstar15 on June 6th 2011, 7:09 pm

You need to change this image: http://illiweb.com/fa/punbb/status_unread.png
to your new post image.

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 6th 2011, 7:14 pm

@Gangstar15 wrote:You need to change this image: http://illiweb.com/fa/punbb/status_unread.png
to your new post image.

Ok. I did it but it still prints all the ajax code...

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by Gangstar15 on June 6th 2011, 7:15 pm

You need to wrap the ajax script with:
Code:
<script> code here </script>

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 6th 2011, 7:37 pm

@Gangstar15 wrote:You need to wrap the ajax script with:
Code:
<script> code here </script>

Now it doesn't print anything. How can I print just the count variable?
thanks anyway

Edit: Found it !!! Thanks you very much !!! Is there a way to change the color of the label when there are new messages?
thanks again

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by Gangstar15 on June 6th 2011, 7:49 pm

Welcome Smile
yah Smile
replace this part:
Code:
('+count+')
with:
Code:
<span style="color: #hex color here">('+count+')</span>
and add your own color Smile

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: "New Messages" Problem

Post by jimmyc on June 6th 2011, 7:51 pm

@Gangstar15 wrote:Welcome Smile
yah Smile
replace this part:
Code:
('+count+')
with:
Code:
<span style="color: #hex color here">('+count+')</span>
and add your own color Smile

Yeah. That was a silly question. Found it on my own... Laughing
Thank you very very much !!!!

jimmyc
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

Re: "New Messages" Problem

Post by Gangstar15 on June 6th 2011, 7:59 pm

No problem :=)

Gangstar15
Forumember

Female Posts : 392
Reputation : 163

http://www.designdrops.net/

Back to top Go down

Re: "New Messages" Problem

Post by Ezio on June 9th 2011, 9:41 am

hey boss, i want to ask about this tutorial http://www.worlddezign.com/t844-sexy-drop-down-menu
i think you miss
Code:
<div id="pun-head"><div id="pun-navlinks">
CMIIW !
and i made that navbar ==> www.forumbargedoz.ce.ms/portal , but where I can adjust background images to the right? hehehe, I'm not good at CSS Very Happy

thank-you in advance

Ezio
Forumember

Male Posts : 155
Reputation : 10
Language : Bahasa. Indonesia
Location : Request change my Age, I'm 13-14 years old.. :D

http://www.forumbargedoz.ce.ms

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