Log in to check your private messages 
Username: Password:   
  howtodoit.myfastforum.org
  Walkthough guides for myfreeforum phpbb 2 forums
Index  FAQ  Search  Memberlist  Usergroups  Profile

Text
Text
Friends
MYFF Support Forum
HOWTODOIT (PHPbb3)
portalogy
CGArts
ANNOUNCEMENTS
Complete List of templates Available
Please Read First Before Editing your template
Permissions
Admin Index
Sticky Articles
Latest Posts
Friends

Start | Stop
Memberlist Points Portal
Jump to:  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks
Author Message
Please Register and Login to this forum to stop seeing this advertising.







Add Comment
Show Comments
Posted:

Symon
Guide Legend
Guide Legend



Joined: 11 Jun 2006
Posts: 911


Location: Berkshire,England
FLAGS
Add Comment
Show Comments
PostPosted: Sat Jul 21, 2007 12:06 am  Reply with quote

This 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}:&nbsp;{S_MEMBERLIST_MODE_SELECT}&nbsp;&nbsp;{L_ORDER}&nbsp;{S_MEMBERLIST_ORDER_SELECT}&nbsp;&nbsp;
      <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">&nbsp;</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">&nbsp;{memberlist.ROW_NUMBER}&nbsp;</span></td>
     <td class="{memberlist.ROW_CLASS}" align="center">&nbsp;{memberlist.PM_IMG}&nbsp;</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">&nbsp;{memberlist.EMAIL_IMG}&nbsp;</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">&nbsp;{memberlist.WWW_IMG}&nbsp;</td>
   </tr>
   <!-- END memberlist -->
   <tr>
     <td class="catBottom" colspan="8" height="28">&nbsp;</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
Code:

{MYFF.MEMBERLIST}


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

View user's profile Send private message Visit poster's website FACEBOOKSTEAM
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

HOWTODOIT was designed and built by Symon Field
Creator Of ☆ ☆ FunnyWorld
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 
Create your own free forum | Buy a domain to use with your forum