Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Timed Redirect - Donations Page Reminder Details »»
Timed Redirect - Donations Page Reminder
Version: 1.02, by ridley_1969 ridley_1969 is offline
Developer Last Online: Apr 2006 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-17-2006 Last Update: 02-20-2006 Installs: 31
Uses Plugins
 
No support by the author.

A friend needed a plugin that would allow them to redirect users when a time had elapsed, so that they could remind them about donations.

They had a donations page, but wanted all of their registered (non-donating) members to be redirected once a month to their donations page.

After seeing Calorie's 'Force Profile Update' plugin, I was inspired to expand on the concept.

This plugin allows you to redirect a usergroup or groups to a specific page, thread or post, after a recurring length of time you select.

Through the control panel, you can set the length of time to give them the reminder, the usergroups, the page that it redirects to, and the message.

UPDATE (1.01): You can now set the reminder to be cleared on the redirect page itself (provided its a vbulletin created page) or cleared once the reminder is viewed, so you can redirect to a non-vbulletin page. It now also checks against all possible usergroups, primary and secondary.

UPDATE (1.02): You will now be able to see stats on how many people each month have been reminded (in the control panel settings). Also, if you use a redirect URL that is non-standard to your vbulletin site (IE: Instead of using donations.php, you use: http://www.anothersite.com/donations.html) this is now possible.) Also, all primary and secondary groups will work if you add them to the list.

I'll be around to support it if you have any questions.

Ridley...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-18-2006, 08:49 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great work, installed!
Reply With Quote
  #3  
Old 02-18-2006, 08:51 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, it's not working. I get the following error at the top of every page...

"Parse error: parse error, unexpected ':' in /home/httpd/html/vbulletin/global.php(512) : eval()'d code on line 33"

hugh
Reply With Quote
  #4  
Old 02-18-2006, 08:59 AM
ridley_1969 ridley_1969 is offline
 
Join Date: Nov 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry Hugh, added a little bug-checking line, and in the rush to get it finished, I forgot to add a bracket.

If you redownload it, it should be fine now.

Marcus/Ridley
Reply With Quote
  #5  
Old 02-18-2006, 09:04 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Much better, many thanks for being so quick to respond!

hugh
Reply With Quote
  #6  
Old 02-18-2006, 09:08 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing, you might want to have "month" read "month(s)"...

"eg: It's been 3 month(s) since you last we reminded about making a donation to Party Vibe."

hugh
Reply With Quote
  #7  
Old 02-18-2006, 09:13 AM
ridley_1969 ridley_1969 is offline
 
Join Date: Nov 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As for the line break, I've changed it from a center tag, to a paragraph, so it should look proper in most browsers.

As for the month(s) idea, I can't.
The way you type in 1 month, 2 months, etc, needs to be in that format without the brackets, because of the code that parses it. (I need to make it workable with all of the older versions of php as well.)

But thanks for the ideas.

Keep em coming.

Marcus/Ridley
Reply With Quote
  #8  
Old 02-18-2006, 09:14 AM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, many thanks again!

hugh
Reply With Quote
  #9  
Old 02-18-2006, 09:17 AM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job! Installed! Is it possible to use "html-code" as well?

I did not try.
Reply With Quote
  #10  
Old 02-18-2006, 09:21 AM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One other idea...

It would be useful to give the user the possibility to choose the "forced website" but also to return to the mainpage. So the "force" will be not so strong as given in this mod.

Possible to do in the next release?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07991 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete