Previous Thread
Next Thread
Print Thread
Hop To
#242006 03/01/2011 11:47 PM
Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207
I had a field missing for a while (accept emails from admins) so that I have about 12k users with a null field. The only way I think I can legally email them is to tell them to accept new board rules and update their profile. Is there a builtin way to force people to update their profile with new mandatory fields after they accept the new rules. If not, how hard would this be to implement? Is it as simple as changing the redirect path to their profile page?


Won't you take me to Funkytown?
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i'd just hijaack ubbthreads.php, do a query on that field after your get the $user object

if NULL then slap $ubb='editbasic' and fall thru

that would force them to answer yes/no before _ever_ going on

now, if you really just want that _one_ field edited, _and_ you want to kinda give then a nice reason for doing so, then you could create 2 files ( assuming english only board)

scripts/onetime.inc.php
templates/default/onetime.tpl

where the tpl kinda explains why they landed there in nice / friendly terms

the forum has one field ( radio yes/no ) and a submit.. it posts back to itself, updates and then sets $redirect to forums display and done wink

2c

Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207
Why didn't I think of that tongue

Thanks SD. I won't lie, part of the reason to do the email for updated privacy is to get people back on my website who have long departed.


Won't you take me to Funkytown?
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
agree, if you have such a huge user base ( mailing list ), why not use it to your benefit smile

what i do is export the email list to a csv, then to phplist ( free ), grab a nice mailchimp template ( free ) and use it to do the heavy lifting.

the formatting of the mailer is much more flexible that way too wink

Joined: Jun 2004
Posts: 207
C
enthusiast
enthusiast
C Offline
Joined: Jun 2004
Posts: 207
We're at Dreamhost and they have a pretty strict quota on outbound email so we are looking at using MailChimp. Plus with that many email addresses we have to keep things as legit as possible to avoid getting our domain blacklisted. I like your free thinking though!


Won't you take me to Funkytown?
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
Okay time for station identification.
Try: Mindraven.com for hosting.
No limits on email.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Nightcrawler), 932 guests, and 203 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)