vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - Notices: User has been forum member for X number of days (Optional: or longer) (https://vborg.vbsupport.ru/showthread.php?t=180163)

Wired1 05-21-2008 10:00 PM

Notices: User has been forum member for X number of days (Optional: or longer)
 
Don't forget to hit INSTALL!

With this Product, a new criteria is added to the Notice Edit screen. Under "Display this notice if...", you will see an option that asks for a number. On the day the user has been a forum member for X number of days, the notice pops up. If you check the checkbox, then the notice will pop up every day afterwards.

To Install:
1) Save the attached product-memberforXdayscriteria.xml file.
2) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
3) Browse to wherever you saved the file.
4) Allow Overwrite -> Yes.
5) Import!

Version History:
1.0.0 - Initial Release
1.0.1 - Added checkbox functionality

Don't forget to hit INSTALL!

Wired1 05-22-2008 06:06 PM

Reserved for future use.

digicom 05-22-2008 06:38 PM

apprciated thanks :up:

Elenna 05-22-2008 09:19 PM

Thanks ever so much, this is exactly what I needed!! IMHO, this should have been an out-of-the-box option :)

Edit: Would it be possible to make this a "range", so this displays for a user when they have been a member between certain days (i.e. 30 and 45 days, so it stops displaying after 45 days)? Or possibly set the max number of days it continues to display after the condition (i.e. you'd type in 15, if you wanted it to display for 15 days after their 30th day).

Wired1 05-22-2008 09:28 PM

Yep, I can work on that. Small modification to it, I'll see if I can add that tonight.

Elenna 05-22-2008 09:44 PM

*cheers* Thanks so much! Not a huge deal for me, since the member will either be moved to a different usergroup or removed, but just thought it might be a useful addition for others.

YLP1 05-27-2008 06:04 PM

Any way to tie to this to member's birthdate so a notice will appear wishing the member a Happy Birthday?

Wired1 05-27-2008 06:20 PM

Quote:

Originally Posted by YLP1 (Post 1533191)
Any way to tie to this to member's birthdate so a notice will appear wishing the member a Happy Birthday?

Yes, use the <User's birthday is today> criteria that's built in to 3.7.0 :) Don't forget, you can use more than one criteria at the same time.

Elenna 06-05-2008 02:35 PM

Hello again, Wired1! Thanks again for this, this is a great help for our forum!

Were you still thinking about having it be a date "range" (so that the notice will turn off after a certain amount of time)?

I have a couple of notices using this (i.e. due date is coming up, due date is really soon, due date was yesterday, you are really overdue), and when someone gets to the "really overdue" notice, it displays all of them, since they are all active at that point.

ArnyVee 07-05-2008 11:43 AM

I would be interested in this mod for the 'range' option as well. This way, we can kinda rotate the notices and not have the same one pop up for us. :D


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.01782 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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