View Full Version : Can I Make PM Popup Default?
chrisallen
10-02-2002, 05:46 PM
Hello:
When a new user registers, I'd like the question, "Pop up a box when you receive a Private Message?" set to "Yes" as the default.
Is there a way to do this?
Thanks for the help.
Dean C
10-02-2002, 06:32 PM
yes go into your admin cp templates section
open up your 'registeradult' template and your 'registercoppa' template and apply these changes to both:
_____________
Find:
<input type="radio" name="pmpopup" value="yes"> yes
<input type="radio" name="pmpopup" value="no" checked> no
Change it to:
<input type="radio" name="pmpopup" value="yes" checked> yes
<input type="radio" name="pmpopup" value="no"> no
_________
Hope that helps
Regards
- miSt
chrisallen
10-02-2002, 06:46 PM
Mist RULES!!!
smess
10-27-2002, 03:31 AM
my popup used to work and then it just stopped at the same time that my webmaster made the already read threads turn a different color. Any ideas what else to try?
Erwin
10-27-2002, 03:37 AM
Open your "headinclude" template.
Make sure this variable is present in that template:
$headnewpm
If not, add it below </style>
You need this present in headinclude for the PM popup to work. :)
smess
10-27-2002, 04:04 AM
it is there but it is below:
<!-- End Preload Script -->
$headnewpm
Does it need to be directly below style?
Dean C
10-27-2002, 02:38 PM
Post up your headinclude template :D
- miSt
Erwin
10-27-2002, 05:47 PM
Yes, put it below style - you have in under another javascript which may interfere with it actually. See if that works. But that extra bit of Javascript, which is not standard for vB (what hack is that) may interfere with it regardless since the $headnewpm calls up a javascript itself.
smess
10-27-2002, 10:42 PM
Did not work, any other ideas? I am assuming you meant the style closest to the bottom of the template?
Erwin
10-27-2002, 10:47 PM
Well, you need to get rid of the other javascript in the headinclude template which is interfering with your popup. Take that out and see if the popup works again.
smess
10-27-2002, 10:49 PM
should the Url in the Cp General Settings be set to /forum or forums
smess
10-27-2002, 10:58 PM
Is there anything in the header template that could effect it. We made a recent change to that.
Erwin
10-27-2002, 11:05 PM
I can't tell you without seeing your header template. Basically, an other javascript can interfere with it.
Erwin
10-27-2002, 11:29 PM
Got your PM.
The best advice I can give you is to see if your PM popup works in the first place.
Revert your headinclude and header templates to normal (backing up the custom ones), and try it. If it works, we know then it's the custom javascripts you've added that is interfering. You must then add them one by one to see which is the culprit.
smess
10-27-2002, 11:34 PM
Thanks, it was working with all that script until I believe the last one was added that is in the header template.
What about my other thread, have you had a chance to think about that one. I appreciate the help.
Erwin
10-27-2002, 11:37 PM
I can't keep up. ;) What other thread?
smess
10-27-2002, 11:41 PM
Quick response broke another hack in this same section, you were helping me with it earlier.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.