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.

User Menu Like This? [ASAP]

View previous topic View next topic Go down

Solved User Menu Like This? [ASAP]

Post by refresh101 on May 14th 2013, 3:47 am

Hello Anyone Know The Code Of This One?


Like That I Want The Code But I Failed Searching For That One.


Last edited by refresh101 on May 14th 2013, 5:00 am; edited 1 time in total

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

Solved Re: User Menu Like This? [ASAP]

Post by WAGABONDI on May 14th 2013, 4:31 am

hey BROO

function 100% Razz
CSS

Code:
#usermenu{
  border:1px solid #292929;
  float:left;
  font-size:12px;
  margin-bottom:5px;
  margin-left:2px;
  margin-top:5px;
  padding:5px;
  width:98%;
}
#usermenu-left{
  float:left;
  width:43%;
}
#usermenu-img{
  float:left;width:85p
}
#usermenu-profile{
  float:left;
  margin-left:85px;
  margin-top:5px;
  width:200px
}
#usermenu-profile a{
  -moz-transition:color .2s linear;-o-transition:color .2s ease-in;-webkit-transition:color .2s ease-in;
  color:#006CE0;
  font-weight:700;
  text-decoration:none!important;
  transition:color .2s ease-in
}
#usermenu-profile a:hover{
  color:#fff;text-decoration:none!important
}
#usermenu-profile a:link{
  text-decoration:none!important;
}
#usermenu-profile a:visited{
  text-decoration:none!important;
}
#usermenu-profile a:active{
  text-decoration:none!important;
}
#usermenu-right{
  float:right;
  width:57%;
}
#usermenu-right a{
  -moz-transition:color .2s linear;-o-transition:color .2s ease-in;-webkit-transition:color .2s ease-in;
  color:#006CE0;
  font-weight:700;
  text-decoration:none!important;
  transition:color .2s ease-in;
}
#usermenu-right a:hover{
  color:#fff;
  text-decoration:none!important;
}
#usermenu-right a:link{
  text-decoration:none!important;
}
#usermenu-right a:visited{
  text-decoration:none!important;
}
#usermenu-right a:active{
  text-decoration:none!important;
}
#usermenu-options-left{
  float:right;
  margin-left:10px;
  padding:2px;
}
#usermenu-options-right{
  float:right;
  margin-left:10px;
  padding:2px;
}
#fa_proxy > img{
  border-radius:4px;
  height:85px;
  margin-left: -283px;
  margin-top: 0px;
  width:76px;
}


index_body


Code:
<!-- BEGIN switch_user_logged_in -->     
  <script language="JavaScript">
  function checklength(i){
        if (i<10){
          i="0"+i;}
          return i;
  }
  function clock(){
    var now = new Date();
    var hours = checklength(now.getHours());
    var minutes = checklength(now.getMinutes());
    var seconds = checklength(now.getSeconds());
    var format = 1;  //0=24 hour format, 1=12 hour format
    var time;

    if (format == 1){
      if (hours >= 12){
        if (hours ==12){
          hours = 12;
        }else {
          hours = hours-12;
        }
      time=hours+':'+minutes+':'+seconds+' PM';
      }else if(hours < 12){
          if (hours ==0){
            hours=12;
          }
      time=hours+':'+minutes+':'+seconds+' AM';
      }
    }
  if (format == 0){
      time= hours+':'+minutes+':'+seconds;
  }
  document.getElementById("clock").innerHTML=time;
  setTimeout("clock();", 500);
  }
 </script>
 <div id="usermenu"><div id="usermenu-left"><span class="fa_proxy" style="left: 0px !important;"></span><div id="usermenu-profile">Logged in as: <b><strong><span class="USERNAME"></span></strong></b><br>Posts: <strong><span class="USERCOUNTPOST"></span></strong><br><br><br><a href="/profile?mode=editprofile">My profile</a> | <a id="myinbox" href="/privmsg?folder=inbox">New PM</a></div></div><div id="usermenu-right"><div style="text-align:right; margin-bottom:6px; display:block; width:100%; float:right;"><div class="jclock" style="float: right; font-weight: bold;"><b><div id="clock">
<script language="javascript">
<!--
 clock();
 //-->
 </script>
</div>
</b></div><div style="float:right;"><b><div id="clockbox"></div></b></div></div><div id="usermenu-options-right"><a href="/search?search_id=activetopics">Today's active topics</a><br><a href="/memberlist?mode=today_posters">Today's Top 20 posters</a><br><a href="/memberlist?mode=overall_posters">Overall Top 20 posters</a><br><a href="/forum?mode=delete_cookies">Delete forum cookies</a></div><div id="usermenu-options-left"><a href="/search?search_id=newposts">Posts since your last visit</a><br><a href="/search?search_id=egosearch">View your posts</a><br><a href="/search?search_id=unanswered">View unanswered posts</a><br><a href="/forum?mark=forums">Mark all forums read</a></div></div></div>
<!-- END switch_user_logged_in -->


javascript NEW 1 (Check to homepage only)
-----------------------
Code:
$(window).load(function(){
var x=$('#fa_usermenu > img').attr('src');
$('.fa_proxy').prepend('<span id="fa_proxy"><img src="'+x+'"/><span>');
});

javascript NEW 2
------------------------------------------------
Code:
$(function() {
  var x = document.getElementById('variables').getElementsByTagName('span');
  for (var i = 0, v; (v = x[i++]); ) {
        $('.' + v.id).html(v.innerHTML);
        $('.' + v.id + '-replace').each(function(i, e) {
            e.innerHTML = e.innerHTML.replace( RegExp('{' + v.id + '}', 'g') , v.innerHTML );
        }); 
  }
});

javascript NEW 3
------------------------------------------------
Code:
<div id="variables" style="display: none;">
  <span id="USERNAME">Using php in posts is called being a smart [Language]... Stop it</span>
  <span id="USERCOUNTPOST">{USERCOUNTPOST}</span>
</div>



Razz http://www.youtube.com/watch?v=KByQmlcO6F4

WAGABONDI
Forumember

Posts : 81
Reputation : 1
Language : albania

Back to top Go down

Solved Re: User Menu Like This? [ASAP]

Post by refresh101 on May 14th 2013, 4:56 am

awwwwwww there Is Index Body Template Editing Sad

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

Solved Re: User Menu Like This? [ASAP]

Post by SLGray on May 14th 2013, 5:20 am

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
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