Sub Menu
Links Menu
Online Users

In total there are 309 users online :: 3 registered, 0 hidden and 306 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

[BETA] - The Blog Mod

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

Re: [BETA] - The Blog Mod

PostAuthor: shentrax » Wed Aug 15, 2007 5:33 pm

Links are broke, is this project stopped?
Last edited by shentrax on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

shentrax
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Joined: Tue Nov 21, 2006 5:16 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Thu Aug 16, 2007 3:17 pm

All of his sites have long been gone and havent heard out of him in quite some time now. The project is still alive at blogmod.com or something like that. ALLTHOUGH, please note, they do NOT offer support there for Integramod users. But the downloads can be gotten there. <img> Many users here have this installed if you need support, Im sure some of the Integra members would be more then willing to help with an issue or two. I have it installed as well. and it 1.4.1 version too
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Fri Nov 02, 2007 8:15 pm

Where can I get a copy of this for PCP now? Dragonsys's links are dead.
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: Wolfy2007 » Sat Nov 10, 2007 7:24 am

Anybody know where to download this mod? All download links on this site and dragonsys are dead.
Last edited by Wolfy2007 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Wolfy2007
Newbie
Newbie
 
Posts: 2
Likes: 0 post
Liked in: 0 post
Joined: Sat Nov 03, 2007 11:41 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Sat Nov 10, 2007 10:22 am

http://www.integramod.com/forum/dload.p ... file_id=32

thats your best option. Then there is some security updates at : [url=http]The Blog Mod Community[/url]


BUT good luck with that website. It is a freakin mess. Poorly run, and support is all but Nil except from some of the community that is even left there.

The link I gave is as direct to the mod as I can get ya. <img> Good luck. Hope it works out for ya.
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: Wolfy2007 » Sat Nov 10, 2007 6:03 pm

Thanks for the link, But it still wont let me download it here at the site.
Last edited by Wolfy2007 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Wolfy2007
Newbie
Newbie
 
Posts: 2
Likes: 0 post
Liked in: 0 post
Joined: Sat Nov 03, 2007 11:41 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Sun Nov 11, 2007 8:57 am

Then the other link I posted will let you. If I can dig up a good copy of the blog mod and 24 templates I will let you know. It shouldnt be too hard to do. <img>
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Sun Nov 11, 2007 10:31 am

Ive update the dl link. I could not find a copy of Dragonsys's version, but I found the one Id used in the past and added Mr.DSL's pcp edits.

if you get time MWE_001, can you do a test install of it to see if ive forgotten anything? I have not installed this mod in over a year, and I know youve done it a few times. thx <img>
Ive also got all the templates, though many of them have bugs as reported on the blogmod site
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Sun Nov 11, 2007 11:47 am

Yeah Ill give it a test install here in a bit. Im having Ctracker issues and trying to debug before I try anything else out.

Ill post back any issues that I may or may not have had. I installed it on my original Im 1.4.1 install before I took it offline some months back due to a hack, and then I had no issues with it working porperly with 1.4.1


Ill get back to you in an hour or 3 <img>
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Mon Nov 12, 2007 1:04 pm

Im installing this now as we speak. Im gonna keep a running total of thing that ned to be done or are good to go. Right off the get go, I find in the install it is wrong.

Weblogs is chmod 755 NOT 777

Weblogs upload needs to be 777 NOT 755 (Please note: if php safemode is turned on on your server, uploads will not work even if you chmod this file. it will error out.)

Are we sure this install is for PCP? there is a section for viewtopic.php which is an optional edit, but even if one wishes to use that option, the info to find is NOT located in that file. Out of everything it asked for to find in the file, I was only able to find the first edit and thats all. In a normal phpBB install these edits are doable. For pcp this section is not.

Code: Select all
##-----[ 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'] ) ? '<a><img></a>' : '';         $yim = ( $postrow[$i]['user_yim'] ) ? '<a>' . $lang['YIM'] . '</a>' : '';  ##-----[ AFTER, ADD ]------------------------------------------#         $weblog_img = ( $postrow[$i]['user_weblog'] ) ? '<a><img></a>' : '';         $weblog = ( $postrow[$i]['user_weblog'] ) ? '<a>' . $lang['Weblog'] . '</a>' : '';  ##-----[ FIND ]------------------------------------------#         $yim_img = '';         $yim = '';  ##-----[ AFTER, ADD ]------------------------------------------#         $weblog_img = '';         $weblog = '';  ##-----[ FIND ]------------------------------------------#         'YIM_IMG' => $yim_img,         'YIM' => $yim,  ##-----[ AFTER, ADD ]------------------------------------------#         'WEBLOG_IMG' => $weblog_img,         'WEBLOG' => $weblog,  


This section is wrong I dont believe it to be the file we are supposed to be finding this stuff in. It says to :
Code: Select all
# #-----[ OPEN ]------------------------------------------# # REQUIREDprofilcp/def/def_userfields.php  ##-----[ FIND ]------------------------------------------#                         'user_website' => array(                                 'leg'          => true,                                 'img'          => true,                             ),##-----[ AFTER, ADD ]------------------------------------------#                         'user_weblog' => array(                                 'leg'          => true,                                 'img'          => true,                             ),  ##-----[ FIND ]------------------------------------------#                           'user_website' => array(                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),  ##-----[ AFTER, ADD ]------------------------------------------#                           'user_weblog' => array(                                 'dsp_func'     => 'pcp_output_website',                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),    ##-----[ FIND ]------------------------------------------#                           'user_website' => array(                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),    ##-----[ AFTER, ADD ]------------------------------------------#                           'user_weblog' => array(                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),  


And before we allready editied that file.
Code: Select all
# #-----[ OPEN ]------------------------------------------# # REQUIREDprofilcp/def/def_userfields.php  ##-----[ FIND ]------------------------------------------#             'user_website' => array(                 'lang_key'     => 'Website',##-----[ BEFORE, ADD ]------------------------------------------#             'user_weblog' => array(                 'lang_key'     => 'Weblog',                 'class'        => 'webdisplay',                 'type'         => 'VARCHAR',                 'dsp_func'     => 'pcp_output_weblog',                 'visibility'   => true,                 'ind'          => '10',             ),

All of this section was good to go.


I think the open file was wrong. Correct file please?

More to come soon. Finishing install now. <img>

**EDIT**

Unless I grabbed the wrong file, this is NOT the proper file to use for the blog mod. DO NOT USE IT! It needs updated badly.
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Mon Nov 12, 2007 1:40 pm

"HelterSkelter";p="29230" wrote:Ive update the dl link. I could not find a copy of Dragonsys's version, but I found the one Id used in the past and added Mr.DSL's pcp edits.

if you get time MWE_001, can you do a test install of it to see if ive forgotten anything? I have not installed this mod in over a year, and I know youve done it a few times. thx <img>
Ive also got all the templates, though many of them have bugs as reported on the blogmod site


That install went completely wrong as you can tell by my post. I do have a good copy of it somewhere on disc. Let me do some digging and Ill get you the proper file.

I HIGHLY suggest disabling the download for the time being.
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Mon Nov 12, 2007 4:42 pm

Just an update.

I have all the necessary edits that need to be done for PCP integration. Im going through my old website file by file and finding all of the edits. If you can disable the dload from here Helter and give me a day or two, I can do a complete install file for you.

It be a pain in the arse, but after all the support I have recieved here over the years, its the least Ic an do to give back to the community
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Mon Nov 12, 2007 5:48 pm

Ok I went over the install and all my old files with a fine tooth comb and have the blog mod working. Cracker tracker does NOT like the blog Mod at all.

I have debugged the admin panel, now trying to debug so one can createa blog.

If I cant figure this out, Ill post the install tonight and hoepfully someone can post a debug for CTracker. I'll post that in the other topic. <img>
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: MWE_001 » Mon Nov 12, 2007 6:26 pm

Ok here is what I got for an install and all works EXCEPT I havent got to see if I can get the button to show in viewtopic.php due to CTracker NOT allowing me to create a blog.

The below Install file worked for me. There were a few minor typos in the Dload package on this site. So I made a few revisions

BE WARNED! CTracker does NOT like this mod. it need further debugging then what I have done so far. The debug info I have used is posted in the Cracker Tracker false positives Topic By Teelk.

Code: Select all
################################################################ MOD Title]http://www.TheBlogMod.com#[/url]# MOD Author: aboyd <n> (Tony Boyd) [url=http://www.outshine.com/#]http://www.outshine.com/#[/url]# MOD Author: hyperion <n> (n/a) n/a## MOD De.scription: Adds an entire weblog system to a phpBB forum. Allows the##           members of the forum to create a weblog, complete with entry permissions,##           style customization, weblog templates, a friends system and the ability##           for weblog owners to block users from their weblog.## MOD Version: 0.2.4b#### Installation Level: (Intermediate)## Installation Time: 20 Minutes## Files To Edit: index.php,##               index.php##           admin/admin_groups.php,##           includes/constants.php,##           includes/page_header.php,##                      profilcp/def/def_usermaps.php ##                      profilcp/def/def_userfields.php##                      profilcp/def/def_userfuncs_viewonline.php ##           language/lang_english/lang_admin.php,##           templates/Integra2/index_body.tpl,##           templates/Integra2/overall_header.tpl,##           templates/Integra2/profile_view_body.tpl,##           templates/Integra2/Integra2.cfg,##           templates/Integra2/viewtopic_body.tpl,##           templates/Integra2/admin/group_edit_body.tpl## Included Files: included_files/*.*## License: [url=http://opensource.org/licenses/gpl-license.php]http://opensource.org/licenses/gpl-license.php[/url] GNU General Public License v2################################################################ For security purposes, please check: [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]# 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 [url=http://www.phpbb.com/mods/#]http://www.phpbb.com/mods/#[/url]############################################################### Author Notes:##   - Advanced Blogs are fully customizable weblogs. They allow the owner to be able to modify the HTML of their##     main weblog page. Administrators must explicitly give rights to users in order to allow them to have an Avanced Blog.##     Only allow people you TRULY trust to have an Advanced Weblog, since there is potential for attacks against other users.####   -----------------------------------------------####   IMPORTANT##   - If you have CyberAlien's eXtreme Styles Mod (any version), be extremely cautious as to who you grant permissions to (for##     creating an advanced blog). This is because the eXtreme Styles Mod allows php execution within the template, which could##     lead to some serious breaches in security. On the plus side, if your users behave, php code that is included could make the##     weblogs extremely useful!####   -----------------------------------------------####   - Don't forget to install the weblog templates! You can't create a weblog without one, so you'll need to##     download weblog template packages, unzip them to the weblogs/templates/ folder. (This is similar to phpBB style system).##     Lastly, go to the Administration Panel and go to Weblog Templates, then add the template there.################################################################## MOD History:####   2004-10-16 - Version 0.1.0##      - First beta release. Contained pretty much all of the base features needed.####   2005-01-23 - Version 0.2.0##      - Revamped weblog fetching. Now it gets the weblogs-by-latest-entries perfectly##      - Trackbacks deleteable##      - Post/pre dated entries added##      - Numerous small changes and improvements, as well as bugfixes.####   2005-04-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 but allow it to be viewed in full.##      - Added icons to replace the "[ Edit ]" and "[ Delete ]" on the main weblog page.##      - Added "Users browsing this blog" feature##      - Changed Trackbacks and Entry Viewing so that replies and trackbacks are interweaved##      - Bug Fixes:##           Fixed "hidden" emails not being hidden##           Fixed timezone bug##           Fixed special characters not properly being displayed (due to usage of iso-8859-1 instead of utf-8)##           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-05-06 - Version 0.2.2##      - Improved SQL in several places, combining some queries together##      - Improved file handling##      - Numerous small tweaks##      - Administrators now have automatic auth level equal to friends, so they can see ALL non-personal entries##      - Fixed entry reply and trackback "interweaving"##      - Bug Fixes##           Fixed timezone bug (again, hopefully last time)##           Fixed "Users browsing this blog" feature and modified it so it will work with other dbms##           Fixed Admins not being able to edit entries (It was using "!=" instead of "==" !)##           Updated to use the same fixes from phpBB 2.0.14 (since parts of the mod were copied from phpBB)##           Fixed some possible SQL Injection vulnerabilities in friends and blocked user pages####   2005-05-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 - all entries viewable and editable except for weblog owner only entries.##      - Fixed friends and blocked pages not being able to block or add users (while letting Admin be able to do so)##      - 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-12-02 - version 0.2.3c##   - Upgrade support to phpbb 2.0.18 released##   - Fixed to reduce sql query and loading of weblogs.php Submitted by Siava##   - Fixed bugs installation when using easymod##   - Update Installation guide.####   2006-03-01 - version 0.2.4##   - Currently testing SEO and short URL ... pending released!##   - Category Addon courtesy by Willow##   - Fixed some dead links####   2006-04-09 - version 0.2.4##   - Added weblogs_news.php##   - updated database table for new install##   - Fixed minor bugs####   2006-04-10 - version 0.2.4a##   - Unofficial version by aboyd##   - 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 (never should have been included, they're unnecessary)##   - Hardworking's personal files removed (never should have been included, they're unnecessary)##   - File organization cleaned up (prep work for EasyMod compliance)##   - Removed .htaccess files (Hardworking wrote: "it is not active yet you may delete this file.")##   - 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-04-10 - version 0.2.4b##   - Unofficial version by aboyd##   - When viewing an entry, comments might be squished in Firefox.  Fixed.##   - When viewing all entries, the table might be squished in Firefox.  Fixed.##   - Added comment to DIY INSTRUCTIONS for those having problems with image uploads.##   - Since phpBB 2.0.20 has known bugs, I tested this on 2.0.19.  Certified to work!##   - On main blog page, the 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 to 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.  Might result in fewer broken images.##   - Added db_update.php, courtesy of Dragonsys.  Added explanation to the SQL section.##   - 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.################################################################## 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/  755weblogs/upload/  777weblogs/templates/  755weblogs/templates/(any template folder) 755any .htm and .cfg file that comes in the zip file  755all else - 644  (note from aboyd: I was unable to upload images until I changed weblogs/upload to be 777, but try 755 first, it's more secure)  ##-----[ 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.gif');INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (2, 'Listening to', 'action_listen.gif');INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (3, 'Playing', 'action_play.gif');INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (4, 'Reading', 'action_read.gif');INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (5, 'Watching', 'action_watch.gif');INSERT INTO phpbb_weblog_actions (action_id, action_text, action_url) VALUES (6, 'Working', 'action_work.gif');  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.gifcopy 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/Integra2/*.* to templates/Integra2/*.*copy included_files/templates/Integra2/admin/*.* to templates/Integra2/admin/*.*copy included_files/templates/Integra2/images/lang_english/icon_weblog.gif to templates/Integra2/images/lang_english/icon_weblog.gifcopy included_files/weblogs/*.* to weblogs/*.*copy included_files/weblogs/upload/index.htm to weblogs/upload/index.htmcopy included_files/weblogs/templates/index.htm to weblogs/templates/index.htmcopy included_files/weblogs/templates/Infinity/*.* to weblogs/templates/Infinity/*.*copy included_files/weblogs/templates/Infinity/images/*.gif to weblogs/templates/Infinity/images/*.gifcopy included_files/weblogs/templates/Infinity/lang_english/*.gif to weblogs/templates/Infinity/lang_english/*.gif  ##-----[ 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 </a> sprintf($lang['Newest_user'], '<a>', $newest_user, '</a>'),  ##-----[ AFTER, ADD ]------------------------------------------#// The Blog Entry by support [at] TheBlogMod.com         '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  ( I have not tested this YET! Try at your own risk!)  ##-----[ 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 ]------------------------------------------#         $mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '#' . $postrow[$i]['post_id'];  ##-----[ AFTER, ADD ]------------------------------------------#         if ( $poster_id != ANONYMOUS )    {      $weblog_img = ( $postrow[$i]['user_weblog'] ) ? '<a><img></a>' : '';       $weblog = ( $postrow[$i]['user_weblog'] ) ? '<a>' . $lang['Weblog'] . '</a>' : ''; } else    { $weblog_img = '';       $weblog = ''; }  ##-----[ FIND ]------------------------------------------#         'MINI_POST_IMG' => $mini_post_img,  ##-----[ AFTER, ADD ]------------------------------------------#         'WEBLOG_IMG' => $weblog_img,                 'WEBLOG' => $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_de.scription' => '',             '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_de.scription = '" . str_replace("'", "''", $group_de.scription) . "', 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_de.scription, 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_de.scription) . "', $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'], '<span>', '</span>'),     'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span>', '</span>'),  ##-----[ 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 ]------------------------------------------# # REQUIREDprofilcp/def/def_userfields.php  ##-----[ FIND ]------------------------------------------#             'user_website' => array(                 'lang_key'     => 'Website',##-----[ BEFORE, ADD ]------------------------------------------#             'user_weblog' => array(                 'lang_key'     => 'Weblog',                 'class'        => 'webdisplay',                 'type'         => 'VARCHAR',                 'dsp_func'     => 'pcp_output_weblog',                 'visibility'   => true,                 'ind'          => '10',             ),  # #-----[ OPEN ]------------------------------------------# # REQUIREDprofilcp/def/def_userfuncs_viewonline.php  ##-----[ FIND ]------------------------------------------#             case PAGE_FAQ:                 $location = $lang['Viewing_FAQ'];                 $location_url = "faq.$phpEx";                 break##-----[ BEFORE, ADD ]------------------------------------------#             case PAGE_BLOG:                 $location = $lang['Viewing_Blogs'];                 $location_url = "weblog.$phpEx";                 break;  # #-----[ OPEN ]------------------------------------------# # REQUIREDprofilcp/def/def_usermaps.php  ##-----[ FIND ]------------------------------------------#                         'user_website' => array(                                 'leg'          => true,                                 'img'          => true,                             ),##-----[ AFTER, ADD ]------------------------------------------#                         'user_weblog' => array(                                 'leg'          => true,                                 'img'          => true,                             ),  ##-----[ FIND ]------------------------------------------#                           'user_website' => array(                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),  ##-----[ AFTER, ADD ]------------------------------------------#                           'user_weblog' => array(                                 'dsp_func'     => 'pcp_output_website',                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),    ##-----[ FIND ]------------------------------------------#                           'user_website' => array(                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),    ##-----[ AFTER, ADD ]------------------------------------------#                           'user_weblog' => array(                                 'img'          => true,                                 'style'        => '<td><span>%s </span></td>',                             ),  ##-----[ 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/Integra2/index_body.tpl  ##-----[ FIND ]------------------------------------------#<td><img>  ##-----[ IN-LINE FIND ]------------------------------------------#rowspan="4"  ##-----[ IN-LINE REPLACE WITH ]------------------------------------------#rowspan="5"  ##-----[ FIND ]------------------------------------------#<tr><td><span>{TOTAL_USERS_ONLINE} <br> {L_WHOSONLINE}<br>{RECORD_USERS}<br>{LOGGED_IN_USER_LIST}</span></td></tr>  ##-----[ AFTER, ADD ]------------------------------------------#   <tr>     <td><span>{MOST_RECENT_WEBLOGS}</span></td>   </tr>    ##-----[ OPEN ]------------------------------------------# OPTIONAL - Adds a link to a user's blog#templates/Integra2/profile_view_body.tpl  ##-----[ FIND ]------------------------------------------#<tr><td>{L_INTERESTS}:</td><td>{INTERESTS}</td></tr>  ##-----[ AFTER, ADD ]------------------------------------------#<tr> <td><span>{L_WEBLOG}:</span></td><td> <b><span>{WEBLOG}</span></b></td></tr>  ##-----[ OPEN ]------------------------------------------#  Required for the image in viewtopic.php to be shown#templates/Integra2/Integra2.cfg  ##-----[ FIND ]------------------------------------------#?>  ##-----[ BEFORE, ADD ]------------------------------------------#$images['icon_weblog'] = "$current_template_images/{LANG}/icon_weblog.gif";    ##-----[ OPEN ]------------------------------------------# REQUIRED - Adds the ability to allow/disallow groups the ability to have blogs#templates/Integra2/admin/group_edit_body.tpl  ##-----[ FIND ]------------------------------------------#<tr> <td>{L_GROUP_STATUS}:</td><td> <input>{L_GROUP_OPEN}    <input>{L_GROUP_CLOSED}    <input>{L_GROUP_HIDDEN}  <input>{L_GROUP_AUTO} <input>   {L_GROUP_PAYMENT}  </td></tr>  ##-----[ AFTER, ADD ]------------------------------------------#  <tr> <td><span>{L_WEBLOG_GROUP}:</span></td><td> <input> {L_YES}   <input> {L_NO}</td> </tr>##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------## EoM  ##-----[ APPLY INCLUDED SECURITY UPDATES --IMPORTANT-- ]------------------------------------------#
Last edited by MWE_001 on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 6:59 pm
Cash on hand: 0.00
Location: Illinois

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Mon Nov 12, 2007 9:09 pm

thx MWE. I updated the dl with your edited instructions.
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

PreviousNext

Return to Mods/Hacks

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron