228481
Smitty1
Registration Form Whoas
  • 2004/10/28 4:03

  • Smitty1

  • Just popping in

  • Posts: 3

  • Since: 2004/10/28


I'm trying to intergrate the registration form for XOOPS into another user form I have.

I want the form to post to a page I already have for my current user form & just add a few lines of code to insert them into the XOOPS database.

I was hoping to just add a few MySQL insert queries into my existing form handler.
Is this possible?
What information/feilds needs to go into the XOOPS database?



228482
phillipd
In xoopsmembers module the $user array in the template...
  • 2004/10/28 3:54

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


I'm trying to get a better understanding of templates. Looking at the template xoopsmembers_searchresults.html in the xoopsmembers module, I see the "$users" array being used in a loop:

<{section name=i loop=$users}>

I can't see how $users[] are passed to the template because there are no references to a xoopsTpl->assign('user') in the index.php code. I understand the other smarty template variables in the file but not the "$users" array. Could someone please give me an explanation of this mechanism? Please be verbose, I'm new at this.

[Edit]

Now I'm totally confused. I removed the xoopsmembers_searchresults.html, uninstalled the module, reinstalled the module and everything still works. How can this be? The messages during the install even say the template was compiled and reinserted properly. The template is gone! I guess I have a very basic misunderstanding about how templates work...

Thanks a bunch

Doug P



228483
tjnemez
Re:Experiences with Surpass hosting???
  • 2004/10/28 3:48

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey Kayla,

thanks for all the support, great job.



228484
vinit
Re: CODING: Support needed for coding index.php
  • 2004/10/28 3:36

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Thanks Mithrandir, it worked perfectly.

Now next thing thats needed is if user clicks on submit button on edituser.php without filling up the "Real Name" and "Extra Info" field than a proper error message has to be shown and should be redirected back to edituser.php.

i think this has to be done in edituser.php somewhere after line 52.

I thought of this, could you verify wether this is right or not

Quote:

if (empty($name) ) {
$errors[]=_US_EMPTYREALNAME;
}

if (empty($bio) ) {
$errors[]=_US_EMPTYEXTRAINFO;
}



Do let me know if i am wrong.



228485
hangar1
Re:Missing graphics when viewed externally
  • 2004/10/28 3:33

  • hangar1

  • Just popping in

  • Posts: 12

  • Since: 2004/10/28


I saw graphics on your site



228486
hangar1
wf snippets icon link
  • 2004/10/28 3:32

  • hangar1

  • Just popping in

  • Posts: 12

  • Since: 2004/10/28


when I click from a category to view a "snippet" a icon shows up at the top right >>>>>> Resized Image
this icon links to mysite/modules/snippets
Why would wf snippets do this and where do I delete this from if it is not needed?



228487
tjnemez
Re:XOOPS.org on Rank No.1 in our topsites list
  • 2004/10/28 3:27

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


is this site for XOOPS only? if so i do not believe this is an XOOPS site:http://www.xoops-topsites.com/out.php?id=106



228488
Bassman
Re:How to: Onmouse over effect to show submenus
  • 2004/10/28 3:09

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


I would suggest that the ones you've seen are probably custom blocks made into menus, with the links hard-coded into them.



228489
wedding
Re:[Q] can install 2 xoops into 1 mysql database?
  • 2004/10/28 3:08

  • wedding

  • Just popping in

  • Posts: 30

  • Since: 2004/7/6 8



thanks for sharing...



228490
ap1239
Missing graphics when viewed externally
  • 2004/10/28 2:57

  • ap1239

  • Just popping in

  • Posts: 9

  • Since: 2004/10/27


This site (my site) is missing the graphics when accessed from the Internet, but when accessed from inside everything is fine.

What is wrong? Seems all the relative links are wrong.

define('XOOPS_URL', 'http://community.soundview.org');
The site is sitting in a DMZ. I can access it fine from inside with both internal/external IP addresses.







Login

Who's Online

125 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 125


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