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:

change to
Quote:

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 "
[Advanced Search]

Login

Who's Online

151 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 151


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