21
krayc
Re: configurable web form builder module?
  • 2004/4/21 23:37

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


Try this link....
adding existing fields to the registration form. I just used this code and it works for existing fields.

It wouldn't seem to awful far to figure out how to add your own fields and definitions. etc. Although Im sure there are several files to edit, not only those mentioned in that post, but at least the language files, and perhaps the sql?

not sure.

Apparently in the next release of XOOPS this will be addressed?

krayc



22
krayc
Re: Entry Form
  • 2004/4/21 15:21

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


For those monitoring this thread, there is now a new project at dev.xoops.org called XoopsDBase.

I will manage the project, but obviously it will move forward with help from others.

As it gets clear on the design strategy, I intend to produce a design document, that doesn't mean people can't hack and prototype and learn from independent work, but in the long run a module like this needs to have some advance thought. Such as making it as Object-Oriented as possible, anticipating features in advance and building a lot of flexibility into the design up front. learning from the lessons of the other more experience module builder and hopefully the Core Dev Team.

I'm looking forward to working with anyone who willing to create an 'exemplar' XOOPS module, my wish is that the design document becomes the 'documentation' so the documentation is there at each step of the way.

My experience is that this requires a bit of patience and willingness to co-create software, not that I intend to make this a design heavy process upfront, but using more of an extreme programming approach. Even rapid development needs some guiding design.


krayc




23
krayc
Re: Entry Form
  • 2004/4/21 3:38

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


thanks script_fu, I will file away your userid :)

krayc



24
krayc
Re: Entry Form
  • 2004/4/21 2:07

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


I will take you up on that offer.
If I had some model code I'm sure I and others could figure it out.

What I don't know is how to bring this together into a module? yet that is.

I believed that formulaire as a front end would a good start, since it already creates forms and display them, the missing piece in 'formualaire' is creating tables based on the form (and adjustments made to the forms, etc)

So if I start with formulaire, I first need to create table, by reading the form definition.

Then I need to display the contents of the table.

Refining this would be to allow for changes to the form, thus changes to the data tables.


But the nut of the issue is not only creating tables, fields etc on the fly and bringing it all together with templates.

But I'm game to start working on it.

To that end I've applied for a new project at dev.xoops.org called XoopDBase.

I'm more than happy to manage the project and see it through. But I will need some skilled php/xoopsers to assist in code review and design, and best practices within XOOPs.

krayc



25
krayc
Re: Entry Form
  • 2004/4/20 20:29

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


When I first started using Xoops, in Jan, I looked for just such a thing, and so far no luck.

Formulaire, creates forms and stores the 'Form definitions' in a database, but the forms when filled out get emailed or PM'd to the webmaster.

I was planning of expanding formulaire to use as a basis for what you want, but have yet to get up to speed on Xoops, and php to do it.

krayc



26
krayc
A search function for Narga's myguestbook
  • 2004/4/20 14:07

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


I've just submitted a small piece of code that adds a search function to Narga's myguestbook, it's in the downloads click here!

perhaps someone will find it useful.

krayc



27
krayc
Re: Found problem but I need help with search funtion for guestbook...
  • 2004/4/19 20:59

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


Solved.

Quote:
the AND should be a WHERE


krayc



28
krayc
Re: Found problem but I need help with search funtion for guestbook...
  • 2004/4/19 19:55

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


Making progress, but still can't figure whats wrong...

Here is the offending sql statement.

SELECT id,name,title,message, time FROM xoops_myguestbook AND ((name LIKE '%searchword%' OR title LIKE '%searchword%' OR message LIKE '%searchword%')) ORDER BY id DESC LIMIT 0, 5


I'm sure it's staring me in the face.

krayc



29
krayc
Re: Pre-moderating forums: an idea
  • 2004/4/19 19:24

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


I think it would be safe to say that the author of this hack is not active, since his last login was in 2002.

krayc



30
krayc
Re: I need help with search funtion for guestbook...
  • 2004/4/19 18:40

  • krayc

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/2/17


Surely this is not to difficult??

This is the same code used in newbb.

I replaced the sql table name, and fields etc.
and the ret info at the bottom, otherwise it is the same
code.

At least could someone tell me how to debug such code, for example how to I get some output to the screen while the code is running?

So i can see if and where it is being excuted?

thanks krayc




TopTop
« 1 2 (3) 4 5 6 ... 10 »



Login

Who's Online

137 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 137


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