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.

Links In Header

5 posters

Go down

Solved Links In Header

Post by smejker 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)

Links In Header  6610

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
smejker
Forumember

Male Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian

Back to top Go down

Solved Re: Links In Header

Post by Sir Chivas™ 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: https://help.forumotion.com/t35094-the-navigation-bar

Regards,
Sir Chivas.
Sir Chivas™
Sir Chivas™
Helper
Helper

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

https://aforums.org

Back to top Go down

Solved Re: Links In Header

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

Are you talking about the toolbar or the navbar?


Links In Header  Slgray10

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

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Links In Header

Post by smejker 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: https://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
smejker
Forumember

Male Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian

Back to top Go down

Solved Re: Links In Header

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

Anybody...  Embarassed
smejker
smejker
Forumember

Male Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian

Back to top Go down

Solved Re: Links In Header

Post by Pizza Boi 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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: Links In Header

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

Pizza Boi,
Well, this is image:

Links In Header  4410

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
smejker
Forumember

Male Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian

Back to top Go down

Solved Re: Links In Header

Post by Jophy 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
Jophy
ForumGuru

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

Back to top Go down

Solved Re: Links In Header

Post by smejker 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
smejker
Forumember

Male Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian

Back to top Go down

Solved Re: Links In Header

Post by Jophy 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
Jophy
ForumGuru

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

Back to top Go down

Solved Re: Links In Header

Post by smejker 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:
Links In Header  Untitl10

so this topic can be solved!

Regards & Respect!
smejker
smejker
Forumember

Male Posts : 167
Reputation : 4
Language : serbo-croatian/english/macedonian/bulgarian

Back to top Go down

Solved Re: Links In Header

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

Topic Solved & Archived


Links In Header  Slgray10

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

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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