1
kknewer
guest can post my site without access
  • 2004/9/27 12:20

  • kknewer

  • Just popping in

  • Posts: 4

  • Since: 2004/3/27


Hi xoops
My site built by xoops2.0.6 and it's work fine in the past.
but now I found the problem ., my guest can post and reply on my newbb forum!!
It's really strange because I didn't set up any privilege for guest to access my newbb forum.
I checked my XOOPS admin control panel to make sure my guest setting .,It's ok,there is no any access privilege
to guest.
meanwhile,I can not post when I log in as guest .,it means my guess setting is ok,isn't it?
but someone can post on my forum with guest!!

is this xoops2.0.6 bug or my setting is not correct?
Should I upgrade to xoops2.0.7.3 to solved this problem .

what should I do ?
Can anybody tell me and help me,I really need your help!!

thanks



2
kknewer
Re: edituser.php - alter form - new content to database
  • 2004/4/9 7:03

  • kknewer

  • Just popping in

  • Posts: 4

  • Since: 2004/3/27


hi xgarb
I got same problems but the different is in registerform. Is it works in registerform according to your way?

can you show me how it's works in your case , especially the code!!

thanks



3
kknewer
Help me to add pulldown menu in registerform,please
  • 2004/4/9 6:24

  • kknewer

  • Just popping in

  • Posts: 4

  • Since: 2004/3/27


Hi everybody
I really need your help to solve my registerform's problems.
I modified registerform in order to add pulldown options,because I want to add Birthday pulldown option in my registerform for newuser,so I modified and add some scripts like this:
-----------------------------------------------------------------
$bbubirth_yy_select = isset($HTTP_POST_VARS['bbubirth_yy_select']) ? $HTTP_POST_VARS['bbubirth_yy_select'] : "";
$bbubirth_yy_select = new XoopsFormSelect( "", "bbubirth_yy_select", $bbubirth_yy_select);
$bbubirth_yy_select->addOptionArray(array('3???','4???','5???','6???'));

$bbubirth_mm_select = isset($HTTP_POST_VARS['bbubirth_mm_select']) ? $HTTP_POST_VARS['bbubirth_mm_select'] : "";
$bbubirth_mm_select = new XoopsFormSelect( "", "bbubirth_mm_select", $bbubirth_mm_select);
$bbubirth_mm_select->addOptionArray(array('1?','2?','3?','4?','5?','6?','7?','8?','9?','10?','11?','12?'));

$bbubirth_dd_select = isset($HTTP_POST_VARS['bbubirth_dd_select']) ? $HTTP_POST_VARS['bbubirth_dd_select'] : "";
$bbubirth_dd_select = new XoopsFormSelect( "", "bbubirth_dd_select", $bbubirth_dd_select);
$bbubirth_dd_select->addOptionArray(array('1?','2?','3?','4?','5?','6?','7?','8?','9?','10?','11?','12?','13?','14?','15?','16?','17?','18?','19?','20?','21?','22?','23?','24?','25?','26?','27?','28?','29?','30?','31?'));
$bbubirth_tray = new XoopsFormElementTray(_US_YBIRTHDAY, " ");
$bbubirth_tray->addElement($bbubirth_yy_select);
$bbubirth_tray->addElement($bbubirth_mm_select);
$bbubirth_tray->addElement($bbubirth_dd_select);
-----------------------------------------------------------------
it works,these pulldown options can show on registerform but can not store in MySql database when I chose.
What should I do ?
It's really important to me and I really want to this pulldown option in registerform, can anybody help me ?!



4
kknewer
how can I add pulldown options in register form
  • 2004/3/27 10:34

  • kknewer

  • Just popping in

  • Posts: 4

  • Since: 2004/3/27


Hi xoops
I got few questions about registration form:

1. I want to add pulldown options to my registration form , the pulldown options just like timezone pulldown options . can anyone tell me what should I do ?

2. I want to add checkbox or rediobutton to my registration form , can anyone help me what should I do

this is really important to me , I had read this forum many times but I could not find as the same as my question.
So,please help me

Thanks




TopTop



Login

Who's Online

217 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 217


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