Your ultimate PunBB resource!
You are not logged in.
## ## ## Mod title: Frontpage Compilation ## ## Mod version: 1.3 ## Works on PunBB: 1.2.6 ## Release date: 2005-07-11 ## Author: Laurent Marechal & others (see below) ## ## Description: This mod is more than a mod, it's a kind of complete modification. ## It's based on PunBB 1.2.6 ## It include the following mod : ## -Easy_BBCode_1.0.1 : Rickard Andersson ## -New_Window_Link : Michael Lanman ## -Page_Link_Mod : Michael Lanman ## -Private_Message_Mod-1.2.1 : David 'Chacmool' Djurbäck ## & Connorhd ## -View-Hide categories : Michael ## -Pre-Installed Avatars Gallery : Gizzmo ## -Easy Poll 1.1.2 : Caleb Champlin (Mediator) ## -Colored usergroup 1.0.2 : Caleb Champlin (Mediator) ## -Collapsable Categories 1.0: Mike Lanman ## -Extra box 1.0.2 : Caleb Champlin (Mediator) ## -Extra BBCodes 1.0.2 : ScottyWZ ## -Mail Posts 1.0.1 : Tobi Schulz ## ## As well as the official plugin from PunBB site ## -AMP_Global_topic ## -AP_Broadcast_Email ## -AP_DB_management ## -AP_Languages_and_styles ## -AP_User_management ## -AP_Clear_Cache ## ## ## Also include (or what's left of it) the tutorial to make a portal ## page from Connorhd & Rickard Andersson ## ## On the top of this, based on the tutorial to add a portal page, a ## mini portal was made. It come complete with admin plugin. All view ## can be customized. The forum is used to feed the news/post. ## Other modification also include a new sorting for topic and other ## small tuning. ## ## The article system have an option to use WYSIWYG editor to write and ## edit article. This is only for article and not for normal post. ## It use the rtf editor fckeditor 2.0fc from (http://www.fckeditor.net) ## A stripped version is included here, if you want to full one, get it ## on there site. ## ## Affected files: Yes, a lot ## ## Affects DB: Yes, new options, new tables, new rows ## ## Notes: BACKUP, BACKUP, BACKUP before installing ## If you plan to install other mod, remember that the original file ## index.php from PunBB is now named forum.php ## ## Notes: The Pre-Installed Avatars Gallery is stripped from image to not have ## a large distribution. You can add image and category by creating a ## directory under img/pre_avatars and filling it with image ## ## DISCLAIMER: Please note that "mods" are not officially supported by ## PunBB. Installation of this modification is done at your ## own risk. Backup your forum database and any and all ## applicable files before proceeding. ## ## ## Installation: Simple and easy. Same as PunBB and an additional module ## 1. Copy/upload all contents of the directory into the directory where ## you want to run your forums. ## 2. Run install.php from the forum root directory ## e.g. open http://mydomain/myforums/install.php in your browser) ## 3. Follow the instructions. ## 4. Delete/rename install_mod.php ## 5. open http://mydomain/myforums/index.php in your browser ## 6. log as admin and configure ## ## ## Note : If you plan to use the filemanger from FCKeditor, you also need to ## manually edit it's config in : ## \forum\FCKeditor\editor\filemanager\browser\mcpuk\connectors\php\config.php ## ## Upgrade : Run fp_upgrade.php ## ## ## Revision: 1.0 : Initial setup ## ## 1.1 : BBcode in PM ## Invisible category always visible for administrator ## Fixed a bug with the hide/show category from the userside ## Changed install ## Added preavatar gallery mod ## Added Easy Poll mod ## Show/hide avatar in news ## Allow or not comments in news ## Added PM in poll ## Fixed bugs with sticky and news ## Added basic article feature ## ## 1.2 : Fixed default avatar choice when no folder exist ## No more blue line when no status visible ## More BBcode and/or button added ## swf [swf url=xx width=xx height=xx] ## horizontal line [----] ## size [size=xx] [/size] ## text align [align=center] [align=left] [align=right] [/align] ## color ## email ## Choice for who can see the User List ## Some change in article ## Added colored usergroup mod ## Changed install ## Merging forum and category plugin ## Added Cornflower and other great style from klacksa ## Added Collapsable Categories mod ## Added extra box mod ## ## 1.3 : If the news and sticky is not visible, jump to the forum ## Old article section is now called Note in order to not mix with the new ## article section ## New article module (edit/preview/post/view/sort/categories) ## Can use WYSIWYG editor fckeditor 2.0fc from (http://www.fckeditor.net) ## This editor can be used ONLY for article edit/write, NOT for the forum. ## Added subset of Extra BBCodes 1.0.2 (working ones) ## [font= FACE ] [/font] for font face ## [table], [caption], [tr], and [td] for tables ## [s] [/s] for strikethrough (<del> </del>) ## [pre] [/pre] for fixed-width formatting ## [sup] [/sup] and [sub] [/sub] for superscripting ## and subscripting, respectively ## [h] [/h] for highliting text ## [style=" STYLE "] [/style] for custom style ## Upgrade to Easy Poll 1.1.2 ## Added mod Mail Posts 1.0.1 ## Other bug fix/improvment ## Upgraded to punBB 1.2.6
Offline
Small note on this release.
It come with punBB 1.2.6 including the two last changeset.
Include a brand article system.
The old one had been renamed to notes but is still here.
You can choose if you want to see them or not in the menu.
ONLY for writting article, there is an optionnal rtf editor (FCKeditor) that can be used. If you plan to use the image upload from it, then make sure you configure it (see the readme.txt).
Let me know by posting here if you catch any issue or have idea for the next version.
Offline
I'm having a hard time configuring the config.php file of FCK. Using Apache, I changed the following:
$fckphp_config['basedir']=$_SERVER['DOCUMENT_ROOT']; $fckphp_config['UserFilesPath'] = "/images/articles" ;
The articles folder has beed change to 777 but can't upload files nor create sub-folders. What am I doing wrong?
Thanks.
Offline
I have to admin that it took a long time for me also to configure the FCKeditor upload on my machine (for windows) and have it working in upload. I guess they still have a long way to go to make the config more easy.
I didn'T try to make it on Unix, so the only advice I can give you it to check on the FCKeditor site for their troubleshooting and configuration info. This tool is great, but the upload part seems a bit messy to configure (so messy, I even wondered if I should use it or not in Frontpage 1.3
If anyone know a better one or even similar one that doesn't have so much issue, I'm open for suggestion.....
Offline
Thanks for the reply lmarecha.
After looking at the FCK forums, I found the problem. I'm posting this for the benefit of others planning to use FCK as well as those using Apache. What I did was the following:
Edit \FCKeditor\editor\filemanager\browser\mcpuk\connectors\php\config.php and change/uncomment the following:
$fckphp_config['basedir']=$_SERVER['DOCUMENT_ROOT']; $fckphp_config['UserFilesPath'] = "/articles" ;
Note that I'm using domain.com/articles as my FCK files repository. Make sure to create the 'articles' folder.
Now create four folders inside 'articles' (case sensitive):
Files
Flash
Image
Media
For each of these folders, change permission to 777.
That's it!
Note that in order to use FCK, you have to go to punBB's Administion->Plugins->Article and specify 'Yes' on 'Use RTF editor.'
I hope this helps.
Offline
can i upgrade punbb 1.2.6 to frontpage.
Offline
install.php : fresh install of punBB 1.2.6 + fontpage 1.3
fpupgrade.php : upgrade from frontpage 1.2 to 1.3
At this time, you can't upgrade direct from punBB to frontpage. This is possible but you would need to make all the specfic change from the install.php manually.
I put that on my todo list, to have a punBB-frontpage upgrade program. This should be done shortly
Offline
OK, I have uploaded in the download section the file punbb126tofp13.zip
It's an upgrade script.
It will work when upgrading FROM punBB 1.2.5 and 1.2.6 TO punFrontage 1.3
It will not work if you already have some mod installed on your punBB installation.
If it'S the case, then you will have to check/change the file manually.
Please remember to backup both your fiels and your database BEFORE using it. I tested it here but I don't have a big/large database to really see the full result. Comment welcome on this script.
Offline
Laurent,
Any chance of showing the latest articles on the index page as an option? I'm thinking of showing the articles (sorted by descending date) rather than news.
Thanks.
Offline
yes, big chance, just ask..... I'll put that on the TODO list
Offline
Oh, that's great! Let me know what I can do to help since I need that feature ASAP!
I'm setting up a new site and have punFrontpage run it.
Additonally, I've found a small bug when viewing the article. When you are not logged on, the <HR> line is missing after the "Posted by ,author> on <time>".
Here are some more suggestions on Articles:
- As with news, add option to show the number of comments (eg. "Comments (10)")
- Add a block to list the categories
- A "Search" for Articles
- Multi-level Categories (not too important)
Not relating to Articles, is there a awy to move the blocks to the right side instead of the left?
Thanks.
Offline
I'm putting all of that on the todo.
You can changre the whole design of the site as you want. You just have to edit/modify the file 'main.tpl' in the include/template folder.
Offline
That's the current change already done for the next version :
- Option in plugin to choose if comment are visible.
- Option in plugin to choose if article are visible on the frontpage.
- Fixed small bug when viewing the article when you are not logged on
- Show the number of comments for article.
- Add a block to list the article categories.
- Upgrade to Easy Poll 1.1.3
- punBB 1.2.6 to frontpage upgrade script.
Offline
That's good news! Any timeframe for the first set of changes?
Thanks Laurent.
Offline
Fronpage plugin wrote:
Navigation
Make sure, unless you know what you are doing, to have either the menu or the navigation bar visible
Show navigation bar
Yes No
Show the menu
Yes No
But when choosing in Administration Show navigation bar to Yes - there is no appear navigation bar at top, instead only in Administration. Is this problem only with my Fronpage PunBB? Thank You.
Offline
did you refresh the page ?
I got similar problem when the browser start thinking it has an up-to-date page and when it's not.
The nav bar should always be here in the admin console.
The setting is only for the other part (forum, frontpage, notes, article...)
Offline
First, sorry for my bad english and thank You for quick answer
.
lmarecha, i think, Your Frontpage is great work.
lmarecha wrote:
did you refresh the page ?
Certanly... many times
and so on.
But i did not look deep into code yet.
lmarecha wrote:
I got similar problem when the browser start thinking it has an up-to-date page and when it's not.
The nav bar should always be here in the admin console.
The setting is only for the other part (forum, frontpage, notes, article...)
You right, exactly about other parts, instead Administration.
Last edited by den (2006-10-20 06:17:00)
Offline
Good. I did not know insofar it is right, but i made next correct in main.tpl and it is work:
...
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<pun_title>
<pun_desc>
</div>
/* ! */ <pun_navlinks>
</div>
</div>
...add => <pun_navlinks>
Offline
So, as it expected, this resolve the problem with 1px header bottom line too.
Offline
Geting that error :
An error was encountered
Error: Unable to insert into online list.
i just changed include/pms/functions_navlinks.php so that new messages will be chown behind the Messages link in the navbar, feel free to use wherever you want...
<?
global $db, $pun_config, $pun_user;
require PUN_ROOT.'lang/'.$pun_user['language'].'/pms.php';
$result = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'messages WHERE showed=0 AND owner='.$pun_user['id']) or error('Unable to check for new messag
es', __FILE__, __LINE__, $db->error());
list($user_new_messages) = $db->fetch_row($result);
if($pun_config['o_pms_enabled'])
$links[] = '<li id="navpm"><a href="message_list.php">'.$lang_pms['Messages'].' ('.$user_new_messages.')</a>';
?>Offline
by the way... is there an easy way to integrate a 'most recent' box on the frontpage? Probably in the User Box (which i haven't actually found a need for...)
any easy to implement suggestions are welcome ;>
tz8
Offline
I can't post normal messages, or polls with messages that have BBCode in them, or else I get this error.
Fatal error: Cannot redeclare preparse_bbcode() in C:\apachefriends\xampp\htdocs\sea\include\parser.php on line 41
great mod
Offline
I really like this mod! Very handy!
Is it possible to grant article-access to a specific group (without having to make them moderators of course)?
Offline