[ABD] Custom Profiles MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
zayin
Registered User
Posts: 712
Joined: Mon Jun 16, 2003 12:01 am
Location: Middletown, America
Contact:

[ABD] Custom Profiles MOD

Post by zayin »

This MOD allows the admin to add custom profile fields. You can also set permissions for these fields for individual users, groups, or for everyone in general. It lets you set permissions for the default profile fields, which means you can keep someone from having a signature or website field if they're abusing it.

The field types that are currently supported are text boxes, text areas, select boxes, and radio button sets.

The advanced options allow you to use a regular expression to validate a field and control how it's displayed in posts, profiles, and profile editing. You can even make it a template variable and use it to override normal values. For example, setting the "variable name in templates" option to POSTER_TITLE will make the field show up as the user's custom title! If you know a little HTML and TPL code, you can even give your members custom text colors or fonts.

As of version 0.1.0, released 12/20/03, you can allow smilies, html and/or bbcode in profile fields. (Allowed HTML codes are the ones in your board configuration, so viewing a profile is just as safe as viewing a post.) You can also set permissions for usergroups.

Download it here.
Last edited by zayin on Sun Dec 21, 2003 6:52 pm, edited 3 times in total.
"You can only find the truth with logic if you have already found the truth without it."
Custom Profiles MOD: add and manage profile fields
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

Looks good! I've been wanting to make this MOD but I haven't had any time. I'm glad someone else has though.
Eric
theanimewizard
Registered User
Posts: 646
Joined: Tue Jul 08, 2003 9:24 pm
Contact:

Post by theanimewizard »

so u can add as many field as you want ?

cool. like pet's name, favorite game, favorite blah blah blah. if it is. OMG, thank you!

I dont have to use the addprofile field cuz it takes forever to just install 1 field!
zayin
Registered User
Posts: 712
Joined: Mon Jun 16, 2003 12:01 am
Location: Middletown, America
Contact:

Post by zayin »

Yup, you can add as many as you want.
"You can only find the truth with logic if you have already found the truth without it."
Custom Profiles MOD: add and manage profile fields
wep333
Registered User
Posts: 7
Joined: Tue May 27, 2003 3:29 pm

Post by wep333 »

I installed it, it works, apart from two bugs

- I had to disable "function display_avatar_gallery" completely
Last edited by wep333 on Tue Nov 25, 2003 7:02 pm, edited 1 time in total.
wep333
Registered User
Posts: 7
Joined: Tue May 27, 2003 3:29 pm

Post by wep333 »

Okay sorry my fault
zayin
Registered User
Posts: 712
Joined: Mon Jun 16, 2003 12:01 am
Location: Middletown, America
Contact:

Post by zayin »

Hmm... what wasn't working when you had it enabled?
(Two bugs?)
"You can only find the truth with logic if you have already found the truth without it."
Custom Profiles MOD: add and manage profile fields
User avatar
Strike_now
Registered User
Posts: 67
Joined: Thu Aug 07, 2003 5:35 pm
Contact:

same prob

Post by Strike_now »

Ok same prob here with the function in the usercp_avatar.php, gives a parse error....
Just installed Custom Profiles and Im running 2.0.6

Well it seems to work but i did get this error

Code: Select all

Parse error: parse error, expecting `')'' in /home/strike/public_html/PS/includes/usercp_avatar.php on line 245 

Warning: Cannot modify header information - headers already sent by (output started at /home/strike/public_html/PS/includes/usercp_avatar.php:245) in /home/strike/public_html/PS/includes/page_header.php on line 622 

Warning: Cannot modify header information - headers already sent by (output started at /home/strike/public_html/PS/includes/usercp_avatar.php:245) in /home/strike/public_html/PS/includes/page_header.php on line 624 

Warning: Cannot modify header information - headers already sent by (output started at /home/strike/public_html/PS/includes/usercp_avatar.php:245) in /home/strike/public_html/PS/includes/page_header.php on line 625 
 
This was suspose to be the code changes for the usercp_avatar.php

Code: Select all

# 
#-----[ FIND ]------------------------------------------------ 
# 
function display_avatar_gallery( 

# 
#-----[ IN-LINE FIND ]---------------------------------------- 
# 
, &session_id 

# 
#-----[ IN-LINE AFTER, ADD ]---------------------------------- 
# 
, &$xdata = false 

# 
#-----[ FIND ]------------------------------------------------ 
# 
for($i = 0; $i < count($params); $i++) 
{ 
   $s_hidden_vars .= '<input type="hidden" name="' . $params[$i] . '" value="' . str_replace('"', '"', $$params[$i]) . '" />'; 
} 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
if (!is_array($xdata)) 
{ 
   $xdata = array(); 
} 

$xd_meta = get_xd_metadata(); 
while ( list($code_name, ) = each($xd_meta) ) 
{ 
   if ( isset($xdata[$code_name]) ) 
   { 
      $s_hidden_vars .= '<input type="hidden" name="'. $code_name . '" value="' . str_replace('"', '"', $xdata[$code_name]) . '" />'; 
   } 
} 

Here is my line 245 of usercp_avatar

Code: Select all

} 

   return $avatar_sql; 
} 

(245)function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$xdata = false) 
{ 
   global $board_config, $db, $template, $lang, $images, $theme; 
   global $phpbb_root_path, $phpEx; 

   $dir = @opendir($board_config['avatar_gallery_path']); 

   $avatar_images = array(); 
   while( $file = @readdir($dir) ) 
   { 
Plus in the viewtopic.tpl in your instructions you have replace with and its blank, might need to check that out....Cause on my site where the info is suspose to be below the avatar it adds the post again instead of the new info lol...strange... Thx for any new code changes to fix this
Any ideas? Thx
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

it looks like u used the mod template so im guesing this will work with easy mod rite?
zayin
Registered User
Posts: 712
Joined: Mon Jun 16, 2003 12:01 am
Location: Middletown, America
Contact:

Post by zayin »

Ok, just take out the & in front of the $xdata = false. (I really should have tested this with avatar galleries before.) I fixed it in the download, too.

Yeah, it works with EM. I dunno if it's technically EMC, but it installed fine when I tried it yesterday.
"You can only find the truth with logic if you have already found the truth without it."
Custom Profiles MOD: add and manage profile fields
User avatar
Strike_now
Registered User
Posts: 67
Joined: Thu Aug 07, 2003 5:35 pm
Contact:

ok

Post by Strike_now »

Well that fixed the parse errors but for some reason im getting this in my viewtopic...Hmmm lol..is all i can say, any ideas for this one?


http://strike.gamesxposed.com/PS/files/ ... hot005.gif

Look under the avatar, the ra2 nick its the same as the post
Last edited by Strike_now on Wed Nov 26, 2003 9:10 pm, edited 1 time in total.
zayin
Registered User
Posts: 712
Joined: Mon Jun 16, 2003 12:01 am
Location: Middletown, America
Contact:

Post by zayin »

That looks like an incompatibility with one of the other MODs you have installed. Would you post the contents of your templates/subSilver/viewtopic_body.tpl file?
"You can only find the truth with logic if you have already found the truth without it."
Custom Profiles MOD: add and manage profile fields
User avatar
Strike_now
Registered User
Posts: 67
Joined: Thu Aug 07, 2003 5:35 pm
Contact:

Post by Strike_now »

BTW this is not subsilver, its illusion, but the layout is pretty much the same, so yes this may be the problem but here it is with the mod changes not included i believe

Code: Select all

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
	  <span class="gensmall"><b>{PAGINATION}</b><br />
	  &nbsp; </span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
	<!-- BEGIN switch_user_logged_in -->
	<td align="left" valign="bottom" nowrap="nowrap"><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a></td>
	<!-- END switch_user_logged_in -->
  </tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
	<tr align="right">
		<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> &nbsp;</span></td>
	</tr>
	{POLL_DISPLAY} 
	<tr>
		<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
		<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
	</tr>
	<!-- BEGIN postrow -->
	<tr> 
		<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}{postrow.POINTS}<br /><a href="{postrow.ITEMSNAME}">Items</a>{postrow.ITEMS}{postrow.DONATE_POINTS}</span><br /></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
				<td valign="top" nowrap="nowrap"><span class="nav" ><a href="read.php?p={postrow.MESSAGEA}" target="_blank">Read this post</a></span>{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
			</tr>
			<tr> 
				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span>{postrow.ATTACHMENTS}<span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
			<tr> 
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- 

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
				
				//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->
	<tr align="center"> 
		<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
			<tr><form method="post" action="{S_POST_DAYS_ACTION}">
				<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
			</form></tr>
		</table></td>
	</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
	<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}<br /><a href="tellafriend.php?topic={TOPIC_TITLE}&link={TELL_LINK}">Email this topic to a friend</a></span><br /><span class="nav">{PAGINATION}</span> 
	  </td>
  </tr>
  <tr>
	<td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
	<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}<br><a href="{U_FAV}">{L_FAV}</a></span><br />
	  &nbsp;<br />
	  {S_TOPIC_ADMIN}</td>
	  {QUICK_REPLY_FORM}
      <!-- BEGIN switch_username_field --> 
      <span class='gensmall'><b>{L_USERNAME}</b></span><br /> 
      <span class='genmed'><input type='text' class='post' tabindex='1' name='username' size='25' maxlength='25' value='' /></span><br /> 
      <!-- END switch_username_field -->
      <!-- BEGIN quick_reply -->
      <textarea name="message" rows="7" cols="35" wrap="virtual" style="width:425px" class="post" onclick="{if(document.quick_reply.message.value=='{L_QUICK_REPLY_TOPIC}') document.quick_reply.message.value=''}">{L_QUICK_REPLY_TOPIC}</textarea><br /> 
      {quick_reply.U_HIDDEN_FORM_FIELDS} 
      <input type='image' src='{quick_reply.QUICK_REPLY_IMG}' border='0' alt="{quick_reply.L_QUICK_REPLY_TOPIC}" onClick="if(document.quick_reply.message.value == '{quick_reply.L_QUICK_REPLY_TOPIC}' || document.quick_reply.message.value == ''){ alert('{quick_reply.L_EMPTY_MESSAGE}'); return false;}else{ return true;}" />
      </form>
 </td>
   <!-- END quick_reply -->
	<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
  </tr>
</table>

zayin
Registered User
Posts: 712
Joined: Mon Jun 16, 2003 12:01 am
Location: Middletown, America
Contact:

Post by zayin »

Ok, you should take that file and

Code: Select all

#
#-----[ FIND ]----------------------------------------------
#
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}{postrow.POINTS}<br /><a href="{postrow.ITEMSNAME}">Items</a>{postrow.ITEMS}{postrow.DONATE_POINTS}</span><br /></td>

#
#-----[ REPLACE WITH ]--------------------------------------
#
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}{postrow.POINTS}<br /><a href="{postrow.ITEMSNAME}">Items</a>{postrow.ITEMS}{postrow.DONATE_POINTS}</span><br />
<!-- BEGIN xdata -->
{postrow.xdata.NAME}: {postrow.xdata.VALUE}
<!-- END xdata -->
</span></td>
You had some stuff after the {POSTER_FROM} that probably messed it up. I'm still curious why the post got doubled, though--could you post your current version of viewtopic_body.tpl so I can figure out how to make the instructions more compatible? All I need is the part between <!-- BEGIN postrow --> and <!-- END postrow -->.
"You can only find the truth with logic if you have already found the truth without it."
Custom Profiles MOD: add and manage profile fields
User avatar
Strike_now
Registered User
Posts: 67
Joined: Thu Aug 07, 2003 5:35 pm
Contact:

nope

Post by Strike_now »

Sorry m8 still the same effect, seems like ive tried all sorts, must be bugged from another mod, well at least it could be good to know, just a shame i cannot get it to display in the posts, cause it seems to work fine in the profile....
The Stuff after the post_from is for the points/shop mod....Any other suggestions ill be more than glad to try...Also i tried on yet another template other than subsilver which still has the same effects, so this might narrow it down to a mod conflict....(just dont take my word on it)

Here it is with your code changes

Code: Select all

	<!-- BEGIN postrow -->
	<tr> 
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}{postrow.POINTS}<br /><a href="{postrow.ITEMSNAME}">Items</a>{postrow.ITEMS}{postrow.DONATE_POINTS}</span><br /> 
<!-- BEGIN xdata --> 
{postrow.xdata.NAME}: {postrow.xdata.VALUE} 
<!-- END xdata --> 
</span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
				<td valign="top" nowrap="nowrap"><span class="nav" ><a href="read.php?p={postrow.MESSAGEA}" target="_blank">Read this post</a></span>{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
			</tr>
			<tr> 
				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span>{postrow.ATTACHMENTS}<span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
			<tr> 
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.REFERRAL_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- 

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
				
				//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->
UnEditted

Code: Select all

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
	  <span class="gensmall"><b>{PAGINATION}</b><br />
	  &nbsp; </span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
	<!-- BEGIN switch_user_logged_in -->
	<td align="left" valign="bottom" nowrap="nowrap"><a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a></td>
	<!-- END switch_user_logged_in -->
  </tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
	<tr align="right">
		<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> &nbsp;</span></td>
	</tr>
	{POLL_DISPLAY} 
	<tr>
		<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
		<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
	</tr>
	<!-- BEGIN postrow -->
	<tr> 
		<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}{postrow.POINTS}<br /><a href="{postrow.ITEMSNAME}">Items</a>{postrow.ITEMS}{postrow.DONATE_POINTS}</span><br /></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
				<td valign="top" nowrap="nowrap"><span class="nav" ><a href="read.php?p={postrow.MESSAGEA}" target="_blank">Read this post</a></span>{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
			</tr>
			<tr> 
				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span>{postrow.ATTACHMENTS}<span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
		<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
			<tr> 
				<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.REFERRAL_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- 

	if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
		document.write(' {postrow.ICQ_IMG}');
	else
		document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
				
				//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- END postrow -->
	<tr align="center"> 
		<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
			<tr><form method="post" action="{S_POST_DAYS_ACTION}">
				<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
			</form></tr>
		</table></td>
	</tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
	<td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
	<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}<br /><a href="tellafriend.php?topic={TOPIC_TITLE}&link={TELL_LINK}">Email this topic to a friend</a></span><br /><span class="nav">{PAGINATION}</span> 
	  </td>
  </tr>
  <tr>
	<td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
	<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}<br><a href="{U_FAV}">{L_FAV}</a></span><br />
	  &nbsp;<br />
	  {S_TOPIC_ADMIN}</td>
	  {QUICK_REPLY_FORM}
      <!-- BEGIN switch_username_field --> 
      <span class='gensmall'><b>{L_USERNAME}</b></span><br /> 
      <span class='genmed'><input type='text' class='post' tabindex='1' name='username' size='25' maxlength='25' value='' /></span><br /> 
      <!-- END switch_username_field -->
      <!-- BEGIN quick_reply -->
      <textarea name="message" rows="7" cols="35" wrap="virtual" style="width:425px" class="post" onclick="{if(document.quick_reply.message.value=='{L_QUICK_REPLY_TOPIC}') document.quick_reply.message.value=''}">{L_QUICK_REPLY_TOPIC}</textarea><br /> 
      {quick_reply.U_HIDDEN_FORM_FIELDS} 
      <input type='image' src='{quick_reply.QUICK_REPLY_IMG}' border='0' alt="{quick_reply.L_QUICK_REPLY_TOPIC}" onClick="if(document.quick_reply.message.value == '{quick_reply.L_QUICK_REPLY_TOPIC}' || document.quick_reply.message.value == ''){ alert('{quick_reply.L_EMPTY_MESSAGE}'); return false;}else{ return true;}" />
      </form>
 </td>
   <!-- END quick_reply -->
	<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
  </tr>
</table>
Locked

Return to “[2.0.x] MODs in Development”