vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Popup Box on Full PM Box (https://vborg.vbsupport.ru/showthread.php?t=32962)

Scott MacVicar 12-04-2001 10:00 PM

After numerous complaints from members at my board that people never checked that there pm box was full, I had to take action, especially as they were bugging me :D

This hack allows a user to select in options if they wish a popup box to appear when there pm box is full. There is a fair number of files to edit and a new template and two minor modifications to a couple, but well worth it in the end.

Scott

Lesane 12-05-2001 04:59 PM

Cool, i give it a try :)

Dark Blaze 12-06-2001 03:34 AM

Nice hack PPN, thanks for sharing with vB.org :)

Admin 12-06-2001 01:27 PM

Installed here, good one. :)

(although I skipped the user option part and you can't ignore this message now)

Syphin 12-06-2001 01:40 PM

Great hack... :)
Ganna install it now.. :p And skip the user part too.. lol


-Syphin

squawell 12-06-2001 05:42 PM

it's a useful hack~~~

thankz PPN~~~:D

Dark Blaze 12-06-2001 06:29 PM

[QUOTE]Originally posted by FireFly
Installed here, good one. :)

(although I skipped the user option part and you can't ignore this message now)

Ralgar 03-01-2002 05:22 AM

its possible to make it so, that you get EVER a popup if the pm box is full?

firefly, how you have edit it?

Harryli 03-23-2002 07:17 PM

Hm, my global.php in 2.2.4 seems to look like different:

$newpmmsg=0;
$headnewpm='';
if ($checknewpm and $bbuserinfo['userid']!=0 and $bbuserinfo['pmpopup']==2) {
if ($noshutdownfunc) {
$DB_site->query("UPDATE user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]";
}
$newpmmsg=1;
$latest_pm = $DB_site->query("SELECT p.privatemessageid AS pm_popup_id, p.title AS pm_popup_title, u.username AS pm_popup_username FROM privatemessage p, user u WHERE messageread = 0 AND touserid = $bbuserinfo[userid] AND p.fromuserid = u.userid ORDER BY dateline DESC");
$hack_pm_total = $DB_site->num_rows($latest_pm);

what to do?? :disappointed:

Gutspiller 04-09-2002 04:46 AM

Can somebody tell me what the chances of this hack working on 2.0.3? Whenever there are MySQL querys for me to run I am always hesitant about running them and then having it now work.

Is there a pretty good chance that my code will be the same as in the instructions? :nervous:

Scott MacVicar 04-09-2002 06:15 AM

yeah theres a very good change, the sql query will be the same, but make a backup of member.php, global.php and /admin/functions.php just in case.

Gutspiller 04-09-2002 08:01 PM

[QUOTE]Originally posted by PPN
yeah theres a very good change, the sql query will be the same, but make a backup of member.php, global.php and /admin/functions.php just in case.

lordnet 05-13-2002 02:24 PM

can i see a screenshot for the hack ?

my best wish...

LORD

inetd 05-18-2002 10:36 AM

How make to all registered users automatically check 'yes' in Pop up a box when your Private Message Box is full?

inetd 05-18-2002 11:53 AM

Not work :(
User have 65 PM, max PM - 50. This user check 'yes' in PM Full Box Pop up. And user don't see pop up window :(

ZiRu$ 08-14-2002 12:35 AM

Installing Now on 2.2.6

Exo 10-05-2002 02:53 AM

how can i set it so that all users have it auto enabled?

Cyberhouse 10-07-2002 12:28 PM

[QUOTE]Originally posted by inetd
Not work :(
User have 65 PM, max PM - 50. This user check 'yes' in PM Full Box Pop up. And user don't see pop up window :(

Exo 10-23-2002 12:22 AM

[QUOTE]Originally posted by Cyberhouse


Same here, no popup :(

Erwin 10-23-2002 12:30 AM

Yup. I had the same problem when I first installed this many versions ago, and have since removed this hack.

Esdee 11-05-2002 08:33 PM

erm. Now, I just noticed, people get this when they want to change their avatar

Database error in vBulletin 2.2.8:

Invalid SQL: UPDATE user
SET styleid='1',adminemail='1',
showemail='0',invisible='0',cookieuser='1',
maxposts='-1',daysprune='-1',
timezoneoffset='+1',emailnotification='0',
startofweek='1',options='15',receivepm='1',
emailonpm='0',pmpopup='1',pmpopupfull='0',usergrou pid='6',
nosessionhash='0'
WHERE userid='1'
mysql error: Unknown column 'pmpopupfull' in 'field list'

mysql error number: 1054

Date: Tuesday 05th of November 2002 05:33:20 PM
Script: http://sephirothsfollowers.com/forums/forums/member.php
Referer: http://www.sephirothsfollowers.com/f...on=editoptions

Can anybody help me on this ??

Erwin 11-05-2002 08:35 PM

You haven't run the database query to insert the "pmpopupfull" into your database. Read the instructions.

eL'Bandito 03-27-2003 07:53 AM

Nice hack, but could somebody tell me how to have it set to on as default instead of off please ?

Thx ;)

PurpleCow 03-30-2003 03:08 AM

Does this hack work on vB ver2.3.0...
I very much wantt o install this hack for my forums.

Can i download the file in the first post and install it for my vB ver 2.3.0 ???

Thanks for any input.

Cheers

GunsNetwork 05-08-2003 02:48 AM

Yes it works just fine in vB 2.3

-Sidekick- 06-04-2003 08:40 PM

[QUOTE]03-27-03 at 04:53 AM eL'Bandito said this in Post #23
Nice hack, but could somebody tell me how to have it set to on as default instead of off please ?

Thx ;)

Conundrum9 06-17-2003 10:23 PM

I'd also like to install this feature, but with the changes that removes the option for users.

I don't really know php yet but I've tried a few things and found that it didn't work.

Can anyone help me and the other members looking for the changes to the code which will remove the option and make it effect all users?


All times are GMT. The time now is 02:45 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.01041 seconds
  • Memory Usage 1,762KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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