1
webguygary
smarty 2.6.7 release vs. security
  • 2005/2/7 16:30

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


Does this concern XOOPS in any way?

http://smarty.php.net/

From feb 3, the smarty site says

Quote:
[3-February-2005] Those using Smarty with template security enabled: a vulnerability was discovered that allows PHP code to be executed from within a template file, even with the template security features enabled. This has been fixed in this release among other minor fixes and ehancements which can be found in the ChangeLog.


just curious



2
webguygary
Re: How do I change "Register Now!" link to a different page?
  • 2004/12/17 17:23

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


OK, I figured it out:

Go to Administration of the XOOPS Site, blocks, Login - Edit, Edit Template.

find this line:
Quote:

<a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a>


change to
Quote:

<a href="<{$xoops_url}>/YOURPAGENAME.php"><{$block.lang_registernow}></a>


YOURPAGENAME.php = name of page you wisdh link to point to.

This was great to be able to answer my own XOOPS question for once!

:)



3
webguygary
Re: How do I change "Register Now!" link to a different page?
  • 2004/12/17 16:29

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


Because I'm using the registration disclaimer as a registration disclaimer. What I'm doing is presenting to people the features and benefits of the site, and listing the reasons they should sign up. burying it in the disclaimer box on the bottom of the registration form would diminish what I'm trying to achieve, which is to entice visitors to register. I want a nice formatted html presentation of features & benefits.

Ya gotta sweet talk them a little before they give it up, ya know?
:)



4
webguygary
How do I change "Register Now!" link to a different page?
  • 2004/12/17 16:14

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


I've created a custom registration process where I need an additional page before bringing site visitors to register.php. In the log-in block, where it says"Register Now!", the link goes directly to register.php. I need to have that link point to a page that explains the benefits of registering, and THEN a link to register.php. What file(s) do I need to edit for that?



5
webguygary
Re: Registration/Membership Management Question
  • 2004/12/17 14:21

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


I guess I should add a comment to my previous post - that snippet I posted would create a drop down list of all possible groups to choose from, as opposed to the radio selects you're using here. Useful if you have more than one group to choose from upon registration. This is theoretical, someone posted it in response to one of my earlier questions on this topic, but I've yet to try it out myself.



6
webguygary
Re: Registration/Membership Management Question
  • 2004/12/17 14:17

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


Quote:

haryadoon wrote:
How to get the group ID from the group name (without going straight to the database) ?


Harayoon - would this work?

$crit = new Criteria('id', 1, '<>'); // Should get all groups except for admin
$hGroups =& xoops_gethandler('group'); // Make groups handler
$groups =& $hGroups->getObjects($crit); // Retrieve groups matching criteria

echo "<select name='groups'>"; // In your registration form
foreach($groups as $group){ // Loop through each group
echo "<option value='".$group->getVar('id')."'>".$group->getVar('name')."</option>";
}



7
webguygary
Re: Registration/Membership Management Question
  • 2004/12/15 16:29

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


Quote:

ReCkage wrote:
I had someone create a feature that the user places themselves in a group guring registration. It ask the user what group they belong to and places them in it.

Keep looking in the hacks, for the next few days, I will get them to also write up on how to edit and add features to the registration menu.


That would be an excellent hack if you could either post it or direct us to where the hack is located.



8
webguygary
Re:new version of resmanager ( 0.5.1)
  • 2004/12/6 17:31

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


where can I download the latest version?



9
webguygary
Re: Registration/Membership Management Question
  • 2004/12/2 15:10

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


This thread has been very informative, but now that it's been running all these months on this topic, has anyone developed a module or hack for letting users select which group they wish to belong to while on the registration page?

Thanks.



10
webguygary
Re: Registration Form editing!
  • 2004/12/1 21:56

  • webguygary

  • Just popping in

  • Posts: 25

  • Since: 2004/11/8


I feel your pain on this issue - and there seems to be more folks posting this question about the registration form, but in my searches, I've still not found the answer to your question, as I too seek to edit the registration form.




TopTop
(1) 2 3 »



Login

Who's Online

172 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

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

Latest GitHub Commits