PM Popup by default

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
User avatar
Post Bot
BBCoder IV
BBCoder IV
Posts: 251
Joined: 04 Mar 2010, 18:53

PM Popup by default

Post by Post Bot »

PM Popup by default
Written by HGN

By Activating PM Popup for your users, you make sure that they read their PMs

This will activate PM Popup for new users.
Open includes/function_user.php
Find:

Code: Select all

'user_options'		=> 230271,
Replace with:

Code: Select all

'user_options'      => 231295,
But you will need to run a SQL query to activate it for existing users:

Code: Select all

UPDATE phpbb_users SET user_options = user_options | 1024 WHERE user_type <> 2


User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 11:24
Location: Denmark

Re: PM Popup by default

Post by Fire-Fox »

Another greet tool!

Thanks :)

User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 18:49
Location: England

Re: PM Popup by default

Post by Bullseye »

Another handy snippet, I'm getting the hang of this now! :D