[Aphrodite] Removing Website URL Box

Specific instructions on how to apply certain mods to certain styles.

Moderator: Moderators

[Aphrodite] Removing Website URL Box

Postby shopped on Tue Mar 28, 2006 1:21 am

I have the MorpheusX style which I'm very happy with and I've modded it a little bit, the only thing is can someone tell me how I can stop people putting in their website url in the user profile, i.e. I want to disable the website field in the user login page. Many thanks.
shopped
Registered User
Registered User
 
Posts: 4
Joined: Fri Jan 06, 2006 12:59 am

Postby johnkaboom on Tue Apr 04, 2006 8:03 am

Quick and simple way would be

Open profile_add_body.tpl
Remove this code
Code: Select all
<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>


Open viewtopic_body.tpl
Remove this code
Code: Select all
{postrow.WWW_IMG}


Open profile_view_body.tpl
Remove this code
Code: Select all
      <tr>
        <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}:&nbsp;</span></td>
        <td align="left" class="post-buttons"><span class="gen"><b>{WWW_IMG}</b></span></td>
      </tr>


Open memberlist_body.tpl
Replace the code
Code: Select all
<td [highlight]colspan="8"[/highlight] class="row-header"><span>{L_MEMBERLIST}</span></td>

with this
Code: Select all
<td [highlight]colspan="7"[/highlight] class="row-header"><span>{L_MEMBERLIST}</span></td>


Remove this code
Code: Select all
<th width="50">{L_WEBSITE}</th>

and
Code: Select all
<td class="row1 post-buttons-single">&nbsp;{memberrow.WWW_IMG}&nbsp;</td>


I use aphrodite skin code for this. If you can't find the exact line just look for the similar with this.
That should done it.
johnkaboom
Registered User
Registered User
 
Posts: 379
Joined: Sat Jul 02, 2005 3:24 am

Postby shopped on Thu Apr 06, 2006 1:13 am

Thank you, worked a treat.
shopped
Registered User
Registered User
 
Posts: 4
Joined: Fri Jan 06, 2006 12:59 am

Postby johnkaboom on Thu Apr 06, 2006 11:45 am

no problemo. if you want to remove it fully, just edit your viewtopic.php, usercp_register.php, functions_validate.php & usercp_viewprofile.php and remove it.
johnkaboom
Registered User
Registered User
 
Posts: 379
Joined: Sat Jul 02, 2005 3:24 am

Kiss in the Blue

Postby sztin107 on Thu Feb 26, 2009 9:44 am

Hello everybody,I'm new here. A manga website has drawn my attention
recently,I discovered that it renews very quickly, moreover very speeded
therefore recommends to you guys.
http://www.SunManga.com/
By the way,is anybody crazying about Kiss in the Blue (manga)? Contact me~
www.MaxManga.com
above 4000 hot free mangas online
sztin107
Registered User
Registered User
 
Posts: 38
Joined: Thu Jan 08, 2009 3:33 am


Return to How to mod some styles

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron