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.

How to show the profile on home page

View previous topic View next topic Go down

Solved How to show the profile on home page

Post by Brenon Hatake on June 26th 2017, 1:31 am

Technical Details


Forum version : #ModernBB
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : https://i11.servimg.com/u/f11/19/70/17/11/screen10.png
Who the problem concerns : All members
When the problem appeared : its something i need to fix
Forum link : http://young-rich-nation.forumotion.com/

Description of problem

there is a forums http://pb2genocide.forumotion.com/ i would like to have this i would like to do this how do i make it like this


Last edited by Brenon Hatake on June 29th 2017, 7:33 pm; edited 1 time in total
avatar
Brenon Hatake
Forumember

Posts : 30
Reputation : 1
Language : english

Back to top Go down

Solved Re: How to show the profile on home page

Post by Legionheart on June 26th 2017, 4:58 am

Hello @Brenon Hatake the programmer of the script you are looking for is @Ange Tuteur. Since so many places have this already I think it would be okay for me to place it here. For this you need to go into the Admin Panel>Display>Homepage>Generalities>You will see homepage message and from there place the code below inside it, Click Save and then you are done.
Spoiler:
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>
avatar
Legionheart
Forumember

Male Posts : 682
Reputation : 101
Language : English & Ecclesiastical Latin
Location : San Venganza

http://help.forumotion.com/forum

Back to top Go down

Solved Re: How to show the profile on home page

Post by Brenon Hatake on June 28th 2017, 3:15 am

it didnt come correctly
avatar
Brenon Hatake
Forumember

Posts : 30
Reputation : 1
Language : english

Back to top Go down

Solved Re: How to show the profile on home page

Post by SLGray on June 28th 2017, 3:35 am

Please post your forum's link. The link in your first post leads to an forum that does not exist.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39118
Reputation : 2625
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to show the profile on home page

Post by Brenon Hatake on June 28th 2017, 5:29 am

avatar
Brenon Hatake
Forumember

Posts : 30
Reputation : 1
Language : english

Back to top Go down

Solved Re: How to show the profile on home page

Post by SLGray on June 28th 2017, 6:47 am

Are you using the theme by Ange Tuteur? If yes, you should ask for help on FM Design.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39118
Reputation : 2625
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to show the profile on home page

Post by Draxion on July 1st 2017, 8:02 pm

I see you marked this topic as solved, is that true? Please respond within 24 hours.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1347
Reputation : 186
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: How to show the profile on home page

Post by Draxion on July 3rd 2017, 3:49 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 1347
Reputation : 186
Language : English
Location : USA

http://www.draxionsgameden.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