FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  • Welcome
  • Guest

Portal Components Compiled (Updated 16 Aug 2007)

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    myfreeforum.org Forum Index -> Portal components
View previous topic :: View next topic  
Author Message
Nick(NR)
Moderator
Moderator
FLAG

Virtual Cash: 21710

Joined: 06 May 2006
Posts: 5310


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Wed Jul 26, 2006 4:21 pm    Post subject: Portal Components Compiled (Updated 16 Aug 2007)  Reply with quote

You no longer need to go to the owners panel to set the portal components parameters, this can now be done viw the new portal management system.

How to edit a components parameters

First you need to enter your admin panel, open up number 3, and click portal settings.

figure1.


You can then pick any of the portal components you see in the list, clicking on the icon will take you to a screen where you will be able to insert your chosen parameters for that component.

So on this list of components, where it says this will need to go into your owners panel, just follow the above instructions for the component of choice and you will be able to enter the component parameters through the portal settings page.


--------------------------------------------------------------------------
Ok, this is a list of basic available portal components. that I've compiled into one place to make it easier.

This list will get updated as new components become available

All you need to do is pick the portal components you want then go to this tutorial Here to find out where to put them.


--------------------------------------------------------------------------
The Front Page

The bit below in bold will need to go into your owners panel
[FRONTPAGE]
title=Latest Articles
count=10
return_chars=200
show_title=1



return_chars is how many characters of a front page article will be displayed. Articles longer than this will be truncated with "...".

count is the number of articles to display.


--------------------------------------------------------------------------
The Visits

Code:
{MYFF.VISITS}


It shows recently online members.

the count parameter
Code:
{MYFF.VISITS count="10"}

where count = how many members to show as a maximum

This is an actual portal component, if you wish it to appear in a line below the registered users in the who is online section of the index page as shown on this very forum then follow the instructions below.

In the owner control panel options tab.
Code:


[VISITS]
count=100
title=Users online in the last 24hours


count needs to be higher than you are going to get.

in cms_visits.tpl replace all that is currently there with:

Code:

<span class="genmsall">
<!--BEGIN switch_visits_title -->     
   <b>{VISITS_TOTAL}</b>&nbsp;{VISITS_TITLE}:
<!--END switch_visits_title -->          
  <!-- BEGIN visits -->
 
   <a href="{visits.U_PROFILE}" class="gensmall">{visits.NAME}</a>&nbsp;
  <!-- END visits -->
</span>



The in index_body.tpl I added :

Code:

<br/>{MYFF.VISITS}


This was added after the logged in users.


--------------------------------------------------------------------------
Top Posters

Placed in a forum template, you might have:
Code:
{MYFF.TOPPOSTERS count="5"}


count is how many members to show, the number can be more or less depending on how many you want to show.


--------------------------------------------------------------------------
The Links Menu

The bit below in bold will need to go into your owners panel
[LINKSMENU]
title=My Links
item1=Myfreeforum
link1=http://www.myfreeforum.org
item2=Myfastforum
link2=http://www.myfastforum.org


Title - lets you change the default name to what you want
item - is the name for each link
link - well that is an obvious one

Placed in a forum template, you might have:
Code:
{MYFF.LINKSMENU}



--------------------------------------------------------------------------
The Main Menu

The bit below in bold will need to go into your owners panel
[MAINMENU]
title=Forum Info
item1=Myfreeforum
link1=http://www.myfreeforum.org
item2=Myfastforum
link2=http://www.myfastforum.org


Title - lets you change the default name to what you want
item - is the name for each link
link - well that is an obvious one

Placed in a forum template, you might have:
Code:
{MYFF.MAINMENU}


Yes MAINMENU and LINKSMENU work the same, but they do work seperately


--------------------------------------------------------------------------
Popular Topics

The bit below in bold will need to go into your owners panel
[POPULAR]
count=10
topics=500


count is how many articles to show.

topics is how many recent topics to look at. Keeping topics down to a sensible number means that the ongoing "word association" thread that has been running since the beginning of the forum won't show up, neither will other threads that were popular in the dim distant past.

Placed in a forum template, you might have:
Code:
{MYFF.POPULAR}



--------------------------------------------------------------------------
The Sticky

The bit below in bold will need to go into your owners panel
[STICKY]
title=Sticky Articles
show_results=posts
search_type=1
link=FORUM


show_results can be set to posts or topics, topics will only show the topic title.

Search type takes a comma separated lists of post types.

0 - normal
1 - sticky
2 - announce
3 - global announce
4 - unused
5 - top
6 - archive

link=FORUM
will link to forum pages.

Placed in a forum template, you might have:
Code:
{MYFF.STICKY show_results="topic" link="FORUM"}



--------------------------------------------------------------------------
The Announcements

The bit below in bold will need to go into your owners panel
[ANNOUNCE]
title=Announcements
show_results=topics
search_type=2,3
link=FORUM


show_results can be set to posts or topics, topics will only show the topic title.

Search type takes a comma separated lists of post types.

0 - normal
1 - sticky
2 - announce
3 - global announce
4 - unused
5 - top
6 - archive

link=FORUM
will link to forum pages.

Placed in a forum template, you might have:
Code:
{MYFF.ANNOUNCE show_results="topics" link="FORUM"}


Yes STICKY and ANNOUNCE work the same, but they do work seperately


--------------------------------------------------------------------------
The Latest Posts

The bit below in bold will need to go into your owners panel
[LATEST]
show_title=1
title=Latest Posts
filter=ALL
count=10


Show Title - Show the title
Title - lets you change the default name to what you want
Count - shows 10 topics (number can be changed to show motre or less)
Filter - ALL or PORTAL (still not sure after trying both?)

Placed in a forum template, you might have:
Code:
{MYFF.LATEST}



--------------------------------------------------------------------------
The Anti-Virus Check

Placed in a forum template, you might have:
Code:
{MYFF.AVCHECK}


shows current MCAfee Virus Alerts.

You can edit cms_avcheck.tpl to customise appearance.


--------------------------------------------------------------------------
The Forum Search

Placed in a forum template, you might have:
Code:
{MYFF.SEARCHFORM}


Shows a forum search form.


--------------------------------------------------------------------------
Search Google

Placed in a forum template, you might have:
Code:
{MYFF.GSEARCH}


Allows a Google Search to be carried out and results appear in place of the index page


--------------------------------------------------------------------------
Gallery Attachment

The attachment component, allows you to upload images to the myff gallery at:

http://gallery.myff.org/

as well as your own in forum gallery at:

http://yourforumname.myfreeforum.org/index.php?component=gallery

or

http://yourforumname.myfastforum.org/index.php?component=gallery

Using the component you can upload an image and show either a thumbnail or full image in your post on our forums.

To make the change you must go to the logo/template editor in the administration panel and create your own template if you have not already done so.

You will then need to create a new user with the name of editor and give them admin rights.

You will now be allowed to edit template files.

Currently most forum templates have the following code in posting_body.tpl

Code:

<br /><span class="genmed"><a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=phpbb&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post</a></span>


this code is always placed after "</textarea>" and links to the current upload service we use.

It needs replacing with:

Code:

<br/>{MYFF.ATTACHMENT}


If you do not have the code mentioned, then simply look for </textarea> and place the code after </textarea>.


--------------------------------------------------------------------------
Login Box

Thanks to Me for this one

Placed in a forum template, you might have:
Code:
{MYFF.LOGIN}


Will show a login dialog, the cms_login.tpl template will hide the dialog if the user is already logged in.

Options are trivial

[LOGIN]
show_title=1
title="Login"
redirect=/index.php

the new redirect will allow you to redirect people back to the full portal view instead of them going on to the forum, thus allowing member only topics to appear in the full portal view, so they can now see the latest topics.


--------------------------------------------------------------------------
Live Time

Thanks to Me for most of this, well the java came from elsewhere, but was modified to make it more useable on a template per forum basis.

Placed in a forum template, you might have:
Code:
{MYFF.CURRENTTIME}


Will place a live updating time of day based on your local PC time in a template. Parameter that may be set in control panel OPTIONS or in the template are:

[CURRENTTIME]
show_title=1
title="Current Time

For the technically inclined, this is practically a roll your own component, as it uses the BLANK component type, as all the workings are in JavaScript. However as the JavaScript is bulky that has been placed in a script on the servers accessible by all forums.


--------------------------------------------------------------------------
Open Tickets

[OPENTICKET]
mod_ticket_forums=1,2,4,10
user_ticket_forums=11,12
extramods=1,724,1000

extramods = e.g. a comma separated list of user ids has been added. Users added here will have the power to open and close support tickets as if they were moderators.

If mod_ticket_forums has a list of forum ids then mods can use the OPENTICKETTOPIC component to open and close tickets in those forums, otherwise they can in ALL forums.

If user_ticket_forums is set then users can use the OPENTICKETTOPIC component to open and close tickets in those forums, otherwise they can in NO forums. A user can only open/close topics that they have started.

If a topic is set as an OPEN ticket, then {MYFF.OPENTICKET} will show the list of open ticket topics, OPENTICKET all accepts the standard parameters for other SEARCH components.

{MYFF.OPENTICKETTOPIC}

Can be placed in viewtopic_body.tpl (it will be of no use elsewhere) It adds a link "open ticket" "close ticket" where pertinent to the topic. e.g. if the reader has the right to open or close the ticket.

I have placed it on this forum by the "Watch Topic" link, but as I am not allowing users to play with tickets, only the mods will see the link.


--------------------------------------------------------------------------
News Fader Guide

The link below takes you to a guide created by Pariah (it was too long so it's been sticky'd and linked to from here.).
http://forum.myfreeforum.org/ftopic6533-0-0-asc-.php

I think I've got everything, I'm sure Admin or the moderators can add/amend anything I haven't got/change what I got wrong
_________________
CALM TIME: When calm time is called, all posters in a topic must refrain from posting and take a time out to calm down.


Last edited by Nick(NR) on Thu Aug 23, 2007 4:09 pm; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
Nick(NR)
Moderator
Moderator
FLAG

Virtual Cash: 21710

Joined: 06 May 2006
Posts: 5310


Location: Medway, Kent
Add Karma

rated by 43 members
Add Comment
Show Comments

I'm better than Jose!
online/offline
PostPosted: Sun Aug 20, 2006 1:48 pm    Post subject: Reply with quote

To go into your owners panel there are two links depending on which forum extension you are on.

for myfreeforum go here:
Myfreeforum owners panel login

for myfastforum go here:
Myfastforum owners panel login


_________________
CALM TIME: When calm time is called, all posters in a topic must refrain from posting and take a time out to calm down.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    myfreeforum.org Forum Index -> Portal components All times are GMT
Page 1 of 1
 
 
Jump to:  
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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum