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 Sat Sep 24, 2011 7:48 am

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 Sun Sep 25, 2011 5: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
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on Sun Sep 25, 2011 6:12 am

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 Sun Sep 25, 2011 6:20 am

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.
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on Sun Sep 25, 2011 6:33 am

doesnt work.. Sad


Last edited by Respect_Me on Sun Sep 25, 2011 6:34 am; edited 1 time in total (Reason for editing : ..)

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on Sun Sep 25, 2011 6:35 am

I have tried it a second ago Wink
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on Sun Sep 25, 2011 6:39 am

can you give me the code ??? Smile

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on Sun Sep 25, 2011 6:41 am

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

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on Sun Sep 25, 2011 6:42 am

doesnt work Sad

Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. on Sun Sep 25, 2011 6:50 am

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

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on Sun Sep 25, 2011 6:55 am

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 Sun Sep 25, 2011 7:07 am

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.
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: menu edit

Post by Guest on Sun Sep 25, 2011 8:29 am

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 Sun Sep 25, 2011 11:33 am

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 Sun Sep 25, 2011 11:37 am

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 Sun Sep 25, 2011 7:24 pm

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 Mon Sep 26, 2011 7:13 am

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 Mon Sep 26, 2011 9:13 am

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 Tue Sep 27, 2011 7:22 am

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

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