View Full Version : Pop up a box when you receive a Private Message
attroll
02-22-2003, 07:56 PM
I would like to set it so that by default a new user has the "Pop up a box when you receive a Private Message" set to "yes". Currently is is set to "no". I am sure there is a simple change to do this. But I have not been able to find it yet. Does anyone know where to go and change this?
Xanthine
02-22-2003, 08:19 PM
You have to run a query in phpmyadmin, but i dont remember what it is
Dean C
02-23-2003, 11:50 AM
Run this query:
UPDATE user SET pmpopup=1;
Regards
- miSt
attroll
03-14-2003, 05:49 AM
I tried going into phpmyadmin and went under user and changed pmpopup from 0 to 1 and then logged on and registered as a new user and it still defaults my Pop Up Box to "no".
Mist, I even ran "UPDATE user SET pmpopup=1;" and it changed to the value of 1 but still does not default to a new user setting of "yes"
WOW. Wait a minute I just tried it. It does work. I see what is going on here. It sets the SQL default to 1 which does what I wanted it to do but it did not change the window when a person registers to "yes" is says "no". But is saves the default to "yes" That was what was confusing me. I thought it was saying "no" but it was saying "yes". If that makes any sense.
Boofo
03-14-2003, 07:32 AM
If you want it to always be set to yes in the users options you need to go into the user.php file in the admin folder and find this line:
makeyesnocode("PM Popup","pmpopup",0);
and change the 0 to a 1
Erwin
03-14-2003, 11:02 AM
You actually need to edit the "registeradult" template and change the default Pop-up PM option to "yes" so that new users who register get the "yes" answer.
Better yet, change the variable to a hidden one. :) So they don't get a choice. That's what I've done with my forums.
attroll
03-14-2003, 03:14 PM
Ok I did the following.
Went into phpMyAdmin and edited my database under user and changed the value in pmpopup to 1.
Went into admin/user.php and change the value of pmpopup to 1.
Went into "registeradult" and "registercoppa" template and changed the lines by switching the word "check" from no to yes in both.
Now everything seems to be working like I wanted it to. Thanks everyone.
flstreetscene
11-23-2003, 10:46 AM
You actually need to edit the "registeradult" template and change the default Pop-up PM option to "yes" so that new users who register get the "yes" answer.
Better yet, change the variable to a hidden one. :) So they don't get a choice. That's what I've done with my forums.
Where is register adult suppose to be?
assassingod
11-23-2003, 10:52 AM
In the Registration templates section
flstreetscene
11-23-2003, 12:19 PM
Run this query:
UPDATE user SET pmpopup=1;
Regards
- miSt
I get an error when I run that..
Error
SQL-query :
UPDATE user SET pmpopup = 1
MySQL said:
Table 'floridas_ibfboard.user' doesn't exist
Lesane
11-23-2003, 12:41 PM
Probably wrong database because i see 'ibfboard' in it, the table user is a standard table of Vbulletin therefor it must exists and if not + good database = reinstall vbulletin. :p
flstreetscene
11-23-2003, 01:06 PM
reason it's ibf board is because I recently switched hosting providers and my new provider helped me transfer the files from my old company and before i used invisionboard. the actual user for that database is floridas_florida i tried it with that as well, no luck.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.