TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 644
  • Total: 645
  • tino

Quick Register block

Started by Chodhry, June 19, 2006, 02:21:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JPDeni

Change


$txt[quick_register_agree] = 'I agree to the';
$txt[quick_register_terms] = 'terms';


to


$txt['quick_register_agree'] = 'I agree to the';
$txt['quick_register_terms'] = 'terms';


skiller

i edited the index.template.php and replaced with your codes.

errors still there  :-\

errors increase around 5 pages per 30-45secs!!  :(

is there a way to clean my forum from the whole mess? i prefer skip having this quick register module... against losing my forum's database...

JPDeni

QuoteI edited the index.template.php and replaced with your codes.

Wrong file. From the earlier post, it goes in the themes > default > languages > index.english.php file.

If you want to remove it, just delete the block that it's in.

Techdomain

I cant see the code on the first page, just a scroll bar? can someone repost it pls?

skiller

#24
Quote from: JPDeni on November 26, 2006, 12:11:24 AM
Wrong file. From the earlier post, it goes in the themes > default > languages > index.english.php file.

If you want to remove it, just delete the block that it's in.

/shifty :) ok, i replaced the new register codes in the correct index.english.php file.
still errors!
so, i deleted the whole content in the register module + deleted the 2 added lines of codes from my index.english.php file. no errors in the log.

can someone please help with fixing the register module? - since i've taken that module down the number of new members have slowed down :(

skiller

Quote from: JRW on November 26, 2006, 01:58:18 AM
I cant see the code on the first page, just a scroll bar? can someone repost it pls?

here it is:

Quote
<table border="0"><tr><td><form action="../index.php?action=register2" method="post" name="creator" id="creator" onsubmit="return verifyAgree();"><table border="0" cellpadding="3" cellspacing="0"><tr><td>Choose username:</td></tr><tr><td><input type="text" name="user" size="20" tabindex="1" maxlength="25" /></td></tr><tr><td>Email:</td></tr><tr><td><input type="text" name="email" size="30" tabindex="2" /><label for="hideEmail">
<input type="checkbox" name="hideEmail" id="hideEmail" class="check" value="ON" /> Hide email address from public?</label></td></tr><tr><td>Choose password:</td></tr><tr><td><input type="password" name="passwrd1" size="30" tabindex="3" /></td></tr><tr><td>Verify password:</td></tr><tr><td><input type="password" name="passwrd2" size="30" tabindex="4" /></td></tr><tr><td><label for="regagree"><input type="checkbox" name="regagree" onclick="checkAgree();" id="regagree" class="check" value="ON" /> I Agree to the <a href="../index.php?action=register">terms.</label></td></tr><tr><td><input type="submit" name="regSubmit" value="Register" /></td></tr></table></form></td></tr></table>

Techdomain


Techdomain

I tried to make it so it sits nicely in a center block, but it isnt working now:


<table border="0"><tr><td><form action="../index.php?action=register2" method="post" name="creator" id="creator" onsubmit="return verifyAgree();"><table border="0" cellpadding="3" cellspacing="0"><tr><td>Username:<input type="text" name="user" size="10" tabindex="1" maxlength="25" /></td><td>Email:<input type="text" name="email" size="15" maxlength="50" tabindex="2" /></td><td><label for="hideEmail">
<input type="checkbox" name="hideEmail" id="hideEmail" class="check" value="ON" /> Hide email?</td><td>Password:<input type="password" name="passwrd1" size="8" tabindex="3" /></td><td>Verify Password:<input type="password" name="passwrd2" size="8" tabindex="4" /></td><td><label for="regagree"> <input type="checkbox" name="regagree" onclick="checkAgree();" id="regagree" class="check" value="ON" /></td><td>Agree to <a href="../index.php?action=register">terms. </label></td><td><input type="submit" name="regSubmit" value="Register" /></td></tr></table></form></td></tr></table>

I removed a heap of <tr></tr> etc... does that make a difference? My normal version (the one in the post above) works fine.

skiller

#28
JRW, is this how you're trying to make it look: http://www.webmastertradecenter.com/trade/

coz i have no idea (already tried but didnt work) how to make the register line appear at the top of the forum. think it might be an edit in the index[---].php file/s itself, and maybe called function by a php code block...

in the meantime, i have had to disable error logging on my forum to continue to run the quick register module, as the latter is generating way TOO MANY errors. like 2 pages per 30sec!! pheeww... any help would be appreciated to clean up the code mess.
the forum still remains fully functional, but the errors seem to come from some misplaced code that got processed into the load.php and index.english.php files. help?!

Techdomain

I already have it looking like that ( http://www.techdomain.com.au ) but want to put it just under my menu in a center block (so it doesnt annoy me as teh admin. Either that, or making a way that it shows it to JUST guests, not admin would be cool!

This website is proudly hosted on Crocweb Cloud Website Hosting.