tibi2007 [ Sat 29 Mar, 2008 14:45 ] Post subject: Blog Mod
is there any blog mod that works with icy phoenix?
i found wp united that integrates withs phpbb 2.x.x but i don't know how to install it withs icy phoenix. anyone can help me?
JHOSMAN [ Sat 29 Mar, 2008 20:03 ] Post subject: Re: Blog Mod
It would be interesting to connect with a blog Icyphoenix Wordpress but on the same host where this forum, but with the news that are published on the portal.
It can be done but it phpBB2
tibi2007 [ Sat 29 Mar, 2008 22:28 ] Post subject: Re: Blog Mod
i have the mod but it works with phpbb2. the question is that can anyone help me integrated with icy phoenix?
##############################################################
## MOD Title: WP-UNITED WordPress - phpBB Integration Mod
## MOD Author: Jhong <
> (John Wells) www.wp-united.com
## MOD Description: Tightly integrates phpBB2 and WordPress.
## MOD Version: 0.9.5-beta
##
## Installation Level: (Medium)
## Installation Time: 35 Minutes
## Files To Edit:
## includes/page_header.php
## includes/page_tail.php
## viewonline.php
## admin/index.php
## includes/bbcode.php
## includes/constants.php
## includes/functions.php
## templates/subSilver/overall_header.tpl
## language/lang_english/lang_main.php
## language/lang_english/lang_admin.php
## login.php
## includes/usercp_register.php
## templates/subSilver/overall_footer.tpl
## includes/usercp_viewprofile.php
## templates/subSilver/viewtopic_body.tpl
## templates/subSilver/profile_view_body.tpl
## templates/subSilver/privmsgs_read_body.tpl
## templates/subSilver/subSilver.cfg
## viewtopic.php
## privmsg.php
##
## Included Files: templates/subsilver/blog.tpl
## blog.php
## wp-united/wordpress-entry-point.php
## wp-united/wp-functions.php
## wp-united/wp-template-loader.php
## wp-united/mod-settings.php
## wp-united/wp-integration-class.php
## wp-united/wpu-actions.php
## wp-united/wpu-plugin.php
## wp-united/wpu-latest-posts.php
## wp-united/wpu-template-funcs.php
## wp-united/widgets.php
## wp-united/abstractify.php
## wp-united/wpu-helper-funcs.php
## wp-united/options.php
## wp-united/cache/cache_readme.txt
## admin/wpu_usermap.php
## admin/admin_wordpress.tpl
## language/lang_english/lang_wordpress_admin.php
## language/lang_english/lang_wp-united.php
## templates/subSilver/blog.tpl
## templates/subSilver/wpu-blogs-homepage.css
## templates/subSilver/images/lang_english/icon_wpu_blog.gif
## templates/subSilver/images/lang_english/wpu_no_avatar.gif
## templates/subSilver/images/lang_english/wpu_unregistered.gif
## templates/subSilver/admin/wordpress_admin_body.tpl
## templates/subSilver/images/wp-united-working.gif
## templates/subSilver/images/wp-united-logo.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: Make sure you follow the instructions in the DIY INSTRUCTIONS section, in order for this MOD to work properly!
##############################################################
## Last updated: 04 June 2007
##
## MOD History: Refer to the included changelog for details.
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
After installing this mod, you must complete the following steps:
STEP 1. Install WordPress before installing this mod, and ensure it is workng properly. If you need help, look at the instructions on the WordPress Codex, here: http://codex.wordpress.org/Installing_WordPress
STEP 2. Go to your phpBB Admin Control Panel, and run the Setup Wizard on the "WP-United" page. Further instructions are included there to help you.
NOTEs:
- You can move/rename the blog.php file to wherever you like. For example, you could have it replace WordPress' index.php if you don't want our WordPress path to change. Just run the setup Wizard after you move it, and set the appropriate location, then open the file and enter the relative path back to your forum.
- You must run the Setup Wizard all the way through, and be able to reach Step 6 error-free. If you don't, then don't expect WP-United to work properly!
- If WordPress is already installed, and you plan to integrate logins, please run the integration mapping tool after running the Setup Wizard.
- You should review the blog.tpl and make any changes necessary if you re not using the stock subSilver theme.
- The "admin" WordPress user will never be integrated. So therefore the phpBB user named "admin" cannot have a corresponding WordPress account. This is for security reasons.
- Whenever you upgrade WP-United or WordPress, you MUST delete any files that have appeared in the WP-United/cache folder. (Don't worry, they will be automatically recreated)
- Additional options can be found in your wp-united/options.php file.
- If you are integrating users, be sure to review the mapping tool in the WP-United Admin Panel every so often to ensure that everything is running smoothly.
#
#-----[ SQL ]------------------------------------------
#
# (Use correct table prefix if not phpbb)
#
CREATE TABLE `phpbb_wpu_integration` (
`fullUri` VARCHAR( 255 ) NOT NULL, `fullPath` VARCHAR( 255 ) NOT NULL,
`wpLogin` TINYINT( 1 ) NOT NULL, `permMapping` VARCHAR( 511 ) NOT NULL,
`showInside` VARCHAR ( 255 ) NOT NULL, `dtdChange` TINYINT ( 1 ) NOT NULL,
`ownBlogs` TINYINT ( 1 ) NOT NULL, `profileBtn` TINYINT ( 1 ) NOT NULL,
`postBtn` TINYINT ( 1 ) NOT NULL, `styleSwitch` TINYINT ( 1 ) NOT NULL,
`installStage` TINYINT ( 1 ) NOT NULL, `blogsEntry` VARCHAR ( 255 ) NOT NULL,
`blogHomePage` TINYINT ( 1 ) NOT NULL, `blogHomeTitle` VARCHAR( 255 ) NOT NULL,
`blogIntro` VARCHAR( 255 ) NOT NULL, `numBlogsPerPage` TINYINT ( 1 ) NOT NULL,
`wpublStyles` TINYINT ( 1 ) NOT NULL, `encoding` VARCHAR ( 32 ) NOT NULL,
`censorPosts` TINYINT ( 1 ) NOT NULL, `wpHdrSimple` TINYINT( 1 ) NOT NULL,
`cssFirst` VARCHAR( 255 ) NOT NULL, `wpPage` VARCHAR( 255 ) NOT NULL,
`pPadding` VARCHAR( 255 ) NOT NULL, `ugRun` TINYINT( 1 ) NOT NULL,
`mustLogin` TINYINT ( 1 ) NOT NULL, `wpuVer` VARCHAR( 32 ) NOT NULL
);
ALTER TABLE phpbb_users ADD user_wpublog_id VARCHAR(10) NULL DEFAULT NULL;
ALTER TABLE phpbb_users ADD user_wpuint_id VARCHAR(10) NULL DEFAULT NULL;
#
#-----[ COPY ]------------------------------------------
#
# Note: blog.php is the entry point to your integrated blog. You can put it anywhere you like, and rename it to anything you
# like, provided you open it and provide the correct path to phpBB where shown. If you want to put it in your WordPress root
# as index.php, it is OK to rename the existing WordPress' index.php to something like index-old.php
copy blog.php to blog.php
copy wp-united/wordpress-entry-point.php to wp-united/wordpress-entry-point.php
copy wp-united/wp-functions.php to wp-united/wp-functions.php
copy wp-united/wp-template-loader.php to wp-united/wp-template-loader.php
copy wp-united/wp-integration-class.php to wp-united/wp-integration-class.php
copy wp-united/mod-settings.php to wp-united/mod-settings.php
copy wp-united/wpu-actions.php to wp-united/wpu-actions.php
copy wp-united/wpu-plugin.php to wp-united/wpu-plugin.php
copy wp-united/wpu-latest-posts.php to wp-united/wpu-latest-posts.php
copy wp-united/wpu-template-funcs.php to wp-united/wpu-template-funcs.php
copy wp-united/wpu-widgets.php to wp-united/wpu-widgets.php
copy wp-united/abstractify.php to wp-united/abstractify.php
copy wp-united/options.php to wp-united/options.php
copy wp-united/cache/cache_readme.txt to wp-united/cache/cache_readme.txt
copy wp-united/wpu-helper-funcs.php to wp-united/wpu-helper-funcs.php
copy admin/admin_wordpress.php to admin/admin_wordpress.php
copy admin/wpu_usermap.php to admin/wpu_usermap.php
copy templates/subSilver/blog.tpl to templates/subSilver/blog.tpl
copy templates/subSilver/wpu-blogs-homepage.css to templates/subSilver/wpu-blogs-homepage.css
copy templates/subSilver/admin/wordpress_admin_body.tpl to templates/subSilver/admin/wordpress_admin_body.tpl
copy templates/subSilver/images/wp-united-working.gif to templates/subSilver/images/wp-united-working.gif
copy templates/subSilver/images/wp-united-logo.gif to templates/subSilver/images/wp-united-logo.gif
copy language/lang_english/lang_wordpress_admin.php to language/lang_english/lang_wordpress_admin.php
copy language/lang_english/lang_wp-united.php to language/lang_english/lang_wp-united.php
copy templates/subSilver/images/lang_english/icon_wpu_blog.gif to templates/subSilver/images/lang_english/icon_wpu_blog.gif
copy templates/subSilver/images/lang_english/wpu_no_avatar.gif to templates/subSilver/images/lang_english/wpu_no_avatar.gif
copy templates/subSilver/images/lang_english/wpu_unregistered.gif to templates/subSilver/images/lang_english/wpu_unregistered.gif
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]--------------------------------------------
#
// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);
#
#-----[ FIND ]------------------------------------------
#
global $db;
if (!is_numeric($user) || $force_str)
#
#-----[ BEFORE, ADD ]------------------------------------------
#
global $IN_WORDPRESS;
if ($IN_WORDPRESS) {
return wp_get_userdata($user);
} else { //do standard phpBB function
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Chaotic [ Wed 11 Jun, 2008 23:15 ] Post subject: Re: Blog Mod
I'm so glad I found this topic. I'm looking to add this to my site as well. I went to the ACP and started the "Setup Wizard", but got this error when continuing to STEP 5:
Fatal error: Cannot redeclare get_page() (previously declared in /home/thelo7/public_html/MAcommunity/includes/functions.php:1210) in /home/thelo7/public_html/MAcommunity/wp-includes/post.php on line 1704
This would be a fantastic addition to IP because it would allow each user to create and manage their own personal blog.
Any help would greatly be appreciated.
Thanks
Huor [ Wed 11 Jun, 2008 23:20 ] Post subject: Re: Blog Mod
dunno about it - but could it be that this function "get_page()" is declared twice in different ways within the mentioned files?
Chaotic [ Wed 11 Jun, 2008 23:36 ] Post subject: Re: Blog Mod
Thats what I was thinking but if you compare both of the files mentioned, it's a headache. There are so many "get_page" lines.