Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> Portal components
Andrew(AP)

RICHEST portal

I know that the cash mod was just added on, but would it be able to make a top poster portal in to richest person portal.

The people with the most cash is ranked top.

Would a little editing in top posters work to make a top cash one?
Andrew(AP)

its been about a month sense i posted this.

Today I figured out a way, I should of known this before posting this topic




Here is how you get richest portal.

First make sure you have the cash mod

1. Goto admin panel >> portals
2. find memberlist
3. rename is RICHEST
4. set the blank field and the profile field both to CASH
5. fill the rest out how you wish.
6. Goto edit templates/logos
7. choose your template
8. find the portal file named cms_richest.tpl
9. you may edit the things how you wish but here is a simple one that shows the number, username, cash amount.

Code:


<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">{L_USERNAME}</th>
     <th class="thTop" nowrap="nowrap">Total Cash</th>

   </tr>
   <!-- BEGIN richest -->
   <tr>
     <td class="{richest.ROW_CLASS}" align="left"><span class="gen">&nbsp;{richest.ROW_NUMBER}&nbsp;</span></td>
     <td class="{richest.ROW_CLASS}" align="left"><span class="gen"><a href="{richest.U_VIEWPROFILE}" class="gen">{richest.USERNAME}</a></span></td>
   
     <td class="{richest.ROW_CLASS}" align="left" valign="middle"><span class="gen">{richest.CASH}</span></td>
   </tr>
   <!-- END richest -->

  </table>


You can change what ever you wish, if you wish to not have the number beside the name here is the new code.

Code:


<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
   <tr>
     <th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
     <th class="thTop" nowrap="nowrap">Total Cash</th>

   </tr>
   <!-- BEGIN richest -->
   <tr>
     <td class="{richest.ROW_CLASS}" align="left"><span class="gen"><a href="{richest.U_VIEWPROFILE}" class="gen">{richest.USERNAME}</a></span></td>
   
     <td class="{richest.ROW_CLASS}" align="left" valign="middle"><span class="gen">{richest.CASH}</span></td>
   </tr>
   <!-- END richest -->
   <tr>
     <td class="row2" colspan="8" height="20">Richest members on the forum.</td>
   </tr>
  </table>



10. Save
11. Goto where you have your portals, possbily, overall_header.tpl, cms_index_body.tpl, etc...
12. add a new portal named {MYFF.RICHEST}
13. Save

And your done.
perthtruebluetwo

I added this and it mirrored my portals.

2 of everything.
Andrew(AP)

uhh.... not sure how thats possbile.

May i see what it looks like?

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum