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.

Links In Header

View previous topic View next topic Go down

Solved Links In Header

Post by smejker on June 20th 2014, 7:44 am

Hi,
How do I add "some links"  on my Header forum..? (Like... Profile, Notification, Welcome message, etc...)
My Forum version phpBB3

and... I want to put right in the header... (See image)



I'll appreciate for your help... Thanks in advance... Regards & Respect!


Last edited by smejker on June 20th 2014, 9:49 am; edited 2 times in total (Reason for editing : Image)

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: Links In Header

Post by Sir Chivas™ on June 21st 2014, 9:19 pm

To add more links into the Navigation bar:

ACP >> Display >> Homepage >> Headers & Navigations >> Add a customized menu.

Read more about it here: http://help.forumotion.com/t35094-the-navigation-bar

Regards,
Sir Chivas.

Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Links In Header

Post by SLGray on June 21st 2014, 9:29 pm

Are you talking about the toolbar or the navbar?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Links In Header

Post by smejker on June 21st 2014, 11:09 pm

Sir Chivas™ wrote:To add more links into the Navigation bar:

ACP >> Display >> Homepage >> Headers & Navigations >> Add a customized menu.

Read more about it here: http://help.forumotion.com/t35094-the-navigation-bar

Regards,
Sir Chivas.

No... I want some else...
If you see my image in first post, I want to put some links (Like: Users links, Profile Links, Users Notification, Login, Logout...) in the HEADER PAGE (right from Forum main logo).. not in navbar, not in toolbar.
Thanks... Regards & Respect!

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: Links In Header

Post by smejker on June 23rd 2014, 3:32 pm

Anybody...  Embarassed

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: Links In Header

Post by Pizza Boi on June 24th 2014, 6:04 pm

Hi Very Happy

Can you please do an example with layered images or whatever you can do so that we can see it? Your explanation is rather vague atm for me.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Links In Header

Post by smejker on June 25th 2014, 9:33 am

Pizza Boi,
Well, this is image:



I want to put some links in right of Header (Welcome USER with Users links, Profile Links, Users Notification, Login, Logout...)

I find this script
Code:
$(function(){
$("#logo-desc").append('<ul id="listhead" style="float: right; position: relative; font-size: 14px; text-align: center;"><li><a href="URL HERE">LINK 1</a></div><tr><a href="URL HERE">LINK 2</a><a href="URL HERE">LINK 3</a><a href="URL HERE">LINK 4</a><a href="URL HERE">Log INK 5</a></div>');
});
and it's good... but now, I dont't know how to put:

Welcome USER (with user link)
Log In (When you're click Log In) Log Out.
Sory for bad english.

Regards & Respect!

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: Links In Header

Post by Jophy on June 25th 2014, 11:22 am

Hello,

Replace the url here with the following:

For user:

Code:
{USERLINK}

Profile:

Code:
/profile.forum?mode=editprofile

Logout:

Code:
/login?logout=1

However, you might also want to modify the code to add the login or hide the logout,profile and notifications when you are logged out, can you provide the code that you are currently using. Thanks.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Links In Header

Post by smejker on June 25th 2014, 12:13 pm

@Jophy wrote:Hello,

Replace the url here with the following:

For user:

Code:
{USERLINK}

Profile:

Code:
/profile.forum?mode=editprofile

Logout:

Code:
/login?logout=1

However, you might also want to modify the code to add the login or hide the logout,profile and notifications when you are logged out, can you provide the code that you are currently using. Thanks.

Thanks Jophy... but nothing, no result!

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: Links In Header

Post by Jophy on June 26th 2014, 8:34 am

Please provide the link you are trying to use, not this:

Code:
$(function(){
$("#logo-desc").append('<ul id="listhead" style="float: right; position: relative; font-size: 14px; text-align: center;"><li><a href="URL HERE">LINK 1</a></div><tr><a href="URL HERE">LINK 2</a><a href="URL HERE">LINK 3</a><a href="URL HERE">LINK 4</a><a href="URL HERE">Log INK 5</a></div>');
});

The one you're trying to work currently. Thanks.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Links In Header

Post by smejker on July 12th 2014, 11:34 am

With help from Syndrome-X,  I made this:

In Display -> Templates -> General -> overall_header
after: <!-- END switch_compat_meta -->
I put this:

Code:
<script type ="text/javascript" src="http://tinyurl.com/var-fa"> </script>

and after: <!-- END switch_desc -->
I put:

Code:
<style type="text/css">
#greetwrap{
    float: right;
}
#avatar img{
    max-width: 80px;
    background: #fff;
    padding: 1px;
    float: right;
border: 0.3px solid #fff;
}
</style><script>
    jQuery(function(){
        var avatar = _userdata["avatar"];
        jQuery('#avatar').append(avatar);
    });
</script>
      
<div id="greetwrap">
<font color=white>•Welcome </font>
<b><mark><span class="USERLINK" > </span></mark></b>
</div><div id="avatar"></div>

And with script:

Code:
$(function(){
$("#logo-desc").append('<ul id="listhead" style="float: right; position: relative; font-size: 14px; text-align: center;"><li><a href="URL HERE">LINK 1</a></div><tr><a href="URL HERE">LINK 2</a><a href="URL HERE">LINK 3</a><a href="URL HERE">LINK 4</a><a href="URL HERE">Log INK 5</a></div>');
});

I have this:


so this topic can be solved!

Regards & Respect!

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: Links In Header

Post by SLGray on July 12th 2014, 11:54 am

Topic Solved & Archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36648
Reputation : 2443
Language : English
Location : United States

http://ztwds.forumotion.com/

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