Neuigkeiten:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Hauptmenü
Advertisement:

Make sure people read the registration agreement.

Begonnen von Tristan Perry, Oktober 31, 2004, 12:35:20 NACHMITTAGS

Vorheriges Thema - Nächstes Thema

LuckyOne

Zitat von: LuckyOne in Juli 11, 2006, 05:44:40 VORMITTAG
Zitat von: Tau Online in Juli 11, 2006, 05:22:12 VORMITTAG
Actually, could you try changing the following:

In /Sources/Register.php
Find:

<br /><br />Please click <a href="', $scripturl, 'index.php?action=register">here</a> to re-register.',false);

Replace with:

<br /><br />Please click <a href="', $scripturl, '?action=register">here</a> to re-register.',false);

I think I messed the link back URL - it shouldn't have included the "index.php". If that doesn't work, I'd suggest just uninstalling this until I come back and can look into this further (I'll be back Saturday).

Thank you for the response!

Well, I did what you said and now we're a bit closer to the end result.  This time I get the following error:

An Error Has Occurred!

Congratulations! You just broken the Official World record for speed-reading!
Actually, we know you didn't read the forum rules, so please do so before continuing.

Please click <a href="


-LuckyOne

I wonder why I'm the only one who can't get it to work.  I'm fairly certain that I did everything correct.  Has anyone else had success with 1.0.7?

Thanks.

-LuckyOne

Tristan Perry

Zitat von: LuckyOne in Juli 15, 2006, 04:00:37 NACHMITTAGS
I wonder why I'm the only one who can't get it to work.  I'm fairly certain that I did everything correct.  Has anyone else had success with 1.0.7?

Thanks.

-LuckyOne
In response to the error you received earlier.. how long did you wait until you pressed register? If you waited under the default 20 seconds you would receive the error?

LuckyOne

Zitat von: Tau Online in Juli 16, 2006, 05:48:48 VORMITTAG
In response to the error you received earlier.. how long did you wait until you pressed register? If you waited under the default 20 seconds you would receive the error?

Yes.  Under 20 seconds gives me the above code with the broken <a href=" link.  So, I think it almost works ... just not quite.

If I wait more than 20 seconds, I can register normally.

-LuckyOne

Tristan Perry

Ah okay, it looks to just be a syntax thing then which is better news than it could be :) Could you post a link to your forums/the coding that is produced so I can check out what needs changing? I can't see what  would cause the error in the most recent change I posted up.
Thanks,
Tau Online

PrizeLive.com

Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Tristan Perry

Zitat von: SurfExcelerator.com in Juli 20, 2006, 08:36:25 VORMITTAG
Does this work for 1.1 RC2?
As far as I know it does :) Sorry for not replying to your earlier question, I lost this thread.
Tau Online

uptown

<br /><br />Please click <a href="' ,$scripturl, '?action=register">here</a> to re-register.',false);

Replace with

<br /><br />Please click <a href="' .$scripturl. '?action=register">here</a> to re-register.',false);

Tristan Perry

#47
Those two pretty much do the same thing - or at least they echo the same thing, don't they?

TheGamer

Zitat von: Ben_S in November 01, 2004, 04:36:42 NACHMITTAGS
Personally, I never read a registration agreement, and forcing a time to wait won't make me, I'll either go and surf on another tab then come back, or just leave fully.

People just generally don't do reading agreements, they should, but they don't.

I Agree 100%. Besides, even if you do not actually agree, you 'have' to in order to register.

perlisbetter

The only thing is, if I saw that message I'd just leave and not sign up.  Signing up should be a quick and easy process, the harder it is the less people who'll waste time doing it.

jkrlvgn

If -I- saw that message, I'd be like...."Whoa.  Must be something worth reading..."  and then I'd read it.

The point is, sometimes the agreement has IMPORTANT INFORMATION in it.  And when people just blaze through it, and they agree, then whine and cry later because they didn't remember seeing something that was specifically mentioned, it gets to be bothersome.

Hell, by everyone's complaining logic, why have anyone register for anything at all?  Why not take  off your registrations off of your forums and just let everyone post and do what they want to?  That way, you don't even have to take the few seconds to register, you can just kick in and start posting!

What a great idea!

*scowls*  I mean...it's a REGISTRATION agreement.  20 seconds is like...nothing.  You can waste 20 seconds checking your e-mail really quick if you can't be bothered to read it.

Bah.  Whatever.  I think it's a good idea, and I think I might even use the script, if I can think of something to put in my own registration agreement.

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

CalvinLimuel

Calvin Limuel
>>>Gastrote

Jennifer

Zitat von: perlisbetter in August 06, 2006, 12:55:01 NACHMITTAGS
The only thing is, if I saw that message I'd just leave and not sign up.  Signing up should be a quick and easy process, the harder it is the less people who'll waste time doing it.

Attitudes like that are from people I don't want on my forum; the kind that don't read rules, then spam the staff with hundreds of questions and get mad as soon as they're banned. This mod is fantastic.

Hoochie Coochie Man

It didn't work!
Even I make it 200 seconds..
if( ( time() - $_POST['time'] ) < 200 )

and I regestered my own forum 40 seconds. But nothings change! There is no warn!
I registered anyway..
İnadına SMF 1.1.X

Hoochie Coochie Man

İnadına SMF 1.1.X

Hoochie Coochie Man

İnadına SMF 1.1.X

Tristan Perry

Sorry for not replying, although this is really an old tip/trick and I lost track of this thread.

Hmm... I haven't tried this out, although are you sure that:

<input type="hidden" name="time" value="'. time() . '" />

Was added? I can't see why this wouldn't work if not.

I mean, as long as the above is added to the Register.template.php regisration form, and then:

if( ( time() - $_POST['time'] ) < 20 )
fatal_error('
Congratulations! You just broken the Official World record for speed-reading!
Actually, we know you didn\'t read the forum rules, so please do so before continuing.
<br /><br />Please click <a href="', $scripturl, '?action=register">here</a> to re-register.',false);
}


Is added to the relevant place in /Sources/Register.php, it should work without any problem?

Hoochie Coochie Man

Thank you very much @Tristan Perry it works great..
But this link creates error <a href="', $scripturl, '?action=register">..
But doasn't matter. I find a way..
İnadına SMF 1.1.X

gigglemal

Now maybe I'm just being a bit silly, can find (and edited) the register.php template, but can't find the register.template.php anywhere?

Any clues please?

Advertisement: