DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • May 20, 2013, 07:35:29 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: Discussion: News Flash v1.0.1  (Read 689 times)
0 Members and 1 Guest are viewing this topic.
Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« on: June 23, 2012, 12:07:07 PM »

Because of this thread, I wrote this module to display the latest news in a popup as it happened.

Ajax code is from CavemanJoe, basic news code is from the Dragonprime Team and the CSS that makes the popup stay put is by Stuart A Nicholls.

Not forgetting MightyE whose original idea it was in the first place. Cheesy

Please post bugs and stuff here. Smiley

File Download: Here
« Last Edit: June 30, 2012, 05:08:50 AM by Afkamm » Logged

HunterD
Captain of the Guard
***
Offline Offline

Posts: 101



View Profile WWW
« Reply #1 on: June 23, 2012, 12:15:10 PM »

This works incredibly well, Marc.  Thank you so much for working on this!  Cheesy Cheesy
« Last Edit: June 23, 2012, 12:31:55 PM by HunterD » Logged

Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #2 on: June 23, 2012, 12:43:59 PM »

No problem. The news page isn't something a lot of people bother about. Being able to see it as it happens can be fun as you can quickly make fun of a friend when something happens to them. Cheesy
Logged

Stephen Kise
Codemeister
****
Offline Offline

Posts: 372



View Profile WWW
« Reply #3 on: June 23, 2012, 05:09:34 PM »

! This is similar to what I needed for my modded bios, so I have a popup at the top of the bio when an action is done. I am sure this can be rewritten to suit my needs. Thank you very much, Afkamm Cheesy
Logged
Neltharion
Militia
**
Offline Offline

Posts: 55



View Profile WWW
« Reply #4 on: June 26, 2012, 07:56:21 PM »

This is great and has not been too taxing on our server.  Thanks!
Logged

HunterD
Captain of the Guard
***
Offline Offline

Posts: 101



View Profile WWW
« Reply #5 on: June 29, 2012, 10:19:43 PM »

Hey Marc?  I noticed.. the module doesn't pull translations from the table?
Logged

Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #6 on: June 30, 2012, 05:10:44 AM »

I had a quick look and noticed that the code for getting the news was missing the two tlschema() lines. Silly me. Smiley

Thanks for pointing this out.

Added them and uploaded new files.
Logged

HunterD
Captain of the Guard
***
Offline Offline

Posts: 101



View Profile WWW
« Reply #7 on: June 30, 2012, 05:37:03 AM »

Mille grazie!
Logged

Aeo
Mod God
*****
Offline Offline

Posts: 1079


Doctor.. Who?


View Profile WWW
« Reply #8 on: November 14, 2012, 07:06:39 AM »

A possible idea (seeing as that I'm not too flash with AJAX/CSS) would be to put a little X button in the top right corner to close the news flash upon player demand. I've hand many a time where it's blocked my YoMs/User Editor/Petitions/etc., and it seems to take a while to disappear. I could just keep waiting for it to disappear, but just an idea. xD
Logged


Time Lords Online - A Doctor Who RPG! Open Now!
~ My Modules: PM me if you'd like me to code something! Smiley ~
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
20 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search