how to make MOTM widget?
4 posters
Page 1 of 1
Re: how to make MOTM widget?
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.
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™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Re: how to make MOTM widget?
hello sir, i want to make widget MoTM (Member of The Month) like on atlanta.firumid.net, and bestskin.com.br
Re: how to make MOTM widget?
Please post working links to the forum that has what you want.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: how to make MOTM widget?
its working http://atlanta.forumid.net and http://bestskins.com.br or http://bestskins.forumeiros.comSLGray wrote:Please post working links to the forum that has what you want.
Last edited by erchima on April 16th 2014, 10:07; edited 1 time in total
Re: how to make MOTM widget?
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 :
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 :
Re: how to make MOTM widget?
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>
Similar topics
» GraphicMania
» TPOM & MOTM RANK NEEDED!
» How do I make a widget that looks like this...
» how to make widget with css?
» how to make a widget like this ?
» TPOM & MOTM RANK NEEDED!
» How do I make a widget that looks like this...
» how to make widget with css?
» how to make a widget like this ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum