51
jilong
Re: Registration Extra fields?
  • 2007/1/14 19:25

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


yes, i do.

i set the Personal information as step order 1 and not save after step, Education information set as step order 2 and save after step.



52
jilong
Re: Registration Extra fields?
  • 2007/1/14 19:07

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


i did, i got add in 2 step 1. Personal information 2. Education information.

Below is the only text i see:

Personal Information » Education



53
jilong
Re: Registration Extra fields?
  • 2007/1/14 18:56

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


Not yet, actually i don't know what is the problem...sure i did the permission and assign those field show in registration form. now i can;t even see the username and password field. i just a blank page..



54
jilong
Re: Registration Extra fields?
  • 2007/1/14 18:17

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


Yes, i do Allow new user registration. this make me mad for few days, now leave i step...



55
jilong
Re: Registration Extra fields?
  • 2007/1/14 17:41

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


Thanks sinablack,

finally i can access to modules/smartprofile/register.php But the new problem come, i got a blank page. do you have any ideal on this?

i have visit your site, the form work great, are you using php5.*?

Do we need to tauch on smartobject?



56
jilong
Re: Registration Extra fields?
  • 2007/1/14 14:58

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


Hi vaughan, now i have try to install the XOOPS 2.0.16, Job listing 2.4, smartobject_0.9_beta and smartprofile-php4-v0-02 (download fromhttp://xoobs.net/modules/wfdownloads)

1. I go to "premission" set all field to visible to everyone.

2. I go to "Registration Step", i add in 2 step Personal information and Education information

3. I go to "Field", click into every field and set assign it to show in registration form step.

4. Create the redirect in userinfo.php
Quote:
$uid = intval($_GET['uid']);
if ($uid <= 0) {
redirect_header('index.php', 3, _US_SELECTNG);
exit();

}
redirect_header(XOOPS_URL.'/modules/smartprofile/userinfo.php?uid='.$uid, 0, 'Redirecting To Profile');
header('Location: '.XOOPS_URL.'/modules/smartprofile/userinfo.php?uid='.$uid);
exit(); [quote]

5. Edit the user menu 'edit account' url in root/modules/system/templates/blocks/system_blocks_user.html
[quote]<a href="<{$xoops_url}>/modules/smartprofile/edituser.php"><{$block.lang_editaccount}></a>


6. Edit the user menu 'edit account' url in root/modules/system/templates/blocks/system_block_login.html
Quote:
<a href="<{$xoops_url}>/modules/smartprofile/register.php"><{$block.lang_registernow}></a>
quote]

Yet, when i click the Register Now it still lead me back to the original registration form. i have also menually type in the link ...../modules/smartprofile/register.php the screen show me:
[quote]Sorry, you don't have the permission to access this area.


am i miss up something here?



57
jilong
Re: Registration Extra fields?
  • 2007/1/13 16:34

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


Does smartprofile have support PHP4.4.4 version?



58
jilong
Re: Registration Extra fields?
  • 2007/1/13 9:54

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


I almost give up, after install 2.2# only know that version 2.2# are not support Job Listings. What i want is change the registration form look like online resume form. I try to hack by myself but i fail to write the value into database.

Here is my step:
1. On PhpMyadmin i go to xoops_users add a new field call home_adds.

2. Open registerform.php add in the line "$reg_form->addElement(new XoopsFormTextarea(_US_ADDS, "home_adds", $myts->htmlSpecialChars($home_adds),25, 5));"

3. add this 4 line in register.php:
$home_adds = isset($_POST['home_adds']) ? $myts->stripSlashesGPC($_POST['home_adds']) : '';
echo _US_ADDS.": ".$myts->htmlSpecialChars($home_adds)."<br />";
<input type='hidden' name='user_adds' value='".$myts->htmlSpecialChars($home_adds)."' />
$newuser->setVar('home_adds', $home_adds, true);

4. add in this 2 line in userinfo.php
$xoopsTpl->assign('lang_address', _US_ADDS);
$xoopsTpl->assign('home_adds', $thisUser->getVar('home_adds'));

5. add in the below line in to languag/user.php
define('_US_ADDS','Correspondence Address');

I just can't write the value into "home_adds", am i miss up something to change? Please guide me.

Thanks



59
jilong
Re: Registration Extra fields?
  • 2007/1/12 10:07

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


Hi slyss79 ,

where can i downlaod the XOOPS 2.2.x extended profiles module? because i am not using php5.X version so have no choice only can use 2.2.x extended profiles.

Search from Xoops, i found there have a module call COPPA Registration System for 2.2.3. do you have any ideal where can i download this? this is work to create a extra field for member registration?



60
jilong
Registration Extra fields?
  • 2007/1/10 12:17

  • jilong

  • Just popping in

  • Posts: 61

  • Since: 2007/1/10


I would like to add more field for new user to fill in. is there any module or easy way to do it?




TopTop
« 1 ... 3 4 5 (6)



Login

Who's Online

199 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 199


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits