TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: jpark on May 18, 2006, 06:27:19 PM

Title: Register error
Post by: jpark on May 18, 2006, 06:27:19 PM
I inserted this code into Register.template.php to get users to input their real names during registration...

<tr>
  <td width="40%">
  <b>Real Name:</b>
  </td>
  <td>
  <input type="text" name="realName" size="30" value="' . $context['member']['name'] . '" />
  </td>
</tr>


...but I get the following error:

8: Undefined index: member
File: /home/.../Themes/default/Register.template.php (eval?)
Line: 68


I am guessing I need to specify "member" somewhere but I'm not sure what I need to do..  I appreciate the help!

(I am using SMF 1.1RC2 and TP 0.86)
Title: Re: Register error
Post by: elpvn on May 18, 2006, 06:32:43 PM
Try overwrite a new one on your exict files (please backup your files beforeÃ,  ;))

Note: That's an official mods of SMFÃ, 
Title: Re: Register error
Post by: G6Cad on May 18, 2006, 06:39:29 PM
I think you get more support on that modification on the SMF site in the board for this mod you are trying to install
Title: Re: Register error
Post by: jpark on May 18, 2006, 07:42:20 PM
oh.. i wasn't aware of a mod in the smf forum for this.. i just put in the code by myself.. (this is the reason why there are errors!)  if you would direct me, i could re-post this question in the correct forum if this is not the right place - unless someone helps me here~  ;D  thank you all for the timely responses
Title: Re: Register error
Post by: elpvn on May 18, 2006, 07:52:26 PM
Quote from: jpark on May 18, 2006, 07:42:20 PM
oh.. i wasn't aware of a mod in the smf forum for this.. i just put in the code by myself.. (this is the reason why there are errors!)Ã,  if you would direct me, i could re-post this question in the correct forum if this is not the right place - unless someone helps me here~Ã,  ;DÃ,  thank you all for the timely responses

Quote from: jpark on May 18, 2006, 06:27:19 PM
I inserted this code into Register.template.php to get users to input their real names during registration...

<tr>
Ã,  <td width="40%">
Ã,  <b>Real Name:</b>
Ã,  </td>
Ã,  <td>
Ã,  <input type="text" name="realName" size="30" value="' . $context['member']['name'] . '" />
Ã,  </td>
</tr>


...but I get the following error:

8: Undefined index: member
File: /home/.../Themes/default/Register.template.php (eval?)
Line: 68


I am guessing I need to specify "member" somewhere but I'm not sure what I need to do..Ã,  I appreciate the help!

(I am using SMF 1.1RC2 and TP 0.86)

That's not way to show it on board,Ã,  jpark
Try one anotherÃ,  >:D

Sorry for right now - the time I can't access to SMF homepage (ny a fatal error), but I still remind that, on SMF download section has a mods called "show any info u want", try find it on lasted mods (in download section of SMF homesite)
Title: Re: Register error
Post by: G6Cad on May 18, 2006, 08:28:23 PM
smf forums you find here (http://www.simplemachines.org)

They have this in the mod section there.

Elvpn, there are no error on the SMF site, itÂÃ,´s local for you i guess, i can brows there with out any errors or strange things at all
Title: Re: Register error
Post by: elpvn on May 18, 2006, 08:44:32 PM
That right

@G6:
my PC has been effected a file called isapi.dll, it put to C:/Windows/System32/ and contro my server each time I browse, but it still don't effect all of site I have browse on, just some of themÃ,  :o

it working based on a code to redirect format:

http://www.simplemachines.org/isapi.dll?c=home&htx=loginfrontmember

Myfamily.com is a destination of this redirect progressÃ,  >:(Ã,  :tickedoff:

So by that event, I will ... re-format and install a news windows on myPC: Windows Vista beta XÃ,  to tester only ;D

Title: Re: Register error
Post by: G6Cad on May 18, 2006, 09:55:10 PM
I have tried that vista beta but it was like chewing gum in the PC even wit AMD 3400 and 2gb ram, I went back to win 2003 again :)
Title: Re: Register error
Post by: bloc on July 14, 2006, 01:56:50 AM
Quote from: jpark on May 18, 2006, 06:27:19 PM
I inserted this code into Register.template.php to get users to input their real names during registration...

<tr>
  <td width="40%">
  <b>Real Name:</b>
  </td>
  <td>
  <input type="text" name="realName" size="30" value="' . $context['member']['name'] . '" />
  </td>
</tr>


...but I get the following error:

8: Undefined index: member
File: /home/.../Themes/default/Register.template.php (eval?)
Line: 68


I am guessing I need to specify "member" somewhere but I'm not sure what I need to do..  I appreciate the help!

(I am using SMF 1.1RC2 and TP 0.86)

Try ['user']['name'], not ['member']['name'] and it should work fine.