Implement Blog In Icy Phoenix


Subject: Implement Blog In Icy Phoenix
Well I have implemented a blog in PHP in Icy Phoenix, the blog is original mod of this issue Mod Blog phpbb
It is very easy to do, you've got to just upload the files that come with the package of mod.
After editing.
You have to edit the file includes / constants.php
Search:
Code: [Download] [Hide] [Select]
define('PAGE_TOPIC_OFFSET', 5000);


After add:
Code: [Download] [Hide] [Select]
define('PAGE_BLOG', -23);


Now Search:
Code: [Download] [Hide] [Select]
?>


And before adding:
Code: [Download] [Hide] [Select]
define('BLOG_TABLE', $table_prefix.'blog');
define('BLOG_COM_TABLE', $table_prefix.'blog_com');


Now we have to edit includes / page_header.php
Search:

Code: [Download] [Hide] [Select]
'L_FAQ' => $lang['FAQ'],


And then add:
Code: [Download] [Hide] [Select]
'L_BLOG' => $lang['Blog_title'],


Now search:
Code: [Download] [Hide] [Select]
'U_FAQ' => append_sid('faq.' .$phpEx),


then add:
Code: [Download] [Hide] [Select]
'U_BLOG' => append_sid('blog.'.$phpEx),


Now we have to edit the language language / lang_xxxxx / lang_main.php
Search:
Code: [Download] [Hide] [Select]
?>


And before adding:
Code: [Download] [Hide] [Select]
$lang['Blog_title'] = 'Blog';
$lang['Blog_Com_title'] = 'Blog Comments';

$lang['Blog_archives'] = 'Blog archives';
$lang['Blog_Modify'] = 'modify';
$lang['Blog_Delete'] = 'delete';
$lang['Blog_Comments'] = 'comments';
$lang['Blog_Com_Comment'] = 'Comment';
$lang['Blog_Com_Chars_Rem'] = 'characters remaining';

$lang['Blog_not_Authorized'] = 'You are not authorized';
$lang['Blog_Click_return_Blog'] = 'Click %sHere%s to return to the Blog';
$lang['Blog_Click_return_Com'] = 'Click %sHere%s to return to the Blog comments';
$lang['Blog_add_text'] = 'Add text for the Blog';
$lang['Blog_Confirm_delete'] = 'Are you sure you want to delete this?';
$lang['Blog_added'] = 'The event was added in to the Blog';


Now is just edit the templates / xxxxx / overall_header.tpl
Search:
Code: [Download] [Hide] [Select]
<a href="{FULL_SITE_PATH}{U_PORTAL}">{L_HOME}</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


And after that add:
Code: [Download] [Hide] [Select]
<a href="/blog.php">Blog</a>&nbsp;&nbsp;<img src="{FULL_SITE_PATH}{IMG_MENU_SEP}" alt="" />&nbsp;


And after that, and you can upload the files edited and the mod and then run the mysql_install.php

I hope you have enjoyed until then;)
I don't know if this is going in this section, is the first time that post here.

Here the capture
blogimplementadoipzr5

See demo in http://www.lifedesignart.net/blog.php

Last edited by salcedaka on Sat 25 Oct, 2008 20:32; edited 3 times in total
Subject: Re: Implement Blog In Icy Phoenix
There are no problems with this modification running with Icy Phoenix? Is there a demo site everyone can see this working on?

Moving to Icy Phoenix Customizations forum for the meantime. :?

Subject: Re: Implement Blog In Icy Phoenix
It looks really simple and nice... does it support BBCodes?


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.3625s (PHP: 48% SQL: 52%)
SQL queries: 14 - Debug Off - GZIP Enabled