11
sinus
Re: what do i need to INSERT into database?
  • 2005/7/20 1:45

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


ah nice. thanks. i will test it later today.

so,
$xoopsDB->query("INSERT INTO table ... VALUES (".$_POST['username'].", ".$_POST['address'].")");

will work assuming that the $_POST vars are "clean"?

thanks for the info though. very useful for me.
PS: it was not documented in the FAQ...



12
sinus
what do i need to INSERT into database?
  • 2005/7/19 11:11

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hello,

i have been trying to figure out why INSERT statements using the XOOPS DB API wont work... SELECT statements work with no problem...

im thinking that i need valid credentials before i can write something in the database... maybe you could give me some info about it???

thanks.
any reply would help.



13
sinus
Re: How to change members group using Xoops API?
  • 2005/7/19 9:33

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hmmm...
i am having problems adding a uid to a group id...
if (!$member_handler->insertUser($newuser,true)) {
                
//$adduser_errormsg = _AM_CNRNU;
                
echo "error inserting new user to xoops_users";
            } else {
                if (!
$member_handler->addUserToGroup('2'$newuser->getVar('uid'))) {
                    
//$adduser_errormsg = _AM_CNRNU2;
                    
echo "error adding uid: ".$newuser->getVar('uid')." to group table";
                } 
            }


any idea why it wont? we have been debugging it for awhile now... it always fails...



14
sinus
Re: How to use templates in admin pages
  • 2005/7/7 15:27

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


cant seem to find the date of ur post... too sleepy... when will XOOPS 2.1.0 be released? an estimate maybe?



15
sinus
Re: XOOPS API Documentation
  • 2005/7/7 15:24

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


i am also looking for an API documentation myself so far, i found one in the FAQ, the db query thing... the rest, i had to look inside the source... sometimes, it gets a little bit confusing though. especially for someone like me (newbie)... a good documentation would certainly help a lot... im still asking around if there is one



16
sinus
Re: Novell Forge and other famous XOOPS sites
  • 2005/7/7 15:21

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


would love to see a list of all the big XOOPS sites maybe not all then... hehe



17
sinus
Re: xoops_stories & xoops_topics Fieldname Explanations
  • 2005/7/7 15:16

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hello,
thanks for the reply. i think i was a little bit lazy when i posted the question :) i did a little research, got everything to work great

also, i think XOOPS is great. i managed to "re-use" stuff... my next question would go there... is there a list of functions that are built-in in xoops? also a list of available variables (all of them:))...

i remember getting stuck with making something that uses the $xoopsUser var... luckily i found the groupaccess hack (<--very useful) ... i figured that if i had a list of the functions/classes in xoops, it would be really great... sort of like the db classes that are found in the FAQ...

also, is there a good documentation available on making your module? including blocks and other stuff (<-- in modules)
i managed to come up with something but i had to put it inside an iframe in a custom-block... it works but later on, i would like to my own modules with the same functionality...

thanks for the reply really appreciate it...

-sinus



18
sinus
xoops_stories & xoops_topics Fieldname Explanations
  • 2005/6/30 6:15

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hello,

i am making a custom news script that uses the XOOPS databases...
for now, i set default values for fields which i do not know what they are used for.

the fieldnames/column names are pretty self-explanatory but i need deeper info about each field. aside from the structure i got from phpmyadmin...

also, what is the format for the dates? (created and published)...

sorry for the noob questions. any reply would be greatly appreciated. thanks guys...

-sinus



19
sinus
webmailfx no webmail
  • 2005/6/18 13:31

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


hello,

i just installed webmailFX in xoops. registered some users, but sadly, the users do not have an account in webmailFX. everytime i go to the mailbox (with users logged in) i am asked to configure POP3 accounts. i do not want this. i want that when users register, email accounts are created automatically. EG: username@mysite.com

is this even possible in webmailFX? as of now, i cant find an option in XOOPS and webmailFX to add a webmail account.

thanks. will appreciate any reply



20
sinus
Re: latest news by topic like in xoops.org
  • 2005/6/15 14:12

  • sinus

  • Just popping in

  • Posts: 27

  • Since: 2005/6/11


Quote:

m0nty wrote:
it's a slightly modified spotlight module..


ah ok. but how do we edit the spotlight module? or block?




TopTop
« 1 (2) 3 »



Login

Who's Online

162 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

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

Latest GitHub Commits