![]() |
Timed Redirect - Donations Page Reminder
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... |
Great work, installed!
|
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 |
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 |
Much better, many thanks for being so quick to respond!
hugh |
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 |
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 |
No problem, many thanks again!
hugh |
Good job! Installed! Is it possible to use "html-code" as well?
I did not try. |
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? |
All times are GMT. The time now is 01:14 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|