Symon
|
Memberlist Points PortalThis will allow you to put a points portal based on a memberlist.
An example of a finished product can be see on the index page of HOWTODOIT on the top left.
Please not the one on show is an ADVANCED one this guide is for the basic one, but you must follow this guide first.
Please remember to use the Editor account before making any template changes
Second you must have all ready a template you can edit.
If you have not done this please read HOWTODOIT
Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings
You will now see a screen that looks like this
If you do not already see a portal named MEMBERLIST then (if you do then IGNORE The Steps 1-5)
1.Click on the Blank box icon that looks like this
Now you see a screen like this
2.Add MEMBERLIST to the name
3.And then what you want in the Title.
4. Click Create New Portal
5. Now goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit
Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find[/b]
cms_MEMBERLIST.tpl
Now copy this code into that file
| Code: | <form method="post" action="{S_MEMBERLIST_MODE_ACTION}">
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="right" nowrap="nowrap"><span class="genmed">{S_MEMBERLIST_HIDDEN}{L_SELECT_SORT_METHOD}: {S_MEMBERLIST_MODE_SELECT} {L_ORDER} {S_MEMBERLIST_ORDER_SELECT}
<input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" />
</span></td>
</tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" class="thCornerL" nowrap="nowrap">#</th>
<th class="thTop" nowrap="nowrap"> </th>
<th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
<th class="thTop" nowrap="nowrap">{L_EMAIL}</th>
<th class="thTop" nowrap="nowrap">{L_JOINED}</th>
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
<th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
</tr>
<!-- BEGIN memberlist -->
<tr>
<td class="{memberlist.ROW_CLASS}" align="center"><span class="gen"> {memberlist.ROW_NUMBER} </span></td>
<td class="{memberlist.ROW_CLASS}" align="center"> {memberlist.PM_IMG} </td>
<td class="{memberlist.ROW_CLASS}" align="center"><span class="gen"><a href="{memberlist.U_VIEWPROFILE}" class="gen">{memberlist.USERNAME}</a></span></td>
<td class="{memberlist.ROW_CLASS}" align="center" valign="middle"> {memberlist.EMAIL_IMG} </td>
<td class="{memberlist.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberlist.JOINED}</span></td>
<td class="{memberlist.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberlist.POSTS}</span></td>
<td class="{memberlist.ROW_CLASS}" align="center"> {memberlist.WWW_IMG} </td>
</tr>
<!-- END memberlist -->
<tr>
<td class="catBottom" colspan="8" height="28"> </td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="right" valign="top"></td>
</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span class="nav">{MEMBER_LIST_PAGE_NUMBER}</span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{MEMBERLIST_PAGINATION}</span></td>
</tr>
</table></form> |
6. Goto Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings
Click on Memberlist
Now change the Enters of
Profile field
And
Blank field
To be the name of your profile field for example mine is called POINTS
7. You must have a profile field set up to use with this.
So for this example I have created one called POINTS and given it the name of AssieJacks
If you are going to use your own profile field then ignore the set up points below.
Go to your forum's Administration Panel ----- 2. General --- Profile Fields
Now add POINTS And click Add Custom Profile Field
You will now see this screen
Fill out the details as shown in the image then click submit. (Of course you can edit to suit your forum.)
Now click submit
8. Now goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit
Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find[/b]
cms_MEMBERLIST.tpl
You should now see the code like this
| Code: |
<th class="thTop" nowrap="nowrap">Karma</th>
|
You need to change karma to the name of your points system for example mine is called Assiejacks so it would look like this (This is the title of your points system)
| Code: |
<th class="thTop" nowrap="nowrap">AssieJacks</th>
|
And also change KARMA to be the name of your profile field for example mine is called POINTS
| Code: | | <td class="{memberlist.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberlist.KARMA}</span></td> |
So it Could look like this
| Code: | | <td class="{memberlist.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberlist.POINTS}</span></td> |
By doing the above you have now set up a profile field where the admin of the forum can enter points via the admin panel.
To do this goto
admin - panel -- 4. Users -- Users List --- NAME OF PERSON ---- Edit
Now enter the number of points next to the name of the profile field remember mine was called AssieJacks
Now Where To Add It
Most likely you would add this to cms_index_body.tpl
Goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit
Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find[/b]
cms_index.tpl
Your entry may look like this
Or even like this
| Code: | <tr>
<td colspan="1" width="150" height="25" class="topictitle" nowrap="nowrap">{MYFF.ANNOUNCE show_results="topics" link="FORUM"}</td>
</tr> |
And that is HOWTODOIT
This is only the basic guide please click the link below for a more Advanced guide.
Advanced Guide Here
|