11
catalin12345
Re: Adding Fields in Registration

there is an module user info on xoops
but how to use it and integrated in user menu ?anybody knows?!

12
Chappy
Re: Adding Fields in Registration
  • 2005/3/26 11:32

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


Hi, Alfa-Foxtrot,

The link that you posted to your hack does not allow me to view it. Do I need to register? I don't speak Spanish, and the google translation is a little rough, even as it is. It looks like the link posted takes me to a FAQ, not a download. Is it a download or a FAQ? Thanks. It looks like you've got a pretty active site there!

13
winnesoup
Re: Adding Fields in Registration
  • 2005/3/26 12:14

  • winnesoup

  • Just popping in

  • Posts: 29

  • Since: 2004/10/15


ok, a little translation into English.

Please keep us informed if you manage to get this thing to work!! Look out, i think i found this module already. It's called "anniversaire" and is available for E-xoops. It just adds a field to enter your birthday and display it.

IMHO XOOPS is definitely in need of a good myprofile module or something!!

Translation is added after EN:

Cheers,

Winnesoup

Installation:
EN: Installation

1.Schritt
EN: 1st step

1. Datei entzippen und ins Module verzeichnis kopieren
EN: Unzip data and copy in Module folder

2. Das Modul im Admin installieren und die Gruppenrechte setzen
EN: Install the module and apply groups

3. WICHTIG: Die sql-tabelle muss du per hand in die Datenbank per phpmyadmin o.ä. erstellen
EN: important!! The needed tables have to be added to the database by hand // phpmyadmin
--------------------------------------------



3.Schritt (Wenn du einen Link im Mitglieder-Block haben möchtest
EN: third step (hé, who has stolen number 2 ?) (When you want to have a link in the member block)

1.öffne die Datei system_blocks.php im Verzeichnis modules/system/blocks
EN: Open the file system_blocks.php in modules/system/blocks

2.unterhalb der Funktion b_system_user_show() in der Zeile 48 fügst du ein
EN: Below the function b_system_user_show() on line 48 you add


/////////nach dieser Zeile/////////////
EN: AFTER THESE LINES

$block['content'] = "· "._MB_SYSTEM_VACNT."
";

////////////////////////////////////////


///////////kommt diese zeile rein///////////
EN: ADD THIS LINE

$block['content'] .= "· Geburtstag
";

////////////////////////////////////////


Für die Leute, die einen eigenen Hauptmenü-Block haben und keinen Link im Mitglieder-Block haben möchten gilt:
damit sich die Leute eintragen könne, muss ein Link im Hauptmenü anni/index.php existieren
EN: For people who have their own main-menu block and do not want to have a link in the member block the following is needed:
To have people being able to register themselves, a link in the mainmenu anni/index.php MUST exist.

Viel spass damit...
EN: Have fun

14
ALFA-FOXTROT
Re: Adding Fields in Registration

WEll.. its posted in a FAQ to explain what it dows and how to install... anyway... ill post here everything i posted there...

-----------------------------------------------------------
This hack adds new fields in the registration the view/edit profile, ADMIN EDIT USER and saves to the DB.
Almost all fields are in comboBox so that the user doesnt have the chance of writhing anything else...

+ Info :
- Creates new fieds in DB and on the view/edit profile, ADMIN EDIT USER.
- BIRTHDAY
- Horoscope(Combo Box)
- Age
- Sex (Combo Box)
- Cívil Estate (Combo Box)- Sngle, Married, Confidential etc...

- Thanks for all the help that may come from other users, code and imrpovements! - THis hack only has a prob. it doesnt calculate automaticly the Age and Horoscope (working on That, help needed since im a newbie on php working slow...)

-----------------------------------------------------------------------------

+ instalation :
- Back up all files that are going to be changed!
- Decompress flies to your site.
- Go to phpMyAdmin > Your DB > SQL > Importe alfa-sql*

*Case import doesnt work, create manually the fields same name.

-----------------------------------------------------------------------------

Files being changed:

\edituser.php
\userinfo.php
\register.php
\kernel\user.php
\class\xoopsformloader.php
\class\xoopslists.php
\include\registerform.php
\modules\system\templates\system_userinfo.html
\modules\system\admin\users\userform.php
\modules\system\admin\users\main.php
\modules\system\admin\users\users.php
\modules\system\language\Your LANGUAGE\admin\users.php

added +3 files:

\class\xoopsform\formselectestadoc.php
\class\xoopsform\formselectlocalidade.php
\class\xoopsform\formselectsignos.php

ScreenShoots: In this screenshoots only the new fields appear but the ICQ,AIM,YIM are there also... only need to uncoment them in the register.php, userinfo.php, templates/system_userinfo.php remove //...

Register

Resized Image

Confimation

Resized Image

View Account

Resized Image

Admin User Account

Resized Image

Hope u like....

Download: ALFA-FOXTROT REGISTER MOD v.0.2 ALFA-FOXTROT REGISTER MOD v.0.2

TO change the options in the COMBOBOXES to your language, go to \class\xoopslists.php and edit!

ANy Questions just ask, try to solve the problem

15
winnesoup
Re: Adding Fields in Registration
  • 2005/3/29 18:13

  • winnesoup

  • Just popping in

  • Posts: 29

  • Since: 2004/10/15


Thnx Alfa! Appreciate your work!

Going to try it on my test site. When I finish an english translation, I will add it to this post.

16
ALFA-FOXTROT
Re: Adding Fields in Registration

Ok... if need any help just ask.. my hack is in need of some improvement.. if u detect any problem please ask...

17
Chappy
Re: Adding Fields in Registration
  • 2005/3/30 5:33

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


I'll be interested to hear how it goes winnesoup...

18
ALFA-FOXTROT
Re: Adding Fields in Registration

Iff u need any help in the translations please ask... I made it in portuguese because it was what i needed... :)))

Hope from hearing from u guys...

19
gtop00
Re: Adding Fields in Registration
  • 2005/4/19 19:10

  • gtop00

  • Friend of XOOPS

  • Posts: 498

  • Since: 2004/11/13


Quote:

winnesoup wrote:
Thnx Alfa! Appreciate your work!

Going to try it on my test site. When I finish an english translation, I will add it to this post.


1. Dear winnesoup,

Have you finished with the English translation? I am interested to tranlate from English to Greek!

2. Do not forget to add the following hack (for privacy reasons): https://xoops.org/modules/smartfaq/faq.php?faqid=282

20
winnesoup
Re: Adding Fields in Registration
  • 2005/4/19 21:38

  • winnesoup

  • Just popping in

  • Posts: 29

  • Since: 2004/10/15


Trying to find the time to work this out. Sorry, not yet!

Also look at what our core programmers are saying about this feature for 2.0.1! Maybe we will be to late by then (gladly)

Login

Who's Online

278 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 278


more...

Donat-O-Meter

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

Latest GitHub Commits