- Joined
- Jul 12, 2011
- Messages
- 1,229
- Reaction score
- 475
If you're having trouble setting up MapleBit, please post here instead of the main thread!
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!Can't change background.
Is there a way to change it on the files?
If so, how?
For some reason i couldn't, but i did it on the sqlYou should be able to do it through the admin panel, what issue are you running into?
Add the following for the Facebook like button. If you want the smaller like button, change "box_count" to "standard".How would you add a Facebook like button as well as a twitter follow button at the bottom of the page?
<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>
<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>
Add the following for the Facebook like button. If you want the smaller like button, change "box_count" to "standard".
More info here:You must be registered to see links
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>
me too, i did in both admin panel and SQL but background not change!You should be able to do it through the admin panel, what issue are you running into?
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
oh wait, where is the properties? in background page just have submit button!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!
Interesting, I'll take a look sometime when I have time.
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??
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);
}
success: function (response) {
alert(response);
console.log(response);
}
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.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.
I just fixed it, bro.
Please view my edited comment above.