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
Userranks / Staff 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: Fri Aug 10, 2007 10:55 am  Reply with quote

This guide will enable you to have a User ranks Portal for theStaff and Special members.


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 USERRANKS 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 USERRANKS 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_userranks.tpl

Now copy this code into that file

Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_userranks_title -->     
   <tr>
        <th colspan="4"  class="thTop" nowrap="nowrap">{USERRANKS_TITLE}</th>
     </tr>
<!--END switch_userranks_title -->          
  <!-- BEGIN userranks -->
  <tr>
   <td class="row2"><span class="topictitle"><a href="{userranks.U_PROFILE}" class="topictitle">{userranks.NAME}</a></span></td>
   <td class="row2"><span class="topictitle">{userranks.RANK}</span></td>
   <td class="row2"><span class="topictitle">
<!-- IF userranks.LEVEL == 1 -->
Admin
<!-- ELSEIF userranks.LEVEL == 2 -->
Mod
<!-- ELSE -->
{userranks.RANK_IMAGE}
<!-- ENDIF -->

</span></td>
<!--   <td class="row2"><span class="topictitle">{userranks.AVATAR}</span></td> -->
  </tr>
  <!-- END userranks -->
</table>



6. Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings

Click on USERRANKS

You will now see this screen.




You now need to set this to how you like.

Title = The name of the portal


Show Title Select whether to show the title of this component

Show special Choose weather member who have a special rank will show in the portal.




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.

Code:

{MYFF.USERRANKS}


So it may look like this




Code:
<tr>
        <td colspan="1" width="150" height="25" class="topictitle" nowrap="nowrap">{MYFF.USERRANKS}</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/userranks1.html

And that is the basic guide finished.



The following guide is for those that wish to add more than one portal or wish to enhance it, or place in a webpage.



1. Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings

Click on USERRANKS

Ok now change the name from USERRANKS to USERRANKS1

And then click on Create New Portal

Now change the settings to your new portal following the steps above eg change name from user ranks to Moderators.

Repeat the steps above for how many new portals you want, for example one for admin , one for mods, one for vip members and so on.

To place them on your site use the following code

Code:
{USERRANKS1} {USERRANKS2}
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

Code:
{MYFF.USERRANKS}


Save Page


Ok all that done you should have a basic Userrank portal so how do you add or take away things.

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_userranks.tpl


You will see a code like below , advanced users will be able to take out or add other machos in to suit their needs


Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_userranks_title -->     
   <tr>
        <th colspan="4"  class="thTop" nowrap="nowrap">{USERRANKS_TITLE}</th>
     </tr>
<!--END switch_userranks_title -->          
  <!-- BEGIN userranks -->
  <tr>
   <td class="row2"><span class="topictitle"><a href="{userranks.U_PROFILE}" class="topictitle">{userranks.NAME}</a></span></td>
   <td class="row2"><span class="topictitle">{userranks.RANK}</span></td>
   <td class="row2"><span class="topictitle">
<!-- IF userranks.LEVEL == 1 -->
Admin
<!-- ELSEIF userranks.LEVEL == 2 -->
Mod
<!-- ELSE -->
{userranks.RANK_IMAGE}
<!-- ENDIF -->

</span></td>
<!--   <td class="row2"><span class="topictitle">{userranks.AVATAR}</span></td> -->
  </tr>
  <!-- END userranks -->
</table>


An example of an enhanced code is like this

http://funnyworld.myfreeforum.org/userranks.html


And that Is HOWTODOIT

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