User Reminder

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
jokoba
Registered User
Posts: 49
Joined: Tue Jan 05, 2010 9:10 am

Re: User Reminder

Post by jokoba »

helo

after the 2nd reminder does it delete users?
also should i do the add it to all styles or only subsilver2 will be enough?
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: User Reminder

Post by IPB_Refugee »

Hi jokoba,

this MOD does not delete users automatically - but you have a list of users (including the numbers of reminders they got) and the option to manually delete them.

Regarding your second question: I don't know because I'm not sure at the moment what the changes in the two template files are for. (Guess, you can ignore these changes. Lefty?)

Regards
Wolfgang
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: User Reminder

Post by lefty74 »

hi,
wolfgang, thanks for helping out :)

jokoba, you only need to make the template changes for those styles that are used by members that have access to the user reminders part in the ACP as otherwise they won't be able to e.g. select members from the memberlist to put in the protected users list.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
jokoba
Registered User
Posts: 49
Joined: Tue Jan 05, 2010 9:10 am

Re: User Reminder

Post by jokoba »

thank u.
what happens after the second mail please? nothing?
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: User Reminder

Post by lefty74 »

not automatically, no.

if you want to delete the user, you will have to do that manually (can be done via user reminder module tho)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
jokoba
Registered User
Posts: 49
Joined: Tue Jan 05, 2010 9:10 am

Re: User Reminder

Post by jokoba »

thankss
DjMorley
Registered User
Posts: 16
Joined: Thu Sep 11, 2008 7:25 pm

Re: User Reminder

Post by DjMorley »

This just the sort of thing iv been looking for thanks to the maker lol
DjMorley
Registered User
Posts: 16
Joined: Thu Sep 11, 2008 7:25 pm

Re: User Reminder

Post by DjMorley »

is there in anyway this can be set up so that when a memeber logs on and as not posted that on the main forum page it will say near the top..Somthing like... Hi there DjMorley we have seen that you have not posted why dont you make a new topics or post today...

then after they have made a topic ect then the mgs will go then
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: User Reminder

Post by lefty74 »

i dont have much time for any coding so i cant guarantee i will look at that but if i will post it here ;)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: User Reminder

Post by IPB_Refugee »

Hi,

that shouldn't be difficult to code as there is a column called user_lastpost_time in USERS_TABLE. Maybe even

$user->data['user_lastpost_time']

would work in an appropriate IF statement (e.g. placed in function page_header)

Regards
Wolfgang
updown
Registered User
Posts: 542
Joined: Sat Jan 05, 2008 6:53 am

Re: User Reminder

Post by updown »

IPB_Refugee wrote:that shouldn't be difficult to code as there is a column called user_lastpost_time in USERS_TABLE. Maybe even

$user->data['user_lastpost_time']

would work in an appropriate IF statement (e.g. placed in function page_header)
Just be aware that 'user_lastpost_time' also includes PM-messages, so this may reflect either a posts or a private message and may be inappropriate under some circumstances
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: User Reminder

Post by IPB_Refugee »

Thank you, updown - I wasn't aware of this. :)

@DjMorley:

OPEN includes/functions.php
FIND:

Code: Select all

	// Generate logged in/logged out status
BEFORE, ADD:

Code: Select all

	//-- mod: warning for lazy posters by IPB_Refugee --------------------------//
	if ($user->data['user_id'] != ANONYMOUS)
	{
		$warning_after_days = 30;
	
		$sql = "SELECT MAX(post_time) AS last_post_time
				FROM " . POSTS_TABLE . "
				WHERE poster_id = " . $db->sql_escape($user->data['user_id']);
	
		$result = $db->sql_query($sql);
		$row = $db->sql_fetchrow($result);
		$db->sql_freeresult($result);
	
		$last_post_time = (int) $row['last_post_time'];
	
		if ((time() - $last_post_time) > ($warning_after_days * 86400))
		{
				$template->assign_vars(array(
					'SHOW_LAZY_WARNING'	=> true,
				));
		}
	}
	//-- end: warning for lazy posters by IPB_Refugee --------------------------//
You can adjust the variable $warning_after_days to your needs. If you want the warning to appear after 14 days without a post, change

Code: Select all

		$warning_after_days = 30;
to

Code: Select all

		$warning_after_days = 14;
Now you can use the switch

Code: Select all

<!-- IF SHOW_LAZY_WARNING -->
	your HTML code here
<!-- ENDIF -->
in any of your template files.

E.g. put

Code: Select all

<!-- IF SHOW_LAZY_WARNING -->
	<h2>Hi, {S_USERNAME}!</h2>
	<p>Please start posting immediately! Thanks.</p>
<!-- ENDIF -->
into your overall_header.html. It's simple HTML. And don't forget to purge the cache. :)

Regards
Wolfgang
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: User Reminder

Post by katib »

@ Wolfgang
Thanks for code
But, deos this warn only zero posters after, say 14 days
Or any users, who posted in the past, but not posted in the last 14 days ?
User avatar
ravikum
Registered User
Posts: 82
Joined: Tue Dec 02, 2008 5:13 pm
Location: Internet 24X7

Re: User Reminder

Post by ravikum »

I have implemented this mod and it is working well.
Thanks a lot.
User avatar
Ahri89
Registered User
Posts: 524
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: User Reminder

Post by Ahri89 »

Instaled on 3.0.7 with Automod and works perfect!
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD
Locked

Return to “[3.0.x] MOD Database Releases”