[ABD] Medal System MOD for phpBB3

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn »

My apologies for the Version Check. Forgot to update the version on my side. :oops:

I am going to have to recommend double checking the memberlist.php and memberlist_view.html edits. Be sure that they were added properly before or after the correct locations.

dgrillo
Registered User
Posts: 19
Joined: Fri Mar 23, 2007 3:22 pm

Re: [Beta] Medal System MOD for phpBB3

Post by dgrillo »

Gremlinn wrote:My apologies for the Version Check. Forgot to update the version on my side. :oops:

I am going to have to recommend double checking the memberlist.php and memberlist_view.html edits. Be sure that they were added properly before or after the correct locations.
I looked and they all appear to be correct. The problem I ran into was the theme I used did match the instructions. So i kinda had to wing it. Is it ok, to attach the memberslist.php and memberlist_view.html file here?

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn »

The important part of the memberlist.php is the include line. Post your html file. Let's see what you have.

dgrillo
Registered User
Posts: 19
Joined: Fri Mar 23, 2007 3:22 pm

Re: [Beta] Medal System MOD for phpBB3

Post by dgrillo »

Gremlinn wrote:The important part of the memberlist.php is the include line. Post your html file. Let's see what you have.
here it is:

Code: Select all

<!-- INCLUDE overall_header.html -->

<div id="pagecontent">

	<form method="post" action="{S_PROFILE_ACTION}">

    {$CA_BLOCK_START}
	{$CA_CAP2_START}{L_VIEWING_PROFILE}{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<tr>
		<td class="cat" width="40%" align="center"><h4>{L_USER_PRESENCE}</h4></td>
		<td class="cat" width="60%" align="center"><h4>{L_USER_FORUM}</h4></td>
	</tr>
	<tr>
		<td class="row1" align="center">

			<table cellspacing="1" cellpadding="2" border="0">
			<!-- IF S_USER_INACTIVE -->
			<tr>
				<td align="center" class="error"><b class="gen">{L_USER_IS_INACTIVE}</b><br />{L_INACTIVE_REASON}: {USER_INACTIVE_REASON}<br /><br /></td>
			</tr>
			<!-- ENDIF -->
			<tr>
				<td align="center"><!-- IF USER_COLOR --><b class="gen" style="color: {USER_COLOR}"><!-- ELSE --><b class="gen"><!-- ENDIF -->{USERNAME}</b></td>
			</tr>
			<!-- IF RANK_TITLE -->
				<tr>
					<td align="center">{RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF EXTRA_RANK_TITLE -->
				<tr>
					<td align="center">{EXTRA_RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF RANK_IMG -->
				<tr>
					<td align="center">{RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->
						<!-- IF EXTRA_RANK_IMG -->
				<tr>
					<td align="center">{EXTRA_RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF AVATAR_IMG -->
				<tr>
					<td align="center">{AVATAR_IMG}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF ONLINE_IMG -->
			<tr>
				<td align="center">{ONLINE_IMG}</td>
			</tr>
			<!-- ENDIF -->
			<!-- IF U_USER_BAN -->
			<tr>
			    <td class="genmed" align="center">[ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]</td>
			</tr>
			<!-- ENDIF -->
			<!-- IF U_USER_ADMIN -->
			<tr>
			    <td class="genmed" align="center">[ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]</td>
			</tr>
			<!-- ENDIF -->
			<!-- IF U_SWITCH_PERMISSIONS -->
            <tr>
                <td class="genmed" align="center">[ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]</td>
            </tr>
			<!-- ENDIF -->
			<!-- IF U_CAN_AWARD_MEDALS -->
            <tr>
                <td class="genmed" align="center">[ <a href="{U_CAN_AWARD_MEDALS}">{L_MEDAL_CP}</a> ]</td>
            </tr>
			<!-- ENDIF -->
			<!-- IF S_USER_LOGGED_IN and S_ZEBRA -->
            <tr>
                <td class="genmed" align="center">[ <!-- IF U_ADD_FRIEND and U_ADD_FOE--><a href="{U_ADD_FRIEND}">{L_ADD_FRIEND}</a> | <a href="{U_ADD_FOE}">{L_ADD_FOE}</a><!-- ENDIF --><!-- IF U_REMOVE_FRIEND --><a href="{U_REMOVE_FRIEND}">{L_REMOVE_FRIEND}</a><!-- ENDIF --><!-- IF U_REMOVE_FOE --><a href="{U_REMOVE_FOE}">{L_REMOVE_FOE}</a><!-- ENDIF --> ]</td>
            </tr>
			<!-- ENDIF -->
			</table>
		</td>
		<td class="row1">
			<table width="100%" cellspacing="1" cellpadding="2" border="0">
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}: </td>
				<td width="100%"><b class="gen">{JOINED}</b></td>
			</tr>
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_VISITED}: </td>
				<td width="100%"><b class="gen">{VISITED}</b></td>
			</tr>
			<!-- IF U_NOTES or U_WARN -->
				<tr>
					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_WARNINGS}: </td>
					<td width="100%"><b class="gen">{WARNINGS}</b><br /><span class="genmed">[ <a href="{U_NOTES}">{L_VIEW_NOTES}</a> <!-- IF U_WARN --> | <a href="{U_WARN}">{L_WARN_USER}</a> <!-- ENDIF -->]</span></td>
				</tr>
			<!-- ENDIF -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_TOTAL_POSTS}: </td>
				<td><b class="gen">{POSTS}</b><span class="genmed"><!-- IF POSTS_PCT --><br />[{POSTS_PCT} / {POSTS_DAY}]<!-- ENDIF -->
				<!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />[<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>]<!-- ELSEIF POSTS_IN_QUEUE --><br />[{L_POSTS_IN_QUEUE}]<!-- ENDIF -->
				<br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></span></td>
			</tr>
			<!-- IF S_SHOW_ACTIVITY -->
				<tr>
					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_FORUM}: </td>
					<td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
				</tr>
				<tr>
					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
					<td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
				</tr>
			<!-- ENDIF -->
			</table>
		</td>
	</tr>
	<tr>
		<td class="cat" align="center"><h4>{L_CONTACT_USER}</h4></td>
		<td class="cat" align="center"><h4>{L_ABOUT_USER}</h4></td>
	</tr>
	<tr>
		<td class="row1">
			<table width="100%" cellspacing="1" cellpadding="2" border="0">
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_EMAIL_ADDRESS}: </td>
				<td width="100%"><!-- IF U_EMAIL --><a href="{U_EMAIL}">{EMAIL_IMG}</a><!-- ENDIF --></td>
			</tr>
			<!-- IF U_PM -->
				<tr>
					<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_PM}: </td>
					<td><a href="{U_PM}">{PM_IMG}</a></td>
				</tr>
			<!-- ENDIF -->
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_MSNM}: </td>
				<td><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false">{MSN_IMG}</a><!-- ELSEIF USER_MSN -->{USER_MSN}<!-- ENDIF --></td>
			</tr>
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_YIM}: </td>
				<td><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false">{YIM_IMG}</a><!-- ELSEIF USER_YIM -->{USER_YIM}<!-- ENDIF --></td>
			</tr>
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_AIM}: </td>
				<td><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false">{AIM_IMG}</a><!-- ELSEIF USER_AIM -->{USER_AIM}<!-- ENDIF --></td>
			</tr>
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_ICQ}: </td>
				<td><!-- IF U_ICQ --><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false">{ICQ_IMG}</a><!-- ELSEIF USER_ICQ -->{USER_ICQ}<!-- ENDIF --></td>
			</tr>
			<tr>
				<td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_JABBER}: </td>
				<td><!-- IF U_JABBER and S_JABBER_ENABLED --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
			</tr>
			</table>
		</td>
		<td class="row1">
			<table cellspacing="1" cellpadding="2" border="0">
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_USERGROUPS}: </td>
				<td><select name="g">{S_GROUP_OPTIONS}</select> <input class="btnlite" type="submit" name="submit" value="{L_GO}" /></td>
			</tr>
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_LOCATION}: </td>
				<td><!-- IF LOCATION --><b class="genmed">{LOCATION}</b><!-- ENDIF --></td>
			</tr>
			<!-- IF AGE -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td>
				<td><b class="genmed">{AGE}</b></td>
			</tr>
			<!-- ENDIF -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_OCCUPATION}: </td>
				<td><!-- IF OCCUPATION --><b class="genmed">{OCCUPATION}</b><!-- ENDIF --></td>
			</tr>
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_INTERESTS}: </td>
				<td><!-- IF INTERESTS --><b class="genmed">{INTERESTS}</b><!-- ENDIF --></td>
			</tr>
			<!-- IF POINTS_ENABLE -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{POINTS_NAME}: </td>
				<td><!-- IF INTERESTS --><b class="genmed">{POINTS}</b><!-- ENDIF --></td>
			</tr>
      <!-- ENDIF -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_WEBSITE}: </td>
				<td><!-- IF U_WWW --><b><a class="genmed" href="{U_WWW}">{U_WWW}</a></b><!-- ENDIF --></td>
			</tr>
			<!-- IF S_USER_LOGGED_IN and U_NOMINATE -->
			<tr>
        <td><b><a class="genmed" align="{S_CONTENT_FLOW_END}" nowrap="nowrap" href="{U_NOMINATE}">{L_NOMINATE}</a></b></td>
      </tr>
			<!-- ENDIF -->
			<!-- IF S_PROFILE_FIELD1 -->
				<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
				<tr>
					<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{PROFILE_FIELD1_NAME}: </td>
					<td><b class="genmed">{PROFILE_FIELD1_VALUE}</b></td>
				</tr>
			<!-- ENDIF -->
        <!-- BEGIN custom_fields -->
          <tr>
            <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{custom_fields.PROFILE_FIELD_NAME}: </td>
            <td><b class="genmed">{custom_fields.PROFILE_FIELD_VALUE}</b></td>
          </tr>
        <!-- END custom_fields -->
			</table>
		</td>
	</tr>
	<!-- IF SIGNATURE -->
		<tr>
			<td class="cat" colspan="2" align="center"><h4>{L_SIGNATURE}</h4></td>
		</tr>
		<tr>
			<td class="row1" colspan="2"><div class="postbody" style="padding: 10px;">{SIGNATURE}</div></td>
		</tr>
	<!-- ENDIF -->
		<tr>
			<td class="row1" colspan="2"><div class="postbody" style="padding: 10px;"><!-- INCLUDE medal_memberlist_view.html --></div></td>
		</tr>
	</table>
	{$CA_BLOCK_END}

	</form>

</div>

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<br clear="all" />

<div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div>

<!-- INCLUDE overall_footer.html -->

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn »

I see what the problem is. You tried to put the INCLUDE line inside of another <form> tag. Try this one:

Code: Select all

    <!-- INCLUDE overall_header.html -->

    <div id="pagecontent">

       <form method="post" action="{S_PROFILE_ACTION}">
        {$CA_BLOCK_START}
       {$CA_CAP2_START}{L_VIEWING_PROFILE}{$CA_CAP2_END}
       <table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
       <tr>
          <td class="cat" width="40%" align="center"><h4>{L_USER_PRESENCE}</h4></td>
          <td class="cat" width="60%" align="center"><h4>{L_USER_FORUM}</h4></td>
       </tr>
       <tr>
          <td class="row1" align="center">

             <table cellspacing="1" cellpadding="2" border="0">
             <!-- IF S_USER_INACTIVE -->
             <tr>
                <td align="center" class="error"><b class="gen">{L_USER_IS_INACTIVE}</b><br />{L_INACTIVE_REASON}: {USER_INACTIVE_REASON}<br /><br /></td>
             </tr>
             <!-- ENDIF -->
             <tr>
                <td align="center"><!-- IF USER_COLOR --><b class="gen" style="color: {USER_COLOR}"><!-- ELSE --><b class="gen"><!-- ENDIF -->{USERNAME}</b></td>
             </tr>
             <!-- IF RANK_TITLE -->
                <tr>
                   <td align="center">{RANK_TITLE}</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF EXTRA_RANK_TITLE -->
                <tr>
                   <td align="center">{EXTRA_RANK_TITLE}</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF RANK_IMG -->
                <tr>
                   <td align="center">{RANK_IMG}</td>
                </tr>
             <!-- ENDIF -->
                      <!-- IF EXTRA_RANK_IMG -->
                <tr>
                   <td align="center">{EXTRA_RANK_IMG}</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF AVATAR_IMG -->
                <tr>
                   <td align="center">{AVATAR_IMG}</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF ONLINE_IMG -->
             <tr>
                <td align="center">{ONLINE_IMG}</td>
             </tr>
             <!-- ENDIF -->
             <!-- IF U_USER_BAN -->
             <tr>
                 <td class="genmed" align="center">[ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]</td>
             </tr>
             <!-- ENDIF -->
             <!-- IF U_USER_ADMIN -->
             <tr>
                 <td class="genmed" align="center">[ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]</td>
             </tr>
             <!-- ENDIF -->
             <!-- IF U_SWITCH_PERMISSIONS -->
                <tr>
                    <td class="genmed" align="center">[ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF U_CAN_AWARD_MEDALS -->
                <tr>
                    <td class="genmed" align="center">[ <a href="{U_CAN_AWARD_MEDALS}">{L_MEDAL_CP}</a> ]</td>
                </tr>
             <!-- ENDIF -->
             <!-- IF S_USER_LOGGED_IN and S_ZEBRA -->
                <tr>
                    <td class="genmed" align="center">[ <!-- IF U_ADD_FRIEND and U_ADD_FOE--><a href="{U_ADD_FRIEND}">{L_ADD_FRIEND}</a> | <a href="{U_ADD_FOE}">{L_ADD_FOE}</a><!-- ENDIF --><!-- IF U_REMOVE_FRIEND --><a href="{U_REMOVE_FRIEND}">{L_REMOVE_FRIEND}</a><!-- ENDIF --><!-- IF U_REMOVE_FOE --><a href="{U_REMOVE_FOE}">{L_REMOVE_FOE}</a><!-- ENDIF --> ]</td>
                </tr>
             <!-- ENDIF -->
             </table>
          </td>
          <td class="row1">
             <table width="100%" cellspacing="1" cellpadding="2" border="0">
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}: </td>
                <td width="100%"><b class="gen">{JOINED}</b></td>
             </tr>
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_VISITED}: </td>
                <td width="100%"><b class="gen">{VISITED}</b></td>
             </tr>
             <!-- IF U_NOTES or U_WARN -->
                <tr>
                   <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_WARNINGS}: </td>
                   <td width="100%"><b class="gen">{WARNINGS}</b><br /><span class="genmed">[ <a href="{U_NOTES}">{L_VIEW_NOTES}</a> <!-- IF U_WARN --> | <a href="{U_WARN}">{L_WARN_USER}</a> <!-- ENDIF -->]</span></td>
                </tr>
             <!-- ENDIF -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_TOTAL_POSTS}: </td>
                <td><b class="gen">{POSTS}</b><span class="genmed"><!-- IF POSTS_PCT --><br />[{POSTS_PCT} / {POSTS_DAY}]<!-- ENDIF -->
                <!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />[<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>]<!-- ELSEIF POSTS_IN_QUEUE --><br />[{L_POSTS_IN_QUEUE}]<!-- ENDIF -->
                <br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></span></td>
             </tr>
             <!-- IF S_SHOW_ACTIVITY -->
                <tr>
                   <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_FORUM}: </td>
                   <td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
                </tr>
                <tr>
                   <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
                   <td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
                </tr>
             <!-- ENDIF -->
             </table>
          </td>
       </tr>
       <tr>
          <td class="cat" align="center"><h4>{L_CONTACT_USER}</h4></td>
          <td class="cat" align="center"><h4>{L_ABOUT_USER}</h4></td>
       </tr>
       <tr>
          <td class="row1">
             <table width="100%" cellspacing="1" cellpadding="2" border="0">
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_EMAIL_ADDRESS}: </td>
                <td width="100%"><!-- IF U_EMAIL --><a href="{U_EMAIL}">{EMAIL_IMG}</a><!-- ENDIF --></td>
             </tr>
             <!-- IF U_PM -->
                <tr>
                   <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_PM}: </td>
                   <td><a href="{U_PM}">{PM_IMG}</a></td>
                </tr>
             <!-- ENDIF -->
             <tr>
                <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_MSNM}: </td>
                <td><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false">{MSN_IMG}</a><!-- ELSEIF USER_MSN -->{USER_MSN}<!-- ENDIF --></td>
             </tr>
             <tr>
                <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_YIM}: </td>
                <td><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false">{YIM_IMG}</a><!-- ELSEIF USER_YIM -->{USER_YIM}<!-- ENDIF --></td>
             </tr>
             <tr>
                <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_AIM}: </td>
                <td><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false">{AIM_IMG}</a><!-- ELSEIF USER_AIM -->{USER_AIM}<!-- ENDIF --></td>
             </tr>
             <tr>
                <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_ICQ}: </td>
                <td><!-- IF U_ICQ --><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false">{ICQ_IMG}</a><!-- ELSEIF USER_ICQ -->{USER_ICQ}<!-- ENDIF --></td>
             </tr>
             <tr>
                <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_JABBER}: </td>
                <td><!-- IF U_JABBER and S_JABBER_ENABLED --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td>
             </tr>
             </table>
          </td>
          <td class="row1">
             <table cellspacing="1" cellpadding="2" border="0">
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_USERGROUPS}: </td>
                <td><select name="g">{S_GROUP_OPTIONS}</select> <input class="btnlite" type="submit" name="submit" value="{L_GO}" /></td>
             </tr>
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_LOCATION}: </td>
                <td><!-- IF LOCATION --><b class="genmed">{LOCATION}</b><!-- ENDIF --></td>
             </tr>
             <!-- IF AGE -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td>
                <td><b class="genmed">{AGE}</b></td>
             </tr>
             <!-- ENDIF -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_OCCUPATION}: </td>
                <td><!-- IF OCCUPATION --><b class="genmed">{OCCUPATION}</b><!-- ENDIF --></td>
             </tr>
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_INTERESTS}: </td>
                <td><!-- IF INTERESTS --><b class="genmed">{INTERESTS}</b><!-- ENDIF --></td>
             </tr>
             <!-- IF POINTS_ENABLE -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{POINTS_NAME}: </td>
                <td><!-- IF INTERESTS --><b class="genmed">{POINTS}</b><!-- ENDIF --></td>
             </tr>
          <!-- ENDIF -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_WEBSITE}: </td>
                <td><!-- IF U_WWW --><b><a class="genmed" href="{U_WWW}">{U_WWW}</a></b><!-- ENDIF --></td>
             </tr>
             <!-- IF S_USER_LOGGED_IN and U_NOMINATE -->
             <tr>
            <td><b><a class="genmed" align="{S_CONTENT_FLOW_END}" nowrap="nowrap" href="{U_NOMINATE}">{L_NOMINATE}</a></b></td>
          </tr>
             <!-- ENDIF -->
             <!-- IF S_PROFILE_FIELD1 -->
                <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
                <tr>
                   <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{PROFILE_FIELD1_NAME}: </td>
                   <td><b class="genmed">{PROFILE_FIELD1_VALUE}</b></td>
                </tr>
             <!-- ENDIF -->
            <!-- BEGIN custom_fields -->
              <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{custom_fields.PROFILE_FIELD_NAME}: </td>
                <td><b class="genmed">{custom_fields.PROFILE_FIELD_VALUE}</b></td>
              </tr>
            <!-- END custom_fields -->
             </table>
          </td>
       </tr>
       <!-- IF SIGNATURE -->
          <tr>
             <td class="cat" colspan="2" align="center"><h4>{L_SIGNATURE}</h4></td>
          </tr>
          <tr>
             <td class="row1" colspan="2"><div class="postbody" style="padding: 10px;">{SIGNATURE}</div></td>
          </tr>
       <!-- ENDIF -->
       </table>
       {$CA_BLOCK_END}

       </form>
<!-- INCLUDE medal_memberlist_view.html -->
    </div>

    <br clear="all" />

    <!-- INCLUDE breadcrumbs.html -->

    <br clear="all" />

    <div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div>

    <!-- INCLUDE overall_footer.html -->

dgrillo
Registered User
Posts: 19
Joined: Fri Mar 23, 2007 3:22 pm

Re: [Beta] Medal System MOD for phpBB3

Post by dgrillo »

Gremlinn wrote:I see what the problem is. You tried to put the INCLUDE line inside of another <form> tag. Try this one:
Perfection!!

Thank you Gremlinn

TheMarauder
Registered User
Posts: 20
Joined: Sat Apr 19, 2008 7:15 pm

Re: [Beta] Medal System MOD for phpBB3

Post by TheMarauder »

A question that's not clear to me from the documentation: Can medals also be awarded based on Group Membership?

Thanks...

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn »

No.

Drakken
Registered User
Posts: 144
Joined: Thu Jun 12, 2003 6:59 pm
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by Drakken »

Great mod, nice work! Works like a charm.

TheMarauder
Registered User
Posts: 20
Joined: Sat Apr 19, 2008 7:15 pm

Re: [Beta] Medal System MOD for phpBB3

Post by TheMarauder »

Gremlinn wrote:No.
Thanks for the information. I'll just make my admins do it manually. Lucky them... ;)

Installed now and this is a very useful mod. Thanks for your efforts.

t-perry
Registered User
Posts: 16
Joined: Tue May 13, 2008 12:18 pm
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by t-perry »

when i click on my username i can see { MEDAL_CP } but when i click it takes me to another page and say this mod is not active?

i cant find anything in the Administration Control Panel about medals. I have a.MODS tab already from phpbb gallery which i am also running on this forum but theres nothing in there except the phpbb gallery controls (options).

i have installed all the root files and then the prosilver template files and made the edits to the files. refreshed the cache and purged the cache still getting the same response.

http://www.juxstore.com/forum

Hope i have made myself clear great mod

cheers

craig

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn »

It looks like you didn't add the ACP modules yet. Then visit the Control panel. The first time you visit, it will do the database edits. Then you will have permissions to set and medal management to work with.

t-perry
Registered User
Posts: 16
Joined: Tue May 13, 2008 12:18 pm
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by t-perry »

the ACP modules are in: root> adm> style> **acp_medals.html etc** ??

i have uploaded those ones, is there any others ACP modules?

thanks

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Medal System MOD for phpBB3

Post by Gremlinn »

Read the DIY instructions at the bottom of the install xml file. They give you step by step instructions on how to add the modules to the ACP. Those are just the ACP template files you mentioned. There are also two code files in includes/acp and includes/acp/info that you uploaded. But, that doesn't tell the ACP and the database that you have added them and get them setup for use.

CCJared
Registered User
Posts: 20
Joined: Mon Feb 16, 2009 12:10 pm
Location: United Kingdom
Contact:

Re: [Beta] Medal System MOD for phpBB3

Post by CCJared »

Ok, so i've installed it all and added a medal category, but every time I try to add a medal to the category if comes up with all of this code above the ACP and doesn't create the medal. Please Help.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_medals.php on line 494: opendir(./../images/medals/) [function.opendir]: failed to open dir: No such file or directory
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)

Locked

Return to “[3.0.x] Abandoned MODs”