1
RC78_TITI
Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/4 21:22

  • RC78_TITI

  • Just popping in

  • Posts: 6

  • Since: 2008/8/16


Hello,
I have just installed in site test the version XOOPS 2.30RC2 in order to be able to test it.
For the profile of the members I created a hack according to the post of blueteen and since the 2.016 this one functions well.
But there I have concern for the adaptation bus in
“Kernel/user.php” I do not have any more the indication towards the base to use
// RMV-NOTIFY
        // Added two fields, notify_method, notify_mode
        
if ($user->isNew()) {
            
$uid $this->db->genId($this->db->prefix('users').'_uid_seq');
            
$sql sprintf("INSERT INTO %s (uid, uname, name,...

For the remainder of the hack apparently that should occur well.
Would somebody have an idea on the file to modify now???
A+ Titi

2
RC78_TITI
Re: Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/5 18:02

  • RC78_TITI

  • Just popping in

  • Posts: 6

  • Since: 2008/8/16


Finally, if someone could just give me the list of files exchanged at the 2.30 RC2, I would be content

For now I have found that the problem on "kernel / user.php"

Quote:

edituser.php
register.php
userinfo.php

class/xoopsformloader.php
class/xoopslists.php
class/xoopsform/formselectgenre.php

include/findusers.php
include/functions.php
include/registerform.php

kernel/user.php

languagefrench/user.php
language/french/mail_template/adminactivate.tpl

modules/system/admin/findusers/main.php
modules/system/admin/users/main.php
modules/system/admin/users/userform.php
modules/system/language/french/admin/users.php
modules/system/templates/system_userinfo.html

3
Marco
Re: Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/6 12:11

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


hello,

you'd better to make use of the extended profile module, that is included in XOOPS 2.3RC2, it's made for that. I mean you can create lists in the sub/profile form.
Do synergy or die.

4
RC78_TITI
Re: Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/7 10:13

  • RC78_TITI

  • Just popping in

  • Posts: 6

  • Since: 2008/8/16


Good morning,
Pending the modification of the module profile, I return to the attack for understanding the version 2.30RC2
I will be simple for a field text style "Name" we had to modify this:

Quote:

* edituser.php = (modification profiling by the member)
* register.php = (Record Management)
* userinfo.php = (information on the member)

* include/registerform.php = (Registration Form)

* kernel/user.php = (Class user)

* language/french/user.php = (Definition of language)

* modules/system/admin/users/users.php = (Terminal State: Edition, update member)
* modules/system/admin/users/main.php = (Terminal member: Entry principal)
* modules/system/admin/users/userform.php = (Terminal member: Form)

* modules/system/language/french/admin/users.php = (Terminal member: Definition of language)

* modules/system/templates/system_userinfo.html = (Template of information on member)



And to take account of the new field we had to modify this file class user (Kernel / user.php)
Since it was changed, I suppose it east is linked to another file in the core.

Someone can enlighten me on this?

A+ Titi

5
trabis
Re: Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/8 19:44

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You will not have to change anything in the core. Just explore a little the profile module and you will see the light you seek.

6
Marco
Re: Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/8 19:58

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


well, this deal with the default value of a Select field, and the fact that the field is mandatory in the form.

exemple : i add through Extended Profile module the field SEXE, with the values Male, Female

In the form, i want to display :
Sexe
|---- (as selected by default)
| Male
| Female

Actually, in the profile module, if a set the 2 values, and if i activate the required option, it will display

Sexe
| Male (as selected value)
| Female

then a user will change nothing and i'll have more male in my user's list than expected, since there is no "blank" value.

we have to improve that part
marco
Do synergy or die.

7
Marco
Re: Xoops 2.30 RC2 - Hack modification profile
  • 2008/9/20 8:45

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


fixed in 2.3RC2
Do synergy or die.

Login

Who's Online

408 user(s) are online (275 user(s) are browsing Support Forums)


Members: 0


Guests: 408


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