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.

menu edit

Page 2 of 2 Previous  1, 2

View previous topic View next topic Go down

In progress menu edit

Post by Guest on September 24th 2011, 1:48 pm

First topic message reminder :

Hello all,

I want to change the menu as I want.

eg Forum= Home
You have no messages = New messages 0

Also When I connect to say Welcome (name)

Details:

Home Help Search Calendar Members Groups Panel Controls 0 or 1 New Messages Welcome (NAME) (Disconnect)

I have phpbb2
thanks. Smile


Guest
Guest


Back to top Go down


In progress Re: menu edit

Post by Nera. on September 25th 2011, 11:42 am

Go to AP > Display > Homepage > Headers and navigation > Display only images in the navbar : No

Take out your navigations from AP > Display > Advanced > Pictures managment and Save.

Than use the scripts I liked here and do the changes I told you in the previous post Wink

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 12:12 pm

Nera. how i change --> %d(1)or (2) or(3) "automatic" Νew Messages.

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on September 25th 2011, 12:20 pm

It will change ofcourse to what is it's default setting by it self when you get a new PM. If you want to change whats written when you get a new PM you can use the second script and replace the i_icon_mini_message in it to i_icon_mini_new_message and the word "Inbox" to what ever you want and it will affect what is written when you recieve a New PM.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 12:33 pm

doesnt work.. Sad


Last edited by Respect_Me on September 25th 2011, 12:34 pm; edited 1 time in total (Reason for editing : ..)

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on September 25th 2011, 12:35 pm

I have tried it a second ago Wink

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 12:39 pm

can you give me the code ??? Smile

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on September 25th 2011, 12:41 pm

Code:
$(function() {
document.getElementById('i_icon_mini_new_message').nextSibling.nodeValue='Hello PM box';
});

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 12:42 pm

doesnt work Sad

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on September 25th 2011, 12:50 pm

Are we thinking of the same thing, you want to change what's written when a new PM arrives?

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 12:55 pm

0 New Messages " if send me pm" --> 1 New Messages and orange color.
if send me 43 pms" --> 43 New Messages.


beu

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on September 25th 2011, 1:07 pm

Oh, it's not the same thing I thought. It's possible but I don't know how. Have never jet seen someone posted and answer too it. You'll need to wait for someone else.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 2:29 pm

understand me ??? now it say "You have 1 Message" i want it say "1 New Message ..


0 New Messages

1 New Messages

2 New Messages

3 New Messages..

Smile

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 5:33 pm

Javascript is still your solution, it's just a little more involved. You would need to read the title of the "new PM" image (which contains the number of new PMs), split out that number from the rest of the text, and use the number to create the text for your button.

Right now I'm all out of codes, so perhaps you'll be able to find someone who will write those three lines of javascript for you.

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest on September 25th 2011, 5:37 pm

is complicated, can you give me your code please??

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest on September 26th 2011, 1:24 am

I have no codes. But I do have some help.

Code:
var num='0';
var newpm=document.getElementById('i_icon_mini_new_message');
if (newpm) {num=newpm.title.split(' ')[2];}
The variable num will now contain the number of new PMs. You can use it to create any message you want.

Here's the deal, and it's for everyone here. If you can show me that you're trying to learn this, and not just cutting/pasting "code" I provide, I'll provide more assistance. Otherwise, don't bother asking.

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest on September 26th 2011, 1:13 pm

My friend,

I do not want to copy-paste and not learning anything.

Clearly taught by those who learn. But I can not understand why the struggles so much and is a code!

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest on September 26th 2011, 3:13 pm

You become my friend to tell a more ...

The menu was this:


Forum-Calendar-FAQ - Search-Memberlist-Usergroups-Profile-You have no new messages - Log Out

I codes with something you did not provide the changed and I did this:



Home - Calendar-Help - Search-Members-Groups-Control Panel - 0 New Messages - Log Out

But when I send a message to menu changes and be in its original form! :

That way -> Forums - Calendar - FAQ - Search-Memberlist-Usergroups-Profile-You have 1 new messages - Log Out

I want and when to send a message to be so as to change the menu that way -> Home - Calendar-Help - Search-Members-Groups-Control Panel - 1 New Messages - Log Out

Understood;

thanks Smile

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest on September 27th 2011, 1:22 pm

????????????????

Guest
Guest


Back to top Go down

Page 2 of 2 Previous  1, 2

View previous topic View next topic Back to top


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