Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2002, 02:08 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forcing members to update their profiles?

I posted this on the vbulletin.com forums and was told to post it here.

Quote:
Is there a way to make it so existing members when returning to the board (logging in) are promted to update the new required fields in their profiles before they can either post or view the board again?

I've added some required fields to member profiles that I'd like all 285 of my esiting members to update so that people who search these profile fields can get some decent results.
If anybody can get this to happen that would be great.

Thanks
Reply With Quote
  #2  
Old 07-03-2002, 02:14 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure but here's how it could be taken about...

i have an idea but you would have to give me more details so that i could accomplish it

g-force2k2
Reply With Quote
  #3  
Old 07-03-2002, 02:29 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay lets see.

A member comes to the board and logs in. The next screen that pops up is the "Edit profile" screen with a big message at the top from the administrator that says something like:

Quote:
New Profile Questions are required to be answered below before you can post (or view) on the board.
They would then need to fill in those new required fields before they could either view or post on the board (administrators choice, one or the other).

Personally I'd like to use this in combination with these two other hacks:

http://www.vbulletin.org/hacks/index...ack&hackid=177

https://vborg.vbsupport.ru/showthrea...threadid=21833

So that I can make a searchable database of members. Where people can find other people based on searching certain fields in their profile. But in order for any of this to work exisiting members need to be forced to update their profiles so that people actually have something to seach out. Otherwise the members would just read some note I posted on the board about updated their profile but never do anything about it.

I know how people are, they'll either put it off, not catch my note about updating profiles, or think the profile update doesn't apply to them. They need to be forced to update the information so the system works. This hack would make them update the newly added required fields before they could do anything.
Reply With Quote
  #4  
Old 07-03-2002, 02:42 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so basically we're concerning ourselves with profile fields and thats it yes?

g-force2k2
Reply With Quote
  #5  
Old 07-03-2002, 02:45 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So everytime the administrator adds a new *required* field to the profile they could select the option 'Force all members to update their profile = yes/no" if "yes" is chosen then all members are logged out of the system. When they go to log back in the 'Edit profile" screen pops up with the admin message above it telling them to fill in teh new required fields.
Reply With Quote
  #6  
Old 07-03-2002, 02:49 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I responded before I saw you last post.

Yes you are correct. We just want our members to be forced to update the newly added "required fields" in their profiles.
Reply With Quote
  #7  
Old 07-03-2002, 02:54 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm... okay give me a few minutes and i will see what i can do... though i can't promise you that it will work though i'll give it a shot right now

g-force2k2
Reply With Quote
  #8  
Old 07-03-2002, 03:12 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im kinda shady with this coding but it may work... i haven't tested it myself because i don't have a server at the moment ;p but im not sure if you want to restrict all pages or what... but try this coding...

I wasn't sure what fields you want to do but you can just insert them yourself... on every page that you want to restrict you need t put this function and then you must call the fuction like this:


The ## being whatever userfield you require... and you can call that functon as many times as you like... not sure if it'll work yet though...

Also add this template:

------------------------
error_emptyrequiredfields
------------------------

Sorry but you can't access this page because the Adminsitrator requires that you update all fields that are now required on the foum. Thanks in advance!


Hopefully that helps if not tell me

g-force2k2
Reply With Quote
  #9  
Old 07-03-2002, 03:17 AM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright I'm sorry to have to ask this of you after you took the time to make this, but how do I install it? I'm a hacking newbie.
Reply With Quote
  #10  
Old 07-03-2002, 03:20 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay umm... do you have AIM or something? cause it'll probably be easier doing it that way

g-force2k
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 11:47 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.08673 seconds
  • Memory Usage 2,255KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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