vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can I Make PM Popup Default? (https://vborg.vbsupport.ru/showthread.php?t=44208)

chrisallen 10-02-2002 05:46 PM

Can I Make PM Popup Default?
 
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:

PHP Code:

        <input type="radio" name="pmpopup" value="yes"yes
        
<input type="radio" name="pmpopup" value="no" checkedno 

Change it to:

PHP Code:

        <input type="radio" name="pmpopup" value="yes" checkedyes
        
<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.


All times are GMT. The time now is 04:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01061 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete