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
archers-rest

Topposters new portal

Another question based on the new template as used here

Ive bodged a topposters portal up and its looking good apart from the fact I cant get the users name and post count on the same line unless there is no gap between them, everytime i try to align the post count to the right it goes right but below the posters name, creating gaps.

The code is in the spoiler, how would I get the desired effect.

Spoiler:

Code:
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>

<ul class="topiclist">
<li class="header">
      <dl class="lastpost" >
            <dt>Top Posters<br><span class="gensmall">Admin & Mods excluded</span></dt>
            
      </dl>
</li>
</ul>

<ul class="widelist forums">   
  <!-- BEGIN topposters -->
<li class="row">
<dl class="lastpost" >         
 
<dt><span class="topictitle"><a href="{topposters.U_PROFILE}" class="topictitle">{topposters.NAME}</a>{topposters.POSTS}</a></span></dt>

</dl></li>
  <!-- END topposters -->
</ul>
<span class="corners-bottom"><span></span></span></div>
      </div>



I'll get used to these new bits of code one day
admin (no pm's please)

What I did and do, is to find something that looks vaguely like what I want, and there are examples of multicolumn layouts dotted around the support forum! Do a view source, and then apply that code to the portal.
archers-rest

Took a fair bit of head scratching, but its there now

heres the code for anyone interested

Spoiler:

Code:
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>

<ul class="topiclist">
<li class="header">
      <dl class="lastpost" >
            <dt>Top Posters<br><span class="gensmall">Admin & Mods excluded</span></dt>
            
      </dl>
</li>
</ul>

<ul class="widelist forums">   
  <!-- BEGIN topposters -->
<li class="row">
<dl class="lastpost" >         
 
<table cellspacing="1" cellpadding="1" width="150" border="0">
    <tbody>
        <tr>
            <td><span class="topictitle"><a href="{topposters.U_PROFILE}" class="topictitle">{topposters.NAME}</a></span></td><td align="right"><span class="topictitle">{topposters.POSTS}</span></td></tr>
    </tbody>
</table>
</dl></li>
  <!-- END topposters -->
</ul>
<span class="corners-bottom"><span></span></span></div>
      </div>

admin (no pm's please)

thanks for that. We probably should have a "proper" system for people to post these
vectra

I would like to put this on my forum,

http://fmcc.myfastforum.org

But to include admin posts etc,
Where do I putt his code to make it work?

Cheers
admin (no pm's please)

You probably need to read up on portal use.

The general instructions are:

1) Use the TOPPOSTERS portal or create a new portal copying from TOPPOSTERS.
2) Edit the cms_topposters.tpl or cms_mycopy.tpl file and make it use archers-rests code that must be edited to your portal name in its loops and switches.
3) Put {MYFF.TOPPOSTERS) in the template you want to see things in.

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