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.

#userProfile

View previous topic View next topic Go down

Solved #userProfile

Post by omarpop23 on November 12th 2015, 11:13 am

i want remove this

my code :-
Code:

<style type="text/css">#userProfile { font-size:11px; position:relative; margin-top:30px; margin-bottom:10px; padding:3px; }
#userProfile .leftCol { float:right; text-align:center; width:20%; }
#userProfile .rightCol { float:right; 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; right: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">العـــــام</div><div><span class="statLabel">الرتبــة : </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">البيانات الشخصية</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">بحث</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">عرض المواضيع الحديثة </a></div></div><div class="clear"></div>';
    main.insertBefore(profil, homepage);
  }
  // par ange tuteur
})(jQuery, _userdata, _lang);
//]]></script>


Last edited by omarpop23 on November 13th 2015, 4:24 pm; edited 1 time in total

omarpop23
Forumember

Male Posts : 144
Reputation : 3
Language : Arabic
Location : Egypt

http://egyover.ahlamontada.com

Back to top Go down

Solved Re: #userProfile

Post by SarkZKalie on November 12th 2015, 1:43 pm

Could you please provide your forum URL?

SarkZKalie
Forumember

Male Posts : 448
Reputation : 78
Language : English

http://rotavn.nstars.org/

Back to top Go down

Solved Re: #userProfile

Post by SLGray on November 12th 2015, 5:07 pm



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


SLGray
Administrator
Administrator

Male Posts : 36663
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: #userProfile

Post by darki on November 12th 2015, 6:06 pm

Here I solved for myself the problem. Very Happy
http://help.forumotion.com/t143418-info-box-problem

darki
Forumember

Posts : 254
Reputation : 10
Language : German, english

http://schiggysboard.com

Back to top Go down

Solved Re: #userProfile

Post by omarpop23 on November 12th 2015, 11:37 pm

@SLGray : hhhhhhhhhhhhh yes this is my URL Very Happy
-----------------
@darki : when i use this code
Code:

.panel.introduction {
  display: none;
}
every thing remove

omarpop23
Forumember

Male Posts : 144
Reputation : 3
Language : Arabic
Location : Egypt

http://egyover.ahlamontada.com

Back to top Go down

Solved Re: #userProfile

Post by Ange Tuteur on November 12th 2015, 11:54 pm

Is there a box-shadow on the panel ? If so, set
Code:
box-shadow:none;
on the container you don't want the shadow to display.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: #userProfile

Post by omarpop23 on November 13th 2015, 12:22 am

no change you can visit http://egyover.ahlamontada.com
and solve it

omarpop23
Forumember

Male Posts : 144
Reputation : 3
Language : Arabic
Location : Egypt

http://egyover.ahlamontada.com

Back to top Go down

Solved Re: #userProfile

Post by Luffy on November 13th 2015, 2:21 pm

Hello,

Try replacing the code on your first post with this one:
Code:
 
<style type="text/css">#userProfile { font-size:11px; position:relative; margin-top:30px; margin-bottom:10px; padding:3px; }
#userProfile .leftCol { float:right; text-align:center; width:20%; }
#userProfile .rightCol { float:right; 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; right: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">العـــــام</div>
<div><span class="statLabel">الرتبــة : </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">البيانات الشخصية</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">بحث</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">عرض المواضيع الحديثة </a></div>
</div>';
    main.insertBefore(profil, homepage);
  }
  // par ange tuteur
})(jQuery, _userdata, _lang);
//]]></script>
And see what is done. There was an empty class there that i think was wrong. Smile

Luffy






Luffy
Manager
Manager

Male Posts : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: #userProfile

Post by omarpop23 on November 13th 2015, 2:43 pm

@Luffy : user profile removed when i uesed it

omarpop23
Forumember

Male Posts : 144
Reputation : 3
Language : Arabic
Location : Egypt

http://egyover.ahlamontada.com

Back to top Go down

Solved Re: #userProfile

Post by darki on November 13th 2015, 2:46 pm

@omarpop23 wrote:@darki : when i use this code
Code:

.panel.introduction {
  display: none;
}
every thing remove

@omarpop23 I think you forgot to add a "2". Search in your code for this
Code:
profil.className = 'panel introduction';
Add a 2 after panel introduction. Then the code in your quote above should work. Smile

darki
Forumember

Posts : 254
Reputation : 10
Language : German, english

http://schiggysboard.com

Back to top Go down

Solved Re: #userProfile

Post by omarpop23 on November 13th 2015, 2:52 pm

i don't understand Surprise

omarpop23
Forumember

Male Posts : 144
Reputation : 3
Language : Arabic
Location : Egypt

http://egyover.ahlamontada.com

Back to top Go down

Solved Re: #userProfile

Post by darki on November 13th 2015, 3:48 pm

^^'
Use this as your code:
Code:
<style type="text/css">#userProfile { font-size:11px; position:relative; margin-top:30px; margin-bottom:10px; padding:3px; }
        #userProfile .leftCol { float:right; text-align:center; width:20%; }
        #userProfile .rightCol { float:right; 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; right: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 introduction2';
            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">العـــــام</div><div><span class="statLabel">الرتبــة : </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">البيانات الشخصية</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">بحث</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">عرض المواضيع الحديثة </a></div></div><div class="clear"></div>';
            main.insertBefore(profil, homepage);
          }
          // par ange tuteur
        })(jQuery, _userdata, _lang);
        //]]></script>

Add this to your CSS stylesheet:
Code:
        .panel.introduction {
          display: none;
        }

darki
Forumember

Posts : 254
Reputation : 10
Language : German, english

http://schiggysboard.com

Back to top Go down

Solved Re: #userProfile

Post by omarpop23 on November 13th 2015, 4:23 pm

@darki : thank you salut

solved Good Yes

omarpop23
Forumember

Male Posts : 144
Reputation : 3
Language : Arabic
Location : Egypt

http://egyover.ahlamontada.com

Back to top Go down

Solved Re: #userProfile

Post by SLGray on November 13th 2015, 5:04 pm

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 36663
Reputation : 2445
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