Gamers Mafia Forum Index  
Register Log in
GamersMafia.us Current Forum Backdrop
Index
GamersMafia.us Current Forum Backdrop
Support
GamersMafia.us Current Forum Backdrop
General
GamersMafia.us Current Forum Backdrop
News
GamersMafia.us Current Forum Backdrop
Entertainment
GamersMafia.us Current Forum Backdrop
Gaming
GamersMafia.us Current Forum Backdrop
Creativity
GamersMafia.us Current Forum Backdrop
Technology
Gamers Mafia News Flash
:::::: The Gamers Mafia forums shut down in April 2009. We returned in April 2022. Welcome old and new members! ::::::
User PM POPups activated
Post new topic   Reply to topic    Gamers Mafia Forum Index Support
View previous topic :: View next topic  
Author Message
CYB3RD0M1N10N
SITE OWNER
SITE OWNER


Joined: 03 Jun 2006
Posts: 370

PostPosted: Wed Mar 07 2007 11:48 am    Post subject: User PM POPups activated Reply with quote

User PM POPups activated

I activated "user_popup_pm", which is a feature of phpBB that tells the user they have a new private message, in a popup window when they login. The problem is with many browsers these days, popups are just plain blocked. This makes this useful ferature very useless. So I added a mod today that will replace the old phpBB code with a new javascript code that will launch a dialog box instead of a popup window. This works amazingly well!

What it does is, every time there is a private message for you, you get the dialog box to remind you how many private messages you have waiting for you. You can choose to go directly there to read them or cancel and read them another time.

Well not everyone had this feature turned on. Probably because it was useless.
Today I wrote a little SQL hack and inserted it into the GM's database:

Code:

UPDATE GM4ever_users SET user_popup_pm = REPLACE (
user_popup_pm,
"0",
"1"
)


That little piece of code is responsible for resetting every single member that had their "user_popup_pm" setting set to false.
It is now set to true, which means if you have a new private message, regardless of what browser you have, you will get a dialog and it will never be blocked by a popup blocker.
_________________

Xan CYB3RD0M1N10N Carrico. COD Gamer, YouTube & Twitch
Streamer, Game Developer, Ethical Hacker. From Chico California.
View user's profile Send private message
CYB3RD0M1N10N's Famous Last Words: 4LL Y0(_)R B4S3 4R3 B3L0NG T0 (_)S
scottytoohotty
Global Moderator
Global Moderator


Joined: 25 Aug 2004
Posts: 512

PostPosted: Thu Mar 22 2007 11:26 am    Post subject: Reply with quote

I like this better I think. works just dandy for me.
_________________
[code:1]http://img166.imageshack.us/img166/1695/popecopycr6.jpg[/code:1]
View user's profile Send private message Send e-mail
scottytoohotty's Famous Last Words: No Comment.
Display posts from previous:   
Post new topic   Reply to topic    Gamers Mafia Forum Index Support All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
ezHyperShadow template - a boo design Original ezHyperShadow theme by boo ©2004 www.ez-life.net
Powered by phpBB © 2001, 2002 phpBB Group