Community Forum

User info

Welcome, Guest! Please login or register.


You are here » Community Forum » Forum for Newbies » there is less feature for user registration


there is less feature for user registration

Posts 1 to 16 of 16

1

i mean the admin has no permission to use reserve names for registration . if i ban someone then the persons whole browser ban even he can not read anymore if not clear browsing history.this should be fix .there should be warning user system..

0

2

there should be a medal system .which can award users..when someone post article 1 credit should add which can be use add medals theme self by using credit   

Last edited by study.mybb.online (2017-04-12 18:52:58)

0

3

how should show users and moderator/admin after post a reply or topic
http://sk.uploads.im/t/av5ws.jpg

0

4

study.mybb.online wrote:

i mean the admin has no permission to use reserve names for registration . if i ban someone then the persons whole browser ban even he can not read anymore if not clear browsing history.this should be fix .there should be warning user system..

Sorry, didn't understand this.

study.mybb.online wrote:

there should be a medal system .which can award users..when someone post article 1 credit should add which can be use add medals theme self by using credit   

Last edited by study.mybb.online (Yesterday 18:52:58)

It is possible but you'll have to install some code. It's complicated.

Add this code to your Adminstrator panel --> Options --> HTML Footer

<!-- Награды v3.1 by kozhilya -->
<div class="AwardAllWindow" style="display: none"><div class="AwardWindow"><div id="closeBtn"></div>
<h3>User's Awards</h3><div id="AwardContent"></div></div></div>
<script>
function GetOuterHTML(el)
{ var Result = '<' + el.localName; for (var i=0; i<el.attributes.length; i++) Result += ' ' + el.attributes[i].nodeName + '="' + el.attributes[i].nodeValue + '"'; Result += '>' + el.innerHTML + '</' + el.localName + '>'; return Result; }
function OpenAwards(t) { $('div.AwardAllWindow').fadeIn(1000); $('div.AwardWindow div#AwardContent').html($(t).parent().parent().find('div').html()); $('div.AwardWindow h3').html('User's awards <span>'+ $(t).parent().parent().parent().parent().find('li.pa-author a').text()+'</span>'); }
$('div.AwardWindow #closeBtn').click(function() { $('div.AwardAllWindow').fadeOut(1000); });
$('.post li.pa-fld2').each(function() {
Result = '<table>';
$(this).find('img').each(function() { var alt = $(this).attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); Result += '<tr><td id="title"><strong>'+name+'</strong></td><td id="img">'+GetOuterHTML(this)+'</td><td id="desc">'+desc+'</td></tr>'; }); Result += '</table>'; $(this).html('<span><a href="#" onclick="OpenAwards(this); return false;">Awards</a></span><div style="display: none">'+Result+'</div>'); });
$('#pun-profile fieldset').each(function() { if ($(this).find('legend span').text() == 'Awards') { var h = '<table style="display: inline;">'; $(this).find('p.checkfield').each(function() { var alt = $(this).find('img').attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); h += '<tr><td><p class="checkfield">' + $(this).html() + '</p></td><td>Award: <strong>'+name+'</strong><br>Описание: <strong>'+desc+'</strong></td></tr>' }); $(this).find('div.fs-box').html(h); $(this).find('div.fs-box').css({'display':'none'}); $(this).find('legend').after('<span onclick="$(this).parent().find(\'div.fs-box\').toggle(1000);">Set Award</span>'); }});
</script>


Then add this to HTML Header:

<style>
div.AwardAllWindow {
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  position: fixed; top: 0px; left: 0px;
}
div.AwardWindow {
  z-index: 9999; position: fixed;
  top: 10% !important; left: 50% !important;
  width: 700px; padding: 10px;
  background: #331400;
  margin-left: -350px !important;
  vertical-align: middle;
  border: 1px solid #E3BB55;
  border-radius: 5px;
  color: #E3BB55;
}
div.AwardWindow div#closeBtn {
  cursor: pointer;
  background: url(http://uploads.ru/i/P/A/l/PAlLS.png) no-repeat center;
  width: 16px; height: 16px;
  position: relative;
  top: -5px; left: 690px;
}
div.AwardWindow h3 {
  font-variant: small-caps;
  font-weight: bold;
  font-size: 15px;
  margin-top: -20px;
}
div.AwardWindow div#AwardContent {
  width: auto; height: auto;
  min-height: 100px;
  max-height: 300px !important;
  overflow-y:auto;
}
div.AwardWindow div#AwardContent td#title {
  font-variant: small-caps;
  font-weight: bold;
  font-size: 15px;
  width: 200px;
  text-align: center;
}
div.AwardWindow div#AwardContent td#desc {
  font-size: 10px; 
}
#pun-profile fieldset > span {
  cursor: pointer;
  padding: 5px;
  border: 1px solid black;
  position: relative;
  top: -30px;
  margin-bottom: 10px;
  left: 150px;
  background-color: white;
}
</style>


And then you are to open Profile fields section, create a new custom field entitled "Awards" precisely!
Customize it according to the Image below!
http://imgur.com/I0hMRLL.png

I marked with text the fields that you must edit to add new awards: create a title for an award and specify its URL address.

If everything's done correct, it'll work.
http://imgur.com/9iRVls5.png

Permission to Set Awards have Admins and probably Moderators. To set an award open user Profile --> Extras

http://imgur.com/ndbFNMY.png

+1

5

its working thank you .

only one thing please give me a code which can count delete posts also .when moderator or admin delete a post.it should show on his profile section (bottom of post counter) ..

0

6

study.mybb.online
Unfortunately, there's no such a feature.

0

7

Hello please how can I put bank account form on my forum

0

8

Shukkal
So, do you need to embed your payment data?

0

9

C3La-NS wrote:

study.mybb.online
Unfortunately, there's no such a feature.

ok no problem . can i set colors for different group and users like if i am administrator then name show in red color user colors shows in green and also i can set different colors for every group ..

0

10

study.mybb.online wrote:

ok no problem . can i set colors for different group and users like if i am administrator then name show in red color user colors shows in green and also i can set different colors for every group ..

You need to install code. Theres only one minus - you need change name color of users manually.

Look here.

0

11

study.mybb.online wrote:

i mean the admin has no permission to use reserve names for registration . if i ban someone then the persons whole browser ban even he can not read anymore if not clear browsing history.this should be fix .there should be warning user system..


/admin_censoring.php

- Censor words also affect usernames. New users will not be able to register with usernames containing any censored words-

0

12

@Nixieoffset wrote:

ok no problem . can i set colors for different group and users like if i am administrator then name show in red color user colors shows in green and also i can set different colors for every group ..

There is a code by me (set it in HTML footer)

<script type="text/javascript">
var groupColors ={
//Group ID   //Color
          1 : 'red',
          2 : 'blue',
          6 : 'gray'  //Последний элемент без запятой
};
</script>
<script type="text/javascript" src="http://forumfiles.ru/files/0015/c4/3f/30024.js"></script>

+1

13

Alex_63
Weird, I just tried your text change code, and the only user group affected is admin.

I only changed the user IDs for the other groups to the correct ones for my forum, but the colors for those users refuse to change. :(

0

14

Buzzer wrote:

Alex_63
Weird, I just tried your text change code, and the only user group affected is admin.

I only changed the user IDs for the other groups to the correct ones for my forum, but the colors for those users refuse to change. :(

This code is successfully applied here

0

15

Oh duh! Newbie goof: it was browser cache. The color code works just fine.

I'll go have another coffee now. :crazy:

0

16

Buzzer
The list of nicknames and colors is caching for 24 hours. If you change the settings of groups in the script or add a new moderator/admin, refresh the cache in your browser to see the changes.

0

Related topics


You are here » Community Forum » Forum for Newbies » there is less feature for user registration