You are not logged in.
- Topics: Active | Unanswered
#1 2009-11-29 05:31:21
- w205
- Member
- From: Việt Nam
- Registered: 2009-11-28
- Posts: 14
Simple portal like FluxBB homepage, why not ?
All of us see that, FluxBB homepage can display the latest topics and the news.
Why don't dev. team show out the code for users to use or develope a simple portal ?
Last edited by w205 (2009-11-29 05:49:56)
Offline
#2 2009-11-29 13:25:50
- Mark
- Member
- From: Southport, Uk
- Registered: 2008-05-03
- Posts: 394
Re: Simple portal like FluxBB homepage, why not ?
You mean like this?
http://fluxbb.org/trac/browser/fluxbb.org/index.php
Last edited by Mark (2009-11-29 13:26:09)
Offline
#3 2009-11-29 13:33:57
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: Simple portal like FluxBB homepage, why not ?
For getting the latest topics, I would also suggest looking at extern.php: it may be simpler for your needs.
Offline
#4 2009-11-30 04:34:09
- w205
- Member
- From: Việt Nam
- Registered: 2009-11-28
- Posts: 14
Re: Simple portal like FluxBB homepage, why not ?
yeah i mean that
but i dont know anything about php
would you please help me build a simple portal.php
or guide me to use these hints:
Here are some examples using PHP include().
Show the 15 most recently active topics from all forums:
include('http://host.com/forums/extern.php?action=active');Show the 10 newest topics from forums with ID 5, 6 and 7:
include('http://host.com/forums/extern.php?action=new&show=10&fid=5,6,7');Show users online:
include('http://host.com/forums/extern.php?action=online');Show users online with full listing of users:
include('http://host.com/forums/extern.php?action=online_full');Show board statistics:
include('http://host.com/forums/extern.php?action=stats');Here are some examples using SSI.
Show the 5 newest topics from forums with ID 11 and 22:
<!--#include virtual="forums/extern.php?action=new&show=5&fid=11,22" -->Show board statistics:
<!--#include virtual="forums/extern.php?action=stats" -->And finally some examples using extern.php to output an RSS 0.91
feed.Output the 15 most recently active topics:
http://host.com/extern.php?action=active&type=RSSOutput the 15 newest topics from forum with ID=2:
http://host.com/extern.php?action=active&type=RSS&fid=2Below you will find some variables you can edit to tailor the
scripts behaviour to your needs.
Lots of thanks!
Offline
