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.


All times are GMT. The time now is 07:17 PM.

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.01123 seconds
  • Memory Usage 1,733KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete