1
jamiescott
Re: Xcgallery - reg'd users cant upload to default categories?
  • 2005/1/25 3:03

  • jamiescott

  • Just popping in

  • Posts: 5

  • Since: 2004/5/26


Sorry Draven but I really can't configure to allow members to create album in my directories.

Can I know whether can I create an album in your "Gear Pics" or "Supplement Pics" directory? The album I create only resides in "User Galleries" dir.

I just like your gaining-mass site soo much.
It's the best XOOPS site I've ever seen. Keep up the good work.



2
jamiescott
Re: Xcgallery - reg'd users cant upload to default categories?
  • 2005/1/24 17:12

  • jamiescott

  • Just popping in

  • Posts: 5

  • Since: 2004/5/26


Thanks Draven for your reply.
I've tried to post my question there but no reply. I think Predator is busy with the release of NewBB module.

Any help from other members which is pro in XCGallery?
I don't want to give registered users the right to access to XOOPS admin section.


Thanks.

Jamie



3
jamiescott
Xcgallery - reg'd users cant create album into default categories?
  • 2005/1/24 1:32

  • jamiescott

  • Just popping in

  • Posts: 5

  • Since: 2004/5/26


As for xcgallery, is it true that registered users can't upload photos to Webmaster's default categories?

Thank you very much in advance!



4
jamiescott
Re: Modifying xoops_users
  • 2004/5/28 7:55

  • jamiescott

  • Just popping in

  • Posts: 5

  • Since: 2004/5/26


I don't know if my question is too complicated? We really hope the core team can help us in this. I think a lot of members would like to know this as well.



5
jamiescott
Modifying xoops_users
  • 2004/5/26 19:46

  • jamiescott

  • Just popping in

  • Posts: 5

  • Since: 2004/5/26


I have searched through the forums and I know this question has been posted. The replies couldn't help me with hacking into the core codes of the members registration. Can some experts post here the steps and the files involved in adding new fields into the registration form.

I have tried the changes below but it still says "couldn't add to database":
[b]1. registerform.php[/b]
(
line 33)
$pets = isset($HTTP_POST_VARS['pets']) ?$myts->makeTboxData4PreviewInForm($HTTP_POST_VARS['pets']) : "";

(
line 79)
$reg_form->addElement(new XoopsFormText(_US_PETS"PETS"2625$pets), true);



[
b]2. register.php[/b]
(
line 191)
$newuser->setVar('pets'$pets);



[
b]3. kernel/user.php[/b]
(
line 77)
$this->initVar('pets'XOBJ_DTYPE_TXTBOXnullfalse45);
(
line 522)
added [b]'pets'[/bafter  [b]'url'[/b] and added  [b]%s[/bin the sql insert statement

and of course inserted the 'pets' field in the MySQL database.

Thanks in advance.




TopTop



Login

Who's Online

85 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 85


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