The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

menu edit

+2
shadowz au
hanzboyz
6 posters

Page 2 of 2 Previous  1, 2

Go down

In progress menu edit

Post by Guest September 24th 2011, 3: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

avatar
Guest
Guest


Back to top Go down


In progress Re: menu edit

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

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

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

Back to top Go down

In progress Re: menu edit

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

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


Back to top Go down

In progress Re: menu edit

Post by Nera. September 25th 2011, 2: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.
Nera.
Energetic

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

Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 2:33 pm

doesnt work.. Sad


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


Back to top Go down

In progress Re: menu edit

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

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

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

Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 2:39 pm

can you give me the code ??? Smile
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

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

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

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

Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 2:42 pm

doesnt work Sad
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

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

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

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

Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 2:55 pm

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


beu
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Nera. September 25th 2011, 3: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.
Nera.
Energetic

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

Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 4: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
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 7: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.
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest September 25th 2011, 7:37 pm

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


Back to top Go down

In progress Re: menu edit

Post by Guest September 26th 2011, 3: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.
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest September 26th 2011, 3: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!
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest September 26th 2011, 5: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
avatar
Guest
Guest


Back to top Go down

In progress Re: menu edit

Post by Guest September 27th 2011, 3:22 pm

????????????????
avatar
Guest
Guest


Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

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