Thread: Administrative and Maintenance Tools - EZ Bounced Email Management for Admins
View Single Post
  #188  
Old 04-08-2007, 09:21 AM
scotsmist scotsmist is offline
 
Join Date: May 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antivirus View Post
i know, i sent out a newsletter myself yesterday and got like 500+ bounces started searching vbcom for a soultion and came across your thread, so i made it

I have a few cool ideas for the next version, but not sure when i'm going to be able to code them. Hopefully soon.
Very useful addition thank you.

That is a lot of viewing and clicking email headers to direct to the admincp. Did you have the patience to click the link in all 500+ bounced email and change the user ? It will be less 'painful' after the first run and you just have to manage the day to day bounces.

I installed this on a site for someone and they tried it on the undeletableusers (userid 1) - not a good choice but as a result, the 'undeletableusers became a member of the bounced email user group and gave a few problems. It shouldn't have, the 'undeletableusers should be protected and IMHO the users should never be moved groups if its is set in config.php
Code:
	//	****** UNDELETABLE / UNALTERABLE USERS ******
	//	The users specified here will not be deletable or alterable from the control panel by any users.
	//	To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = '1';
As a result of the above test, the following database error happened when the link in the email was clicked :

Database error in vBulletin 3.6.5:

Invalid SQL:
INSERT INTO administrator
(userid)
VALUES
(1);

MySQL Error : Duplicate entry '1' for key 1
Error Number : 1062
Date : Saturday, April 7th 2007 @ 03:25:02 PM
Script :
http://xxxx/forums/register.php?a=act&u=1&i=45254316
Referrer :

I would say that was caused by the 'undeletableusers' not be removed from the admin table, then some code trying to add them back to the administrator code.

Just thought you might like to know that.

[edit whoops, sorry, I just read that there's talk of this on page 7, I am laughing you guys think its funny, but in reality domains get blacklisted all the time, whole IP ranges too, so its very likely that a mod or worse, an admin could end up locked out of their board. Despite that, isn't it the coders responsibility to ensure that should a user do something silly, the code would not then crucify them ]
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01202 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete