[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

PostAuthor: Pogue Moran » Wed Jul 26, 2006 10:17 am

"Dragonsys";p="2299" wrote:I got it all working. Below is the code I used. I will add this to the download file very soon.

SQL Code to add to database:
Code: Select all
INSERT INTO `phpbb_portal_config` VALUES ( '', 'md_num_blogs', '10' );INSERT INTO `phpbb_portal_config` VALUES ( '', 'md_blogs_style', '0' );



templates/fisubice/blocks/blogs_block.tpl
Code: Select all
<table border="0" cellpadding="0" cellspacing="1" width="100%"><tr><td align="left"><span class="gensmall"><!-- BEGIN scroll --><marquee id="recent_blogs" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2" loop="true" onmouseover="this.stop()" onmouseout="this.start()"><!-- BEGIN recent_blog_row -->{scroll.recent_blog_row.RECENT_BLOGS}<!-- END recent_blog_row --></marquee><!-- END scroll --><!-- BEGIN static --><!-- BEGIN recent_blog_row -->{static.recent_blog_row.RECENT_BLOGS}<!-- END recent_blog_row --><!-- END static --></span></td></tr><tr>    <td align=center>    <hr><br><a href="weblogs.php">All Blogs</a> | <a href="weblog.php?w={YOUR_BLOG}">Your Blog</a>    </td> </tr> </table>


blocks/blocks_imp_blogs.cfg
Code: Select all
&lt;?php/***************************************************************************  *                       blocks_imp_blogs.cfg  *                            -------------------  *   copyright            ]http://www.dragonsys.org[/url]  *   email                : [url=http://www.dragonsys.org]http://www.dragonsys.org[/url]  *   email                : <a>webmaster@dragonsys.org</a>  *  *   note: removing the original copyright is illegal even you have modified  *         the code.  Just append yours if you have modified it.  ***************************************************************************/  /***************************************************************************  *  *   This program is free software; you can redistribute it and/or modify  *   it under the terms of the GNU General Public License as published by  *   the Free Software Foundation; either version 2 of the License, or  *   (at your option) any later version.  *  ***************************************************************************/  if ( !defined('IN_PHPBB') ) {    die(&quot;Hacking attempt&quot;); }  if(!function_exists(imp_blogs_block_func)) {    function imp_blogs_block_func()    {        global $template, $userdata, $phpbb_root_path, $phpEx, $db, $board_config, $lang, $portal_config, $_GET;  // // Pugio Edit For Recent Blogs Support //    // Get recent entries or print out an error $sql = &quot;SELECT entry_subject, entry_id, entry_poster_id, entry_time, username, user_id    FROM &quot; . WEBLOG_ENTRIES_TABLE . &quot;, &quot; . USERS_TABLE . &quot;    WHERE &quot; . USERS_TABLE . &quot;.user_id&quot; . &quot; = &quot; . WEBLOG_ENTRIES_TABLE . &quot;.entry_poster_id    ORDER BY entry_time DESC    LIMIT &quot; . $portal_config['md_num_blogs'];  if( !$result = $db-&gt;sql_query($sql) ) {    message_die(GENERAL_ERROR, &quot;Couldn't obtain weblogs information.&quot;, &quot;&quot;, __LINE__, __FILE__, $sql);    $recent_blogs .= &quot;No Blogs&quot;; } else {    $recent_entries = array();    while ( $row = $db-&gt;sql_fetchrow($result) )    {       $recent_entries[] = $row;    }        foreach ($recent_entries as $current)    {       $recent_blogs .= &quot;&raquo;&quot; . &quot;&lt;a href=&quot;weblog_entry.php?e=&quot; . $current['entry_id'] . &quot;&quot;&gt;&lt;b&gt;&quot;;     // Entry Link       $recent_blogs .= $current['entry_subject'];                          // Subject       $recent_blogs .= &quot;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;n            &quot;;                // End and html formatting         $recent_blogs .= &quot;by &lt;a href=&quot;profile.php?mode=viewprofile&u=&quot; . $current['user_id'] . &quot;&quot;&gt;&quot;;    // User Link       $recent_blogs .= $current['username'] . &quot;&lt;/a&gt; on &quot;;                     // User Name       $recent_blogs .= date(&quot;D M j, Y g:i a&quot;,$current['entry_time']);                  // Post Date       $recent_blogs .= &quot;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;n            &quot;;               // End and html formatting    }           if($portal_config['md_blogs_style']){             $style_row = 'scroll';         }else         {             $style_row = 'static';         }           $template-&gt;assign_block_vars($style_row,&quot;&quot;);      $template-&gt;assign_block_vars($style_row . '.recent_blog_row', array(    'RECENT_BLOGS' =&gt; $recent_blogs    )    );      $template-&gt;assign_vars(array(    'RECENT_BLOGS' =&gt; $recent_blogs,    'YOUR_BLOG' =&gt; $userdata['user_weblog']    )    );     }    } } imp_blogs_block_func(); ?&gt;



I originally tried this code but for some reason the blog listing doesn't take up the whole box but only around half the box how do I fix this?
Last edited by Pogue Moran on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Pogue Moran
Members
Members
 
Posts: 74
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jun 24, 2006 5:48 pm
Cash on hand: 0.00

PostAuthor: Dragonsys » Thu Jul 27, 2006 7:10 am

"Pogue Moran";p="12451" wrote:
"Dragonsys";p="2299" wrote:I got it all working. Below is the code I used. I will add this to the download file very soon.

SQL Code to add to database:
Code: Select all
INSERT INTO `phpbb_portal_config` VALUES ( '', 'md_num_blogs', '10' );INSERT INTO `phpbb_portal_config` VALUES ( '', 'md_blogs_style', '0' );



templates/fisubice/blocks/blogs_block.tpl
Code: Select all
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td align=&quot;left&quot;&gt;&lt;span class=&quot;gensmall&quot;&gt;&lt;!-- BEGIN scroll --&gt;&lt;marquee id=&quot;recent_blogs&quot; behavior=&quot;scroll&quot; direction=&quot;up&quot; height=&quot;200&quot; scrolldelay=&quot;100&quot; scrollamount=&quot;2&quot; loop=&quot;true&quot; onmouseover=&quot;this.stop()&quot; onmouseout=&quot;this.start()&quot;&gt;&lt;!-- BEGIN recent_blog_row --&gt;{scroll.recent_blog_row.RECENT_BLOGS}&lt;!-- END recent_blog_row --&gt;&lt;/marquee&gt;&lt;!-- END scroll --&gt;&lt;!-- BEGIN static --&gt;&lt;!-- BEGIN recent_blog_row --&gt;{static.recent_blog_row.RECENT_BLOGS}&lt;!-- END recent_blog_row --&gt;&lt;!-- END static --&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;    &lt;td align=center&gt;    &lt;hr&gt;&lt;br&gt;&lt;a href=&quot;weblogs.php&quot;&gt;All Blogs&lt;/a&gt;&nbsp;|&nbsp;&lt;a href=&quot;weblog.php?w={YOUR_BLOG}&quot;&gt;Your Blog&lt;/a&gt;    &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;


blocks/blocks_imp_blogs.cfg
Code: Select all
&lt;?php/***************************************************************************  *                       blocks_imp_blogs.cfg  *                            -------------------  *   copyright            ]http://www.dragonsys.org[/url]  *   email                : [url=http://www.dragonsys.org]http://www.dragonsys.org[/url]  *   email                : <a>webmaster@dragonsys.org</a>  *  *   note: removing the original copyright is illegal even you have modified  *         the code.  Just append yours if you have modified it.  ***************************************************************************/  /***************************************************************************  *  *   This program is free software; you can redistribute it and/or modify  *   it under the terms of the GNU General Public License as published by  *   the Free Software Foundation; either version 2 of the License, or  *   (at your option) any later version.  *  ***************************************************************************/  if ( !defined('IN_PHPBB') ) {    die(&quot;Hacking attempt&quot;); }  if(!function_exists(imp_blogs_block_func)) {    function imp_blogs_block_func()    {        global $template, $userdata, $phpbb_root_path, $phpEx, $db, $board_config, $lang, $portal_config, $_GET;  // // Pugio Edit For Recent Blogs Support //    // Get recent entries or print out an error $sql = &quot;SELECT entry_subject, entry_id, entry_poster_id, entry_time, username, user_id    FROM &quot; . WEBLOG_ENTRIES_TABLE . &quot;, &quot; . USERS_TABLE . &quot;    WHERE &quot; . USERS_TABLE . &quot;.user_id&quot; . &quot; = &quot; . WEBLOG_ENTRIES_TABLE . &quot;.entry_poster_id    ORDER BY entry_time DESC    LIMIT &quot; . $portal_config['md_num_blogs'];  if( !$result = $db-&gt;sql_query($sql) ) {    message_die(GENERAL_ERROR, &quot;Couldn't obtain weblogs information.&quot;, &quot;&quot;, __LINE__, __FILE__, $sql);    $recent_blogs .= &quot;No Blogs&quot;; } else {    $recent_entries = array();    while ( $row = $db-&gt;sql_fetchrow($result) )    {       $recent_entries[] = $row;    }        foreach ($recent_entries as $current)    {       $recent_blogs .= &quot;&raquo;&quot; . &quot;&lt;a href=&quot;weblog_entry.php?e=&quot; . $current['entry_id'] . &quot;&quot;&gt;&lt;b&gt;&quot;;     // Entry Link       $recent_blogs .= $current['entry_subject'];                          // Subject       $recent_blogs .= &quot;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;n            &quot;;                // End and html formatting         $recent_blogs .= &quot;by &lt;a href=&quot;profile.php?mode=viewprofile&u=&quot; . $current['user_id'] . &quot;&quot;&gt;&quot;;    // User Link       $recent_blogs .= $current['username'] . &quot;&lt;/a&gt; on &quot;;                     // User Name       $recent_blogs .= date(&quot;D M j, Y g:i a&quot;,$current['entry_time']);                  // Post Date       $recent_blogs .= &quot;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;n            &quot;;               // End and html formatting    }           if($portal_config['md_blogs_style']){             $style_row = 'scroll';         }else         {             $style_row = 'static';         }           $template-&gt;assign_block_vars($style_row,&quot;&quot;);      $template-&gt;assign_block_vars($style_row . '.recent_blog_row', array(    'RECENT_BLOGS' =&gt; $recent_blogs    )    );      $template-&gt;assign_vars(array(    'RECENT_BLOGS' =&gt; $recent_blogs,    'YOUR_BLOG' =&gt; $userdata['user_weblog']    )    );     }    } } imp_blogs_block_func(); ?&gt;



I originally tried this code but for some reason the blog listing doesn't take up the whole box but only around half the box how do I fix this?


Do you have a link, or an image so I can see what you mean?
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: twitchy » Sat Aug 05, 2006 7:03 am

just trying to install the blog mod - risky i know letting me loose on mysql !! however i used the db_update.php (thank you Dragonsys you must have seen me coming) and everything but one loaded successfully. this is the error:

INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('mod_version', 0.2.4b)
+++ Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.4b)' at line 1

does anybody know what i need to do to clear this ?
Last edited by twitchy on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]Twitchythumbs.co.uk - Games, Reviews, Gaming news, Competitions etc.[/url]
User avatar
twitchy
Members
Members
 
Posts: 63
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Apr 22, 2006 8:21 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: spode » Thu Aug 17, 2006 9:11 pm

I know this may not be the right place for this but I am hoping that some one can give me a little insight into a problem that is quite frankly driving me nuts. I have the Blog Mod installed successfully on a site I host and it works great. The only issue that I have is getting the My Blog link to work in the sites Navigation Block. The site owner would rather not have it in the header and I agree. The problem is getting the block won't pick up the lang vars from page_header.php. No matter what I do I cannot get it to work.

The site is running phpBB2 2.0.19 (I really need to get that upgraded) and Im Portal and not Integramod or PCP. The mod itself works fine and they are really happy with it. They just want to get the My Blog link to work either in a user created (html) Nav Block or a Qbar-Qnav Nav Block (I have both and I can't get either to work). I can't even figure out how user created blocks get there vars or where they should. I have gotten this stuff to work in regular block files. I have a couple of scrolling Blog blocks that use the {RECENT_BLOGS} var and they work fine but the vars are in the block files.

Any help would be appreciated. I personally would rather just drop the link but they saw it and of coarse now they want it . :D

Rob...
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Aug 21, 2006 8:57 am

"spode";p="13794" wrote:I know this may not be the right place for this but I am hoping that some one can give me a little insight into a problem that is quite frankly driving me nuts. I have the Blog Mod installed successfully on a site I host and it works great. The only issue that I have is getting the My Blog link to work in the sites Navigation Block. The site owner would rather not have it in the header and I agree. The problem is getting the block won't pick up the lang vars from page_header.php. No matter what I do I cannot get it to work.

The site is running phpBB2 2.0.19 (I really need to get that upgraded) and Im Portal and not Integramod or PCP. The mod itself works fine and they are really happy with it. They just want to get the My Blog link to work either in a user created (html) Nav Block or a Qbar-Qnav Nav Block (I have both and I can't get either to work). I can't even figure out how user created blocks get there vars or where they should. I have gotten this stuff to work in regular block files. I have a couple of scrolling Blog blocks that use the {RECENT_BLOGS} var and they work fine but the vars are in the block files.

Any help would be appreciated. I personally would rather just drop the link but they saw it and of coarse now they want it . :D

Rob...



Which link are you meaning? The My Blog link or the Blog CP, or the Blog listing?
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Aug 21, 2006 8:58 am

Hey everyone, i have been away for some time now. I am back, but only in limited fashion.

I have a lot of updates to add to this MOD, and I hope to get it done and published very soon.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: spode » Mon Aug 21, 2006 2:09 pm

"Dragonsys";p="13890" wrote:Which link are you meaning? The My Blog link or the Blog CP, or the Blog listing?


The My Blog link. The other 2 work fine since they are direct links. The problem is that when I add a link to the navigation block that calls the "{U_MYWEBLOG}" variable there is no output and it goes to a non existant page. I am using this line in an html Navigation block; <a>My Blog</a>.

When you hold the mouse over the link on the suspect site it returns this [color=red]http]. When I hold the mouse over my stock phpBB2 install on my local server I get this, [color=red]http]. It looks like the live site with IM Portal installed doesn't know what to do with the variable. I just can't figure out how to get it to work in the nav block. It would be easier for me to put it in the overall_header but he doesn't want it there. By the way my statement above that this site has Qbar installed is wrong. That was another site but I couldn't get it to work there either.

This probably isn't that big of a deal. I did explain to him that when you click the "Blogs" link the first one listed is always the loged in user so he has backed off on it a bit. It is just one of those things.

Rob...
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Aug 22, 2006 7:43 am

"spode";p="13896" wrote:
"Dragonsys";p="13890" wrote:Which link are you meaning? The My Blog link or the Blog CP, or the Blog listing?


The My Blog link. The other 2 work fine since they are direct links. The problem is that when I add a link to the navigation block that calls the "{U_MYWEBLOG}" variable there is no output and it goes to a non existant page. I am using this line in an html Navigation block; <a>My Blog</a>.

When you hold the mouse over the link on the suspect site it returns this [color=red]http]. When I hold the mouse over my stock phpBB2 install on my local server I get this, [color=red]http]. It looks like the live site with IM Portal installed doesn't know what to do with the variable. I just can't figure out how to get it to work in the nav block. It would be easier for me to put it in the overall_header but he doesn't want it there. By the way my statement above that this site has Qbar installed is wrong. That was another site but I couldn't get it to work there either.

This probably isn't that big of a deal. I did explain to him that when you click the "Blogs" link the first one listed is always the loged in user so he has backed off on it a bit. It is just one of those things.

Rob...


Well, if you are using QBAR, it cannot process dynamic links. That is why I created a page which forwards to the My Blog link, for use with IntegraMod. You just link to that page and it has the code inside of it to figure out the user's blog link.

I can make the code available for it, or you can download the IM version of the Blog Mod I posted above, which ever works best for you. But, if you are just using IM Portal, then you probably don't want to use the IM version... (just use the myblog.php and myblog.tpl files)
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: spode » Tue Aug 22, 2006 2:33 pm

"Dragonsys";p="13890" wrote:

Well, if you are using QBAR, it cannot process dynamic links. That is why I created a page which forwards to the My Blog link, for use with IntegraMod. You just link to that page and it has the code inside of it to figure out the user's blog link.

I can make the code available for it, or you can download the IM version of the Blog Mod I posted above, which ever works best for you. But, if you are just using IM Portal, then you probably don't want to use the IM version... (just use the myblog.php and myblog.tpl files)


I actually downloaded the IM version last night and installed a copy of Integramod then your Blog mod for IM to see how it works. I actually couldn't get it to work there either. I then realized that the "myblog.php file does not appear to be in the archive. It is a clever way to work around the situation and I will see if I can figure out the code when I get home tonight. If you would like to post it here that would be fine also. I learn about the same from going through someones elses code as I do trying to create it myself, it is just allot quicker if I use yours. <img>

Thanks for the help,
Rob...
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Aug 22, 2006 6:28 pm

hmmm, I will have to check the download file...

Here is the code


myblog.php:
Code: Select all
<php>set_filenames(array(         'body' => 'myblog.tpl') );        function my_blog_func()    {        global $template, $userdata, $phpbb_root_path, $phpEx, $db, $board_config, $lang, $portal_config, $_GET;      $template->assign_vars(array(    'YOUR_BLOG' => $userdata['user_weblog']    )    );        } my_blog_func();  $template->pparse('body');  include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?>


templates/xxx/myblog.tpl]  <head><META></head><body><p> </p><p> </p><center><h1>Now loading your My Blog page</h1></center></body>[/code]
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: spode » Tue Aug 22, 2006 8:03 pm

Thanks Dragonsys. It is nice to know that there are bright people out there to help keep me from looking totally lost all of the time. I had the Meta refresh basically correct but I was barking completely up the wrong tree on the php file. I was going to try to integrate the blogs into the forums but he actually prefers that they are separate the way the original mod was written. Regardless, he is happy and that is waht I was after. Actually this will come in handy in the future I am sure. Nice to know that you can get this sort of thing working in Qbar if you need to. <img>

This is a nice simple yet elegant fix that works perfectly. I really appreciate the help.

Thanks again,
Rob...
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Aug 22, 2006 8:04 pm

glad I could help <img>
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: DjPorkchop » Wed Sep 13, 2006 6:16 pm

I tried this yet again and it didnt work. Maybe should I try it on my CP for my website rather than phpmyadmin on my board?

***Update. I went to phpmyadmin at my websites Control panel and looked up the tables for user_allowweblog=1 and the value is infact 1 and not 0 is this correct?
"Threat009";p="9789" wrote:
"Dragonsys";p="9750" wrote:it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl

That did the trick. Thanks <img>

Just wanted to also mention in regard to the &quot;you have been banned from creating a blog&quot; error. The sql thing below that you mentioned worked for me

Code: Select all
UPDATE phpbb_users SET user_allowweblog=1 WHERE user_allowweblog=0;


I read that someone else didn't have any luck w/it, but it's still worth trying if you are getting this error. <!-- s]
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: Dragonsys » Thu Sep 14, 2006 6:23 am

"MWE_001";p="15406" wrote:I tried this yet again and it didnt work. Maybe should I try it on my CP for my website rather than phpmyadmin on my board?

***Update. I went to phpmyadmin at my websites Control panel and looked up the tables for user_allowweblog=1 and the value is infact 1 and not 0 is this correct?
"Threat009";p="9789" wrote:
"Dragonsys";p="9750" wrote:it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl

That did the trick. Thanks <img>

Just wanted to also mention in regard to the &quot;you have been banned from creating a blog&quot; error. The sql thing below that you mentioned worked for me

Code: Select all
UPDATE phpbb_users SET user_allowweblog=1 WHERE user_allowweblog=0;


I read that someone else didn't have any luck w/it, but it's still worth trying if you are getting this error. <!-- s]


hmmmmm...

Ok, I am doing some testing. I have created another site, and I'm playing with The Blog Mod and IM to make sure I have everything covered for it. Let me see if I can reproduce this...
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Sep 17, 2006 3:31 am

Ok I will stand by . I read one other person got it to work. I wonder server specs. I can get you mine if you need. Also can get you IM version and blog mod is your latest one.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Sep 18, 2006 6:10 am

"MWE_001";p="15536" wrote:Ok I will stand by . I read one other person got it to work. I wonder server specs. I can get you mine if you need. Also can get you IM version and blog mod is your latest one.


What is your IM version?
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Sep 18, 2006 11:28 am

1.4.0 Integramod Im not using IM portal but the whole package.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Sep 18, 2006 12:17 pm

ok, well so far, I have found a few minor errors in the Install Docs, nothing which really cause problems, just a few duplicate instructions and such. I think I MIGHT have found a couple of missing items, and I am correcting that now.

I should know more soon. I'll keep you updated.

After I get all this sorted out, I will apply the latest patches and security fixes to the mod as well. I am also working on creating a couple of enhancements and add-ons which severl people have been asking for over at theblogmod.com.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Sep 18, 2006 12:42 pm

ok. Ill be on the look out thx Dragonsys
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Sep 19, 2006 2:09 pm

ok, I have it fully installed on my test board (http://beta.dragonsys.org/im_test). Now I just need to do testing. I'm going to setup the configuration tonight, so if anyone wants to help me test it.... I will create a few test accounts as well and post the info here.

Here is what I have found so far:
  • Remove Duplicate Permissions info from Install Doc (Completed)
  • Add version checker (Completed)
  • Correct [ FIND ] in admin_groups.php (Completed)
  • Correct [ FIND ] in page_header.php (Completed)
  • Correct 2nd lang_admin.php to lang_main.php (Completed)
  • Move Edits for index_body.tpl to an Optional Section (Completed)
  • Add myblog link files to the download (Completed)
  • Update pre-modded files to phpBB v2.0.21 (Completed)
  • Create a clear upgrade path
  • Make corrections to dp_update.php (Completed)

I have also found a bug.. sorta
after the block variables have ben added to the DB, if you upload the block .cfg file again (so the timestamp on it updates) then they will be added to the DB again, causing duplicates. They will re-add everytime the timestamp on that file changes.
Last edited by Dragonsys on Wed Sep 20, 2006 9:40 am, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue Sep 19, 2006 4:29 pm

Would love to help out any way I can testing or what not. Ill keep checking back through out the night for info. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Sep 19, 2006 5:02 pm

http://beta.dragonsys.org/im_test/

TestUser
password


or you can create your own account.

Try out everything that fails at your site(s) and let me know what you find.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Sep 20, 2006 1:09 am

Ok will do. Im sry to take so long to reply It is 3:08 am my time just got home from an emergency I will go therre and starte testing after work In the afternoon. thx again chief Ill let ya know what happens. ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Sep 20, 2006 5:37 am

Not a problem. I am gonna test for the next couple of days, then I will repackage the Mod for download.

After that I will start testing the add-ons, patches, etc for the MOD and add them if they meet the following:

Work Properly
Add Value
Requested Features
Needed Upgrades
etc...
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Sep 20, 2006 10:50 am

well... it seems to be working great, for me anyway. I have not gotten it to fail yet.

If I don't hear anything before tomorrow sometime, I'm gonna go ahead and package this up and update my downloads. Then I will get to work on the add-ons and stuff.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: spode » Wed Sep 20, 2006 6:25 pm

Well the only thing I am seeing is a message stating "You need Security Fixes" and I don't think that relates to your mod. The mod itself looks fine.

Thanks for the continued effort Dragonsys.
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Sep 21, 2006 5:42 am

that message is due to me testing out some security flaws. Once I apply the fixes it will go away.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Sep 21, 2006 6:06 am

I am including the code for the Security fixes here, in case anyone wants to go ahead and install them on their site.

I warn you though, I have not tested these yet (They have been tested by other boards though, just not IM), and they require your site to have the base phpBB v2.0.21. So if you have not updated your site to 2.0.21 yet, do not install these.

Code: Select all
#-----[ OPEN ]------------------------------------------------ weblog.php  #-----[ FIND ]------------------------------------------------ $page_title = $weblog_data['weblog_name'];  #-----[ REPLACE WITH ]------------------------------------------------ $page_title = strip_tags($weblog_data['weblog_name']);  #-----[ FIND ]------------------------------------------------ $action = '<strong>[</strong> ' . sprintf($lang['Currently], '<img>',  $currently['action_text'] . ' ' . $entry_data[$i]['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . strip_tags(htmlspecialchars($entry_data[$i]['currently_text']))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ $action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', $entry_data[$i]['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($entry_data[$i]['currently_text']))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ 'SUBJECT' => $entry_data[$i]['entry_subject'],  #-----[ REPLACE WITH ]------------------------------------------------ 'SUBJECT' => strip_tags(htmlspecialchars($entry_data[$i]['entry_subject'])),  #-----[ FIND ]------------------------------------------------ 'POST_COMMENT' => ( !$entry_data[$i]['no_replies'] ) ? sprintf($weblog_data['post_reply_text'], $entry_data[$i]['entry_replies']) : '',  #-----[ REPLACE WITH ]------------------------------------------------ 'POST_COMMENT' => ( !$entry_data[$i]['no_replies'] ) ? sprintf(strip_tags($weblog_data['post_reply_text']), $entry_data[$i]['entry_replies']) : '',  #-----[ FIND ]------------------------------------------------ 'REPLIES' => ( !$entry_data[$i]['no_replies'] ) ? sprintf($weblog_data['replies_text'], $entry_data[$i]['entry_replies']) : '',  #-----[ REPLACE WITH ]------------------------------------------------ 'REPLIES' => ( !$entry_data[$i]['no_replies'] ) ? sprintf(strip_tags($weblog_data['replies_text']), $entry_data[$i]['entry_replies']) : '',  #-----[ OPEN ]------------------------------------------------ weblog_entry.php  #-----[ FIND ]------------------------------------------------ $weblog_name = $weblog_entry_data['weblog_name']; $entry_subject = $weblog_entry_data['entry_subject'];  #-----[ REPLACE WITH ]------------------------------------------------ $weblog_name = strip_tags($weblog_entry_data['weblog_name']); $entry_subject = strip_tags(htmlspecialchars($weblog_entry_data['entry_subject']));  #-----[ FIND ]------------------------------------------------ $page_title = $weblog_entry_data['weblog_name'] . ' :: ' . $weblog_entry_data['entry_subject'];  #-----[ REPLACE WITH ]------------------------------------------------ $page_title = strip_tags($weblog_entry_data['weblog_name']) . ' :: ' . strip_tags(htmlspecialchars($weblog_entry_data['entry_subject']));  #-----[ FIND ]------------------------------------------------ $action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . $entry_data['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . strip_tags(htmlspecialchars($entry_data['currently_text']))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ $action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', $entry_data['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($entry_data['currently_text']))) . ' <strong>]</strong>';  #-----[ OPEN ]------------------------------------------------ weblogs.php  #-----[ FIND ]------------------------------------------------ $action = sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . $last_entry_data['currently_text']);  #-----[ REPLACE WITH ]------------------------------------------------ $action = sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . strip_tags(htmlspecialchars($last_entry_data['currently_text'])));  #-----[ FIND ]------------------------------------------------ $action = sprintf($lang['Currently:'], '', $last_entry_data['currently_text']);  #-----[ REPLACE WITH ]------------------------------------------------ $action = sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($last_entry_data['currently_text'])));  #-----[ FIND ]------------------------------------------------ $action = sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . $last_entry_data['currently_text']);  #-----[ REPLACE WITH ]------------------------------------------------ $action = sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . strip_tags(htmlspecialchars($last_entry_data['currently_text'])));  #-----[ FIND ]------------------------------------------------ $action = sprintf($lang['Currently:'], '', $last_entry_data['currently_text']);  #-----[ REPLACE WITH ]------------------------------------------------ $action = sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($last_entry_data['currently_text'])));  #-----[ FIND ]------------------------------------------------ 'WEBLOG_NAME' => $weblog_data[$i]['weblog_name'],  #-----[ REPLACE WITH ]------------------------------------------------ 'WEBLOG_NAME' => strip_tags($weblog_data[$i]['weblog_name']),  #-----[ OPEN ]------------------------------------------------ weblog_posting.php  #-----[ FIND ]------------------------------------------------ 'ENTRY_SUBJECT' => $entry_subject,  #-----[ REPLACE WITH ]------------------------------------------------ 'ENTRY_SUBJECT' => strip_tags(htmlspecialchars($entry_subject)),  #-----[ FIND ]------------------------------------------------ 'WEBLOG_NAME' => $weblog_data['weblog_name'],  #-----[ REPLACE WITH ]------------------------------------------------ 'WEBLOG_NAME' => strip_tags($weblog_data['weblog_name']),  #-----[ FIND ]------------------------------------------------ $post_subject = stripslashes($subject);  #-----[ REPLACE WITH ]------------------------------------------------ $post_subject = strip_tags(htmlspecialchars(stripslashes($subject)));  #-----[ FIND ]------------------------------------------------ $preview_action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . $action_text) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $preview_action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  strip_tags(htmlspecialchars($currently['action_text'])) . ' ' . strip_tags(htmlspecialchars($action_text))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ $preview_action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', $action_text) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $preview_action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($action_text))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ $entry_action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $entry_currently['action_text'] . ' ' . $entry_data['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $entry_action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $entry_currently['action_text'] . ' ' . strip_tags(htmlspecialchars($entry_data['currently_text']))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ $entry_action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', $entry_data['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $entry_action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($entry_data['currently_text']))) . ' <strong>]</strong>';  #-----[ OPEN ]------------------------------------------------ weblog_friends.php  #-----[ FIND ]------------------------------------------------ $action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . $entry_data[$i]['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<strong>[</strong> ' . sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . strip_tags(htmlspecialchars($entry_data[$i]['currently_text']))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ $action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', $entry_data[$i]['currently_text']) . ' <strong>]</strong>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<strong>[</strong>' . sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($entry_data[$i]['currently_text']))) . ' <strong>]</strong>';  #-----[ FIND ]------------------------------------------------ 'WEBLOG_NAME' => $friend_data[$i]['weblog_name'],  #-----[ REPLACE WITH ]------------------------------------------------ 'WEBLOG_NAME' => strip_tags($friend_data[$i]['weblog_name']),  #-----[ FIND ]------------------------------------------------ 'SUBJECT' => $friend_entry_data['entry_subject'],  #-----[ REPLACE WITH ]------------------------------------------------ 'SUBJECT' => strip_tags(htmlspecialchars($friend_entry_data['entry_subject'])),  #-----[ FIND ]------------------------------------------------ 'WEBLOG_NAME' => $weblog_data['weblog_name'])  #-----[ REPLACE WITH ]------------------------------------------------ 'WEBLOG_NAME' => strip_tags($weblog_data['weblog_name']))  #-----[ FIND ]------------------------------------------------ 'POST_COMMENT' => ( !$friend_entry_data['no_replies'] && $friend_entry_data['entry_text'] ) ? sprintf($friend_data[$i]['post_reply_text'], $friend_entry_data['entry_replies']) : '',  #-----[ REPLACE WITH ]------------------------------------------------ 'POST_COMMENT' => ( !$friend_entry_data['no_replies'] && $friend_entry_data['entry_text'] ) ? sprintf(strip_tags($friend_data[$i]['post_reply_text']), $friend_entry_data['entry_replies']) : '',  #-----[ FIND ]------------------------------------------------ 'REPLIES' => ( !$friend_entry_data['no_replies'] && $friend_entry_data['entry_text'] ) ? sprintf($friend_data[$i]['replies_text'], $friend_entry_data['entry_replies']) : '',  #-----[ REPLACE WITH ]------------------------------------------------ 'REPLIES' => ( !$friend_entry_data['no_replies'] && $friend_entry_data['entry_text'] ) ? sprintf(strip_tags($friend_data[$i]['replies_text']), $friend_entry_data['entry_replies']) : '',  #-----[ FIND ]------------------------------------------------ $friend_entry_data['entry_text'] = nl2br($friend_entry_data['entry_text']);  #-----[ AFTER ADD ]------------------------------------------------ $friend_entry_data['entry_text'] = undo_htmlspecialchars($friend_entry_data['entry_text']);  #-----[ OPEN ]------------------------------------------------ weblog_news.php  #-----[ FIND ]------------------------------------------------  $action = sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . $last_entry_data['currently_text']);  #-----[ REPLACE WITH ]------------------------------------------------  $action = sprintf($lang['Currently:'], '<img>',  $currently['action_text'] . ' ' . strip_tags(htmlspecialchars($last_entry_data['currently_text'])));  #-----[ FIND ]------------------------------------------------ $action = sprintf($lang['Currently:'], '', $last_entry_data['currently_text']);  #-----[ REPLACE WITH ]------------------------------------------------ $action = sprintf($lang['Currently:'], '', strip_tags(htmlspecialchars($last_entry_data['currently_text'])));  #-----[ FIND ]------------------------------------------------ 'L_LATEST_ENTRIES' => $blog_row[$i]['entry_subject'],  #-----[ REPLACE WITH ]------------------------------------------------ 'L_LATEST_ENTRIES' => strip_tags(htmlspecialchars($blog_row[$i]['entry_subject'])),  #-----[ FIND ]------------------------------------------------ 'L_LATEST_REPLY' => $replies_row[$i]['entry_subject'],  #-----[ REPLACE WITH ]------------------------------------------------ 'L_LATEST_REPLY' => strip_tags(htmlspecialchars($replies_row[$i]['entry_subject'])),  #-----[ FIND ]------------------------------------------------ 'L_BLOG_NAME' => $replies_row[$i]['weblog_name'],  #-----[ REPLACE WITH ]------------------------------------------------ 'L_BLOG_NAME' => strip_tags($replies_row[$i]['weblog_name']),  #-----[ OPEN ]------------------------------------------------ weblog_allentries.php  #-----[ FIND ]------------------------------------------------ $page_title = $weblog_data['weblog_name'] . ' :: ' . $lang['Entries'];  #-----[ REPLACE WITH ]------------------------------------------------ $page_title = strip_tags($weblog_data['weblog_name']) . ' :: ' . $lang['Entries'];  #-----[ FIND ]------------------------------------------------ 'WEBLOG_NAME' => $weblog_data['weblog_name'],  #-----[ REPLACE WITH ]------------------------------------------------ 'WEBLOG_NAME' => strip_tags($weblog_data['weblog_name']),  #-----[ FIND ]------------------------------------------------ $entry_subject = ( count($orig_word) && $weblog_config['censor_weblog'] ) ? preg_replace($orig_word, $replacement_word, $entry_data[$i]['entry_subject']) : $entry_data[$i]['entry_subject'];  #-----[ REPLACE WITH ]------------------------------------------------ $entry_subject = ( count($orig_word) && $weblog_config['censor_weblog'] ) ? preg_replace($orig_word, $replacement_word, strip_tags(htmlspecialchars($entry_data[$i]['entry_subject']))) : strip_tags(htmlspecialchars($entry_data[$i]['entry_subject']));  #-----[ FIND ]------------------------------------------------ $action = '<img>';  #-----[ REPLACE WITH ]------------------------------------------------ $action = '<img>';


If you use the block:
Code: Select all
#-----[ OPEN ]------------------------------------------------ blocks/blocks_imp_blogs.php  #-----[ FIND ]------------------------------------------------       $recent_blogs .= $current['entry_subject'];                          // Subject  #-----[ REPLACE WITH ]------------------------------------------------       $recent_blogs .= strip_tags(htmlspecialchars($current['entry_subject']));                          // Subject
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Sep 21, 2006 6:55 am

I have applied the above fixes to my test site, and everything seems to be working fine.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: spode » Thu Sep 21, 2006 6:44 pm

"Dragonsys";p="15720" wrote:that message is due to me testing out some security flaws. Once I apply the fixes it will go away.


That is what I thought. Also, Thanks for posting the fixes, I hadn't seen those yet.

Rob...
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Fri Sep 22, 2006 5:23 am

I have updated the first post with the corrected download file. This does not include the security fixes, but I have added a link to pre-modded files for them as well.

The next release will include the fixes in place, as well as a few add-ons.

I encourage everyone to update to at least the regular version I have uploaded. Do not install the Security Fixes unless you are running base phpBB 2.0.21. If you are running 2.0.21 then I suggest you add the fixes as well.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: IntegraMOD » Sat Sep 23, 2006 1:59 am

i've installed The Blog Mod but suddenly when i want to post my posting it appear this error:

[code]Error getting category information  DEBUG MODE  SQL Error ]

help me..what should i do....
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

Re: [BETA] - The Blog Mod

PostAuthor: spode » Sat Sep 23, 2006 8:13 am

[quote=""alan_rast";p="15775""]i've installed The Blog Mod but suddenly when i want to post my posting it appear this error:

Code: Select all
Error getting category information  DEBUG MODE  SQL Error ]
 
help me..what should i do....[/quote]
 
Did you preform the following changes in the install file?[code]# #-----[ 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'); INSERT INTO `phpbb_portal_config` VALUES ( '', 'md_num_blogs', '10' );  INSERT INTO `phpbb_portal_config` VALUES ( '', 'md_blogs_style', '0' );  -- -- 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' );  ALTER TABLE `phpbb_weblog_actions` CHANGE `action_id` `action_id` SMALLINT( 5 ) UNSIGNED NOT NULL DEFAULT '0' AUTO_INCREMENT; ALTER TABLE `phpbb_weblogs` CHANGE `weblog_id` `weblog_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT;  ALTER TABLE `phpbb_weblog_entries` CHANGE `entry_id` `entry_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT;  ALTER TABLE `phpbb_weblog_replies` CHANGE `reply_id` `reply_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT;  ALTER TABLE `phpbb_weblog_shoutbox` CHANGE `shout_id` `shout_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT;  ALTER TABLE `phpbb_weblog_moods` CHANGE `mood_id` `mood_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT; INSERT INTO phpbb_weblog_config (config_name, config_value) VALUES ('no_trackback', 0);

You run these SQL statements in phpmyadmin to create and populate the database tables for the mod. Alternately I believe that there is a "db_update.php" file included that you could upload to your forums and execute via your browser to update the database. Remember to delete this file after running it.
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Sat Sep 23, 2006 9:19 am

spode is correct. You need to run the db_update.php file. You will get a lot of failures, if you already had the mod installed, but there will be a few successes. I am working on a clear upgrade path, but it is not complete yet.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: IntegraMOD » Sat Sep 23, 2006 10:22 pm

thanx spode..
i've done it before..
i forgot to dump phpbb_weblog_entries....
Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Sep 24, 2006 2:01 am

Hey Dragonsys, Im sry i didnt get to help out with testing. My work schedule sux bad!!! lots of hours thats why no one sees me here for weeks at a time anymore. it sux bad, BUT hey what about the you have been banned from creating a blog deal? Any such luck getting that error like i still get? thx chief and sry once again. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Sep 25, 2006 7:41 am

"MWE_001";p="15815" wrote:Hey Dragonsys, Im sry i didnt get to help out with testing. My work schedule sux bad!!! lots of hours thats why no one sees me here for weeks at a time anymore. it sux bad, BUT hey what about the you have been banned from creating a blog deal? Any such luck getting that error like i still get? thx chief and sry once again. Ray


No probs, I can totally understand the work schedule thing. The site is still up and you can still test, as I am working on add-ons and fixes and the such as well.

I have not been able to reproduce that problem with being banned. You might want to download the latest file I put up and check your DB edits and your file edits, just to make sure.

Do you have any other mods installed? I wonder if maybe there is something conflicting with the BlogMod...
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Michaelo » Tue Sep 26, 2006 6:05 pm

I must get around to playing with this it looks great... <img>
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Sep 27, 2006 1:22 pm

I have several extras installed on my test site, for this MOD. And everything seems to be working well. There are a few more I am going to install and test out, and then I will get started on packaging it all up and updating the downloads, as well as releasing upgrade doc(s)
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: spode » Wed Sep 27, 2006 4:20 pm

Hi Dragonsys;

I have something that may be of interest to you for your mod since you are working with Integramod. I am a big fan of Spellcheckers and even though this site doesn't appear to use the one that was in the older version of IM I figured I would offer it up for your mod anyway. I posted at your site with a link to the install file. It isn't much and it was pretty easy but handy none the less.

Rob...
Last edited by spode on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://spodesites.net/pub/images/spodelgbannera.gif[/img]

spode
Newbie
Newbie
 
Posts: 12
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Jul 03, 2006 6:59 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sat Sep 30, 2006 5:28 pm

Hi Dragonsys. I aprreciate your understanding work schedules lol Mine is just rediculous! 13 and 14 hour days then off to bed. lol BUT anyhow, i do have many mods installed such as Vault AMOD+ reg Mod and many more, but the funny thing is that up until yesterday i had users being banned. I had them try for me and was banned. All of a sudden today I created a few new accounts and all could create blogs!!! No being banned. Hmmm it fixed itself? lol I wonder what happened. Anyhow. I am going to your site as soon as i leave here and mess with yours some and see how she goes. anyhow talk to you later ray

*Just an update*

I was banned at your site from creating a blog as my OWN account that i created as well as when I logged in on the user account that you had set up.

I looked and your blogs do show up in the Who's online, mine havent been,

On your deafult blog skin, no missing images or stretched out like mine either. Looking good.

Thats as far as I could get with testing your mod install verses mine. Once you get me unbanned I would love to come back again and mess with it some more.

Have a great day. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Sun Oct 01, 2006 5:15 pm

ok, I see where you and the Testuser were both banned. I think it might be the DB entry when a new user is created onthe system, it must be defaultinh to 1. I will take a look as soon as I get back to my PC which has all the code on it.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Sun Oct 01, 2006 5:41 pm

Well I did a quick once over on my DB and here is what I found.

user_allowweblog defaults to 0 (banned). Run this SQL command and it will fix all furture users:
Code: Select all
ALTER TABLE `phpbb_users` CHANGE `user_allowweblog` `user_allowadvweblog` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '1'


run this command, and it will change all your users to Not Banned (so if You have some who you do want banned, you will need to set them back to banned)]UPDATE `phpbb_users` SET `user_allowweblog` = '1' WHERE `user_allowweblog` = '0'[/code]

I will update the install info and download as soon as I get back into the office.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Oct 01, 2006 8:09 pm

Awesome. Im going to check that out right now. Let me know if you need anymore help there since i have been there allready and tested. Have a good day. Ray


*UPDATE*

I ran both of these commands and tested my boards and it works great! I have been waiting so long for this! Thx!
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Oct 02, 2006 7:59 am

hmmm, kinda strange, but I am looking at the DB updates in the install doc and the db_update.php and both set that field as a default of 1. I don't understand why it defaulted to 0 instead.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Oct 02, 2006 2:04 pm

"Dragonsys";p="16035" wrote:hmmm, kinda strange, but I am looking at the DB updates in the install doc and the db_update.php and both set that field as a default of 1. I don't understand why it defaulted to 0 instead.


Allthough. I did have to edit one of the commands. Im sry forgot to poin that out that in the first command leaving this
Code: Select all
ALTER TABLE `phpbb_users` CHANGE `user_allowweblog` `user_allowadvweblog` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '1'
as it is comes up with error. Change the user_allowadvweblog part to user_allowweblog instead it runs. the second one was fine. I created 4 different accounts and all were not banned from creating blogs and all that was is now not as stated. I can have a look over my DB for you if you like and see what it says. Let me know.. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Oct 03, 2006 5:37 am

sorry... I mistakenly pasted that field, but I thought I had corrected all of them. Thanks <img>
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue Oct 03, 2006 7:21 pm

"Dragonsys";p="16063" wrote:sorry... I mistakenly pasted that field, but I thought I had corrected all of them. Thanks <img>



Hey no probs. Anytime. I have been messing quite a bit on your test site, finding bits and pieces here and there and all of them so far i have posted in a blog since i cant get to your forum. The FTR is stopping me from viewing your foum there.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Oct 04, 2006 5:55 am

"MWE_001";p="16090" wrote:
"Dragonsys";p="16063" wrote:sorry... I mistakenly pasted that field, but I thought I had corrected all of them. Thanks <img>



Hey no probs. Anytime. I have been messing quite a bit on your test site, finding bits and pieces here and there and all of them so far i have posted in a blog since i cant get to your forum. The FTR is stopping me from viewing your foum there.


I just truend off the FTR. I posted comments in your blogs regarding what you have been finding.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Oct 04, 2006 12:05 pm

Ok thx. Ill have a look see and check it out. My lazy self just woke up so I hadnt been there yet today. lol Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Oct 11, 2006 12:59 pm

[color=red]Trackbacks]
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Oct 11, 2006 5:06 pm

Got her figured out ehh? lolI havent been tto the test site in a few days. back to the ol grind at work. was gonna stop by there and have a look right after i get done here. Hey i wanted to ask you if the blog mod team has any ideas or times frames when the other templates may possibly be updated to fix the images problems? Just wondering thats all. Have a good one man. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Oct 12, 2006 5:42 am

Well, the thing is, the Templates, other than Infinity, are all user submitted. There are quite a few of them, so we really don't have the time to go through them all. We make sure that Infinty is up to date and working, as for the rest, it kinda up to the creator to keep up with them.

That sounds bad, but I don't know how else to word it.

I'm going to take a look at some of them when I get the chance, I just havn't had one yet. I also need to gather up all the Template changes for the latest version(s).
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Oct 12, 2006 1:00 pm

We found a bug in the Infinity Template. It creates an error when trying to limit entries on the All Entries page.

Here is the fix:

OPEN: weblogs/teamplates/Infinty/weblog_allentries_body.htm

FIND:
Code: Select all
            <form>


REPLACE WITH]             <form>[/code]
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Thu Oct 12, 2006 6:49 pm

I hear ya on the templates. I just hate to have only one is why Im still using the old version. thats cool though. Wished i knew how to fix them lol. BUT I dont so Ill stay with the old version I guess. BUT i will continue to mess around on your test site and do what I can. My php really stinks so Im limited at best. HTML on the otherhand I can do. lol BUT thats another story. take it easy chief. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Fri Oct 13, 2006 5:34 am

"MWE_001";p="16535" wrote:I hear ya on the templates. I just hate to have only one is why Im still using the old version. thats cool though. Wished i knew how to fix them lol. BUT I dont so Ill stay with the old version I guess. BUT i will continue to mess around on your test site and do what I can. My php really stinks so Im limited at best. HTML on the otherhand I can do. lol BUT thats another story. take it easy chief. Ray


Those templates should work with the latest release of the Blog Mod, they are just missing some of the newer "features"
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Fri Oct 13, 2006 7:29 pm

Oh ok thats cool. Ill have to have a peek at that on my test board and try it out.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Oct 26, 2006 10:17 am

I have a list of Templates which i am working on here - http://beta.dragonsys.org/im_test/viewtopic.php?t=42
If there is a Template which you want, that is not on my list, send me a download link to it and I will add it to my list to get done.

Here is my current To-Do list for the next release - http://beta.dragonsys.org/im_test/viewtopic.php?t=2
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: computerz » Tue Oct 31, 2006 12:23 am

Downloads:
<img> [url=http]Blog Install Files (Only 1 Template included)[/url] 399KB (Updated - 9/21/06)


Any reason why the download is a .rar file instead of .zip?
Last edited by computerz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

computerz
Members
Members
 
Posts: 84
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sun Aug 27, 2006 2:21 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Oct 31, 2006 7:08 am

"computerz";p="17158" wrote:
Downloads:
<img> [url=http]Blog Install Files (Only 1 Template included)[/url] 399KB (Updated - 9/21/06)


Any reason why the download is a .rar file instead of .zip?


RAR is a better compression program than PK-ZIP, and makes the files smaller. I house a lot of files on my server, and need to save space where I can.

You can get a shareware RAR program here - [url=http]http://www.rarsoft.com[/url]
You get a 30 day trial, after the 30 days it's just nagware, but still works 100%
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Tue Oct 31, 2006 4:56 pm

I use [url=http]WinRAR[/url]. It never nags and ive had it for years. It will also compress/uncompress .zip
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 115 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue Oct 31, 2006 8:31 pm

Yeah WinRar is great. And ok, Ill get a template or two that I would REALLy like to see updated. lol but no biggie. I know all of our times are short these days with so many things to do and only 2 arms. lol. Have a good one guys. Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Thu Dec 21, 2006 11:54 am

Ok So now I give up and must ask. <img> On the OLD version of blog mod I could use the [stream:2duvpvi3][/stream:2duvpvi3] tags to stream mp3's in my blogs. I can no longer do that on any updated blog mod site I have stopped and visited BUT yours Dragonsys. Why is this and how can I fix it? I dont want to use the mp3 addon as you suggested in your site due to bandwith issues. Since Im the one paying the sever bill I figure I can use the stream tags to stream instead of anyone having the right. Is there a way I can hard code the BBCode back inor something? Oh and aligning pic no longer works neither.

All I get on screen is BBCode tags instead of what I Intended it to do. Is there anyway I can still get my hands on the older version of Blog Mod? Had no probs with it besides template mistakes but that is nothing compared to what I got now on the updated version. Thx in advance Ray


***CORECTION*** I just stopped by your test site and I see music no longer streams off of your site in the blog mod either. Such as It does [url=http]HERE[/url]

All im using is [*stream*]http://www.mweva.com/directory/blahblahblah.mp3[*/stream*]

I added the ** to stop the stream from occuring on this site.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Dec 27, 2006 7:48 am

I have not played with the Stream bbcode, so I'm not real asure..

However, using the mp3 bbcode I have on my site, you can do what you want, just disable mp3 uploads. User will still be able to use mp3 files from a different server.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Dec 27, 2006 3:30 pm

Ok thats cool. I wasnt aware that i could choose who could and could not use mp3 deal you have. that would be cool if so, BUT like I said it was streaming fine from your site with the stream codes i added and now it dont. It stopped. BUT the stream codes and my file are still there. all other updated blog mod sites I have been to all have donwthe same thing. BUT mine seems to be fine still.

Anyhow Im goin gto have a look at that mp3 thing you have. it interests me. <img>
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Jan 03, 2007 12:54 am

So has anyone tried this as a test on a 1.4.1 rc5 yet? I got it completely installed looking sweet and all and EVERYTHING works except..........I click on post a topic and get General Error. Error getting category information

I Ran the db update file accordingly and all looks good. BUT i had to make one edit and i know it's wrong. Not the install, but where i put the insert.

It says in def_usermaps.php to
#-----[ FIND ]------------------------------------------
# inside of 'PCP.viewprofile.base.webinfo'

Code: Select all
 'user_points' => array(                         'txt'          => true,                         'style'        => '<span>%s</span>',                      ),


#
#-----[ AFTER, ADD ]------------------------------------------
#

Code: Select all
 'user_weblog' => array(                         'lang_key' => 'Weblog',                         'leg' => true,                         'dsp_func' => 'pcp_output_weblog',                         'img' => true,                      ),


In 1.4.1 rc5 this section is as follows
Code: Select all
'PCP.viewprofile.base.webinfo' => array(                 'order'       => 50,                         'split'       => true,                                         'title'  => array(                         'username' => array(                                 'txt'          => true,                                 'style'        => 'About_user',                             ),                     ),                 'fields'     => array(                         '[lf]0' => array(                             ),                         'user_regdate' => array(                                 'leg'          => true,                                 'txt'          => true,                             ),                         'user_lastvisit' => array(                                 'leg'          => true,                                 'txt'          => true,                             ),                         '[lf]1' => array(                             ),                         'user_style' => array(                                 'txt'          => true,                             ),                         'user_posts_stat' => array(                                 'leg'          => true,                                 'txt'          => true,                                 'crlf'         => true,                                 'style'        => '<span>%s</span>',                             ),                         'user_topics_stat' => array(                                 'leg'          => true,                                 'txt'          => true,                                 'img'          => true,                                 'crlf'         => true,                             ),                         'user_forums_stat' => array(                                 'leg'          => true,                                 'txt'          => true,                                 'img'          => true,                                 'crlf'         => true,                             ),                         '[lf]2' => array(                             ),                         'user_website' => array(                                 'leg'          => true,                                 'img'          => true,                             ),                         'user_album' => array(                                 'leg'          => true,                                 'txt'          => true,                             ),                         '[lf]3' => array(                             ),                         'user_cashpr' => array(                                 'txt'          => true,                                 'img'          => true,                                 'style'        => '<div>%s</div>',                             ),                                                       'user_trophy_profile' => array(                                 'leg'          => true,                                 'txt'          => true,                             ),                         'user_trophy_time' => array(                                 'leg'          => true,                                 'txt'          => true,                             ),                     ),             ),


If this wont work thats ok too. Its my test site. Just trying to install what I can to see what is going to work and what isnt before i ruin a live board after this becomes alpa. <img> Have a nice day/night Ray
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Teelk » Wed Jan 03, 2007 1:56 am

The edit you made was the correct one. That'll add it to your profile's public page, you can move it around in that section to where you prefer.

The error you're getting is from a missing db entry in the install files. Run the following in phpmyadmin and the error should go away.

Code: Select all
ALTER TABLE `phpbb_weblog_entries` ADD `category` VARCHAR( 60 ) NOT NULL DEFAULT '';
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Jan 03, 2007 2:45 pm

Ok. Ill give that a go. thank you Teelk. <img>

BUT please note, I never edited anything in that I left it alone for fear of breaking code on another page or something. I couldnt find where to add that in the 1.4.1 version like it wanted me to.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Teelk » Wed Jan 03, 2007 2:48 pm

You can add it right after...
Code: Select all
                         'user_cashpr' => array(                                 'txt'          => true,                                 'img'          => true,                                 'style'        => '<div>%s</div>',                             ),
...which will give it the same look as the original.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Wed Jan 03, 2007 3:38 pm

Flawless. Thank you Teelk. Works a treat. All is good now. Chalk 1 more up that works on the new version. <img>
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: BitingMonkey » Tue Feb 20, 2007 4:38 pm

so will this mod work on the newest 141 version with the Cback CrackerTracker?
Last edited by BitingMonkey on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BitingMonkey
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Nov 11, 2006 5:32 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: dan0042 » Tue Feb 20, 2007 5:34 pm

CBACK CrackerTracker on blog
Last edited by dan0042 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
:#: <img>
User avatar
dan0042
Integra Member
Integra Member
 
Posts: 170
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Fri Apr 21, 2006 4:06 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Pogue Moran » Wed Feb 21, 2007 9:05 pm

Mwe technically you can add it wherever you wish. I put my button for it next to the button for the gallery. I just like putting all those in one place. As well as the button for the vehicle garage. I also added a button for myspace which I put under the MSN button. I also moved around the About Me Section and had the info section with the real name etc on top and the other stuff below it. You just have to move sections around and change the id number. In the case of the about me section you would have to move the split declaration as well...

its really your preference of where you want it in the webinfo or personal informations.
Last edited by Pogue Moran on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Pogue Moran
Members
Members
 
Posts: 74
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Jun 24, 2006 5:48 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Mar 04, 2007 1:46 am

Does anyone have a nice Blogs Button for Integra2 theme? I have one for power mets and Fisubice, but not for Integra2
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: ayasha » Tue Mar 06, 2007 2:31 pm

well, i have installed this mod, and it all works great with the exception of the comment box, when i try to make a comment on a members blog page i get this

Code: Select all
Invalid verification code!


any help would be appreciated
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

PostAuthor: richiebgood » Tue Mar 06, 2007 3:56 pm

will this be coming out of beta for im1.41?
Last edited by richiebgood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

PostAuthor: tekguru » Wed Mar 07, 2007 12:09 am

I hope so I know my users would apprecaite it!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Sun Jun 10, 2007 12:02 pm

"MWE_001";p="22563" wrote:Does anyone have a nice Blogs Button for Integra2 theme? I have one for power mets and Fisubice, but not for Integra2


[flash=,:bee6kvzn]http://www.integramod.com/images/icon_blog.gif[/flash:bee6kvzn]
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 115 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Jun 11, 2007 6:43 am

Thx a million Helterskelter. I REALLY need to learn how to do graphics... they justjaunt me in my sleep when I even think of trying. :D
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: Joshie » Tue Jul 10, 2007 6:17 am

What version is this? 141, or what. For integramod that is. If it's for 141, can any one please do this for me? Because I am so clueless about doing it.

E-mail me at joshie[at]killyourboredom[dot]com.
Last edited by Joshie on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]KillYourBoredom.com[/url]
[url=http]Pay-Infinity-Links.com[/url]
[url=http]JustAFreeLancer.com[/url]
User avatar
Joshie
Integra Member
Integra Member
 
Posts: 138
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Wed Apr 25, 2007 7:49 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

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

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

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

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Thu Aug 16, 2007 4: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Fri Nov 02, 2007 9:15 pm

Where can I get a copy of this for PCP now? Dragonsys's links are dead.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Wolfy2007 » Sat Nov 10, 2007 8: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 5:00 pm, edited 1 time in total.

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

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sat Nov 10, 2007 11: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: Wolfy2007 » Sat Nov 10, 2007 7: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 5:00 pm, edited 1 time in total.

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

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Nov 11, 2007 9: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Sun Nov 11, 2007 11: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 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 115 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Nov 11, 2007 12:47 pm

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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Nov 12, 2007 2: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Nov 12, 2007 2: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Nov 12, 2007 5: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Nov 12, 2007 6: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon Nov 12, 2007 7: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 DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

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

thx MWE. I updated the dl with your edited instructions.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 115 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue Nov 13, 2007 9:11 am

No Probs. :wink:
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sun Jan 27, 2008 3:18 pm

After months of trying to install this with the files that we currently have on site, I have had no luck making everything work accordingly.

I have since, gotten ahold of Dragonsys, Yes he is still alive and kicking, and aquired the PCP install for The Blog Mod. I also have some extra templates as well. If anyone is interested, PM me for details. Hopefully though, Helterskelter will take my files and put them on site for download.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Fri Feb 22, 2008 11:09 pm

I have found a couple fixes that everyone should know about.

First off is getting spam replies to users blogs. To fix this try the following:

open weblog.php
Code: Select all
// Check username


After add

Code: Select all
if ($userdata['user_id'] == ANONYMOUS) {    redirect(append_sid("login.$phpEx?redirect=weblogs.$phpEx", true)); }


I have added the above code in the same place in the weblog_posting.php file to see if this will take care of my spam posting replies to my users blogs.

To keep spammers out of your trackbacks, simply disable themby renaming the file to trackback_old.php. No one will ever miss them anyhow.

This should help cleanup the spam when using the blog mod.

Oh and for the record, I do believe Hyperion's vision has come to an end.

[url=http]http://www.theblogmod.com[/url] is no longer. Gone.....DONE...No more.
Last edited by DjPorkchop on Wed Dec 31, 1969 5: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
DjPorkchop
Administrator
Administrator
 
Posts: 1591
Likes: 132 posts
Liked in: 26 posts
Images: 0
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,570.25
Location: Illinois
IntegraMOD version: phpBB2x

Re:

PostAuthor: krillmeed » Thu Apr 15, 2010 10:22 am

"ayasha" wrote:well, i have installed this mod, and it all works great with the exception of the comment box, when i try to make a comment on a members blog page i get this

Code: Select all
Invalid verification code!


any help would be appreciated


I have since installed the update and have the same problem accept it is when i try to use the shoutbox in a members blog. Has anyone come up with a solution for this? I know the Blog site is now gone, hence support, but could one of you clever chaps have a look at this :?

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat May 27, 2006 1:34 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Thu Apr 15, 2010 1:44 pm

if I had to make a guess, I would say that the updated version includes a captcha for moderator actions and you may be using a template made for an earlier version. Try switching to the style that came with the updated blogmod, or look for any missed template edits
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4553
Likes: 40 posts
Liked in: 115 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,954.10
Location: Seattle Wa
IntegraMOD version: phpBB2x

PreviousNext

Return to Mods/Hacks

Who is online

Registered users: App360MonitorBot, Google [Bot], Majestic-12 [Bot], Vendethiel