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,966
  • Latest: safir45
Stats
  • Total Posts: 195,991
  • Total Topics: 21,323
  • Online today: 545
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 331
  • Total: 331

Register error

Started by jpark, May 18, 2006, 06:27:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jpark

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)

elpvn

#1
Try overwrite a new one on your exict files (please backup your files beforeÃ,  ;))

Note: That's an official mods of SMFÃ, 

G6Cad

I think you get more support on that modification on the SMF site in the board for this mod you are trying to install

jpark

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

elpvn

#4
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)

G6Cad

smf forums you find here

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

elpvn

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


G6Cad

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 :)

bloc

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.