1
mixxorz
Inbetween integrated with profiles
  • 2006/2/2 21:51

  • mixxorz

  • Just popping in

  • Posts: 38

  • Since: 2006/1/10


Hey i'm trying to integrate the inbetween module with the profile page, so our users can make their own profiles. I changed some lines in modules\profile\include\form.php:

added the last line:
$fieldtypes = array('checkbox' => _PROFILE_AM_CHECKBOX,
                            
'date' => _PROFILE_AM_DATE,
                            
'datetime' => _PROFILE_AM_DATETIME,
                            
'group' => _PROFILE_AM_GROUP,
                            
'group_multi' => _PROFILE_AM_GROUPMULTI,
                            
'language' => _PROFILE_AM_LANGUAGE,
                            
'radio' => _PROFILE_AM_RADIO,
                            
'select' => _PROFILE_AM_SELECT,
                            
'select_multi' => _PROFILE_AM_SELECTMULTI,
                            
'textarea' => _PROFILE_AM_TEXTAREA,
                            
'dhtml' => _PROFILE_AM_DHTMLTEXTAREA,
                            
'textbox' => _PROFILE_AM_TEXTBOX,
                            
'timezone' => _PROFILE_AM_TIMEZONE,
                            
'yesno' => _PROFILE_AM_YESNO,
                            
'inbetween'=>'inbetween');


and yeah here i added:(also in form.php)

case "autotext":
            
$form->addElement(new XoopsFormTextArea(_PROFILE_AM_DEFAULT'field_default'$field->getVar('field_default''e')));
            break;
            
            case 
"inbetween":
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/inbetween/forminbetweentextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/inbetween/forminbetweentextarea.php");
                
$editor = new XoopsFormInbetweenTextArea(array('caption'=>$caption'name'=>$name'value'=>$value'width'=>'100%''height'=>'400px'));
            }
            break;



Now i can actually choose to use inbetween as editor for my "make you're profile field", but when i take a look, the field just doesn't show up, i can't type anything..

Details:
xoops 2.2.4
GZip-Compression turned off in the inbetween admin panel
PHP Version 4.4.0
Linux (yes i chmodded everything)(checkdubblecheck)

I could really need some help here, thanks
The mean streets of uhw.

2
mixxorz
Re: Inbetween integrated with profiles
  • 2006/2/4 23:22

  • mixxorz

  • Just popping in

  • Posts: 38

  • Since: 2006/1/10


bump???
The mean streets of uhw.

3
mixxorz
Re: Inbetween integrated with profiles
  • 2006/2/8 10:30

  • mixxorz

  • Just popping in

  • Posts: 38

  • Since: 2006/1/10


bump for answers really want to get this done
The mean streets of uhw.

Login

Who's Online

334 user(s) are online (215 user(s) are browsing Support Forums)


Members: 0


Guests: 334


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