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.

New Log in Navigation Bar?

2 posters

Go down

Solved New Log in Navigation Bar?

Post by jan4jam July 2nd 2015, 2:13 pm

Good morning,

I am almost afraid to ask but I will anyway have to do to learn right? Anyway I absolutely love that new feature you have at the top with my logo recent topics etc. Is there a way I can do that so my members can have easy access to that as well?

It just might be too hard for me with codes etc. but I figured I would ask and maybe some time in the near future I will be confident enough to try it, if not no worries BUT IT IS AWESOME love what you did=D Big Smiles...

Have a good day God Bless,
Jan
jan4jam
jan4jam
Forumember

Female Posts : 132
Reputation : 2
Language : english
Location : New Jersey

http://www.bipolarandsupport.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by Ange Tuteur July 2nd 2015, 3:31 pm

Hi @jan4jam,

This is still being worked on, but if your forum version is phpbb3 you can use the following prototype. Go to Administration Panel > Display > Generalities

Paste the following code into the homepage message.
Code:
<style type="text/css">#userProfile { font-size:11px; position:relative; margin-top:30px; margin-bottom:10px; padding:3px; }
#userProfile .leftCol { float:left; text-align:center; width:20%; }
#userProfile .rightCol { float:left; width:25%; }
#userName { background:#ECF3F7; color:#0076B1; font-weight:bold; font-family:"Trebuchet MS", Verdana, Arial, Sans-serif; border-radius:3px 3px 0 0; position:absolute; left:3px; top:-18px; padding:0 12px; line-height:18px; }
#userName span { font-weight:normal }
#userAvatar img { max-width:100px }
#userAvatar { display:inline-block; overflow:hidden; min-height:100px; min-width:100px; }
#userProfile .title { color:#0076B1; font-weight:bold; border-bottom:1px solid #0076B1; padding-bottom:3px; margin-bottom:3px; width:90%; }
#userProfile .statLabel { display:inline-block; width:85px; font-weight:bold; text-align:right; margin-right:6px; }</style>
<script type="text/javascript">// <![CDATA[
(function(J, U, L) {
  var main = document.getElementById('main-content'),
      homepage = J('.introduction', main)[0],
      profil;
   
  if (U.session_logged_in) {
    profil = document.createElement('DIV');
    profil.id = 'userProfile';
    profil.className = 'panel introduction';
    profil.innerHTML = '<div id="userName"><span>Logged in as </span>' + U.username + '</div><div class="leftCol"><span id="userAvatar">' + U.avatar + '</span></div><div class="rightCol"><div class="title">General</div><div><span class="statLabel">Rank : </span>' + L.rank_title + '</div><div><span class="statLabel">' + L.Posts + ' : </span>' + U.user_posts + '</div><div><span class="statLabel">' + L.PMs + ' : </span>' + U.user_nb_privmsg + '</div><div><span class="statLabel">' + L.Reputation + ' : </span>' + U.point_reputation + '</div></div><div class="rightCol"><div class="title">Profile</div><div><a href="/u' + U.user_id + '">' + L.See_my_profile + '</a></div><div><a href="/profile?mode=editprofile">' + L.Edit_profile + '</a></div><div><a href="/privmsg?folder=inbox">' + L.All_PMs + '</a></div><div><a href="/profile?mode=editprofile&page_profil=notifications">' + L.Notif_see_all + '</a></div></div><div class="rightCol"><div class="title">Search</div><div><a href="/sta/' + U.username + '">' + L.All_Topics + '</a></div><div><a href="/spa/' + U.username + '">' + L.All_Messages + '</a></div><div><a href="/search?search_id=watchsearch">' + L.js_topics_followed + '</a></div><div><a href="/search?search_id=newposts">View new posts</a></div></div><div class="clear"></div>';
    main.insertBefore(profil, homepage);
  }
  // par ange tuteur
})(jQuery, _userdata, _lang);
//]]></script>
( You can add it to the very bottom or top depending on your preferences )

That should give you the following result :
New Log in Navigation Bar? Captur36
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by jan4jam July 3rd 2015, 11:46 am

Good morning,

I am running PHPBB no number after it? Found this at the bottom of forum?

I understand what you mean but do not know the version with a number afterwards?

Have a good day,
Jan
jan4jam
jan4jam
Forumember

Female Posts : 132
Reputation : 2
Language : english
Location : New Jersey

http://www.bipolarandsupport.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by jan4jam July 3rd 2015, 11:51 am

Okay I am running the phpbb3 but when I paste code it says successful but when I check forum it is not there, then I go back into admin, display, generalties, and it is not in the box the code was saved when I did it but it is not there when I go back in and look, so what I mean is it is not saving it?

Maybe because it is being worked I will try every week or so and when it is done being worked on we shall see but I understand GREAT=D Thanks a heap!!

Have a good day,
Jan
jan4jam
jan4jam
Forumember

Female Posts : 132
Reputation : 2
Language : english
Location : New Jersey

http://www.bipolarandsupport.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by jan4jam July 3rd 2015, 11:53 am

Also I just noticed even though it was not added to forum there is a bigger space under my description no big deal just letting you know?

Thanks God Bless
Jan
jan4jam
jan4jam
Forumember

Female Posts : 132
Reputation : 2
Language : english
Location : New Jersey

http://www.bipolarandsupport.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by Ange Tuteur July 3rd 2015, 12:06 pm

Oh sorry, I forgot to mention; When pasting the code, make sure that you're using source code mode on the editor. Otherwise, it may incorrectly add the code, or not add it altogether.

You can tell you're using source code mode if the sheet of paper has a white background :
New Log in Navigation Bar? Captur39

Clicking it will switch between modes. Also, the extra space may be due to additional break tags ( <br/> ) you can find and remove these breaks in source mode. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by jan4jam July 3rd 2015, 12:38 pm

WOW GREAT I got it totally awesome proud of me I usually have so much trouble

God Bless Have A Great Day
Jan
jan4jam
jan4jam
Forumember

Female Posts : 132
Reputation : 2
Language : english
Location : New Jersey

http://www.bipolarandsupport.com

Back to top Go down

Solved Re: New Log in Navigation Bar?

Post by Ange Tuteur July 7th 2015, 6:20 pm

You're welcome ^^

Topic archived

If you have any problems with it, feel free to open a new topic. Have a nice day. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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