331
noo-b
Re: Xoops Ajax Comment System?
  • 2007/12/15 6:06

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


ajax comments and comment pagination as example like in youtube comments would be great

hope to see this soon
I Love Xoops



332
noo-b
Re: Problems with CBB 4.0 alpha
  • 2007/12/15 4:22

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


i made an upgrade last night..but when i try to post i had MySQL problem....can't post...so i downgrade to 3.08

i'll stick to 3.08 until 4.0 final comes out
I Love Xoops



333
noo-b
Re: discuz (bbs) module ?
  • 2007/12/15 4:19

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


hope it can be release someday...discuz is quite popular here in my country
I Love Xoops



334
noo-b
Re: Xoops Ajax Comment System?
  • 2007/12/15 4:18

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


will this be implemented in future release ?
I Love Xoops



335
noo-b
discuz (bbs) module ?
  • 2007/12/15 3:46

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


I've seen some XOOPS sites made integration with discuz forum
http://translate.google.com/translate?hl=en&sl=zh-CN&u=http://www.discuz.net/&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Ddiscuz.net%26hl%3Den%26client%3Dfirefox-a%26channel%3Ds%26rls%3Dorg.mozilla:en-US:official%26hs%3D9Zi%26sa%3DG

like this one

http://www.5xue.com/modules/bbs/

where can i download the module
I Love Xoops



336
noo-b
Re: Xoops Ajax Comment System?
  • 2007/12/13 12:59

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


i would like to have this feature...ajax comment

is there any hack out there to implement this ?
I Love Xoops



337
noo-b
Re: always logged in?
  • 2007/12/10 10:03

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


check this out

http://xoops.peak.ne.jp/modules/mydownloads/singlefile.php?cid=2&lid=109&easiestml_lang=xlang%3Aen
I Love Xoops



338
noo-b
Re: dropdown menu in register.php
  • 2007/11/24 1:11

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


I finally got it working in my site..

Thanks to all who had helped me...

i really hope the XOOPS team to consider to include basic info like sex, age, birthday in XOOPS next version

as i said previously in an another thread the reason i don't want to use profile module available is because i just need one extra field (sex)...that's all..

any members that would like to do the same .......

here's how i did it in XOOPS 2.0171
-------------------------------------

** Change user_icq to sex drop down menu and include it
as a required field in registration from

** 4 files need to be edit - register.php, edituser.php, include/registerform.php & modules/system/templates/system_userinfo.html

First Step......


1. in include/registerform.php

add this
$icq_text = new XoopsFormSelect("Sex"'user_icq'$user_icq);
$icq_text->addOptionArray(array(1=>"Male"'0' =>"Female"));
$reg_form->addElement($icq_texttrue);


after

$reg_form->addElement(new XoopsFormText(_US_WEBSITE"url"25255$myts->htmlSpecialChars($url)));


2. in register.php

add this
$user_icq = (isset($_POST['user_icq']) && intval($_POST['user_icq'])) ? 0;


after

$url = isset($_POST['url']) ? trim($myts->stripSlashesGPC($_POST['url'])) : '';


add this
<input type='hidden' name='user_icq' value='".$user_icq."' />


after
<input type='hidden' name='user_mailok' value='".$user_mailok."' />



add this
$newuser->setVar('user_icq'$user_icqtrue);


after
if ($url != '') {
            
$newuser->setVar('url'formatURL($url), true);
        }


3. in edituser.php


find

$icq_text = new XoopsFormText(_US_ICQ'user_icq'1515$xoopsUser->getVar('user_icq''E'));



replace with

$icq_text = new XoopsFormSelect("Sex"'user_icq'$xoopsUser->getVar('user_icq'));
$icq_text->addOptionArray(array(1=>"Male"=>"Female"));



4. in modules/system/templates/system_userinfo.html

find this
<tr valign="top">
          <
td class="head"><{$lang_icq}></td>
          <
td class="odd"><{$user_icq}></td>
        </
tr>


and replace with

<tr valign="top">
          <
td class="head">Sex</td>
          <
td class="odd"><{if $user_icq == "1"}>Male<{else}>Female<{/if}></td>
    </
tr>



Finish...clear templates_c/update system

there are maybe incorrect format of code used here so if anyone of you spotted a mistake please help me to correct it

thanks once again for those who had helped me..i appreciate it a lot
I Love Xoops



339
noo-b
Re: add gender field in profile without using a module ?
  • 2007/11/22 16:02

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


post edited
......
99% solved: option is now displayed in register.php but after submit..data not save to database

https://xoops.org/modules/newbb/viewtopic.php?topic_id=61800&forum=7&post_id=278694#forumpost278694

help
I Love Xoops



340
noo-b
Re: dropdown menu in register.php
  • 2007/11/22 6:09

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


post edit----------------

...i put this in include/registerform.php

$icq_text = new XoopsFormSelect("Sex"'user_icq'$user_icq);
$icq_text->addOptionArray(array('Male'=>Male'Female'=>Female));
$reg_form->addElement($icq_text);

the option is now displayed in register.php ..

but when i try to register a new user...the option selected (Male/female) is not save to database

what do i need to put in register.php ?

help
I Love Xoops




TopTop
« 1 ... 31 32 33 (34) 35 36 37 »



Login

Who's Online

220 user(s) are online (147 user(s) are browsing Support Forums)


Members: 1


Guests: 219


Mamba,

more...

Donat-O-Meter

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

Latest GitHub Commits