The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Pop up a box when you receive a Private Message
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?
|
#2
|
|||
|
|||
You have to run a query in phpmyadmin, but i dont remember what it is
|
#3
|
||||
|
||||
Run this query:
[sql] UPDATE user SET pmpopup=1; [/sql] Regards - miSt |
#4
|
||||
|
||||
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. |
#5
|
||||
|
||||
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:
PHP Code:
|
#6
|
||||
|
||||
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. |
#7
|
||||
|
||||
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. |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
In the Registration templates section
|
#10
|
|||
|
|||
Quote:
[sql] Error SQL-query : UPDATE user SET pmpopup = 1 MySQL said: Table 'floridas_ibfboard.user' doesn't exist [/sql] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|