https://www.icyphoenix.com/viewtopic.php?f=26&t=4352 ----------------------------------- Chaotic Tue 24 Jun, 2008 03:20 The Blog Mod - Integrating It Into IP ? ----------------------------------- Having some trouble here and I hope Kas or Lopalong will have some knowledge regarding the error I'm receiving. I've installed the mod quite effortlessly but am getting a Security Alert from CrackerTracker upon blog creation. Is there a setting I can edit in a CBACK file somewhere that will allow full cooperation with this modification? Security Alert: [spoiler]SECURITY ALERT » » » » CBACK CrackerTracker has detected a potential attack on this site with a worm or exploit script so the Security System stopped the script. If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a description what you have done before you could see this page, that the Admin has the possibility to fix the problem.[/spoiler] Here is the modification location and install directions. Thanks to anyone who can get me on the right track! http://www.outshine.com/software/the-blog-mod/ [spoiler] [code linenumbers=false]############################################################## ## MOD Title: The Blog Mod ## MOD Author: aboyd < n/a > (Tony Boyd) http://www.outshine.com/ ## MOD Description: Adds a blogging system for each member of a phpBB forum. ## MOD Version: 1.0.0 ## ## Installation Level: (Intermediate) ## Installation Time: 20 Minutes ## Files To Edit: index.php, ## viewtopic.php, ## admin/admin_groups.php, ## includes/constants.php, ## includes/page_header.php, ## includes/usercp_viewprofile.php, ## language/lang_english/lang_admin.php, ## templates/subSilver/index_body.tpl, ## templates/subSilver/overall_header.tpl, ## templates/subSilver/profile_view_body.tpl, ## templates/subSilver/subSilver.cfg, ## templates/subSilver/viewtopic_body.tpl, ## templates/subSilver/admin/group_edit_body.tpl ## Included Files: included_files/*.* ## License: http://opensource.org/licenses/gpl-license.php GPL v2 ############################################################## ## For security purposes, please check: http://www.outshine.com/ for the latest ## version of this MOD. ############################################################## ## Author Notes: ## ## Advanced blogs are disabled by default because they allow bloggers to ## modify the HTML of their blog page. This is a small security hole, so only ## allow people you TRULY trust to use the advanced settings. ## ## It is IMPORTANT to note that if you have CyberAlien's eXtreme Styles Mod ## installed, any blogger using the advanced blogging system will ALSO be able ## to add PHP code to the blog template, which is a HUGE security hole. USE ## DUE DILIGENCE. ## ## ----------------------------------------------- ## ## This mod was originally created by hyperion. When it was abandoned, a ## developer using the handle "hardworking" took over. When he disappeared, ## aboyd took over. That's where we're at now. ## ## ----------------------------------------------- ## ## PLEASE NOTE: This is built for phpBB 2. That's phpBB TWO. If you want a ## blogging system for the new phpBB 3, try searching phpbb.com. ## ## ----------------------------------------------- ## ## I want to thank Mark James for creating the Silk icon set and giving it ## away under a Creative Commons license. You can read more about it here: ## http://www.famfamfam.com/lab/icons/silk/ ## ## ----------------------------------------------- ## ## A researcher reviewed this product, and concluded that it has a ## vulnerability to SQL injection. There's just one problem: the conclusion ## is incorrect. No solution is required, no patch will be issued. You may ## ignore the April 2006 report by Qex. This code does not have the SQL ## injection vulnerability he describes. ############################################################## ## Changelog: ## ## 2008-Jun-23 - version 1.0.0 ## - Now uses the Silk icon set by Mark James, only used in a few areas so far. ## - Incorporates the 2 security patches issued after the previous version. Thanks siava! ## - The patches broke the looping through blog entry replies. Fixed. ## - The patches also broke the blog name on the news page. Fixed. ## - The patches also broke the blog image. Fixed. ## - Extensive revisions to this file. Should be more readable & organized. ## - Includes bugfix for Unicode categories in Internet Explorer. Thanks Willow! ## - Removed theblogmod.com URL from all files, as that URL is dead. ## - Fixed minor spelling errors. ## - "View all entries" link -> "Display entries from" menu -> "Go" = errors. Fixed. ## - The "Display posts from" menu should refer to replies, not posts. Fixed. ## - Clarified a bit of text on the Configuration page. ## - Anonymous users who use Shoutbox without a URL have their name as a link. Fixed. ## - Added a few extra options to the "Curently" feature (e.g. Currently Watching). ## ## 2006-Apr-10 - version 0.2.4b ## - Tested and certified to work with phpBB 2.0.19. ## - When viewing an entry, comments might be squished in Firefox. Fixed. ## - When viewing all entries, the table might be squished in Firefox. Fixed. ## - Enhanced DIY INSTRUCTIONS for those having problems with image uploads. ## - On main blog page, right sidebar disappeared if you had a long entry title. Fixed. ## - Trackbacks were being lost due to an SQL error. Fixed. ## - Trackbacks wouldn't display if there were also replies. Fixed. Thanks Willow! ## - Comment popup had a doubled masthead & broken div. Fixed. ## - Tiny change so this would install on forums that use the reputation mod. ## - Made smilies have absolute URLs in RSS feed, so they should display now. ## - Added db_update.php & explanation in the SQL section. Thanks Dragonsys! ## - The default for "Blog Accessibility" wasn't being honored during blog setup. Fixed. ## - The default for "Reply Privileges" wasn't being honored during blog setup. Fixed. ## ## 2006-Apr-10 - version 0.2.4a ## - No longer overwrites your existing files with unmodded 2.0.20 files! ## - Backup files removed (never should have been included, they're unnecessary). ## - "WS_FTP.log" files removed (also never should have been included). ## - Hardworking's personal files removed (also never should have been included). ## - File organization cleaned up (prep work for EasyMod compliance). ## - Removed .htaccess files (Hardworking wrote: "it is not active yet"). ## - Removed text referring to a db_update.php file, as such a file does not exist. ## - Removed some redundant instructions in this file. ## - Fixed SQL error for the entry_last_post_userid field. ## - Fixed SQL error for the phpbb_weblog_entries table. ## - Some instructions required you to find text that does not appear in phpBB 2.0.20. Fixed. ## - Added DIY INSTRUCTIONS section for the file permissions. ## - The file weblog_header.htm broke all the navigation links & avatars in each blog. Fixed. ## - The simpleGray style is gone, but was still set in the database. Fixed. ## - weblog_entry_body.htm had broken images. Fixed. ## - weblog_body.htm, weblog_s_body.htm, weblog_allentries_body.htm had broken images. Fixed. ## - weblog.php needed POST_ENTRY_IMG. Fixed. ## - Revised the COPY section of this file for EasyMod compliance. ## - Revised header section of this file for EasyMod compliance. ## - EasyMod compliant. ## ## 2006-Apr-09 - version 0.2.4 ## - Added weblogs_news.php. ## - Updated database table for new install. ## - Fixed minor bugs. ## ## 2006-Mar-01 - version 0.2.4 ## - Currently testing SEO and short URL... pending released! ## - Category addon. Thanks Willow! ## - Fixed some dead links. ## ## 2005-Dec-02 - version 0.2.3c ## - Upgrade support to phpbb 2.0.18 released. ## - Fixed to reduce sql query and loading of weblogs.php. Thanks Siava! ## - Fixed bugs installation when using easymod. ## - Updated installation guide. ## - Reduced to 4 templates. ## ## 2005-Oct-25 - version 0.2.3b ## - Now comes with 15 templates. ## ## 2005-May-18 - Version 0.2.3 ## - Fixed usernames not being showed for latest post link when viewing all entries. ## - Fixed contributors not being able to edit/add a new entry. ## - Contributors now get same access as admins (entries viewable & editable except owner-only entries). ## - Fixed friends and blocked pages not being able to block or add users. ## - Changed orangeBlue faceplate so that it also uses BlogCP settings. ## - Fixed "Friends Only" authentication problem introduced in 0.2.2. ## - Added a new style "Infinity". Mozilla/Firefox users get a special treat. ## ## 2005-May-06 - Version 0.2.2 ## - Improved SQL in several places, combining some queries together. ## - Improved file handling. ## - Numerous small tweaks. ## - Administrators can now see ALL non-personal entries. ## - Fixed entry reply and trackback "interweaving." ## - Fixed timezone bug (again, hopefully last time). ## - Fixed "Users browsing this blog" feature. Should work with other DBMS. ## - Fixed admins not being able to edit entries. ## - Updated to use the same fixes from phpBB 2.0.14 (this mod uses parts of phpBB). ## - Fixed possible SQL injection vulnerabilities in friends & blocked user pages. ## ## 2005-Apr-10 - Version 0.2.1 ## - Two new template files for message and confirmation pages. ## - Added small messages shown when users get advanced mode privileges. ## - Added small message telling how much a template can be changed in easy mode. ## - Added ability to access weblogs by username (weblog.php?u=username). ## - Added [cut] feature to allow weblog owners to shorten the entry on the main page. ## - Added icons to replace the "[Edit]" and "[Delete]" on the main weblog page. ## - Added "Users browsing this blog" feature. ## - Replies and trackbacks are now interweaved. ## - Fixed "hidden" emails not being hidden. ## - Fixed timezone bug. ## - Fixed special characters not properly being displayed (UTF-8 issue). ## - Fixed calendar defaulting to January. ## - Added weblog censoring to places where it was missing. ## - Fixed weblog censoring that removed currently text. ## - Fixed slashes being added to quotes when previewing. ## - Fixed avatars not being shown on the friends page. ## - Fixed RSS Link. ## - Fixed "Deleted weblogs being assigned to new users" bug. ## ## 2005-Jan-23 - Version 0.2.0 ## - Revamped weblog fetching. Now it gets the weblogs-by-latest-entries perfectly. ## - Trackbacks can be deleted. ## - Post/pre dated entries added. ## - Numerous small changes and improvements, as well as bugfixes. ## ## 2004-Oct-16 - Version 0.1.0 ## - Initial release. ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ DIY INSTRUCTIONS ]------------------------------------------ # Ensure that the following have the appropriate permissions: weblogs/ - 777 weblogs/upload/ - 755 weblogs/templates/ - 755 weblogs/templates/(any template folder) - 755 any .htm and .cfg file that comes in the zip file - 755 all else - 644 (note 1 from aboyd: I was unable to upload images until I changed weblogs/upload to be 777, but try 755 first, it's more secure) (note 2 from aboyd: After you are done you must add select users to a group that has blogging rights, or else go to Weblog Admin panel and set "Require Authentication" to "no" so that ALL members can start a blog.) # #-----[ SQL ]------------------------------------------ # Replace "phpbb_" with the prefix of your forums. # If you do not understand how to do this part, use EasyMod, or # upload the db_update.php file to your server and run it. # Do NOT run both the db_update.php file & this SQL. Pick ONE. # ALTER TABLE phpbb_groups ADD group_allow_weblogs TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'; ALTER TABLE phpbb_users ADD user_allowweblog TINYINT(1) UNSIGNED NOT NULL DEFAULT '1'; ALTER TABLE phpbb_users ADD user_allowadvweblog TINYINT(1) UNSIGNED NOT NULL DEFAULT '0'; ALTER TABLE phpbb_users ADD user_showfriends TINYINT(1) UNSIGNED NOT NULL DEFAULT '1'; ALTER TABLE phpbb_users ADD user_weblog MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0'; CREATE TABLE phpbb_weblog_actions ( action_id SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL, action_text VARCHAR(50) DEFAULT '', action_url VARCHAR(100) DEFAULT '', PRIMARY KEY (action_id) ); CREATE TABLE phpbb_weblog_blocked ( owner_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', blocked_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (owner_id, blocked_id) ); CREATE TABLE phpbb_weblog_config ( config_name VARCHAR(255) NOT NULL DEFAULT '', config_value VARCHAR(255) NOT NULL DEFAULT '', PRIMARY KEY (config_name) ); CREATE TABLE phpbb_weblog_contributors ( weblog_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', user_id MEDIUMINT(8) NOT NULL DEFAULT '0', PRIMARY KEY (weblog_id, user_id) ); CREATE TABLE phpbb_weblog_entries ( entry_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', weblog_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', entry_access TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', entry_subject VARCHAR(60) NOT NULL DEFAULT '', entry_text TEXT NOT NULL DEFAULT '', bbcode_uid VARCHAR(10) NOT NULL DEFAULT '', entry_mood SMALLINT(5) NOT NULL DEFAULT '0', entry_currently SMALLINT(5) NOT NULL DEFAULT '0', currently_text VARCHAR(60) NOT NULL DEFAULT '', entry_time INT(11) NOT NULL DEFAULT '0', entry_views MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', enable_bbcode TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', enable_smilies TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', enable_html TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', memorable TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', no_replies TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', entry_replies MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', entry_last_post_userid MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', entry_last_post_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', entry_poster_id MEDIUMINT(8) NOT NULL DEFAULT '0', entry_trackbacks SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', entry_deleted TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (entry_id), KEY (weblog_id), KEY (entry_last_post_userid), KEY (entry_last_post_id), KEY (entry_poster_id) ); CREATE TABLE phpbb_weblog_friends ( owner_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', friend_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (owner_id, friend_id) ); CREATE TABLE phpbb_weblog_mood_sets ( set_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', set_name VARCHAR (255) NOT NULL DEFAULT '', PRIMARY KEY (set_id) ); CREATE TABLE phpbb_weblog_moods ( mood_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', mood_text VARCHAR (255) NOT NULL DEFAULT '', mood_url VARCHAR (255) NOT NULL DEFAULT '', mood_set MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (mood_id), KEY (mood_set) ); CREATE TABLE phpbb_weblog_replies ( reply_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', entry_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', poster_id MEDIUMINT(8) NOT NULL DEFAULT '0', post_time INT(11), post_username VARCHAR(25) NOT NULL DEFAULT '', post_subject VARCHAR (60) NOT NULL DEFAULT '', enable_bbcode TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', enable_smilies TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', enable_html TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', enable_sig TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', reply_text TEXT NOT NULL DEFAULT '', bbcode_uid VARCHAR(10) NOT NULL DEFAULT '', PRIMARY KEY (reply_id), KEY (entry_id), KEY (poster_id) ); CREATE TABLE phpbb_weblog_shoutbox ( shout_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', shout_weblog MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', shout_text TEXT NOT NULL DEFAULT '', shout_poster MEDIUMINT(8) NOT NULL DEFAULT '0', shout_username VARCHAR(25) NOT NULL DEFAULT '', bbcode_uid VARCHAR (10) NOT NULL DEFAULT '', shout_time INT(11) NOT NULL DEFAULT '0', shout_www VARCHAR (100) NOT NULL DEFAULT '', PRIMARY KEY (shout_id), KEY (shout_weblog), KEY (shout_poster) ); CREATE TABLE phpbb_weblog_templates ( template_id SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', template_name VARCHAR(100) NOT NULL DEFAULT '', template_dir VARCHAR (100) NOT NULL DEFAULT '', template_private TINYINT(1) NOT NULL DEFAULT '0', PRIMARY KEY (template_id) ); CREATE TABLE phpbb_weblog_trackbacks ( tb_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', tb_entry MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', tb_blog VARCHAR (255) NOT NULL DEFAULT '', tb_time INT(11) NOT NULL DEFAULT '0', tb_excerpt VARCHAR(255) NOT NULL DEFAULT '', tb_url VARCHAR(255) NOT NULL DEFAULT '', tb_title VARCHAR(255) NOT NULL DEFAULT '', PRIMARY KEY (tb_id), KEY (tb_entry) ); CREATE TABLE phpbb_weblogs ( weblog_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', template_id SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', weblog_name VARCHAR(60) NOT NULL DEFAULT '', weblog_desc VARCHAR(255) NOT NULL DEFAULT '', weblog_auth TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', replies_auth TINYINT(4) UNSIGNED NOT NULL DEFAULT '0', weblog_entries MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', entries_perpage SMALLINT(5) UNSIGNED NOT NULL DEFAULT '5', post_reply_text VARCHAR(60) NOT NULL DEFAULT '', replies_text VARCHAR(60) NOT NULL DEFAULT '', weblog_create_date INT(11) NOT NULL DEFAULT '0', weblog_views MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', weblog_advanced TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', weblog_shoutbox_desc TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', show_profile_info TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', show_calendar TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', show_contact_info TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', show_weblog_info TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', show_shoutbox TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', reply_in_popup TINYINT(1) UNSIGNED NOT NULL DEFAULT '1', deleted TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', weblog_last_entry_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', mood_set MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0', custom_block TEXT NOT NULL DEFAULT '', custom_block_title VARCHAR (64) NOT NULL DEFAULT '', background_color VARCHAR(6) NOT NULL DEFAULT '', entry_bg_color VARCHAR(6) NOT NULL DEFAULT '', border_color VARCHAR(6) NOT NULL DEFAULT '', background_image VARCHAR(255) NOT NULL DEFAULT '', background_image_fixed TINYINT(1) NOT NULL DEFAULT '0', tile_bg VARCHAR(9) NOT NULL DEFAULT '', sb_face_color VARCHAR(6) NOT NULL DEFAULT '', sb_highlight_color VARCHAR(6) NOT NULL DEFAULT '', sb_shadow_color VARCHAR(6) NOT NULL DEFAULT '', sb_3dlight_color VARCHAR(6) NOT NULL DEFAULT '', sb_arrow_color VARCHAR(6) NOT NULL DEFAULT '', sb_track_color VARCHAR(6) NOT NULL DEFAULT '', sb_darkshadow_color VARCHAR(6) NOT NULL DEFAULT '', font SMALLINT(5) NOT NULL DEFAULT '0', font_color VARCHAR(6) NOT NULL DEFAULT '000000', font_size TINYINT(2) NOT NULL DEFAULT '0', normal_link_color VARCHAR(6) NOT NULL DEFAULT '', active_link_color VARCHAR(6) NOT NULL DEFAULT '', hover_link_color VARCHAR(6) NOT NULL DEFAULT '', visited_link_color VARCHAR(6) NOT NULL DEFAULT '', weblog_title_color VARCHAR(6) NOT NULL DEFAULT '', entry_title_color VARCHAR(6) NOT NULL DEFAULT '', date_time_color VARCHAR(6) NOT NULL DEFAULT '', block_title_color VARCHAR(6) NOT NULL DEFAULT '', block_bg_color VARCHAR(6) NOT NULL DEFAULT '', block_border_color VARCHAR(6) NOT NULL DEFAULT '', bg_ypos VARCHAR(6) NOT NULL DEFAULT '', bg_xpos VARCHAR(6) NOT NULL DEFAULT '', normal_link_underline TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', active_link_underline TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', hover_link_underline TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', visited_link_underline TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', weblog_title_font_size TINYINT(2) UNSIGNED NOT NULL DEFAULT '16', entry_title_font_size TINYINT(2) UNSIGNED NOT NULL DEFAULT '12', date_time_font_size TINYINT(2) UNSIGNED NOT NULL DEFAULT '14', block_title_font_size TINYINT(2) UNSIGNED NOT NULL DEFAULT '14', cblock_bbcode_uid VARCHAR(10) NOT NULL DEFAULT '', PRIMARY KEY (weblog_id), KEY (template_id), KEY (mood_set) ); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (1, 'Eating', 'action_eat.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (2, 'Listening to', 'action_listen.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (3, 'Playing', 'action_play.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (4, 'Reading', 'action_read.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (5, 'Watching', 'action_watch.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (6, 'Working', 'action_work.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (7, 'Gaming', 'action_game.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (8, 'Partying', 'action_party.png'); INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (9, 'Shopping', 'action_shop.png'); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('enable_mod', 1); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('no_avatars_index', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_name', '%s's blog'); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_desc', 'Welcome to my Blog'); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('main_sorttype', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('main_sortorder', 'desc'); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('main_blogsperpage', 10); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('use_default_faceplates', 1); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('condense_index', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('censor_weblog', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_auth', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_reply_auth', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_entries_perpage', 5); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('require_auth', 1); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_post_reply_text', '(Post your comment)'); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('default_replies_text', '%s Comments'); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('index_list_by_username', 0); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('shoutbox_flood_delay', 15); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('max_pic_width', 500); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('max_pic_height', 500); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('max_pic_size', 131072); INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('pic_upload_enabled', 1); INSERT INTO phpbb_weblog_mood_sets (set_id, set_name) VALUES (0, 'Default Set'); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (1, 'Angelic', 'mood_angelic.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (2, 'Confused', 'mood_confused.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (3, 'Cool', 'mood_cool.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (4, 'Silly', 'mood_silly.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (5, 'Very Sad', 'mood_verysad.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (6, 'Shocked', 'mood_shocked.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (7, 'Evil', 'mood_evil.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (8, 'In Love', 'mood_love.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (9, 'Amused', 'mood_amused.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (10, 'Angry', 'mood_angry.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (11, 'Neutral', 'mood_neutral.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (12, 'Sick', 'mood_sick.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (13, 'Scared', 'mood_scared.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (14, 'Happy', 'mood_happy.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (15, 'Fed Up WIth Life', 'mood_fedup.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (16, 'Distorted', 'mood_distorted.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (17, 'Hypnotized', 'mood_hypnotized.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (18, 'Embarrased', 'mood_embarrased.gif', 0); INSERT INTO phpbb_weblog_moods (mood_id, mood_text, mood_url, mood_set) VALUES (19, 'Sleepy', 'mood_sleepy.gif', 0); INSERT INTO phpbb_weblog_templates (template_id, template_name, template_dir) VALUES (1, 'Infinity', 'Infinity'); -- -- Dumping table for category -- ALTER TABLE `phpbb_weblog_entries` ADD `category` VARCHAR( 60 ) NOT NULL DEFAULT ''; -- -- Dumping table for weblogs news -- INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'hot_level', '5' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'latest_entry_max', '5' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'latest_reply_max', '10' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'show_action', '1' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'show_comments', '1' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'show_latest_entries', '1' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'show_latest_replies', '1' ); INSERT INTO `phpbb_weblog_config` ( `config_name` , `config_value` ) VALUES ( 'no_blocks_text', 'The Administrator of this website has chosen not to show any blocks on this page' ); # #-----[ COPY ]------------------------------------------ # copy included_files/*.* to *.* copy included_files/admin/*.* to admin/*.* copy included_files/images/xml.gif to images/xml.gif copy included_files/images/weblogs/*.* to images/weblogs/*.* copy included_files/includes/*.* to includes/*.* copy included_files/language/lang_english/*.* to language/lang_english/*.* copy included_files/templates/subSilver/*.* to templates/subSilver/*.* copy included_files/templates/subSilver/admin/*.* to templates/subSilver/admin/*.* copy included_files/templates/subSilver/images/lang_english/icon_weblog.gif to templates/subSilver/images/lang_english/icon_weblog.gif copy included_files/weblogs/*.* to weblogs/*.* copy included_files/weblogs/upload/index.htm to weblogs/upload/index.htm copy included_files/weblogs/templates/index.htm to weblogs/templates/index.htm copy included_files/weblogs/templates/Infinity/*.* to weblogs/templates/Infinity/*.* copy included_files/weblogs/templates/Infinity/images/*.* to weblogs/templates/Infinity/images/*.* copy included_files/weblogs/templates/Infinity/lang_english/*.* to weblogs/templates/Infinity/lang_english/*.* # #-----[ OPEN ]------------------------------------------ # OPTIONAL - Adds Recent Weblogs to your index.php page (Make sure to do the template changes as well) # index.php # #-----[ FIND ]------------------------------------------ # // // Start output of page // # #-----[ BEFORE, ADD ]------------------------------------------ # // // Begin - "The Blog Mod" changes // include($phpbb_root_path . 'includes/weblogs_common.'.$phpEx); include($phpbb_root_path . 'includes/functions_weblog.'.$phpEx); // // Get Weblog Data // $weblog_data = fetch_visible_weblogs (); for ($i = 0; $i < count($weblog_data) && $i < 10; $i++) { if ( !empty($recent_weblogs) ) { $recent_weblogs .= ', '; } else if ( $weblog_data[$i]['user_level'] == MOD ) { $recent_weblogs .= ' style="color:#' . $theme['fontcolor2'] . '">'; } else { $recent_weblogs .= '>'; } if ( $weblog_config['index_list_by_username'] ) { $recent_weblogs .= $weblog_data[$i]['username'] . ''; } else { $recent_weblogs .= $weblog_data[$i]['weblog_name'] . ''; } } // // End - "The Blog Mod" changes // # #-----[ FIND ]------------------------------------------ # 'NEWEST_USER' => sprintf($lang['Newest_user'], '', $newest_user, ''), # #-----[ AFTER, ADD ]------------------------------------------ # 'MOST_RECENT_WEBLOGS' => sprintf( (( $weblog_config['index_list_by_username'] ) ? $lang['Most_recent_weblogs_user'] : $lang['Most_recent_weblogs']) , $recent_weblogs), # #-----[ OPEN ]------------------------------------------ # OPTIONAL - places a "Blog" button in viewtopic.php, next to their AIM, MSN, etc. icons (Make sure to do the template changes as well) # viewtopic.php # #-----[ FIND ]------------------------------------------ # Some mods replace "u.username, u.user_id, u.user_posts, u.user_from," with u.*. # // // Go ahead and pull all data for this topic // $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, # #-----[ IN-LINE FIND ]------------------------------------------ # u.user_posts, u.user_from, # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # u.user_weblog, # #-----[ FIND ]------------------------------------------ # $yim_img = ( $postrow[$i]['user_yim'] ) ? '' . $lang['YIM'] . '' : ''; $yim = ( $postrow[$i]['user_yim'] ) ? '' . $lang['YIM'] . '' : ''; # #-----[ AFTER, ADD ]------------------------------------------ # $weblog_img = ( $postrow[$i]['user_weblog'] ) ? '' . $lang['Weblog'] . '' : ''; $weblog = ( $postrow[$i]['user_weblog'] ) ? '' . $lang['Weblog'] . '' : ''; # #-----[ FIND ]------------------------------------------ # $yim_img = ''; $yim = ''; # #-----[ AFTER, ADD ]------------------------------------------ # $weblog_img = ''; $weblog = ''; # #-----[ FIND ]------------------------------------------ # 'YIM_IMG' => $yim_img, 'YIM' => $yim, # #-----[ AFTER, ADD ]------------------------------------------ # 'WEBLOG_IMG' => $weblog_img, 'WEBLOG' => $weblog, # #-----[ OPEN ]------------------------------------------ # REQUIRED - Adds the option to allow/disallow a group to be able to create a blog # admin/admin_groups.php # #-----[ FIND ]------------------------------------------ # $group_info = array ( 'group_name' => '', 'group_description' => '', 'group_moderator' => '', # #-----[ AFTER, ADD ]------------------------------------------ # 'group_allow_weblogs' => 0, # #-----[ FIND ]------------------------------------------ # 'U_SEARCH_USER' => append_sid("../search.$phpEx?mode=searchuser"), # #-----[ AFTER, ADD ]------------------------------------------ # 'L_WEBLOG_GROUP' => $lang['Group_allow_weblogs'], 'L_NO' => $lang['No'], 'S_GROUP_ALLOW_WEBLOGS_YES' => ( $group_info['group_allow_weblogs'] ) ? ' checked="checked"' : '', 'S_GROUP_ALLOW_WEBLOGS_NO' => ( !$group_info['group_allow_weblogs'] ) ? ' checked="checked"' : '', # #-----[ FIND ]------------------------------------------ # $group_moderator = isset($HTTP_POST_VARS['username']) ? $HTTP_POST_VARS['username'] : ''; # #-----[ AFTER, ADD ]------------------------------------------ # $group_allow_weblogs = ( isset($HTTP_POST_VARS['group_allow_weblogs']) ) ? intval($HTTP_POST_VARS['group_allow_weblogs']) : 0; # #-----[ FIND ]------------------------------------------ # $sql = "UPDATE " . GROUPS_TABLE . " SET group_type = $group_type, group_name = '" . str_replace("'", "''", $group_name) . "', group_description = '" . str_replace("'", "''", $group_description) . "', group_moderator = $group_moderator # #-----[ IN-LINE FIND ]------------------------------------------ # , group_moderator = $group_moderator # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # , group_allow_weblogs = $group_allow_weblogs # #-----[ FIND ]------------------------------------------ # $sql = "INSERT INTO " . GROUPS_TABLE . " (group_type, group_name, group_description, group_moderator, group_single_user) # #-----[ IN-LINE FIND ]------------------------------------------ # , group_single_user # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # , group_allow_weblogs # #-----[ FIND ]------------------------------------------ # VALUES ($group_type, '" . str_replace("'", "''", $group_name) . "', '" . str_replace("'", "''", $group_description) . "', $group_moderator, '0')"; # #-----[ IN-LINE FIND ]------------------------------------------ # $group_moderator, '0' # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # , $group_allow_weblogs # #-----[ OPEN ]------------------------------------------ # REQUIRED - Used throughout the mod. It WILL NOT work if you don't do these changes! # includes/constants.php # #-----[ FIND ]------------------------------------------ # define('POST_POST_URL', 'p'); define('POST_GROUPS_URL', 'g'); # #-----[ AFTER, ADD ]------------------------------------------ # define('POST_WEBLOG_URL', 'w'); define('POST_ENTRY_URL', 'e'); define('POST_REPLY_URL', 'r'); define('POST_TRACKBACK_URL', 't'); # #-----[ FIND ]------------------------------------------ # define('VOTE_DESC_TABLE', $table_prefix.'vote_desc'); define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results'); define('VOTE_USERS_TABLE', $table_prefix.'vote_voters'); # #-----[ AFTER, ADD ]------------------------------------------ # define('WEBLOG_BLOCKED_TABLE', $table_prefix.'weblog_blocked'); define('WEBLOG_CONFIG_TABLE', $table_prefix.'weblog_config'); define('WEBLOG_ACTIONS_TABLE', $table_prefix.'weblog_actions'); define('WEBLOG_ENTRIES_TABLE', $table_prefix.'weblog_entries'); define('WEBLOG_FRIENDS_TABLE', $table_prefix.'weblog_friends'); define('WEBLOG_MOODS_TABLE', $table_prefix.'weblog_moods'); define('WEBLOG_MOOD_SETS_TABLE', $table_prefix.'weblog_mood_sets'); define('WEBLOG_CONTRIBUTORS_TABLE', $table_prefix.'weblog_contributors'); define('WEBLOG_REPLIES_TABLE', $table_prefix.'weblog_replies'); define('WEBLOG_SHOUTBOX_TABLE', $table_prefix.'weblog_shoutbox'); define('WEBLOG_TEMPLATES_TABLE', $table_prefix.'weblog_templates'); define('WEBLOG_TRACKBACKS_TABLE', $table_prefix.'weblog_trackbacks'); define('WEBLOGS_TABLE', $table_prefix.'weblogs'); # #-----[ OPEN ]------------------------------------------ # REQUIRED # includes/page_header.php # #-----[ FIND ]------------------------------------------ # // // The following assigns all _common_ variables that may be used at any point // in a template. // # #-----[ BEFORE, ADD ]------------------------------------------ # // include the weblog lang file $use_lang = ( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_weblog_main.'.$phpEx) ) ? 'english' : $board_config['default_lang']; include($phpbb_root_path . 'language/lang_' . $use_lang . '/lang_weblog_main.' . $phpEx); # #-----[ FIND ]------------------------------------------ # 'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '', ''), 'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '', ''), # #-----[ AFTER, ADD ]------------------------------------------ # 'L_WEBLOGS' => $lang['Weblogs'], 'L_WEBLOG_CONFIG' => $lang['Weblog_CP'], 'L_MYWEBLOG' => $lang['Weblog_MyWeblog'], 'L_WEBLOGS_NEWS' => $lang['Weblogs_news'], 'U_WEBLOGS' => append_sid("weblogs.$phpEx"), 'U_MYWEBLOG' => append_sid("weblog.$phpEx?" . POST_WEBLOG_URL . "=" . $userdata['user_weblog']), 'U_WEBLOG_CONFIG' => append_sid("weblog_config.$phpEx"), 'U_WEBLOGS_NEWS' => append_sid("weblogs_news.$phpEx"), # #-----[ OPEN ]------------------------------------------ # OPTIONAL - Puts a link to a user's blog in the profile (Make sure to do the template changes as well) #If you have the Profile Control Panel (PCP) mod, you won't be able to complete this portion of the instructions # Move on to the next file if you have the PCP mod installed. # includes/usercp_viewprofile.php # #-----[ FIND ]------------------------------------------ # // // Generate page // # #-----[ BEFORE, ADD ]------------------------------------------ # if ( $profiledata['user_weblog'] ) { $sql = "SELECT weblog_name FROM " . WEBLOGS_TABLE . " WHERE weblog_id = " . $profiledata['user_weblog']; if( !$result = $db->sql_query($sql) ) { message_die(GENERAL_ERROR, "Couldn't obtain weblogs information.", "", __LINE__, __FILE__, $sql); } if( $row = $db->sql_fetchrow($result) ) { $weblog = '' . $row['weblog_name'] . ''; } } # #-----[ FIND ]------------------------------------------ # 'YIM_IMG' => $yim_img, 'YIM' => $yim, # #-----[ AFTER, ADD ]------------------------------------------ # 'WEBLOG' => $weblog, 'L_WEBLOG' => $lang['Weblog'], # #-----[ OPEN ]------------------------------------------ # REQUIRED # language/lang_english/lang_admin.php # #-----[ FIND ]------------------------------------------ # // // That's all Folks! # #-----[ BEFORE, ADD ]------------------------------------------ # $lang['Blog_admin'] = 'Weblog Admin'; $lang['Action_choices'] = 'Action Choices'; $lang['Mood_choices'] = 'Mood Choices'; $lang['Templates'] = 'Weblog Templates'; $lang['Weblog_tools'] = 'Tools & Management'; $lang['Group_allow_weblogs'] = 'Let Group Members Create a Weblog'; # #-----[ OPEN ]------------------------------------------ # OPTIONAL - Part 2 of the procedure for adding Recent Weblogs to the index.php # templates/subSilver/index_body.tpl # #-----[ FIND ]------------------------------------------ # {L_WHO_IS_ONLINE} # #-----[ IN-LINE FIND ]------------------------------------------ # rowspan="2" # #-----[ IN-LINE REPLACE WITH ]------------------------------------------ # rowspan="3" # #-----[ FIND ]------------------------------------------ # {TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]
{RECORD_USERS}
{LOGGED_IN_USER_LIST} # #-----[ AFTER, ADD ]------------------------------------------ # {MOST_RECENT_WEBLOGS} # #-----[ OPEN ]------------------------------------------ # REQUIRED - Adds links to the top of your forum for accessing the Blogs # templates/subSilver/overall_header.tpl # #-----[ FIND ]------------------------------------------ #  {L_PROFILE}{L_PROFILE}   {PRIVATE_MESSAGE_INFO}{PRIVATE_MESSAGE_INFO}   {L_LOGIN_LOGOUT}{L_LOGIN_LOGOUT}  # #-----[ AFTER, ADD ]------------------------------------------ # {L_WEBLOGS}{L_WEBLOGS}    {L_WEBLOG_CONFIG}{L_WEBLOG_CONFIG}    {L_MYWEBLOG}{L_MYWEBLOG}    {L_MYWEBLOG}{L_WEBLOGS_NEWS} # #-----[ OPEN ]------------------------------------------ # OPTIONAL - Adds a link to a user's blog # templates/subSilver/profile_view_body.tpl # #-----[ FIND ]------------------------------------------ # {L_INTERESTS}: {INTERESTS} # #-----[ AFTER, ADD ]------------------------------------------ # {L_WEBLOG}: {WEBLOG} # #-----[ OPEN ]------------------------------------------ # OPTIONAL - Required for the image in viewtopic.php to be shown # templates/subSilver/subSilver.cfg # #-----[ FIND ]------------------------------------------ # ?> # #-----[ BEFORE, ADD ]------------------------------------------ # $images['icon_weblog'] = "$current_template_images/{LANG}/icon_weblog.gif"; # #-----[ OPEN ]------------------------------------------ # templates/subSilver/viewtopic_body.tpl # #-----[ FIND ]------------------------------------------ # (Partial Line) # {postrow.PROFILE_IMG} # #-----[ IN-LINE FIND ]------------------------------------------ # {postrow.EMAIL_IMG} # #-----[ IN-LINE AFTER, ADD ]------------------------------------------ # {postrow.WEBLOG_IMG} # #-----[ OPEN ]------------------------------------------ # REQUIRED - Adds the ability to allow/disallow groups the ability to have blogs # templates/subSilver/admin/group_edit_body.tpl # #-----[ FIND ]------------------------------------------ # {L_GROUP_STATUS}: {L_GROUP_OPEN}    {L_GROUP_CLOSED}    {L_GROUP_HIDDEN} # #-----[ AFTER, ADD ]------------------------------------------ # {L_WEBLOG_GROUP}: {L_YES}    {L_NO} # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM[/code] [/spoiler] ----------------------------------- Lopalong Tue 24 Jun, 2008 16:09 Re: The Blog Mod ----------------------------------- Mate, Code in Code-Wrappers - Please. :( These files (It's getting too late for me to be looking what is in what file?). Do them one at a time and test. Some may already have the CT_* line with [i]MEDIUM[/i] so change it to "LOW". Find: define('IN_PHPBB', true); After ADD (Or change as required): define('CT_SECLEVEL', 'LOW'); ## viewtopic.php, ## admin/admin_groups.php, ## includes/constants.php, ## includes/page_header.php, ## includes/usercp_viewprofile.php, If nothing changes during each test - remove / change back what you did with the file. ;) Let's see what happens? :P If NOTHING! Then it will be time to look at what files comes with the MOD you've added - so one will need to know where to get it. :P You can also help there by checking the browser bottom-bar for the url that you mousing over to start this thing. (possibly weblog.php or something) Then add the code above to that file. Also check what's under [b]define('IN_PHPBB', true);[/b] "Path-Wise" that it's calling and progress through those files doing the same thing. ;) Best of luck! :P ----------------------------------- crimsonsun Tue 24 Jun, 2008 22:11 Re: The Blog Mod ----------------------------------- i had a similar error with ct applying another mod, throw it into debug mode and replicate it, this time you will get a precise msg stating what line in what file is causing the error.. ----------------------------------- Chaotic Tue 24 Jun, 2008 22:16 Re: The Blog Mod ----------------------------------- Please forgive my stupidity. I wasn't thinking. Thanks for the tips Lopalong. I tried adding that line in all the files you mentioned, but had no luck. I then added that line in the weblog_config.php file and it finally let me create a blog. I'm now seeing another error when previewing/posting a new entry in the blog: [spoiler]Fatal error: Call to undefined function: bbencode_second_pass() in /home/thelo7/public_html/MAcommunity/weblog.php on line 625[/spoiler] Undefined function...does that mean that function isn't listed in includes/functions or is this a database problem? I know you aren't familiar with The Blog Mod and it isn't supported on this website, but I am really appreciating all the help you are giving. Let me know if you know of a "quick-fix" or if you want to throw the towel in...lol. Thanks again buddy 8) ----------------------------------- Lopalong Wed 25 Jun, 2008 08:38 Re: The Blog Mod ----------------------------------- Thanks crimsonsun, I keep forgetting about Cback and Debug - Maybe it's because I don't use it. ;) Chaotic, That string is for parsing bbcode in phpBB2* and Icy Phoenix uses different code. It also brings to mind a short discussion about this, or another weblog (w-united or something) here somewhere and not all that long ago. ? It's going to take a lot of work to MOD that application to work with IP - And not something I am particularly interested in doing. Sorry Buddy, You'se is on you own. PS: You should also look at the similar topics here to see where it headed and / or how it finished up. ;) ----------------------------------- Chaotic Wed 25 Jun, 2008 10:52 Re: The Blog Mod ----------------------------------- Thats ok. Thanks for all your help, as usual, Lopalong. ----------------------------------- Lopalong Wed 25 Jun, 2008 12:23 Re: The Blog Mod ----------------------------------- Don't sound so glum :P I'm up to here -> And Note the "Body Text" :mricy: [align=center][img]http://www.icyphoenix.com/files/images/3531/blog.png[/img][/align] Replace the file in the .zip - and when you're done. I'll move this thread to the Generally-Topic stuff. :roll: Smilies are not parsing yet from IP - Working very S.L.O.W.L.Y to find the problems. :censored: ----------------------------------- Chaotic Wed 25 Jun, 2008 19:54 Re: The Blog Mod ----------------------------------- I didn't mean to sound like that, but I didn't expect you or anyone to work on this further than what you did. I'm not very knowledgeable with these errors or the workarounds. I replaced the file and am still seeing this error when clicking preview: [spoiler]Fatal error: Call to undefined function: bbencode_second_pass() in /home/thelo7/public_html/MAcommunity/weblog_posting.php on line 1217[/spoiler] If I go straight to submit, the entry is posted and viewable, but is using html. I enabled HTML in the board just for testing purposes, but the formatting was still the same as in the picture below: [spoiler][img]http://www.icyphoenix.com/files/images/3295/blogerror1.png[/img][/spoiler] Thanks again for continuing your work on this. :mryellow: ----------------------------------- Lopalong Thu 26 Jun, 2008 00:05 Re: The Blog Mod ----------------------------------- Stripping the html would be about the last step to fix - it's getting the whole thing to work first within IP. It gets worse as one progresses through the functions, and has to continually modify the code, paths, add and remove vars and whatnot (to remove all of the other errors that pop up), just to be able to progress to the next step. :( The whole thing is full of script like that. It's also getting a little out of the boundaries of my expertise unless I do a whole lot more reading and learning. :P And for what the blog-mod is and what it does, in my opinion it's not worth the effort. :( I may try a patch for it rather than integrate it fully into IP functions. - - - Maybe. ;) ----------------------------------- Chaotic Thu 26 Jun, 2008 07:53 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- Just the stuff you are doing now, I'm grateful for! Is the wordpress blog mod better than this mod in your opinion? Thanks again Lopalong. ----------------------------------- Lopalong Thu 26 Jun, 2008 12:45 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- I had Fantastico install the latest wordpress on my site (Not something I'd use myself) for a look-see. It would have to be 1000% better than weblog, but again it's the same drawback - Modded for phpBB with w-united and again lots of variations to the MOD code and IP files to make it work with IP. The only people who will get this to work are the Core Programmers I think - But they seem to be conspicuous in their absence, or uninterested in anything that anyone is working on, and appear to prefer to "Leave it up to MG". Dunno! But if a "Blog" like wordpress bridged to a forum is what I wanted to keep me happy - I'd be using phpBB2-* (or 3 If the WP MOD has been made compatible). I suppose one could go through the w-united MOD.TXT and remove all of the instructions that are easy and a 100% correct in relation to files and code additions / replacements / alterations etc, and leave everything that does not reflect what the author indicates as to where or what should be / looks like etc. And post the remaining "Hard" instructions here so that hopefully those who know where everything is, how it has been altered or where it has been moved to - can take it up and finish it with new instructions for those elements. I've had a look at wp-united and would say that about 80% is OK, 10% I can fix and 10% indicates changes I can't find anywhere because of the way IP code and the location of it has changed. viewonline.php = half of functions_mg_online.php etc just being one of them :P Maybe 5% I can't find. :roll: I should have come here 12 months ago. :shock: :mrviolet: ----------------------------------- Mighty Gorgon Thu 26 Jun, 2008 13:05 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- Blog Mod was buggy and had security holes... that is why I have never integrated it in IP. Plus I don't like having such a tool... because it allows too many customizations by registered users... and it is highly unsafe. Having said that... anyone is free to install this mod on his site taking its own risk. Honestly I cannot help in the full process of integrating this MOD because it is time consuming... and time is a precious resource for me nowadays... I can only help with small issues but only if you provide me with ready to use package to test. Finally I don't want to criticize users choice... but I believe that if think you need a blog, you don't need IP: if configured well Icy Phoenix can be used as a blog as well... no need to integrate Wordpress or Joomla or anything other else, because it means you don't need IP. Better use any blog or CMS you like and standard phpBB 3. You will get better performances, better support, better security... no reasons to keep using IP if it doesn't fit your needs. Again... it is just my opinion... it isn't mean to offend or criticize anyone here. ----------------------------------- Mighty Gorgon Thu 26 Jun, 2008 17:00 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- A little update... Maybe you may be also interested in this mod... http://www.mpsmod.com/ Someone already integrated it in Icy Phoenix... ----------------------------------- Chaotic Thu 26 Jun, 2008 18:20 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- [quote user="Mighty Gorgon" post="29438"]Blog Mod was buggy and had security holes... that is why I have never integrated it in IP. Plus I don't like having such a tool... because it allows too many customizations by registered users... and it is highly unsafe. Having said that... anyone is free to install this mod on his site taking its own risk. Honestly I cannot help in the full process of integrating this MOD because it is time consuming... and time is a precious resource for me nowadays... I can only help with small issues but only if you provide me with ready to use package to test. Finally I don't want to criticize users choice... but I believe that if think you need a blog, you don't need IP: if configured well Icy Phoenix can be used as a blog as well... no need to integrate Wordpress or Joomla or anything other else, because it means you don't need IP. Better use any blog or CMS you like and standard phpBB 3. You will get better performances, better support, better security... no reasons to keep using IP if it doesn't fit your needs. Again... it is just my opinion... it isn't mean to offend or criticize anyone here.[/quote] It does allow a lot of customizations, but it looks completely configurable in the ACP to not allow certain things. I have quite a few users that would be interested in keeping a personal gaming blog that is tied to their user account at my website. I don't understand how you think IP could be used as a blog. I'm looking for a blog mod that will give each user their own personal blog. IP is doing a pretty good job of fitting my community, but I'm looking to expand my user's IP experience further than what is already offered. Even if only a handful of users were to use the blog, just knowing that feature is available would show your users you really do have everything. Think of the personal blog as you would the game of Sudoku included with IP. It's there, but many people don't use it. It's still there for anyone to enjoy. I do understand that you and the IP staff are busy people, but would it be a bad thing for IP to expand it's horizons? After all, for some reason, you included Sudoku, lol. /opinion. I know you are a busy person Lopalong and I am very grateful for the effort you put into this for me. It's rare that you find someone as helpful as yourself. This modification looks to be very challenging and maybe impossible, so it might be a good idea to just call it a day and leave it be. Again, thanks for your help buddy. 8) ----------------------------------- Lopalong Thu 26 Jun, 2008 23:54 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- Chaotic, You've given all the right reasons for why you want this type of application to run on your site :P So stand by! - I'll see what I can sort out with wordpress and wp-united and run it past MG to have a look at it, because I'm still finding my way through a lot of IP and how the code has been changed even moreso than Orion. ;) I agree with MG about the Blog Mod - could be more trouble than what it's worth - Even so, wordpress is a whole lot more professional, both to use and to look at. Don't hold your breath - But I will keep you updated. 8) ----------------------------------- Chaotic Fri 27 Jun, 2008 08:04 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- Wordpress looks a lot better and it was what I originally had in mind for my community. In fact, I believe I still have it installed, for the most part, on my website. Thanks for your continuation Lopalong! ----------------------------------- Lopalong Fri 27 Jun, 2008 08:36 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- Your timing is impeccable! :mricy: I'm about to install a fresh IP and wordpress - Then overwrite it with pre-modded files etc. :) The original install script was full or traps - not saying this is going work either - but I've got good backup. 8) Wish me luck - I need it. :P [b]Edit:[/b] Damn!, I started running into deprecated code and went looking for some answers. :( [code linenumbers=false]Fatal error: Cannot redeclare create_user() (previously declared in I:xampphtdocswpresswp-unitedwp-functions.php:312) in I:xampphtdocswordpresswp-includesdeprecated.php on line 1264[/code] w-united stops at wordpress v2.2.3 which I've just d/l - so tomorrow we start again. ;) This explains it pretty well: http://www.wp-united.com/viewtopic.php?f=7&t=286 http://wordpress.org/download/release-archive/ ----------------------------------- Chaotic Fri 27 Jun, 2008 12:31 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- The mod author is hardly around which is a shame. I never ran into those last two errors, I think. I also saw you are using pre-modded files too. I'm not great with php, but if you need any help, let me know! Thanks! 8) ----------------------------------- Lopalong Fri 27 Jun, 2008 13:35 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- [quote user="Chaotic" post="29489"] I'm not great with php, but if you need any help, let me know! Thanks! 8)[/quote] I knew you weren't a slouch and had your finger on the pulse of things, about the same as me. ;) I'm only a learner, self taught and go by example and logic mostly. (Something like reading Braille) :mricy: :mrgreen: :shock: Anyway we're in, with only one small conflict I adjusted in Icy Phoenix that I'll have to run past MG to resolve it. It doesn't stop IP from working, it just disables pagination. (I think - because I haven't tested it). :( Now I have to back-track the install instructions and clean them up - then do a fresh install of both IP, wp-united and wordpress following those instructions. Then you can have a copy for BETA testing; and MG can have a copy to "Validate" before official release. :P I don't really see any problems with it - But it was never going to work following the phpBB instructions and I only hope that I've got it right and haven't created other problems for MG to fix. Your help will come in handy too, because no doubt there will be other adjustments to markup and .css etc, to be made. As you can see in the pic - it's off-centre. But I do want the script running clean before I worry about the .css. :censored: [align=center][img]http://www.icyphoenix.com/files/images/3531/wp.png[/img][/align] Now I'm going to get some S.L.E.E.P! 8) ----------------------------------- Chaotic Fri 27 Jun, 2008 16:20 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- It's looking good Lopalong! I'll be checking in on this thread frequently today. 8) ----------------------------------- Lopalong Sat 28 Jun, 2008 04:58 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- It's not looking so good today. ;) I think I'd better create a DEV site, because IP themes were never designed to accommodate something like this, and I don't want to hijack this site. The second reason is, it needs a working site to sort out theme problems and to fine tune it for IP. Then it can be released here as a working MOD. In the previous pic it shows WP inside IP, and it needs work. - This pic shows IP inside WP - It's also a quick hack of "ice" which doesn't look too bad, but there's a lot of templates behind it that need to be extensively modified. On the other hand, it means modifying WP themes - and that certainly doesn't belong here at IP. :P Of course, there's also phpBB2* and 3 that will work out of the box with the phpBB default-style templates? I couldn't imagine what would happen to WP under a phpBB extreme style. :censored: "icyWP" is that a good name for a test site or what? :mrgreen: :shock: [align=center][img]http://www.icyphoenix.com/files/images/3531/icy50.png[/img][/align] [b]Update:[/b] I've only played today with the possibilities of integration to determine which direction to take in modifying what? IP or WP as far as themes go.? WP themes are not difficult to modify, which I've done to the default. I also wasn't aware that they come in all sorts of width's for different styles, as in the pic. (Don't like the blue - but it has possibilities) So I think it can be done both ways - Swap WP out and it can go down to 50% width, combine it / mod the template and move the width to about 90%, which seems to suit IP the best. Anyway, this will be the test site for it, and you're already a member (It's a clone of /ip/): http://icythemes.com/ipwp/forum.php Tommorrow I'll install WP there. ;) [align=center][img]http://www.icyphoenix.com/files/images/3531/icy890px.png[/img][/align] ----------------------------------- Chaotic Sat 28 Jun, 2008 12:45 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- That color scheme looks pretty good though, lol. I bookmarked the test site! Thanks Lopalong! ----------------------------------- Mighty Gorgon Wed 02 Jul, 2008 13:07 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- [quote user="Chaotic" post="29470"]I don't understand how you think IP could be used as a blog. I'm looking for a blog mod that will give each user their own personal blog. IP is doing a pretty good job of fitting my community, but I'm looking to expand my user's IP experience further than what is already offered. Even if only a handful of users were to use the blog, just knowing that feature is available would show your users you really do have everything. Think of the personal blog as you would the game of Sudoku included with IP. It's there, but many people don't use it. It's still there for anyone to enjoy. I do understand that you and the IP staff are busy people, but would it be a bad thing for IP to expand it's horizons? After all, for some reason, you included Sudoku, lol.[/quote] Take a look at this page: http://www.cucinainsimpatia.net/ricette_utenti_lista.php With a bit of extra customization may be used as a blog... Take a look at this as well: http://www.mightygorgon.com In any case you are free to install anything you think you need in your site. :wink: What I'm saying is that I will not include by default such features, because you can't ever imagine the impact on the support side and the security issues that these mods may address. I prefer having something being more secure. Anyway... it's a personal taste. :wink: Sudoku is there because have been installed maybe 3 years ago... and never updated... I didn't choose to install it... but is there and I don't see reasons to remove it. I would have removed KB... but users doesn't understand that that MOD is coded awfully... they prefer having security holes instead of using something better organized in different way. As you can see KB is disabled here... it is still in IP just because it has been installed in older versions and many users still use it. I have sanitized most of the code... but it is still an awful mod. This is my humble opinion... I hope to not offend anyone. Coming back on topic, maybe you missed this post. [quote user="Mighty Gorgon" post="29462"]A little update... Maybe you may be also interested in this mod... http://www.mpsmod.com/ Someone already integrated it in Icy Phoenix...[/quote] If you are looking for a "Facebook" like app... you may be interested in that... and you may also try to contact the author for help in integrating it into IP. It shouldn't be tough... only templates should require some hard work. ----------------------------------- Lopalong Mon 07 Jul, 2008 15:16 Re: The Blog Mod - Integrating It Into IP ? ----------------------------------- I don't know, using someone else's work that has already been bridged for IP and / or phpBB 2.latest* :) kind of takes the fun out of it. ;) Even WP doesn't recommend any version below the later v.2* because of security problems. So it can't be too bad, and at least it is supported by "Professionals". :roll: And at the moment I've bridged IP to WP v2.3.3 and I don't really see any major problems with those, unlike WP v2.5 and 2.5.1 which has been terribly over-cooked and has a lot of its own internal coding problems - so much that their support forum is full of questions about, with little or no replies. :( Maybe that's why WP v2.6 Beta2 is the latest in the cooker - and so far it's bridging pretty well with IP, as a lot of the previous bridging problems with 2.5* no longer exist. Don't know if WP v2.6 will seamlessly bridge with IP though - still plugging away at it until I overstep my expertise, but the demo looks pretty good so far. :mrgreen: Demo of a sort: http://myphp-bb.com/wpress/blog.php/