test of adding code

floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2010-09-12 01:19

It is not a required field looking at the code.
You can edit it for clarity:
find in gallery3/modules/register/controllers/register.php

$group->input(
      ->rules("valid_url");

change to:

$group->input(
      ->rules("valid_url");

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2010-09-15 03:02

Another test

$group->input(
      ->rules("valid_url");
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2010-09-15 03:46

Can we play too?

if($dave->addsCode() == 'success'){
    echo 'Hurray for Dave!';
}else{
    echo 'Sorry Dave, try again.';
}

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2010-09-15 03:52
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-09-15 04:11
This appears to work when posting with HTML, of course only us moderators can do that. Is it tripping up on the $group->input part?
$group->input(
      ->rules("valid_url");

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-09-15 04:12

wtf? the preview was showing the code, but now it's gone.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here