Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Web MapleBit Support Thread

Junior Spellweaver
Joined
Apr 28, 2008
Messages
126
Reaction score
8
E2PhiXh - MapleBit Support Thread - RaGEZONE Forums

Im facing this error.
Im on a webhost cpanel. :/ idk whats going on, everything is correct.

NVM
FIXED
 

Attachments

You must be registered for see attachments list
Last edited:
Upvote 0
Junior Spellweaver
Joined
Apr 28, 2008
Messages
126
Reaction score
8
I fixed that, now i can't register (I can, it says it was succesfully done bla bla bla but it doesn't makes the account)

EDIT: i still have that error ^ (ps. i can log in with created accs, but not with the ones i make via cms)

anyways, i can't edit the background. not even the color.
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Mar 16, 2011
Messages
14
Reaction score
0
How might I got about exempting banned players from the rankings? It would be quite a hassle to go in and manually delete a character out of the rankings if they hacked, and players get discouraged when they see a high level, even if I say they are banned.
 
Upvote 0
~永遠の美~
Joined
Apr 27, 2011
Messages
772
Reaction score
70
Add a ban check into rank for example

tempban = 0 and accounts.banned = 0

that means the rank will only load where character aren't ban or post your rank.php here so we can help you.
 
Upvote 0
Divine Celestial
Loyal Member
Joined
Sep 29, 2008
Messages
804
Reaction score
219
How would you add a Facebook like button as well as a twitter follow button at the bottom of the page?
Add the following for the Facebook like button. If you want the smaller like button, change "box_count" to "standard".
More info here:
Note: They recommend that you put the fb-root div and the javascript right after the body tag, the fb-like can go anywhere as you please. (MapleBit's body tag is in sources/structure/header.php)
If you want it on the bottom of the page, your best bet is in sources/structure/footer.php. Just paste it in.
PHP:
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=175845852492641&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://facebook.com/facebook" data-layout="box_count" data-action="like" data-show-faces="true" data-share="false"></div>

Add the following for the Twitter follow button
PHP:
<a href="https://twitter.com/twitter" class="twitter-follow-button" data-show-count="false" data-size="large">Follow [USER=382924]Twi[/USER]tter</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
 
Upvote 0
Junior Spellweaver
Joined
May 1, 2010
Messages
109
Reaction score
9
Add the following for the Facebook like button. If you want the smaller like button, change "box_count" to "standard".
More info here:
Note: They recommend that you put the fb-root div and the javascript right after the body tag, the fb-like can go anywhere as you please. (MapleBit's body tag is in sources/structure/header.php)
If you want it on the bottom of the page, your best bet is in sources/structure/footer.php. Just paste it in.
PHP:
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=175845852492641&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="https://facebook.com/facebook" data-layout="box_count" data-action="like" data-show-faces="true" data-share="false"></div>

Add the following for the Twitter follow button
PHP:
<a onclick="ga('send', 'event', 'Outgoing', 'twitter.com', '/twitter');" rel="nofollow" href="https://twitter.com/twitter" class="twitter-follow-button" data-show-count="false" data-size="large">Follow [USER=382924]Twi[/USER]tter</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

Awesome man thank you so much!!!
 
Upvote 0
Junior Spellweaver
Joined
Apr 28, 2008
Messages
126
Reaction score
8
me too, i did in both admin panel and SQL but background not change!

When you change it from the SQL, go to the properties and background, then just press accept (or whetever the name of the button to accept the changes is) and the page will reload. Then, you'll have the background
 
Upvote 0
Legendary Battlemage
Joined
Mar 21, 2013
Messages
665
Reaction score
90
When you change it from the SQL, go to the properties and background, then just press accept (or whetever the name of the button to accept the changes is) and the page will reload. Then, you'll have the background
oh wait, where is the properties? in background page just have submit button!
 
Upvote 0
Junior Spellweaver
Joined
Nov 26, 2012
Messages
156
Reaction score
35
I get a registration time out error when i submit the form. I've reinstalled twice but the same thing happens.

bbDLoXC - MapleBit Support Thread - RaGEZONE Forums


Any help?
 

Attachments

You must be registered for see attachments list
Upvote 0
FutureLegend's Owner
Joined
Feb 10, 2011
Messages
470
Reaction score
99
Interesting, I'll take a look sometime when I have time.

Hey green.

Apparently, it seems like the problem that this guy posted (quote below) is still present in your latest released build. (Jan 1st)

Okey today I suddenly got this 'new' bug glitch. When I try to login it says "Wrong username or password" however I know i'm putting the correct data it still show me this message, but when i press f5 or go to another page i'm logged in!

I'm still using v1.03 Does this means that I have to update or something??

krfLUCV - MapleBit Support Thread - RaGEZONE Forums

I have been experiencing it personally, and here I wonder, is there any fix for that? I don't think that it occurred right after the install, but I am also quite positive that no files relating to the login system have been changed.

It's like login.js doesn't get the right response (in this case, it has to get 'success'), but that doesn't make sense..

Edit:

Fixed it.
In login.js, replace

PHP:
success: function (response) {
                if (response == 'success') {
                    $("#loginform").slideUp('slow', function () {
                        $("#message").html('<script>location.reload();</script><div class=\"alert alert-success\">Logged in. Reloading...</div>');
                    });
                } else {
                    $('#message').hide().html("<br/><div class=\"alert alert-danger\">Wrong username or password</div>").fadeIn('fast');
                }
                console.log(response);
            }

with

PHP:
success: function (response) {
                alert(response);
                console.log(response);
            }

For a moment, in order to check if the response is right. It seems like adding blocks for some other custom web stuff in places like the end of main.php can duck up the response.. lol
 

Attachments

You must be registered for see attachments list
Last edited:
Upvote 0
Joined
Jul 12, 2011
Messages
1,229
Reaction score
475
Hey green.

Apparently, it seems like the problem that this guy posted (quote below) is still present in your latest released build. (Jan 1st)



I have been experiencing it personally, and here I wonder, is there any fix for that? I don't think that it occurred right after the install, but I am also quite positive that no files relating to the login system have been changed.

It's like login.js doesn't get the right response (in this case, it has to get 'success'), but that doesn't make sense..
I am unable to reproduce your error, as well as the background image error. Until someone posts what version of wamp, apache, php, OS they are using, I will not be able to investigate further. If you'd like to teamview at some point over the weekend, let me know.

edit: pushed out update with new bootstrap files. Will be working on a small maintenance/cleanup patch in the coming weeks. Nothing too important, so there's no need to upgrade!
 
Last edited:
Upvote 0
FutureLegend's Owner
Joined
Feb 10, 2011
Messages
470
Reaction score
99
I am unable to reproduce your error, as well as the background image error. Until someone posts what version of wamp, apache, php, OS they are using, I will not be able to investigate further.

I just fixed it, bro.

Please view my edited comment above.
 
Upvote 0
Back
Top