Deleting fields...

Forum_easyUCP_Desc

Deleting fields...

Beitragvon gies » 15. Sep 2005 19:35

I've installed easycpu.

Normally nobody could see somebody's Occupation because i did this in the profile_view_body:

Code: Alles auswählen
<!-- BEGIN switch_user_is_moderator -->
                <tr>
        <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_OCCUPATION}:&nbsp;</span></td>
        <td><b><span class="gen">{OCCUPATION}</span></b></td>
      </tr>
<!-- END switch_user_is_moderator -->


But now that i've installed easyucp, everybody can see somebody's "occupation"

How can i fix this ???

thanx!
gies
 
Beiträge: 6
Registriert: 15. Sep 2005 15:46

Beitragvon AmigaLink » 15. Sep 2005 22:18

Hmmm - Interesting
Normaly there is no reason for that. Please attach your usercp_viewprofile.php an your easyucp_body.tpl than will I look for that.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon gies » 15. Sep 2005 22:27

thanx mate!, but I already found it!...

But I got another problem... ;)

The mod works perfectly!, in Subsilver...

But when i change the profile_add_body.tpl, and the user_edit_body.tpl of the template SubBlack3D, i can't use the preferences and the profile settings.

http://www.thealtar.nl name:demo , password: demo

if you want to test it...

This is my profile_add_body.tpl:

Code: Alles auswählen
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post">

{ERROR_BOX}

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   <tr>
      <td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>{UCP_NAV}</span></td>
   </tr>
</table>

<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">

<!-- BEGIN switch_ucp_require -->
   <tr>
      <th class="thHead" colspan="2" height="25" valign="middle">{L_REGISTRATION_INFO}</th>
   </tr>
   <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
   </tr>
   <!-- END switch_ucp_require -->
   <!-- BEGIN switch_ucp_cut -->

   <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME}: *</span></td>
      <td class="row2"><input type="text" class="post" style="width:200px" name="username" size="25" maxlength="40" value="{USERNAME}" /></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS}: *</span></td>
      <td class="row2"><input type="text" class="post" style="width:200px" name="email" size="25" maxlength="255" value="{EMAIL}" /></td>
   </tr>
   <!-- BEGIN switch_edit_profile -->
   <tr>
     <td class="row1"><span class="gen">{L_CURRENT_PASSWORD}: *</span><br />
      <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td>
     <td class="row2">
      <input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{CUR_PASSWORD}" />
     </td>
   </tr>
   <!-- END switch_edit_profile -->

   <tr>
     <td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
      <span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
     <td class="row2">
      <input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{NEW_PASSWORD}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
      <span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
     <td class="row2">
      <input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" />
     </td>
   </tr>




   

<!-- BEGIN switch_user_logged_in -->    
   <tr>
     <td class="row1"><span class="gen">{L_ICQ_NUMBER}:</span></td>
     <td class="row2">
      <input type="text" name="icq" class="post"style="width: 100px"  size="10" maxlength="15" value="{ICQ}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_AIM}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 150px"  name="aim" size="20" maxlength="255" value="{AIM}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_MESSENGER}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 150px"  name="msn" size="20" maxlength="255" value="{MSN}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_YAHOO}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 150px"  name="yim" size="20" maxlength="255" value="{YIM}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_WEBSITE}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="website" size="25" maxlength="255" value="{WEBSITE}" />
     </td>
   </tr>

<!-- END switch_user_logged_in -->

   
   <tr>
     <td class="row1"><span class="gen">{L_LOCATION}: *</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="location" size="25" maxlength="100" value="{LOCATION}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_OCCUPATION}: *</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="occupation" size="25" maxlength="100" value="{OCCUPATION}" />
     </td>
   </tr>

<!-- BEGIN switch_user_logged_in -->


   <tr>
     <td class="row1"><span class="gen">{L_INTERESTS}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="interests" size="35" maxlength="150" value="{INTERESTS}" />
     </td>
   </tr>
   <!-- END switch_ucp_info -->
   <!-- BEGIN switch_ucp_signature -->



<!-- END switch_user_logged_in -->
   
   <tr>
     <td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
     <td class="row2">
      <textarea name="signature"style="width: 300px"  rows="6" cols="30" class="post">{SIGNATURE}</textarea>
     </td>
   </tr>

   <!-- END switch_ucp_signature -->
   <!-- BEGIN switch_ucp_cut -->


<!-- BEGIN switch_user_logged_in -->


   <tr>
     <td class="catSides" colspan="2" height="28">&nbsp;</td>
   </tr>
   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_ucp_prefs -->


   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_ucp_info -->

   <tr>
     <th class="thSides" colspan="2" height="25" valign="middle">{L_PREFERENCES}</th>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL}:</span></td>
     <td class="row2">
      <input type="radio" name="viewemail" value="1" {VIEW_EMAIL_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_HIDE_USER}:</span></td>
     <td class="row2">
      <input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
<!-- easyUCP -->
   <tr>
     <td class="row1"><span class="gen">{L_HIDE_PROFILE}:</span></td>
     <td class="row2">
      <input type="radio" name="hideprofile" value="1" {HIDE_PROFILE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideprofile" value="0" {HIDE_PROFILE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
<!-- easyUCP -->


   <tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
      <span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
     <td class="row2">
      <input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}:</span></td>
     <td class="row2">
      <input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG}:</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
     <td class="row2">
      <input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE}:</span></td>
     <td class="row2">
      <input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE}:</span></td>
     <td class="row2">
      <input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML}:</span></td>
     <td class="row2">
      <input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES}:</span></td>
     <td class="row2">
      <input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

<!-- END switch_user_logged_in -->
   
   <tr>
     <td class="row1"><span class="gen">{L_BOARD_LANGUAGE}:</span></td>
     <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
   </tr>

<!-- BEGIN switch_user_logged_in -->


        <tr>
     <td class="row1"><span class="gen">{L_BOARD_STYLE}:</span></td>
     <td class="row2"><span class="gensmall">{STYLE_SELECT}</span></td>
   </tr>


   
   <tr>
     <td class="row1"><span class="gen">{L_TIMEZONE}:</span></td>
     <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_DATE_FORMAT}:</span><br />
      <span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
     <td class="row2">
      <input type="text" name="dateformat" value="{DATE_FORMAT}" maxlength="14" class="post" />
     </td>
   </tr>

   <!-- END switch_ucp_prefs -->

<!-- END switch_user_logged_in -->

   <!-- BEGIN switch_ucp_cut -->
   <tr>
     <td class="catSides" colspan="2" height="28">&nbsp;</td>
   </tr>
   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_avatar_block -->
   <tr>
     <th class="thSides" colspan="2" height="12" valign="middle">{L_AVATAR_PANEL}</th>
   </tr>
   <tr>
      <td class="row1" colspan="2"><table width="70%" cellspacing="2" cellpadding="0" border="0" align="center">
         <tr>
            <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
            <td align="center"><span class="gensmall">{L_CURRENT_IMAGE}</span><br />{AVATAR}<br /><input type="checkbox" name="avatardel" />&nbsp;<span class="gensmall">{L_DELETE_AVATAR}</span></td>
         </tr>
      </table></td>
   </tr>
   <!-- BEGIN switch_avatar_local_upload -->
   <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE}:</span></td>
      <td class="row2"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" name="avatar" class="post" style="width:200px" /></td>
   </tr>
   <!-- END switch_avatar_local_upload -->

   <!-- BEGIN switch_avatar_remote_link -->
   <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR}:</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input type="text" name="avatarremoteurl" size="40" class="post" style="width:200px" /></td>
   </tr>
   <!-- END switch_avatar_remote_link -->
   <!-- BEGIN switch_avatar_local_gallery -->
   <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY}:</span></td>
      <td class="row2"><input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="liteoption" /></td>
   </tr>
   <!-- END switch_avatar_local_gallery -->
   <!-- END switch_avatar_block -->
   <tr>
      <td class="catBottom" colspan="2" align="center" height="28">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />&nbsp;&nbsp;<input type="reset" value="{L_RESET}" name="reset" class="liteoption" />{UCP_CANCEL}</td>
   </tr>


</table>

</form>


this is my user_edit_body.tpl:

Code: Alles auswählen


<h1>{L_USER_TITLE}</h1>

<p>{L_USER_EXPLAIN}</p>

{ERROR_BOX}

<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post"><table width="98%" cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
   <tr>
     <th class="thHead" colspan="2">{L_REGISTRATION_INFO}</th>
   </tr>
   <tr>
     <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
   </tr>
   <tr>
     <td class="row1" width="38%"><span class="gen">{L_USERNAME}: *</span></td>
     <td class="row2">
      <input type="text" name="username" size="35" maxlength="40" value="{USERNAME}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_EMAIL_ADDRESS}: *</span></td>
     <td class="row2">
      <input type="text" name="email" size="35" maxlength="255" value="{EMAIL}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
      <span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
     <td class="row2">
      <input type="password" name="password" size="35" maxlength="100" value="" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
      <span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
     <td class="row2">
      <input type="password" name="password_confirm" size="35" maxlength="100" value="" />
     </td>
   </tr>
   <tr>
     <td class="catsides" colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <th class="thSides" colspan="2">{L_PROFILE_INFO}</th>
   </tr>
   <tr>
     <td class="row2" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ICQ_NUMBER}</span></td>
     <td class="row2">
      <input type="text" name="icq" size="10" maxlength="15" value="{ICQ}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_AIM}</span></td>
     <td class="row2">
      <input type="text" name="aim" size="20" maxlength="255" value="{AIM}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_MESSENGER}</span></td>
     <td class="row2">
      <input type="text" name="msn" size="20" maxlength="255" value="{MSN}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_YAHOO}</span></td>
     <td class="row2">
      <input type="text" name="yim" size="20" maxlength="255" value="{YIM}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_WEBSITE}</span></td>
     <td class="row2">
      <input type="text" name="website" size="35" maxlength="255" value="{WEBSITE}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_LOCATION}</span></td>
     <td class="row2">
      <input type="text" name="location" size="35" maxlength="100" value="{LOCATION}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_OCCUPATION}</span></td>
     <td class="row2">
      <input type="text" name="occupation" size="35" maxlength="100" value="{OCCUPATION}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_INTERESTS}</span></td>
     <td class="row2">
      <input type="text" name="interests" size="35" maxlength="150" value="{INTERESTS}" />
     </td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_SIGNATURE}</span><br />
      <span class="gensmall">{L_SIGNATURE_EXPLAIN}<br />
      <br />
      {HTML_STATUS}<br />
      {BBCODE_STATUS}<br />
      {SMILIES_STATUS}</span></td>
     <td class="row2">
      <textarea name="signature" rows="6" cols="45">{SIGNATURE}</textarea>
     </td>
   </tr>
   <tr>
     <td class="catsides" colspan="2"><span class="cattitle">&nbsp;</span></td>
   </tr>
   <tr>
     <th class="thSides" colspan="2">{L_PREFERENCES}</th>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL}</span></td>
     <td class="row2">
      <input type="radio" name="viewemail" value="1" {VIEW_EMAIL_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_HIDE_USER}</span></td>
     <td class="row2">
      <input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

<!-- easyUCP -->
   <tr>
     <td class="row1"><span class="gen">{L_HIDE_PROFILE}:</span></td>
     <td class="row2">
      <input type="radio" name="hideprofile" value="1" {HIDE_PROFILE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideprofile" value="0" {HIDE_PROFILE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
<!-- easyUCP -->

   <tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
     <td class="row2">
      <input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}</span></td>
     <td class="row2">
      <input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG}</span></td>
     <td class="row2">
      <input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE}</span></td>
     <td class="row2">
      <input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE}</span></td>
     <td class="row2">
      <input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML}</span></td>
     <td class="row2">
      <input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES}</span></td>
     <td class="row2">
      <input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_BOARD_LANGUAGE}</span></td>
     <td class="row2">{LANGUAGE_SELECT}</td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_BOARD_STYLE}</span></td>
     <td class="row2">{STYLE_SELECT}</td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_TIMEZONE}</span></td>
     <td class="row2">{TIMEZONE_SELECT}</td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_DATE_FORMAT}</span><br />
      <span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
     <td class="row2">
      <input type="text" name="dateformat" value="{DATE_FORMAT}" maxlength="16" />
     </td>
   </tr>
   <tr>
     <td class="catSides" colspan="2"><span class="cattitle">&nbsp;</span></td>
   </tr>
   <tr>
     <th class="thSides" colspan="2" height="12" valign="middle">{L_AVATAR_PANEL}</th>
   </tr>
   <tr align="center">
     <td class="row1" colspan="2">
      <table width="70%" cellspacing="2" cellpadding="0" border="0">
        <tr>
         <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
         <td align="center"><span class="gensmall">{L_CURRENT_IMAGE}</span><br />
           {AVATAR}<br />
           <input type="checkbox" name="avatardel" />
           &nbsp;<span class="gensmall">{L_DELETE_AVATAR}</span></td>
        </tr>
      </table>
     </td>
   </tr>

   <!-- BEGIN avatar_local_upload -->
   <tr>
     <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE}</span></td>
     <td class="row2">
      <input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" />
      <input type="file" name="avatar" class="post" style="width: 200px"  />
     </td>
   </tr>
   <!-- END avatar_local_upload -->
   <!-- BEGIN avatar_remote_upload -->
   <tr>
     <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL}</span></td>
     <td class="row2">
      <input type="text" name="avatarurl" size="40" class="post" style="width: 200px"  />
     </td>
   </tr>
   <!-- END avatar_remote_upload -->
   <tr>
     <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR}</span></td>
     <td class="row2">
      <input type="text" name="avatarremoteurl" size="40" class="post" style="width: 200px"  />
     </td>
   </tr>
   <!-- BEGIN avatar_local_gallery -->
   <tr>
     <td class="row1"><span class="gen">{L_AVATAR_GALLERY}</span></td>
     <td class="row2">
      <input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="liteoption" />
     </td>
   </tr>
   <!-- END avatar_local_gallery -->

   <tr>
     <td class="catSides" colspan="2">&nbsp;</td>
   </tr>
   <tr>
     <th class="thSides" colspan="2">{L_SPECIAL}</th>
   </tr>
   <tr>
     <td class="row1" colspan="2"><span class="gensmall">{L_SPECIAL_EXPLAIN}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
     <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
     <td class="row2">{S_SELECT_PM_QUOTA}</td>
   </tr>


   <tr>
     <td class="row1"><span class="gen">{L_USER_ACTIVE}</span></td>
     <td class="row2">
      <input type="radio" name="user_status" value="1" {USER_ACTIVE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="user_status" value="0" {USER_ACTIVE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALLOW_PM}</span></td>
     <td class="row2">
      <input type="radio" name="user_allowpm" value="1" {ALLOW_PM_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="user_allowpm" value="0" {ALLOW_PM_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_ALLOW_AVATAR}</span></td>
     <td class="row2">
      <input type="radio" name="user_allowavatar" value="1" {ALLOW_AVATAR_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="user_allowavatar" value="0" {ALLOW_AVATAR_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_SELECT_RANK}</span></td>
      <td class="row2"><select name="user_rank">{RANK_SELECT_BOX}</select></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_REG_IP}</span></td>
      <td class="row2"><a class="gen" href="http://network-tools.com/default.asp?host={REGISTRATION_IP}">{REGISTRATION_IP}</a></td>
   </tr>

   <tr>
     <td class="row1"><span class="gen">{L_DELETE_USER}?</span></td>
     <td class="row2">
      <input type="checkbox" name="deleteuser">
      {L_DELETE_USER_EXPLAIN}</td>
   </tr>
   <tr>
     <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}
      <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />
      &nbsp;&nbsp;
      <input type="reset" value="{L_RESET}" class="liteoption" />
     </td>
   </tr>
</table></form>



The only thing I couldn't find was:

Code: Alles auswählen
#
#-----[ FIND ]--------------------------------------------------
#

   <!-- END switch_confirm -->

#
#-----[ AFTER, ADD ]--------------------------------------------------
#

   <!-- END switch_ucp_require -->
   <!-- BEGIN switch_ucp_cut -->


But i put it after:

Code: Alles auswählen
      <input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" />
     </td>
   </tr>




Hope you can help me.. grtzzzzz
gies
 
Beiträge: 6
Registriert: 15. Sep 2005 15:46

Beitragvon AmigaLink » 16. Sep 2005 14:36

At first, please do not post so large codeblocks. Use the attachmed function instead posting.
Some codes maybe displayd wrong in codeblocks and in addition attachments are more clearly.

At second, which is an user_edit_body.tpl???
The phpBB has no file with this name. :shock:

At third, the place were you put
Code: Alles auswählen
   <!-- END switch_ucp_require -->
   <!-- BEGIN switch_ucp_cut -->
is right. :)

Zugefügt nach 9 Minute(n):

The reason why the Profile and the Preferences Button don't work is that you have not insert these switches in the profile_add_body.tpl of the SubBlack3D template:
Code: Alles auswählen
   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_ucp_info -->

   <!-- END switch_ucp_info -->
   <!-- BEGIN switch_ucp_signature -->

   <!-- END switch_ucp_signature -->
   <!-- BEGIN switch_ucp_cut -->

   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_ucp_prefs -->

   <!-- END switch_ucp_prefs -->
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon gies » 16. Sep 2005 16:53

AmigaLink hat geschrieben:At first, please do not post so large codeblocks. Use the attachmed function instead posting.
Some codes maybe displayd wrong in codeblocks and in addition attachments are more clearly.

Sorry, I thought that was the way to do it :)

AmigaLink hat geschrieben:At second, which is an user_edit_body.tpl???
The phpBB has no file with this name. :shock:

You don't know what user_edit_body.tpl is ??? this is a part of your:

mod_easyUCP install.txt:
Code: Alles auswählen
#
#----------[ OPEN ]-------------------------------------
#

templates/subSilver/admin/user_edit_body.tpl

#
#----------[ FIND ]-------------------------------------
#

   <tr>
     <td class="row1"><span class="gen">{L_HIDE_USER}</span></td>
     <td class="row2">
      <input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

#
#----------[ AFTER, ADD ]-------------------------------
#

<!-- easyUCP -->
   <tr>
     <td class="row1"><span class="gen">{L_HIDE_PROFILE}:</span></td>
     <td class="row2">
      <input type="radio" name="hideprofile" value="1" {HIDE_PROFILE_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="hideprofile" value="0" {HIDE_PROFILE_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>
<!-- easyUCP -->

#
#-----[ OPEN ]--------------------------------------------------
#




AmigaLink hat geschrieben:At third, the place were you put
Code: Alles auswählen
   <!-- END switch_ucp_require -->
   <!-- BEGIN switch_ucp_cut -->
is right. :)

At least one thing I've done right :wink:

AmigaLink hat geschrieben: The reason why the Profile and the Preferences Button don't work is that you have not insert these switches in the profile_add_body.tpl of the SubBlack3D template:
Code: Alles auswählen
   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_ucp_info -->

   <!-- END switch_ucp_info -->
   <!-- BEGIN switch_ucp_signature -->

   <!-- END switch_ucp_signature -->
   <!-- BEGIN switch_ucp_cut -->

   <!-- END switch_ucp_cut -->
   <!-- BEGIN switch_ucp_prefs -->

   <!-- END switch_ucp_prefs -->

Yes I did!!!
Coz I installed them, just like you said in your modinstall.txt ???
Or what do you mean ??? I attached my profile_add_body.tpl so take a look ???
Thanx for all of your help b.t.w. and for making such beautifill mod!!!

Bild

Here's my profile_add_body.tpl

[center][ Attachment gelöscht am 17.09.2005, 21:49 von AmigaLink ][/center]
gies
 
Beiträge: 6
Registriert: 15. Sep 2005 15:46

Beitragvon AmigaLink » 17. Sep 2005 00:10

You don't know what user_edit_body.tpl is ??? this is a part of your:

mod_easyUCP install.txt
Aaaah Bild
Sorry I did not think at the admin Files. Bild :oops:
That is the file to edit the userprofile in the ACP. :) So it is not a part of your problem. :mrgreen:

Coz I installed them, just like you said in your modinstall.txt ???

Ok, please attach the includes/usercp_register.php too. I'll take a look at these files tomorow. :)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon gies » 17. Sep 2005 08:58

AmigaLink hat geschrieben:Ok, please attach the includes/usercp_register.php too. I'll take a look at these files tomorow. :)


Thank you so much!!!

I'm an oldschool amiga ascii artist. Maybe you can use an oldschool amiga ascii of AmigaLink ?
Here's my usercp_register.php
(But the strange thing is, when I use the Subsilver I've got no problem so I guess it must be the tpl file ???)
But then again, you've made the mod, so you know what you're talking about. :)
Dateianhänge
phpBB2.rar
This is a package with the tpl from SubSilver &amp; subBlack3d and my usercp_register.
(19.58 KiB) 477-mal heruntergeladen
gies
 
Beiträge: 6
Registriert: 15. Sep 2005 15:46

Beitragvon AmigaLink » 17. Sep 2005 10:58

Huuu there was many little mistakes in the file. I hope i have find all! If not, i must look together.
BTW the usercp_register.php I wanted to compare only if a few things will be unclearly. ;) But I have not need it at this time. :)

I'm an oldschool amiga ascii artist. Maybe you can use an oldschool amiga ascii of AmigaLink ?

That would be ingenious! :P (hmmm, is that the correctly word? Bild I mean that would be more than great. :mrgreen:)
Dateianhänge
profile_add_body.tpl.zip
(2.13 KiB) 513-mal heruntergeladen
Zuletzt geändert von AmigaLink am 17. Sep 2005 20:51, insgesamt 1-mal geändert.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon gies » 17. Sep 2005 20:13

here it is!
Dateianhänge
amigalink.rar
(560 Bytes) 453-mal heruntergeladen
gies
 
Beiträge: 6
Registriert: 15. Sep 2005 15:46


Zurück zu easy UCP



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron