Coding-Spot

You are not connected. Please login or register

Go to page : 1, 2  Next

 
 
 

User Menu Like This? [ASAP]

Message (Page 1 of 2)

#1

refresh101

refresh101
 
Advance Member

Posted May 14th 2013, 9:50 am

 
Hello Anyone Know The Code Of This One? User Menu Like This? [ASAP] 123


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





#2

Mark

Mark
 
Administrator
Administrator

Posted May 14th 2013, 8:43 pm

 
I already created the code for this, but only gave to mostone, so wait for him :D:.



https://coding-spot.darkbb.com


#3

weeknight

weeknight
 
Senior Member

Posted May 14th 2013, 9:23 pm

 
I think you done answered in FM :D

this your topic
http://help.forumotion.com/t123810-user-menu-like-this-asap

true :D:

hmm you cant edit since you use phpBB3 :):





#4

Mark

Mark
 
Administrator
Administrator

Posted May 14th 2013, 9:27 pm

 
Someone copied my answer >.>
http://help.forumotion.com/t123810-user-menu-like-this-asap#823455

So is this solve now?



https://coding-spot.darkbb.com


#5

refresh101

refresh101
 
Advance Member

Posted May 15th 2013, 8:06 am

 
Yes >.< No Version For PhPBB3 :( . I Hope That Phpbb3 Has Template Editing Next Update.





#6

ashik4u

ashik4u
 
Advance Member

Posted May 19th 2013, 2:06 am

 
I can't understand, what should I do in the index_body. I have edited index_body before for several times.



http://www.bdtipsntricks.com/


#7

BlackScorpion

BlackScorpion
 
Advance Member

Posted May 20th 2013, 6:56 am

 
ashik4u wrote:I can't understand, what should I do in the index_body. I have edited index_body before for several times.

Your suppose to copy the code and paste it into your index body, hit save and then make sure to hit publish template.





#8

Mark

Mark
 
Administrator
Administrator

Posted May 21st 2013, 4:29 pm

 
Solve now? :):



https://coding-spot.darkbb.com


#9

refresh101

refresh101
 
Advance Member

Posted May 22nd 2013, 8:21 pm

 
Not Yeat But How DO I Put An Avatar In The User Menu (PunBB Version?) Because It Seem That There Is No Avatar?





#10

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 3:55 am

 
Hi!

The code is here: http://help.forumotion.com/t123112-change-template-view-user-menu-after-login-on-forumotion-phpbb#819404

And for the last part, use this one instead: (Remove the space on the variable username, since it is not allowed to post it on posts)
Code:
<div id="variables" style="display: none;">
  <span id="USERNAME">{ USERNAME }</span>
  <span id="USERCOUNTPOST">{USERCOUNTPOST}</span>
</div>



https://coding-spot.darkbb.com


#11

refresh101

refresh101
 
Advance Member

Posted May 25th 2013, 7:24 am

 
Sir I Cant UnderStand Sorry I really Confused :'( Can u Do It FOr Me Sir? I Pmed You My Admin Acccount :)


Help Me Fix This SIr





#12

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 8:27 am

 
The instructions are easy. Just read them first, then do it :):.



https://coding-spot.darkbb.com


#13

refresh101

refresh101
 
Advance Member

Posted May 25th 2013, 10:24 am

 
Sir The User Menu Now Works But I Cant Click The Link Why Is That Please Help Thanks Before :)





#14

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 11:13 am

 
Provide me your index_body template.



https://coding-spot.darkbb.com


#15

refresh101

refresh101
 
Advance Member

Posted May 25th 2013, 11:15 am

 
Here Is My Index Body Template Sir :):
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} 
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
   <ul>
         <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
         <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
      <li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
   </ul>
   <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="pun-visit">
   <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
</div>
<!-- END switch_user_logged_out -->

<!-- BEGIN message_admin_index -->
<div class="main">
   <!-- BEGIN message_admin_titre -->
   <div class="main-head">
      <h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
   </div>
   <!-- END message_admin_titre -->

   <!-- BEGIN message_admin_txt -->
   <div id="pun-announcement">
      <p>{message_admin_index.message_admin_txt.MES_TXT}</p>
   </div>
   <!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label>  
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label>  
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>  
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
   </div>
</form>
</div>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
{BOARD_INDEX}

<!-- BEGIN disable_viewonline -->
<div id="pun-info" class="main">
   <div class="main-content">
      <div id="stats">
         <p class="right">{TOTAL_POSTS}</p>
         <p>{TOTAL_USERS}</p>
         <p>{NEWEST_USER}</p>
      </div>
      <div id="onlinelist">
         <img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
         <p class="right">
            <!-- BEGIN switch_viewonline_link -->
            <a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
            <!-- END switch_viewonline_link -->
            <!-- BEGIN switch_viewonline_nolink -->
            {L_WHO_IS_ONLINE}
            <!-- END switch_viewonline_nolink -->
         </p>
         <p>{TOTAL_USERS_ONLINE}<br />
         {RECORD_USERS}

         <br />
         <div class="avatarondav">{LOGGED_IN_USER_LIST}</div>
<script type="text/javascript">
$(document).on('ready',function(){$('.avatarondav a').each(function(){var rondav=$(this).attr('href');$(this).prepend('<a href="'+rondav+'" class="davx"><img src="http://r26.imgfast.net/users/2617/31/90/74/avatars/1-40.png"  /></a>');$(this).children('a').load(rondav+' div.main-content.clearfix.center img:eq(0)')})});
</script>
         {L_ONLINE_USERS}
         {L_CONNECTED_MEMBERS}<br />
         {L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
         <div class="clear"></div>

         <p>{LEGEND} : {GROUP_LEGEND}</p>

      </div>
      <!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
         <p class="page-bottom">
         {TOTAL_CHATTERS_ONLINE} : 
         {CHATTERS_LIST}<br />
         <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
               insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            </script>
         <!-- END switch_chatbox_popup -->
         </p>
      </div>
      <!-- END switch_chatbox_activate -->
   </div>
</div>
<!-- END disable_viewonline -->

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label>  
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label>  
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>  
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
   </div>
</form>
<!-- END switch_user_login_form_footer -->

{CHATBOX_BOTTOM}

<!-- BEGIN switch_legend -->
<ul id="pun-legend">
   <li>
      <img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /> {L_NEW_POSTS}
      <img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /> {L_NO_NEW_POSTS}
      <img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />&nbsp;{L_FORUM_LOCKED}
   </li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
   oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
<style>
#content-container div#left {
display: inline !important;
  }
</style>

Thanks For Reply :):





#16

Sponsored content


 

Posted

 





Message (Page 1 of 2)

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

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None