spikereloaded Posted January 27, 2012 Share Posted January 27, 2012 (edited) Hey people. This is a mod i made using an expandable bar and just modified it a bit. its basically a tab that sits at the bottom of the players screen, when moused over, it exapnds to show details such as recent mailbox messages, recent announcements and recent events. It also shows a "new notification" text when a new mail, event or announcement is received. So first of all add this to your header.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. next make a file called expstickybar.js and add this to it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. next make a file called expstickybar.css and paste this in You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and finally make a page called stickybarcontent.php, add in the code to connect to your database, but DON'T include globals. then add the following code. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The settings of the notification center can be changed within the CSS page as well as at the end of the JS file. Here's a screenshot! [ATTACH=CONFIG]254[/ATTACH] Now please go easy as this was one of my first mods so the code may not be tidy or entirely correct, but it works well! let me know what you think! Now upload all the files and you should have a working notification center. (ps. the development section is one i've added myself so you may want to take that out or add a developments table to your db) Edited January 27, 2012 by spikereloaded Quote Link to comment Share on other sites More sharing options...
bineye Posted January 27, 2012 Share Posted January 27, 2012 Sounds like a nice idea. Have you got a screenshot anywhere? Would love to see it without having to put it in myself. If you don't, it's ok. But well done on this, it's a difficult one for a first mod! Quote Link to comment Share on other sites More sharing options...
spikereloaded Posted January 27, 2012 Author Share Posted January 27, 2012 screenshot added to original post!:D Quote Link to comment Share on other sites More sharing options...
S.Cosmin Posted February 2, 2012 Share Posted February 2, 2012 very useful, thank you. I will use this on my game. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted September 3, 2012 Share Posted September 3, 2012 I know this is pretty old but I am having a little problem with this, what keeps happening is i keep getting a pop up box that keeps saying "Error fetching Ajax content.Server Response" so if anyone can help that would be pretty awesome Quote Link to comment Share on other sites More sharing options...
Danny696 Posted September 3, 2012 Share Posted September 3, 2012 Good idea, but I'm not sure if I would want it in a game I was playing Quote Link to comment Share on other sites More sharing options...
Bennyh789 Posted September 6, 2012 Share Posted September 6, 2012 If your having problems PM me as this mod was made by us together, im sure we can get it working Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.