vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - EZ Bounced Email Management for Admins (https://vborg.vbsupport.ru/showthread.php?t=138884)

kether1 06-06-2007 01:22 PM

For some reason users are not being put back into their original user group after updating their email. When they click the link to verify that they have a valid email account, they get a blank screen. If they hit refresh, they are taken to the forum and the "no permission' error. They are also put into the "bounced email" group again.

I thought it might be an error on my part, so I had them place into the 'registered' group (2). I tested this and it worked. I clicked the link in the returned email and the user was put into group ID 2 - registered. But when that member updates their email address, the above happens (white screen after clicking link, etc...) AND they are put into the 'Bounce Email Group', the first group I created based on the recommendations in this modification. This group is a copy of the "User's awaiting Email Conformation" group.

So, even though I set them up to be put in the registered group when I click the EX-Bounce link in the returned email, (which they are at that point) - The user is placed into the New 'Bounced" group when they update their email.

What is wrong? Any idea? I have tested this every way I can. Please help!

[EDIT]
Additional information: Members who have not been 'moderated' by this modification can change their email address, but also get a blank page when clicking the link. They however, are able to hit refresh and go into the forum and continue in the same usergroup that they were in before they changed their email address. (Don't know if this was important, but thought it might help to know.) Thanks!

Thanks,
Kether

Antivirus 06-07-2007 10:40 AM

kether, what version of vbulletin are you running? have you disabled all other hacks and then tried clicking on the ezbounce link?

I have most current version installed and am having no problems.

kether1 06-07-2007 12:13 PM

Quote:

Originally Posted by Antivirus (Post 1263133)
kether, what version of vbulletin are you running? have you disabled all other hacks and then tried clicking on the ezbounce link?

I have most current version installed and am having no problems.

Most current version running also. The other products seem to be working fine. I do not have any that deal with usergroups or the mail system - unless VBSEO does something that I am not aware of that might cause this conflict.

Any other suggestion?

Thanks for your quick response!

Kether

Antivirus 06-07-2007 05:15 PM

try disabling all other mods/hacks then clicking on the EZbounce link.

jluerken 06-12-2007 05:13 AM

Hi Antivirus (Coder),

I noticed a little thing which should be added to this great hack.
I checked all bounced emails and used the link at the end of the emails to move the users to a defined group.
This worked fine but there should be a small change in the query.

The system should NOT change the users group when the user is in special (defined) groups already e.g. Administrator or banned.

I had a banned user which was moved into a different group cause I clicked the link and he was now able to use the system again. This happened cause if you get a lot of bouncing mails you do not check every single user.

Can you add an option that users are not move when they are in defined usergroups?

djbaxter 06-12-2007 10:44 AM

Why are you sending email to banned members?

txsbmw 06-13-2007 01:28 PM

Quote:

Originally Posted by txsbmw (Post 1251988)
I notcied some people were having problems getting the bounced e-mails (as I am). I use my own domain e-mail addy and have not received any bounced e-mails even though I sent out a mass e-mail last night. Come to find out (even though I have my admin e-mail set up in the config.php as well as everywhere else such as AdminCP and such) the e-mails were being returned to my "catch all" account that was automatically created when I set up my hosting. I never use that account or even check it, and if I had not had stumbled across it in my Cpanel last night I would have never have known that is where the bounced e-mails were going. I have already contacted my hosting company to find out what is going on, but I thought I would let other users know that are using their domain e-mail address that if they are not getting the bounced e-mails to check their catch all account to see if they are there.

For those that may have had this problem (it was not just a vbulletin problem, but for all software that I use and use the PHP sendmail function). After almost a month my hosting company got this figured out (this use to not happen, seems to have started happening after they upgraded to PHP5). They fixed it and I asked what they did so others would know what to do if this was happening to them, here is what they said after I sent them one of the e-mail headers:

As I can see your message headers are formed incorrectly (envelope sender address isn't specified explicitly, so actual address is composed from your account name and server's hostname).

Here is what they said they did to fix it:

I've changed sendmail command syntax in your local php.ini file, i've added envelope sender address option to its command line.

Alfa1 06-13-2007 08:21 PM

It would be nice if it was possible to hand this task to a moderator. But this only works from the adminCP. Could you put this in the modCP?

Antivirus 06-14-2007 12:34 PM

Quote:

Originally Posted by Alfa1 (Post 1267906)
Could you put this in the modCP?

You could easily modify the hack to do this. All you need to do is the following:

1) Within the AdminCP settings for this hack, change the path for your AdminCP directory to the path to your ModCP directory. In other words, the setting for your Admincp dir will actually be path to your Modcp dir.

2) Within script ezbounce.php find:
PHP Code:

if (!can_administer('canadminsettings'))
{
    
print_cp_no_permission();


and replace with:
PHP Code:

if (!is_member_of($bbuserinfo5,6,7))
{
    
print_cp_no_permission();


Make sure that 5,6,7 are the usergroups which you want to be able to access the script. The default mod, supermod and admin usergroups are 5,6,7 if yours have changed, update respectively. Then instead of placing the ezbounce script within your adminCP, place it within your Modcp.

I haven't tested this, but it should work for you.

cashpath 06-15-2007 02:40 AM

Can this be updated to move a members thread notification setting to off?

As in the automatic thread subscriptions.


All times are GMT. The time now is 07:44 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.01516 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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