vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Email reminder for inactive users (https://vborg.vbsupport.ru/showthread.php?t=138946)

C Braithwaite 02-14-2007 04:41 PM

Quote:

Originally Posted by GCC LLC (Post 1182534)
I should add the following to my post above. Even though I have a user in my Admin group who has not logged onto the board since 2006, I get the following results when I run the cron job manually:

Inactive User Reminder Emails

Done

Looking at the php code, it appears that it should say:

Inactive User Reminder Emails

mailing test@test.com (done)

Done

but I don't see anything in between the lines even though clearly this test user i set up does qualify for a mail according to the parameters I set up..


i will have a look at it to see if i have missed anything.

GCC LLC 02-14-2007 04:41 PM

Quote:

Originally Posted by C Braithwaite (Post 1182536)
you mean you are logging on as a diferent admin, setting your other account's lastactivity to june, and while on the second admin account running the cron resulting in no emails?

That is correct. I basically set up a pseudo-administrator to test this out. Really, I just want to see what the email looks like and tweak it before it gets sent out to the 7,000 or so users that it's going to go to.

Quote:

Originally Posted by C Braithwaite (Post 1182536)
what is output when you run the cron manually - it should say who is being emaild?

See above post... There's nothing in between the lines... no one being emailed even though this userid qualifies for an email. Even tested it out on a non-administrator that i put into a "test group" and it still doesn't go out.

C Braithwaite 02-14-2007 05:00 PM

Quote:

Originally Posted by GCC LLC (Post 1182540)
That is correct. I basically set up a pseudo-administrator to test this out. Really, I just want to see what the email looks like and tweak it before it gets sent out to the 7,000 or so users that it's going to go to.



See above post... There's nothing in between the lines... no one being emailed even though this userid qualifies for an email. Even tested it out on a non-administrator that i put into a "test group" and it still doesn't go out.

i am having the same problem - im just putting some debug info in there to test - ill get back to you.

GCC LLC 02-14-2007 05:12 PM

I just downloaded this hack about 2 hours ago if that helps you any.. Not sure when you put it up but whatever changed from the last version to this one seems to have broken something. :) Can't wait to try it out... Looks great, thanks for your effort!

djbaxter 02-14-2007 05:30 PM

Quote:

Originally Posted by C Braithwaite (Post 1182530)
my reasoning was that i didnt want emails to be sent out before people had updated the template.

Good point. I had forgotten but that is exactly what happened to me when I installed your first version.

C Braithwaite 02-14-2007 05:43 PM

Figured it out - when you install the plugin, it sets the last email sent by default to == the users lastpost date, not it's last activity. so even if you set the last activity and last post to sometime in the last month/year/whatever, it wont email the user until the frequency period elapses.

I will update the install query and release an update later tonight.

obmob 02-14-2007 08:21 PM

Great idea, hope it works on my site :)

Oh i shall wait for an update! :D

morrow 02-14-2007 09:41 PM

Quote:

Originally Posted by C Braithwaite (Post 1179668)
if you read the first post:



it's a simple plugin, not rocket science!

i designed it for my own forum, and it does the job i wanted it to do and i thought it may be useful for other people (which i might add, has beenk) so if anyone doesn't like it then just lump it.

Frankly, I don't know why you're giving this guy the time of day. I haven't installed this hack yet but I'm getting ready to. If it works, Great! If not, then I ask questions and possibly get it to work. This guy has been nothing but RUDE, and I agree with you... If you don't like the mod, go build your own; but certainly don't come on here and bash a guy who has already gone out of his way with just building this hack. You should try asking questions and possibly learn something along the way instead of bashing him.

Constructive critisism is always healthy...

GCC LLC 02-14-2007 11:46 PM

Yeah, agreed. I can do my fair share of coding (and usually it's just enough to get me by...) and when I see people bashing a programmer it gets under my skin. If you don't like the results of a free hack, go pay for one. You shouldn't expect things for free in life. You should be grateful if something useful comes along for free.

simalert 02-15-2007 01:25 PM

After setting up I ran it manually from the vBulletin scheduled task manager and got the following error
Quote:

Inactive User Reminder Emails

Warning: include_once(/home/simalert/public_html/forum/./includes/cron/remindermail.php) [function.include-once]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 108

Warning: include_once() [function.include]: Failed opening '/home/simalert/public_html/forum/./includes/cron/remindermail.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108

Done
I thought it meant I hadn't uploaded the remindermail.php file to the right place, but I checked and it's definitely in forum root.

Any ideas please?

Thanks


All times are GMT. The time now is 09:36 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.01965 seconds
  • Memory Usage 1,747KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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