Symon
|
Highscore Arcade PortalThis guide will enable you to have an High Score Arcade Portal for the game you choose.
An example of a finished product can be see on the index page of HOWTODOIT on the top left.
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 ARCADESCORE 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 ARCADESCORE 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_arcadescore.tpl
Now copy this code into that file
| Code: | <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_arcadescore_title -->
<tr>
<th colspan="2" class="thTop" nowrap="nowrap">Arcade Scores</th>
</tr>
<tr>
<th colspan="2" class="thTop" nowrap="nowrap">{ARCADESCORE_TITLE}</th>
</tr>
<!--END switch_arcadescore_title -->
<!-- BEGIN arcadescore -->
<tr>
<td class="row2"><span class="topictitle">{arcadescore.NAME}</span></td>
<!--<td class="row2"><span class="topictitle">{arcadescore.FORUM}</span></td>-->
<td class="row2"><span class="topictitle">{arcadescore.SCORE}</a></span></td>
</tr>
<!-- END arcadescore -->
</table> |
6. Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings
Click on ARCADESCORE
You will now see this screen.
You now need to set this to how you like.
Title = The name of the portal
Published = Yes Anyone will see , No = only admins will see
Show Title No Yes Select whether to show the title of this component
Show only my forums scores no = will show the highscores for the all arcade members (depending on how many you set the count for) Yes = show scores for your forums members only.
Game name = The code name for the game.
Count = How many players to show
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
And place this code where you want it to appear.
So it may look like this
| Code: | <tr>
<td colspan="1" width="150" height="25" class="topictitle" nowrap="nowrap">{MYFF.ARCADESCORE}</td>
</tr>
<tr>
<td colspan="1" width="150" height="25" class="topictitle" nowrap="nowrap">{MYFF.ANNOUNCE show_results="topics"}</td>
</tr> |
You can even set it up to appear on a special web page like below.
http://funnyworld.myfreeforum.org/arcadescores.html
By adding more than one portal.
The following guide is for those that wish to add more than one portal.
1. Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings
Click on ARCADESCORE
Ok now change the name from ARCADESCORE to ARCADESCORE1
And then click on Create New Portal
Now change the settings to your new game following the steps above eg change game name form donkey kong to invaders.
Repeat the steps above for how many new portals you want.
To place them on your site use the following code
| Code: | | {ARCADESCORE1} {ARCADESCORE2} | each new portal change the number by 1 and then change the code by 1
To place in a webpage is very simple
1. Goto admin panel -- 6. Web Pages -- Edit Web Pages
Now click on Web Page in the top left hand corner
Enter the details if you are not sure what to put then please read
http://howtodoit.myfreeforum.org/...component=content&topicid=651
Now click on source
And enter
Save Page
And that Is HOWTODOIT
|