Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 87 2013 Abuse admin Amazon AntiHarvesting AntiMalUser AntiSpam API Beats billige black Blocks blue Captcha capture Casual cell Checksum Christmas chronolabs content Conversion Debauchosity demo docek download Dresses EC2 editor evden eve facebook floor free herre Honeypot Human IP jQuery kantor klubovi lamps log logger Marquee mobile module modules Monster MyAlbum-p newbb news newsletter online PageRank Password Permissions pink Plugin portal Prevention profile project propose Protector Protocols publisher Rights rmcommon Room sale security Server site SmartClone Smarty Songlist Spam stem Studio tag tags tdmcreate Theme themes upgrade userlog website Whitepaper WSDL XIPS xoops Xortify XPayment ZendFramework

New Users

Registering user

# 136021

dressshop

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2009/9/30 21:19 redirecting existing users to complete their profiles
Hi there

Having just upgraded to 2.3.3 I'm loving the profile modules and I'm using it to have new members fill-in lots profile fields when they register (city, job, school, age etc.).

But the thing is I've got loads of old members for whom all these fields are blank and they are unlikely to complete them unless required to.

So I want to redirect users who have not completed these fields to the edituser.php page when they login.

Can anyone think of a way to do this? Is it possible to check at login if the user has completed the fields (or perhaps just check one specific field) and if not redirect them to edituser.php?

It would be great for the site if I can get as many users as possible to complete their profile information

thanks guys!

Top

Cozzie
Not too shy to talk
Not too shy to talk
Joined:
2007/7/13 10:14
From Shanghai
Group:
Registered Users
Posts: 133
(Show More) (Show Less)


#2 Posted on: 2009/10/1 9:33 Re: redirecting existing users to complete their profiles
i have got a similar problem. i want to encourage users to fill in additional fields. but i came up with another solution. lets say you've got 20 fields to fill out. you can count the nunmber of fields that are filled out by a user i.e. count those !='' and then show something like "58% of your profile is complete. Please complete missing fields now." maybe this would be helpful for you.

Top

deka87
Friend of XOOPS
Friend of XOOPS
Joined:
2007/10/5 13:50
From Russia
Group:
Registered Users
Posts: 1107
(Show More) (Show Less)


#3 Posted on: 2009/10/2 4:31 Re: redirecting existing users to complete their profiles
Hi deka

That sounds like a good way of doing it, if the other way is not really possible, do you know how exactly to implement it?

Cheers

Top

Cozzie
Not too shy to talk
Not too shy to talk
Joined:
2007/7/13 10:14
From Shanghai
Group:
Registered Users
Posts: 133
(Show More) (Show Less)


#4 Posted on: 2009/10/2 6:29 Re: redirecting existing users to complete their profiles
I think those two are just different versions of the same problem. I would guess what is required is a hack in the user.php file that includes a simple query to the user table in the db and then a check to see if a field/number of fields are filled out, if yes->proceed, if not->redirect to edituser.php.

Hmmm, thinking about it, I might do this to one of my own sites when I have the time. Shouldn't take long to do it (unless I am wrong of course, but then I hope someone corrects me in this thread )

Top

Mazarin
Just can't stay away
Just can't stay away
Joined:
2008/12/10 15:05
From Knivsta, Sweden
Group:
Registered Users
Repository Group
Posts: 518
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]