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.

how to make MOTM widget?

4 posters

Go down

how to make MOTM widget? Empty how to make MOTM widget?

Post by erchima April 11th 2014, 13:15

how to make MOTM (Member of the Month) like this
how to make MOTM widget? BV39tiF
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by Sir Chivas™ April 11th 2014, 16:07

Hi,

Is that a Forumotion forum? Can you please provide both URLs of your forum and the one in the screenshot, thank you.

Regards,
Sir Chivas.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by erchima April 13th 2014, 20:35

hello sir, i want to make widget MoTM (Member of The Month) like on atlanta.firumid.net, and bestskin.com.br
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by SLGray April 13th 2014, 20:40

Please post working links to the forum that has what you want.


how to make MOTM widget? Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by erchima April 13th 2014, 20:42

SLGray wrote:Please post working links to the forum that has what you want.
its working http://atlanta.forumid.net and http://bestskins.com.br or http://bestskins.forumeiros.com


Last edited by erchima on April 16th 2014, 10:07; edited 1 time in total
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by Ange Tuteur April 13th 2014, 20:56

Hello erchima,

Have you tried asking the admins of these forums ? It is neat however, I would not recommend using it if you do get it. The reason why is it sends too many AJAX requests at once(i.e. 5 requests) which causes you to exceed your request limit. After a few seconds browsing this forum I was met with the following :
how to make MOTM widget? Captu467
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by erchima April 13th 2014, 21:01

I do not know who the best admin in the skin, which I know only the admin in atlanta, but was never active admin. maybe you can help me with this code
Code:

<div class="main-content clearfix">
   <script>
jQuery(document).ready(function(){
    var d_month = sessionStorage.getItem('d_month');
    if(d_month) {
       jQuery('#d_month').html(d_month);
    } else {
jQuery.get(jQuery('.module table[summary="Os membros mais ativos do mês"] td[width="30%"]:eq(0) a').attr('href'),function(b){
  var id = jQuery('#profile-advanced-right .main-head .h3:eq(0) span', b);
  var avatar = jQuery('#profile-advanced-right .main-content.clearfix.center:eq(0) img', b);
  var rep = jQuery('#field_id-14 div', b).html();
  var posts = jQuery('#field_id-6 div',b).html();
  var register = jQuery('#field_id-4 div',b).html();
  var birth = jQuery('#field_id-12 div',b).html();
 jQuery('.box.table_wrap').each(function() {
  jQuery(this).find('#id').html(id);
  jQuery(this).find('#avat').html(avatar);
  jQuery(this).find('#reg-msg').html(register);
  jQuery(this).find('#nas').html(birth);
  jQuery(this).find('#post-membro').html(posts);
  jQuery(this).find('#reput').html(rep);
 });
sessionStorage.setItem('d_month', jQuery('#d_month').html());
});
}
function makeArray() {
      for (i = 0; i<makeArray.arguments.length; i++)
      this[i + 1] = makeArray.arguments[i];
   }
   var months = new makeArray('Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro');
   var date = new Date();
   var month = date.getMonth() + 1;
   var yy = date.getYear();
   var year = (yy < 1000) ? yy + 1900 : yy;
   jQuery('.top-date').text(months[month] + " " + year);
});
</script> 
   <div id="d_month">
       
      <div class="box table_wrap">
          
         <div class="box_container">
             
            <table class="box_table">
                
               <tbody>
                   
                  <tr>
                      
                     <td align="center" style="background-color: rgb(240, 248, 255);padding: 3px;width: 80px;">
                         
                        <div id="avat">
                           Carregando avatar... 
                        </div>
                         
                     </td>
                      
                     <td style="width: 100%">
                         
                        <div class="inner_container">
                           <span id="id"></span> <span class="top-date box_badge"></span> 
                        </div>
                         
                     </td>
                      
                  </tr>
                   
               </tbody>
                
            </table>
             
         </div>
          
         <div class="box_container b_cont2">
             
            <table class="box_table">
                
               <tbody>
                   
                  <tr>
                      
                     <td>
                         
                        <div class="smaller">
                           Parabéns a <span id="id"></span> nosso novo membro deste mês. Registrado pela primeira vez neste fórum <span id="reg-msg"></span>. Ele comemora aniversário em <span id="nas"></span>. Tem o total de <span id="post-membro"></span> posts. Ele recebeu <span id="reput"></span> pontos de reputação. Parabéns ao membro do mês. 
                        </div>
                         
                     </td>
                      
                  </tr>
                   
               </tbody>
                
            </table>
             
         </div>
          
      </div>
       
   </div><style>
.box_container {
background: white;
border: 1px solid #CECED1;
}
.box_container .inner_container {
width: 100%;
position: relative;
left: -5px;
padding: 5px 5px 5px 10px;
}
.box_container .inner_container #id {
display: block;
border-bottom: 1px solid lightgrey;
padding: 3px 0;
margin: 2px 5px 2px 0;
font-size: 1.3em;
}
.b_cont2 {margin-top: 10px;}
.b_cont2 .smaller {
padding-top: 3px;
font-size: 10px;
color: #1E7145;
text-align: justify;
text-justify: newspaper;
}
#avat img {
height: 50px;
width: 50px;
padding: 1px;
border: 1px solid #D5D5D5;
background: white;
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.box_badge {
background: green;
cursor: default;
height: 16px;
min-width: 150px;
line-height: 16px;
padding: 0 5px;
font-size: 9px;
font-weight: bold;
text-transform: uppercase;
color: white;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
vertical-align: middle;
}
</style>
</div>
<div style="height:1px">
</div>
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by erchima April 16th 2014, 10:08

up
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by erchima April 18th 2014, 12:57

bump i realy need help  Sad  Sad  Sad
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

how to make MOTM widget? Empty Re: how to make MOTM widget?

Post by erchima May 1st 2014, 01:13

up
erchima
erchima
Forumember

Female Posts : 629
Reputation : 15
Language : INDONESIAN | Lua Script | Visual Basic | and Coding
Location : Under your bed xD

http://erchimacute.forumid.net

Back to top Go down

Back to top

- Similar topics

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