Page 1 of 3

[BETA] - The Blog Mod

PostPosted: Wed Apr 12, 2006 10:30 am
Author: Dragonsys

PostPosted: Wed Apr 12, 2006 10:34 am
Author: Eon
I think this is already in the download section here..

Yeah it is. Is this the same one?

PostPosted: Wed Apr 12, 2006 11:09 am
Author: ayasha
a quick question, did anyone ever figure out how to get the recent blog block to scroll?

PostPosted: Wed Apr 12, 2006 11:18 am
Author: Jason Sanborn
I had it scrolling on my site. I'll look for the code later, and post it here. (Unless someone beats me to it) <img>

PostPosted: Wed Apr 12, 2006 11:24 am
Author: Dragonsys
"Eon";p="1179" wrote:I think this is already in the download section here..

Yeah it is. Is this the same one?


Same MOD, but this is the latest version, which I just released for IM today.

"cleo";p="1183" wrote:a quick question, did anyone ever figure out how to get the recent blog block to scroll?


I never got any answers to my questions about the block, and I have been unable to get it to work properly

[quote=""Jason Sanborn";p="1184""]I had it scrolling on my site. I'll look for the code later, and post it here. (Unless someone beats me to it) ;)

PostPosted: Wed Apr 12, 2006 11:36 am
Author: Jason Sanborn
All I did was to change the block TPL file. I didn't make it so that it could be changed dynamically in the IM Portal section (like you could with topics). I tried to do that, but failed.

I'd have to redownload the Mod to see exactly what was changed, but in the meantime, you can replace all code in the template/fisubice/blocks/blogs_block.tpl with the following code:

Code: Select all
<table>  <tr>      <td><span>       <marquee>       {RECENT_BLOGS}</marquee>     </span></td> </tr> <tr>    <td>    <a>All Blogs</a> | <a>Your Blog</a>    </td> </tr> </table>

Make a backup of the old file before making the change, as usual.

Dragonsys: You might want to offer this as a separate TPL file that can be renamed if someone wants the scrolling box.

PostPosted: Wed Apr 12, 2006 11:51 am
Author: ayasha
wow, thanks Jason, that did it for me, thank you for sharing that so much <img>

and Dragonsys what is updated about it? anything i should need or want to update mine to?

PostPosted: Wed Apr 12, 2006 11:57 am
Author: Dragonsys
[quote=""Jason Sanborn";p="1188""]All I did was to change the block TPL file. I didn't make it so that it could be changed dynamically in the IM Portal section (like you could with topics). I tried to do that, but failed.

I'd have to redownload the Mod to see exactly what was changed, but in the meantime, you can replace all code in the template/fisubice/blocks/blogs_block.tpl with the following code:

Code: Select all
<table>  <tr>      <td><span>       <marquee>       {RECENT_BLOGS}</marquee>     </span></td> </tr> <tr>    <td>    <a>All Blogs</a> | <a>Your Blog</a>    </td> </tr> </table>

Make a backup of the old file before making the change, as usual.

Dragonsys]

Thank you and will do.

PostPosted: Wed Apr 12, 2006 2:22 pm
Author: Eon
Why not on your block variables add scroll,static? Or is that just on tpl files that have that option?

That is how I got my recent topics to scroll, just added the scroll,static line on the block variable, and the 0,1 for the radio buttons and turned it on in the IM Portal Config.

However I am a noob at all this and I was playing around to get my recent topics to scroll and copying the way the links was set up worked..

PostPosted: Wed Apr 12, 2006 2:29 pm
Author: Jason Sanborn
I tried to get that functionality added to the file, but couldn't get it to work. If someone else knows how, that would be great. As it was, that was the only way I could get it to work, due to my own limited knowledge.

PostPosted: Wed Apr 12, 2006 2:31 pm
Author: Eon
ahh. So there is something in the file that triggers that then when you use those variables. I got ya. Could you not maybe compare the block_links.tpl file and see if there was someway to migrate it's method?

PostPosted: Wed Apr 12, 2006 2:34 pm
Author: Jason Sanborn
I suppose it would be possible, but then it would be controlled by the exact same variable, and both would be scrolling or both would be static. The best solution would be to have both blocks be independantly controlled by their own variables within the IM Portal Config page.

Re: [BETA] - The Blog Mod

PostPosted: Wed Apr 12, 2006 2:37 pm
Author: Dragonsys
I tried setting up the block to do that, and I got it all set, but for some reason it does not show in the ACP for that block. I asked questions about it at IM.com, but never got a response. I will post the same question on here as well, see if I get anything now...

PostPosted: Thu Apr 13, 2006 6:41 am
Author: Eon
Where did you set the block up at to do that? In the tpl file? Or in the blocks variables in the IM Portal ACP?

I was saying that if there is some sort of trigger in the links.tpl file that looks for scroll,static, in a certain place to put that in the blog one as well. Not saying that it would be controlled by the links config.

Maybe I should d/l this and play with it. LOL

PostPosted: Thu Apr 13, 2006 6:42 am
Author: Eon
From what I see with me playing with the blcoks on my site, any block can be made to scroll if you add those variables in.

Re: [BETA] - The Blog Mod

PostPosted: Thu Apr 13, 2006 7:55 am
Author: Dragonsys
it is in the .cfg file. If I read the documents right, when you create a .cfg file for a block, it should show up in the ACP under variables.

PostPosted: Thu Apr 13, 2006 8:07 am
Author: Jason Sanborn
Eon: You're correct, but the issue is that you need a separate control for the Blog, as opposed to the same one used for topics, so that they can be independantly controlled.

PostPosted: Thu Apr 13, 2006 9:07 am
Author: Eon
Right. I understand that. Whe I edited my recent_topics block variables it automatically put the options in the IM Portal Config page.

I think you may be on the right track with the cfg file.

Then once you get the config file you should be able to add a variable for the blog mod.

Re: [BETA] - The Blog Mod

PostPosted: Thu Apr 13, 2006 11:58 am
Author: Dragonsys
here is what I have:

blocks/blocks_imp_blogs.cfg
Code: Select all
<php>sql_query($sql) ) {    message_die(GENERAL_ERROR, "Couldn't obtain weblogs information.", "", __LINE__, __FILE__, $sql);    $recent_blogs .= "No Blogs"; } else {    $recent_entries = array();    while ( $row = $db->sql_fetchrow($result) )    {       $recent_entries[] = $row;    }        foreach ($recent_entries as $current)    {       $recent_blogs .= "&raquo;" . "<a><b>";     // Entry Link       $recent_blogs .= $current['entry_subject'];                          // Subject       $recent_blogs .= "</b></a><br>n            ";                // End and html formatting         $recent_blogs .= "by <a>";    // User Link       $recent_blogs .= $current['username'] . "</a> on ";                     // User Name       $recent_blogs .= date("D M j, Y g:i a",$current['entry_time']);                  // Post Date       $recent_blogs .= "</b></a><br><br>n            ";               // End and html formatting    }           if($portal_config['md_blogs_style']){             $style_row = 'scroll';         }else         {             $style_row = 'static';         }           $template->assign_block_vars($style_row,"");      $template->assign_vars(array(    'RECENT_BLOGS' => $recent_blogs,    'YOUR_BLOG' => $userdata['user_weblog']    )    );     }    } } imp_blogs_block_func(); ?>


When I tried to change the .tpl file I get errors, since I cannot set these options in the ACP, so for now, the .tpl file has not changed.

Re: [BETA] - The Blog Mod

PostPosted: Thu Apr 13, 2006 12:15 pm
Author: Helter
outstanding work guys, and thank you Dragonsys. I run this on my own forum. Pm me when your satisfied with the state of your zip, and ill update the dl section

Re: [BETA] - The Blog Mod

PostPosted: Tue Apr 18, 2006 7:22 am
Author: Dragonsys
Ok, those block files work. just had to clear all my cache to get the variables to show up in ACP (thanks Helter)

I'll get to work on the .tpl file now.

Re: [BETA] - The Blog Mod

PostPosted: Wed Apr 19, 2006 9:11 am
Author: Dragonsys
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><tr><td><span><BEGIN><marquee><BEGIN>{scroll.recent_blog_row.RECENT_BLOGS}<END></marquee><END><BEGIN><BEGIN>{static.recent_blog_row.RECENT_BLOGS}<END><END></span></td></tr><tr>    <td>    <hr><br><a>All Blogs</a> | <a>Your Blog</a>    </td> </tr> </table>


blocks/blocks_imp_blogs.cfg
Code: Select all
<?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("Hacking attempt"); }  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 = "SELECT entry_subject, entry_id, entry_poster_id, entry_time, username, user_id    FROM " . WEBLOG_ENTRIES_TABLE . ", " . USERS_TABLE . "    WHERE " . USERS_TABLE . ".user_id" . " = " . WEBLOG_ENTRIES_TABLE . ".entry_poster_id    ORDER BY entry_time DESC    LIMIT " . $portal_config['md_num_blogs'];  if( !$result = $db->sql_query($sql) ) {    message_die(GENERAL_ERROR, "Couldn't obtain weblogs information.", "", __LINE__, __FILE__, $sql);    $recent_blogs .= "No Blogs"; } else {    $recent_entries = array();    while ( $row = $db->sql_fetchrow($result) )    {       $recent_entries[] = $row;    }        foreach ($recent_entries as $current)    {       $recent_blogs .= "&raquo;" . "<a><b>";     // Entry Link       $recent_blogs .= $current['entry_subject'];                          // Subject       $recent_blogs .= "</b></a><br>n            ";                // End and html formatting         $recent_blogs .= "by <a>";    // User Link       $recent_blogs .= $current['username'] . "</a> on ";                     // User Name       $recent_blogs .= date("D M j, Y g:i a",$current['entry_time']);                  // Post Date       $recent_blogs .= "</b></a><br><br>n            ";               // End and html formatting    }           if($portal_config['md_blogs_style']){             $style_row = 'scroll';         }else         {             $style_row = 'static';         }           $template->assign_block_vars($style_row,"");      $template->assign_block_vars($style_row . '.recent_blog_row', array(    'RECENT_BLOGS' => $recent_blogs    )    );      $template->assign_vars(array(    'RECENT_BLOGS' => $recent_blogs,    'YOUR_BLOG' => $userdata['user_weblog']    )    );     }    } } imp_blogs_block_func(); ?>

PostPosted: Sun Apr 23, 2006 3:57 pm
Author: Michaelo
Let us know when the download on this site is updated... or post a link to latest.
Mike

Re: [BETA] - The Blog Mod

PostPosted: Mon Apr 24, 2006 6:06 am
Author: Dragonsys
I have updated the 1st post with the new download file.

PostPosted: Mon Apr 24, 2006 2:06 pm
Author: Michaelo
Many thanks...

PostPosted: Tue Apr 25, 2006 6:39 am
Author: napukjon
Installed this but now get this error when i go to mange my Blogs.

[code]Parse error]

Any help would be appreciated!

PostPosted: Tue Apr 25, 2006 7:28 am
Author: Dragonsys
[quote=""napukjon";p="3017""]Installed this but now get this error when i go to mange my Blogs.

Code: Select all
Parse error]

Any help would be appreciated![/quote]

Please double check your file edits of the admin/admin_groups.php file

Here is the code for just that file:
[code]#  #-----[ OPEN ]------------------------------------------  #  admin/admin_groups.php    #  #-----[ FIND ]------------------------------------------  #         $group_info = array (            'group_name' => '',            'group_description' => '',            'group_moderator' => '',    #  #-----[ AFTER, ADD ]------------------------------------------  #            'group_allow_weblogs' => 0,    #  #-----[ FIND ]------------------------------------------  #         'U_SEARCH_USER' => append_sid("../search.$phpEx?mode=searchuser"),    #  #-----[ AFTER, ADD ]------------------------------------------  #         'L_WEBLOG_GROUP' => $lang['Group_allow_weblogs'],         'L_NO' => $lang['No'],         'S_GROUP_ALLOW_WEBLOGS_YES' => ( $group_info['group_allow_weblogs'] ) ? ' checked="checked"' ] ) ? ' checked="checked"' : '',    #  #-----[ FIND ]------------------------------------------  #         $group_moderator = isset($HTTP_POST_VARS['username']) ? $HTTP_POST_VARS['username'] : '';    #  #-----[ AFTER, ADD ]------------------------------------------  #         $group_allow_weblogs = ( isset($HTTP_POST_VARS['group_allow_weblogs']) ) ? intval($HTTP_POST_VARS['group_allow_weblogs'])    : 0;    #  #-----[ FIND ]------------------------------------------  #            $sql = "UPDATE " . GROUPS_TABLE . "               SET group_type = $group_type, group_name = '" . str_replace("'", "''", $group_name) . "', group_description = '" . str_replace("'", "''", $group_description) . "', group_moderator = $group_moderator    #  #-----[ IN-LINE FIND ]------------------------------------------  #  , group_moderator = $group_moderator    #  #-----[ IN-LINE AFTER, ADD ]------------------------------------------  #  , group_allow_weblogs = $group_allow_weblogs    #  #-----[ FIND ]------------------------------------------  #            $sql = "INSERT INTO " . GROUPS_TABLE . " (group_type, group_name, group_description, group_moderator, group_single_user)    #  #-----[ IN-LINE FIND ]------------------------------------------  #  , group_single_user    #  #-----[ IN-LINE AFTER, ADD ]------------------------------------------  #  , group_allow_weblogs    #  #-----[ FIND ]------------------------------------------  #               VALUES ($group_type, '" . str_replace("'", "''", $group_name) . "', '" . str_replace("'", "''", $group_description) . "', $group_moderator,   '0')";    #  #-----[ IN-LINE FIND ]------------------------------------------  #  $group_count_enable',   '0'    #  #-----[ IN-LINE AFTER, ADD ]------------------------------------------  #  , $group_allow_weblogs  


Let me know if you find anything.

PostPosted: Tue Apr 25, 2006 7:39 am
Author: napukjon
Yeah, i went over the file, and everything seems to be in the right place....

PostPosted: Tue Apr 25, 2006 7:51 am
Author: Dragonsys
"napukjon";p="3024" wrote:Yeah, i went over the file, and everything seems to be in the right place....


Can you PM me a copy of your admin_groups.php file? Never hurts to have a second pair of eyes look at it <img>

PostPosted: Tue Apr 25, 2006 8:14 am
Author: napukjon
Ok will do <img>

PostPosted: Tue Apr 25, 2006 10:22 am
Author: Dragonsys
"cleo";p="1196" wrote:and Dragonsys what is updated about it? anything i should need or want to update mine to?


Sorry, I just caught that you asked me a question <img>

There are several updates, listed below are all the updates for just this version (0.2.4b)

[code]##   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]


Please be aware that not all of the Templates use some of the new features. We are working on correcting this, as well as the errors (missing files, bad iomages, etc) the templates have. I will post an update when this is completed. The templates will still work, they will just be missing some features, like catagories...

Re: [BETA] - The Blog Mod

PostPosted: Thu Apr 27, 2006 9:39 am
Author: Dragonsys
I just noticed that I never put in the code to get the blogs to show on the Who Is Online page. I have updated the download file.

Here is the code for those who just want to add this...

OPEN profilcp/def/def_userfuncs_viewonline.php
FIND:
Code: Select all
             case PAGE_FAQ];                 $location_url = "faq.$phpEx";                 break;

AFTER ADD:
Code: Select all
             case PAGE_BLOG];                 $location_url = "weblog.$phpEx";                 break;


OPEN language/lang_english/lang_main.php
FIND:
Code: Select all
//// That's all, Folks!

BEFORE ADD]$lang['Viewing_Blogs'] = 'Viewing Blogs';[/code]

Save and upload

Re: [BETA] - The Blog Mod

PostPosted: Fri May 05, 2006 5:53 am
Author: Dragonsys
For those of you having problems with users being banned, even though they are a member of the correct group, try this:

OPEN admin/admin_groups.php
FIND:
[code]      $group_allow_weblogs = ( isset($HTTP_POST_VARS['group_allow_weblogs']) ) ? intval($HTTP_POST_VARS['group_allow_weblogs'])    ]
REPLACE WITH:
[code]      $group_allow_weblogs = isset($HTTP_POST_VARS['group_allow_weblogs']) ? intval($HTTP_POST_VARS['group_allow_weblogs'])    ]

Re: [BETA] - The Blog Mod

PostPosted: Fri May 05, 2006 1:03 pm
Author: DjPorkchop
Tried the edits and users stillget banned. Do I need to upgrade to the latest before trying this fix? Thx.....


Ray

PostPosted: Sat May 06, 2006 4:11 pm
Author: ayasha
ok, have all the updates been done for this? working on my forum some and want to get it all updated.

any suggestions on the best way to update? when i had this installed, i only had fisubice, now i have 4 themes.

thanks in advance

cleo

PostPosted: Mon May 08, 2006 5:56 am
Author: Dragonsys
"cleo";p="4885" wrote:ok, have all the updates been done for this? working on my forum some and want to get it all updated.

any suggestions on the best way to update? when i had this installed, i only had fisubice, now i have 4 themes.

thanks in advance

cleo


Hmmm 4 themes, you will have to make the .tpl edit toa ll 4 themes, and copy the Blog .tpl files to all 4 of them, other than that, to upgrade you just have to upload the new files, and run db_update.php again (there are a couple of new DB entries), you will get a bunch of errors, but at the bottom will be a few successes as well. I need to make the db_update.php have an upgrade path....

Re: [BETA] - The Blog Mod

PostPosted: Mon May 08, 2006 6:15 am
Author: Dragonsys
"MWE_001";p="4787" wrote:Tried the edits and users stillget banned. Do I need to upgrade to the latest before trying this fix? Thx.....


Ray


How familar are you with SQL commands? If you know how to run them on your site, try the below SQL command and let me know if this fixes your problem...

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

Change phpbb_ to whatever your table prefix is (phpbb_ is the default)

Re: [BETA] - The Blog Mod

PostPosted: Mon May 08, 2006 8:31 am
Author: Dragonsys
Just in case anyone is wondering... one of the add-ons included with the latest version of this MOD is the Weblog News. You can make a link in QBAR to weblogs_news.php.

Here is a Demo - http://www.dragonsys.org/portal/weblogs_news.php

Re: [BETA] - The Blog Mod

PostPosted: Mon May 08, 2006 9:47 pm
Author: DjPorkchop
No dice Dragonsys. Users still auto banned. An elusive little bug isn't it? lol We'll get it adventually. I have no fears. Thx.....Ray

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 6:44 am
Author: Dragonsys
"MWE_001";p="5094" wrote:No dice Dragonsys. Users still auto banned. An elusive little bug isn't it? lol We'll get it adventually. I have no fears. Thx.....Ray


Ok, let me do some more digging

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 11:02 am
Author: DjPorkchop
Oh by the way, I did forget to mention that right after I did this edit to table, I now get this when clicking on the vault....

Fatal error: Call to undefined function: vault_get_general_config() in /home/midwest/domains/mweva.com/public_html/vault.php on line 49


When clicking on public in the profile section we get this, for all users.

Could not obtain accounts information

DEBUG MODE

SQL Error : 1146 Table 'midwest_boards.VAULT_USERS_TABLE' doesn't exist

SELECT * FROM VAULT_USERS_TABLE WHERE owner_id = 13

Line : 85
File : def_userfuncs_vault.php


I double checked in phpmyadmin, and sure enough, that table does infact exist. I ran the repair and optimised all tables and still get the same thing. Maybe I'm off topic but this occured right after I tried that for the blog mod repair.

I know that query for blog mod couldnt have poosibly done this, I don't think.lol I hope its just a coincidence. Any Ideas?

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 11:24 am
Author: Dragonsys
"MWE_001";p="5192" wrote:Oh by the way, I did forget to mention that right after I did this edit to table, I now get this when clicking on the vault....

Fatal error: Call to undefined function: vault_get_general_config() in /home/midwest/domains/mweva.com/public_html/vault.php on line 49


When clicking on public in the profile section we get this, for all users.

Could not obtain accounts information

DEBUG MODE

SQL Error : 1146 Table 'midwest_boards.VAULT_USERS_TABLE' doesn't exist

SELECT * FROM VAULT_USERS_TABLE WHERE owner_id = 13

Line : 85
File : def_userfuncs_vault.php


I double checked in phpmyadmin, and sure enough, that table does infact exist. I ran the repair and optimised all tables and still get the same thing. Maybe I'm off topic but this occured right after I tried that for the blog mod repair.

I know that query for blog mod couldnt have poosibly done this, I don't think.lol I hope its just a coincidence. Any Ideas?



That error comes from either a missing, or incorrect edit to the includes/constants.php file.

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 11:32 am
Author: DjPorkchop
The problem is, that I have never touched any of those files on my site in I cant remeber how long. All was working fine. This particular site in question is my live site. I never edit anything there anymore. The only thing done to it was that mysql query....and upgrade for phpBB security...I double checked those edits and it had nothing to do with said file in question. Hmm now Im stumped......

constants.php
Code: Select all
<?php// <ID>// +---------------+-------------------------------+-----------+// | IntegraMOD v1 |    ÃƒÆ’‚ © 2005 IntegraMOD Group    |  {1.4.0}  |// +---------------+-------------------------------+-----------+// | Filename      | constants.php                             |// | Created By    | phpBB Group                               |// | Created On    | February 13, 2001                         |// | Copyright     |  © 2005 phpBB Group                        |// | License       | GNU-GPL v2 [http]    |// +---------------+-------------------------------------------+// |      DO NOT MODIFY/REMOVE ANTHING ABOVE THIS LINE!!!      |// +-----------------------------------------------------------+  // *************************************************************// ****************** Begin Protecting Script ******************// *************************************************************/*if (!defined('IM_LOADER') or !IM_LOADER or !defined('IM_GLOBALS') or !IM_GLOBALS){     die('<p><strong>Access Denied:</strong> This file ('.basename(__FILE__).') cannot be accessed directly.</p>');}*/  // *************************************************************// ******************* Set Global Constants ********************// *************************************************************// ### Debug Level -- To turn off, set to 0. ###define('DEBUG', 1);  // ### Account Activation Settings ###define('USER_ACTIVATION_NONE', 0);define('USER_ACTIVATION_SELF', 1);define('USER_ACTIVATION_ADMIN', 2);  // ### Album Constants ###define('ALBUM_ANONYMOUS', -1);define('ALBUM_GUEST', -1);define('ALBUM_USER', 0);define('ALBUM_ADMIN', 1);define('ALBUM_MOD', 2);define('ALBUM_PRIVATE', 3);// --------------------define('ALBUM_UPLOAD_PATH', 'album_mod/upload/');define('ALBUM_CACHE_PATH', 'album_mod/upload/cache/');define('ALBUM_MED_CACHE_PATH', 'album_mod/upload/med_cache/');// --------------------define('ALBUM_NAV_ARROW', ' &raquo; ');define('ALBUM_ROOT_CATEGORY', -1);// --------------------define('PERSONAL_GALLERY', 0);    // ### Auth Settings ###define('AUTH_LIST_ALL', 0);define('AUTH_ALL', 0);// --------------------define('AUTH_REG', 1);define('AUTH_ACL', 2);define('AUTH_MOD', 3);define('AUTH_ADMIN', 5);// --------------------define('AUTH_VIEW', 1);define('AUTH_READ', 2);define('AUTH_POST', 3);define('AUTH_REPLY', 4);define('AUTH_EDIT', 5);define('AUTH_DELETE', 6);define('AUTH_ANNOUNCE', 7);define('AUTH_STICKY', 8);define('AUTH_POLLCREATE', 9);define('AUTH_VOTE', 10);define('AUTH_ATTACH', 11);define('AUTH_DELAYEDPOST', 12);// RegMod-Begindefine('AUTH_REG', 13);// RegMod-Enddefine('AUTH_CAL', 20);define('AUTH_GLOBAL_ANNOUNCE', 21);define('AUTH_PAID_VIEW', 25);  // ### Data Tables ###define('ACCT_HIST_TABLE', $table_prefix.'account_hist');define('ACRONYMS_TABLE', $table_prefix.'acronyms');define('ADMIN_PM_TABLE', $table_prefix.'admin_pm');define('ALBUM_CAT_TABLE', $table_prefix.'album_cat');define('ALBUM_COMMENT_TABLE', $table_prefix.'album_comment');define('ALBUM_CONFIG_TABLE', $table_prefix.'album_config');define('ALBUM_RATE_TABLE', $table_prefix.'album_rate');define('ALBUM_SP_CONFIG_TABLE', $table_prefix.'album_sp_config');define('ALBUM_TABLE', $table_prefix.'album');define('APPROVE_FORUMS_TABLE', $table_prefix.'approve_forums');define('APPROVE_POSTS_TABLE', $table_prefix.'approve_posts');define('APPROVE_TOPICS_TABLE', $table_prefix.'approve_topics');define('APPROVE_USERS_TABLE', $table_prefix.'approve_users');define('AUTH_ACCESS_TABLE', $table_prefix.'auth_access');define('BANNER_STATS_TABLE', $table_prefix.'banner_stats');define('BANNERS_TABLE', $table_prefix.'banner');define('BANLIST_TABLE', $table_prefix.'banlist');define('BLOCK_POSITION_TABLE', $table_prefix.'block_position');define('BLOCK_VARIABLE_TABLE', $table_prefix.'block_variable');define('BLOCKS_TABLE', $table_prefix.'blocks');define('BOOKMARK_TABLE', $table_prefix.'bookmarks');define('BUDDY_TABLE', $table_prefix.'contact_list');define('BUDDYS_TABLE', $table_prefix.'buddy');define('CATEGORIES_TABLE', $table_prefix.'categories');define('CONFIG_TABLE', $table_prefix.'config');define('CONTACT_TABLE', $table_prefix.'contact_list');define('DIGEST_FORUMS_TABLE', $table_prefix.'digest_forums');define('DIGEST_TABLE', $table_prefix.'digest');define('DISALLOW_TABLE', $table_prefix.'disallow');//define('DISALLOW_TABLE', $table_prefix.'contact_list'); // Which to use? constants_contact.phpdefine('FORUM_TOUR_TABLE', $table_prefix.'forum_tour');define('FORUMS_TABLE', $table_prefix.'forums');define('GROUPS_TABLE', $table_prefix.'groups');define('HACKS_LIST_TABLE', $table_prefix.'hacks_list');define('IGNORE_TABLE', $table_prefix.'contact_list');define('IM_CONFIG_TABLE', $table_prefix.'im_config');define('IM_PREFS_TABLE', $table_prefix.'im_prefs');define('IM_SITES_TABLE', $table_prefix.'im_sites');define('IM_SESSIONS_TABLE', $table_prefix.'im_sessions');define('JR_ADMIN_TABLE', $table_prefix.'jr_admin_users');define('LAYOUT_TABLE', $table_prefix.'layout');define('LINK_CATEGORIES_TABLE', $table_prefix.'link_categories');define('LINK_CONFIG_TABLE', $table_prefix.'link_config');define('LINKS_TABLE', $table_prefix.'links');define('NEWS_TABLE', $table_prefix.'news');define('OPTIMIZE_DB_TABLE', $table_prefix.'optimize_db');define('PORTAL_CONFIG_TABLE', $table_prefix.'portal_config');define('POSTS_TABLE', $table_prefix.'posts');define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');define('PRIVMSGS_IGNORE_TABLE', $table_prefix.'privmsgs_ignore');define('PRIVMSGS_TABLE', $table_prefix.'privmsgs');define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text');define('PRUNE_TABLE', $table_prefix.'forum_prune');define('RANKS_TABLE', $table_prefix.'ranks');define('REFERERS_TABLE', $table_prefix.'referers');define('RULES_TABLE', $table_prefix.'rules');define('SEARCH_MATCH_TABLE', $table_prefix.'search_wordmatch');define('SEARCH_TABLE', $table_prefix.'search_results');define('SEARCH_WORD_TABLE', $table_prefix.'search_wordlist');define('SESSIONS_TABLE', $table_prefix.'sessions');define('SESSIONS_KEYS_TABLE', $table_prefix.'sessions_keys');define('SHOUTBOX_TABLE', $table_prefix.'shout');define('SMILIES_TABLE', $table_prefix.'smilies');define('SUBSCRIPTIONS_TABLE', $table_prefix.'mod_subscriptions');define('SUBSCRIBED_FORUMS_TABLE', $table_prefix.'mod_subscribed_forums');define('THEMES_NAME_TABLE', $table_prefix.'themes_name');define('THEMES_TABLE', $table_prefix.'themes');define('TOPICS_TABLE', $table_prefix.'topics');define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch');define('USER_GROUP_TABLE', $table_prefix.'user_group');define('USERS_TABLE', $table_prefix.'users');define('VOTE_DESC_TABLE', $table_prefix.'vote_desc');define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results');define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');// RegMod-Begindefine('REGISTRATION_TABLE', $table_prefix.'registration');// RegMod-Enddefine('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');    define('WORDS_TABLE', $table_prefix.'words');define('WPM', $table_prefix.'wpm');  // ### Database Connection ###define('BEGIN_TRANSACTION', 1);define('END_TRANSACTION', 2);  // ### Error Codes ###define('GENERAL_MESSAGE', 200);define('GENERAL_ERROR', 202);define('CRITICAL_MESSAGE', 203);define('CRITICAL_ERROR', 204);  // ### Group Settings ###define('GROUP_OPEN', 0);define('GROUP_CLOSED', 1);define('GROUP_HIDDEN', 2);define('GROUP_AUTO', 3);define('GROUP_PAYMENT', 4);  // ### Page Numbers for Session Handling ###define('PAGE_INDEX', 0);define('PAGE_LOGIN', -1);define('PAGE_SEARCH', -2);define('PAGE_REGISTER', -3);define('PAGE_PROFILE', -4);define('PAGE_VIEWONLINE', -6);define('PAGE_VIEWMEMBERS', -7);define('PAGE_FAQ', -8);define('PAGE_POSTING', -9);define('PAGE_PRIVMSGS', -10);define('PAGE_GROUPCP', -11);define('PAGE_FORUM_TOUR', -12);define('PAGE_PORTAL', -13);define('PAGE_CARD', -14);define('PAGE_RULES', -15);define('PAGE_COOKIES', -16);define('PAGE_STAFF', -17);define('PAGE_LINKS', -18);define('PAGE_DOWNLOAD', -19);#======================================================================= |#==== Start: == Activity Mod Plus ====================================== |#==== v1.1.0 =========================================================== |#====define('PAGE_ACTIVITY', -20);define('PAGE_PLAYING_GAMES', -21);#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |#==== End: ==== Activity Mod Plus ====================================== |   #======================================================================= |define('PAGE_ALBUM', -50);define('PAGE_ALBUM_PERSONAL', -51);define('PAGE_ALBUM_PICTURE', -52);define('PAGE_ALBUM_SEARCH', -53);define('PAGE_REDIRECT', -1031);define('PAGE_SHOUTBOX_MAX', -1035);define('PAGE_SHOUTBOX', -1035);define('PAGE_CONTACT', -8050);define('PAGE_PRILLIAN', -8051);define('PAGE_TOPIC_OFFSET', 5000);  // ### Points Status ###define('POINTS_DISABLED', 1);define('POINTS_ENABLED', 0);  // ### Post Types ###define('POST_NORMAL', 0);define('POST_STICKY', 1);define('POST_ANNOUNCE', 2);define('POST_GLOBAL_ANNOUNCE', 3);// RegMod-Begindefine('POST_REGISTER', 4);  // Registration typesdefine('REG_DO', 1);define('REG_MAYBE', 2);define('REG_DONT', 3);// RegMod-Enddefine('POST_BIRTHDAY', 9);define('POST_CALENDAR', 10);  // ### Prillian Constants ###// prillian installed?if (defined('PRILLIAN_INSTALLED')){define('ALLOW_BUDDY_SELF', false);define('CONTACT_PATH', $phpbb_root_path.'mods/contact/');define('CONTACT_URL', $phpbb_root_path.'contact.'.$phpEx);define('IM_NEW_MAIL', 6);define('IM_READ_MAIL', 7);define('IM_UNREAD_MAIL', 8);define('OFF_SITE', -2);define('OFF_SITE_USERS_URL', 'u');define('OFF_SITE_POST_URL', 'p');define('PRILL_PATH', $phpbb_root_path.'mods/prillian/');define('PRILL_URL', $phpbb_root_path.'imclient.'.$phpEx);define('MAIN_MODE', 1);define('WIDE_MODE', 2);define('MINI_MODE', 3);define('FRAMES_MODE', 4);define('NO_FRAMES_MODE', 5);}  // ### Private Message System ###define('PRIVMSGS_READ_MAIL', 0);define('PRIVMSGS_NEW_MAIL', 1);define('PRIVMSGS_SENT_MAIL', 2);define('PRIVMSGS_SAVED_IN_MAIL', 3);define('PRIVMSGS_SAVED_OUT_MAIL', 4);define('PRIVMSGS_UNREAD_MAIL', 5);  // ### Session Parameters ###define('SESSION_METHOD_COOKIE', 100);define('SESSION_METHOD_GET', 101);  // ### Software Status ###define('FORUM_UNLOCKED', 0);define('FORUM_LOCKED', 1);  // ### Topic Status ###define('TOPIC_UNLOCKED', 0);define('TOPIC_LOCKED', 1);define('TOPIC_MOVED', 2);define('TOPIC_WATCH_NOTIFIED', 1);define('TOPIC_WATCH_UN_NOTIFIED', 0);  // ### URL Parameters ###define('POST_TOPIC_URL', 't');define('POST_CAT_URL', 'c');define('POST_FORUM_URL', 'f');define('POST_USERS_URL', 'u');define('POST_POST_URL', 'p');define('POST_GROUPS_URL', 'g');define('POST_WEBLOG_URL', 'w');  define('POST_ENTRY_URL', 'e');  define('POST_REPLY_URL', 'r');    // ### User Avatar Settings ###define('USER_AVATAR_NONE', 0);define('USER_AVATAR_UPLOAD', 1);define('USER_AVATAR_REMOTE', 2);define('USER_AVATAR_GALLERY', 3);  // ### User Levels ###define('DELETED', -1);define('ANONYMOUS', -1);define('USER', 0);define('ADMIN', 1);define('MOD', 2);define('JADMIN', 7);define('ADMIN_FOUNDER', 99);define('GUEST_ONLY', 1000);  // ### Special Constants ###define('NO', 0);define('YES', 1);define('FRIEND_ONLY',2);define('UNKNOWN', 0);define('MALE', 1);define('FEMALE', 2);define('VIP_RANK_TITLE', 'VIP');define('OVERIDE_THEME', false);define('DIGEST_THEME', 1);define('DIGEST_LOGGING', true);define('DIGEST_SUPPORT', "http://www.phpbb.com/phpBB/viewtopic.php?t=187868");define('DIGEST_HTML', 1);define('DIGEST_TEXT', 0);  #======================================================================= |#==== Start: == Activity Mod Plus ====================================== |#==== v1.1.0 =========================================================== |#====define('iNA', $table_prefix.'ina_data');define('iNA_GAMES', $table_prefix.'ina_games');define('iNA_SCORES', $table_prefix.'ina_scores');#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |#==== End: ==== Activity Mod Plus ====================================== |   #======================================================================= |define('LOTTERY_TABLE', $table_prefix.'lottery');define('LOTTERY_HISTORY_TABLE', $table_prefix.'lottery_history');/* Start Helpdesk By aUsTiN */define('HELPDESK_E', $table_prefix.'helpdesk_emails');define('HELPDESK_I', $table_prefix.'helpdesk_importance');define('HELPDESK_M', $table_prefix.'helpdesk_msgs');define('HELPDESK_R', $table_prefix.'helpdesk_reply');/* End Helpdesk By aUsTiN */define('SHOPS_TABLE','phpbb_shops');define('SHOPITEMS_TABLE', 'phpbb_shopitems');define('TABLE_USER_SHOPS', $table_prefix . 'user_shops');define('TABLE_USER_SHOP_ITEMS', $table_prefix . 'user_shops_items');  ?>

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 11:56 am
Author: Dragonsys
"MWE_001";p="5198" wrote:The problem is, that I have never touched any of those files on my site in I cant remeber how long. All was working fine. This particular site in question is my live site. I never edit anything there anymore. The only thing done to it was that mysql query....and upgrade for phpBB security...I double checked those edits and it had nothing to do with said file in question. Hmm now Im stumped......

constants.php
Code: Select all
<?php// <ID>// +---------------+-------------------------------+-----------+// | IntegraMOD v1 |    ÃƒÆ’‚ © 2005 IntegraMOD Group    |  {1.4.0}  |// +---------------+-------------------------------+-----------+// | Filename      | constants.php                             |// | Created By    | phpBB Group                               |// | Created On    | February 13, 2001                         |// | Copyright     |  © 2005 phpBB Group                        |// | License       | GNU-GPL v2 [http]    |// +---------------+-------------------------------------------+// |      DO NOT MODIFY/REMOVE ANTHING ABOVE THIS LINE!!!      |// +-----------------------------------------------------------+  // *************************************************************// ****************** Begin Protecting Script ******************// *************************************************************/*if (!defined('IM_LOADER') or !IM_LOADER or !defined('IM_GLOBALS') or !IM_GLOBALS){     die('<p><strong>Access Denied:</strong> This file ('.basename(__FILE__).') cannot be accessed directly.</p>');}*/  // *************************************************************// ******************* Set Global Constants ********************// *************************************************************// ### Debug Level -- To turn off, set to 0. ###define('DEBUG', 1);  // ### Account Activation Settings ###define('USER_ACTIVATION_NONE', 0);define('USER_ACTIVATION_SELF', 1);define('USER_ACTIVATION_ADMIN', 2);  // ### Album Constants ###define('ALBUM_ANONYMOUS', -1);define('ALBUM_GUEST', -1);define('ALBUM_USER', 0);define('ALBUM_ADMIN', 1);define('ALBUM_MOD', 2);define('ALBUM_PRIVATE', 3);// --------------------define('ALBUM_UPLOAD_PATH', 'album_mod/upload/');define('ALBUM_CACHE_PATH', 'album_mod/upload/cache/');define('ALBUM_MED_CACHE_PATH', 'album_mod/upload/med_cache/');// --------------------define('ALBUM_NAV_ARROW', ' &raquo; ');define('ALBUM_ROOT_CATEGORY', -1);// --------------------define('PERSONAL_GALLERY', 0);    // ### Auth Settings ###define('AUTH_LIST_ALL', 0);define('AUTH_ALL', 0);// --------------------define('AUTH_REG', 1);define('AUTH_ACL', 2);define('AUTH_MOD', 3);define('AUTH_ADMIN', 5);// --------------------define('AUTH_VIEW', 1);define('AUTH_READ', 2);define('AUTH_POST', 3);define('AUTH_REPLY', 4);define('AUTH_EDIT', 5);define('AUTH_DELETE', 6);define('AUTH_ANNOUNCE', 7);define('AUTH_STICKY', 8);define('AUTH_POLLCREATE', 9);define('AUTH_VOTE', 10);define('AUTH_ATTACH', 11);define('AUTH_DELAYEDPOST', 12);// RegMod-Begindefine('AUTH_REG', 13);// RegMod-Enddefine('AUTH_CAL', 20);define('AUTH_GLOBAL_ANNOUNCE', 21);define('AUTH_PAID_VIEW', 25);  // ### Data Tables ###define('ACCT_HIST_TABLE', $table_prefix.'account_hist');define('ACRONYMS_TABLE', $table_prefix.'acronyms');define('ADMIN_PM_TABLE', $table_prefix.'admin_pm');define('ALBUM_CAT_TABLE', $table_prefix.'album_cat');define('ALBUM_COMMENT_TABLE', $table_prefix.'album_comment');define('ALBUM_CONFIG_TABLE', $table_prefix.'album_config');define('ALBUM_RATE_TABLE', $table_prefix.'album_rate');define('ALBUM_SP_CONFIG_TABLE', $table_prefix.'album_sp_config');define('ALBUM_TABLE', $table_prefix.'album');define('APPROVE_FORUMS_TABLE', $table_prefix.'approve_forums');define('APPROVE_POSTS_TABLE', $table_prefix.'approve_posts');define('APPROVE_TOPICS_TABLE', $table_prefix.'approve_topics');define('APPROVE_USERS_TABLE', $table_prefix.'approve_users');define('AUTH_ACCESS_TABLE', $table_prefix.'auth_access');define('BANNER_STATS_TABLE', $table_prefix.'banner_stats');define('BANNERS_TABLE', $table_prefix.'banner');define('BANLIST_TABLE', $table_prefix.'banlist');define('BLOCK_POSITION_TABLE', $table_prefix.'block_position');define('BLOCK_VARIABLE_TABLE', $table_prefix.'block_variable');define('BLOCKS_TABLE', $table_prefix.'blocks');define('BOOKMARK_TABLE', $table_prefix.'bookmarks');define('BUDDY_TABLE', $table_prefix.'contact_list');define('BUDDYS_TABLE', $table_prefix.'buddy');define('CATEGORIES_TABLE', $table_prefix.'categories');define('CONFIG_TABLE', $table_prefix.'config');define('CONTACT_TABLE', $table_prefix.'contact_list');define('DIGEST_FORUMS_TABLE', $table_prefix.'digest_forums');define('DIGEST_TABLE', $table_prefix.'digest');define('DISALLOW_TABLE', $table_prefix.'disallow');//define('DISALLOW_TABLE', $table_prefix.'contact_list'); // Which to use? constants_contact.phpdefine('FORUM_TOUR_TABLE', $table_prefix.'forum_tour');define('FORUMS_TABLE', $table_prefix.'forums');define('GROUPS_TABLE', $table_prefix.'groups');define('HACKS_LIST_TABLE', $table_prefix.'hacks_list');define('IGNORE_TABLE', $table_prefix.'contact_list');define('IM_CONFIG_TABLE', $table_prefix.'im_config');define('IM_PREFS_TABLE', $table_prefix.'im_prefs');define('IM_SITES_TABLE', $table_prefix.'im_sites');define('IM_SESSIONS_TABLE', $table_prefix.'im_sessions');define('JR_ADMIN_TABLE', $table_prefix.'jr_admin_users');define('LAYOUT_TABLE', $table_prefix.'layout');define('LINK_CATEGORIES_TABLE', $table_prefix.'link_categories');define('LINK_CONFIG_TABLE', $table_prefix.'link_config');define('LINKS_TABLE', $table_prefix.'links');define('NEWS_TABLE', $table_prefix.'news');define('OPTIMIZE_DB_TABLE', $table_prefix.'optimize_db');define('PORTAL_CONFIG_TABLE', $table_prefix.'portal_config');define('POSTS_TABLE', $table_prefix.'posts');define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');define('PRIVMSGS_IGNORE_TABLE', $table_prefix.'privmsgs_ignore');define('PRIVMSGS_TABLE', $table_prefix.'privmsgs');define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text');define('PRUNE_TABLE', $table_prefix.'forum_prune');define('RANKS_TABLE', $table_prefix.'ranks');define('REFERERS_TABLE', $table_prefix.'referers');define('RULES_TABLE', $table_prefix.'rules');define('SEARCH_MATCH_TABLE', $table_prefix.'search_wordmatch');define('SEARCH_TABLE', $table_prefix.'search_results');define('SEARCH_WORD_TABLE', $table_prefix.'search_wordlist');define('SESSIONS_TABLE', $table_prefix.'sessions');define('SESSIONS_KEYS_TABLE', $table_prefix.'sessions_keys');define('SHOUTBOX_TABLE', $table_prefix.'shout');define('SMILIES_TABLE', $table_prefix.'smilies');define('SUBSCRIPTIONS_TABLE', $table_prefix.'mod_subscriptions');define('SUBSCRIBED_FORUMS_TABLE', $table_prefix.'mod_subscribed_forums');define('THEMES_NAME_TABLE', $table_prefix.'themes_name');define('THEMES_TABLE', $table_prefix.'themes');define('TOPICS_TABLE', $table_prefix.'topics');define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch');define('USER_GROUP_TABLE', $table_prefix.'user_group');define('USERS_TABLE', $table_prefix.'users');define('VOTE_DESC_TABLE', $table_prefix.'vote_desc');define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results');define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');// RegMod-Begindefine('REGISTRATION_TABLE', $table_prefix.'registration');// RegMod-Enddefine('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');    define('WORDS_TABLE', $table_prefix.'words');define('WPM', $table_prefix.'wpm');  // ### Database Connection ###define('BEGIN_TRANSACTION', 1);define('END_TRANSACTION', 2);  // ### Error Codes ###define('GENERAL_MESSAGE', 200);define('GENERAL_ERROR', 202);define('CRITICAL_MESSAGE', 203);define('CRITICAL_ERROR', 204);  // ### Group Settings ###define('GROUP_OPEN', 0);define('GROUP_CLOSED', 1);define('GROUP_HIDDEN', 2);define('GROUP_AUTO', 3);define('GROUP_PAYMENT', 4);  // ### Page Numbers for Session Handling ###define('PAGE_INDEX', 0);define('PAGE_LOGIN', -1);define('PAGE_SEARCH', -2);define('PAGE_REGISTER', -3);define('PAGE_PROFILE', -4);define('PAGE_VIEWONLINE', -6);define('PAGE_VIEWMEMBERS', -7);define('PAGE_FAQ', -8);define('PAGE_POSTING', -9);define('PAGE_PRIVMSGS', -10);define('PAGE_GROUPCP', -11);define('PAGE_FORUM_TOUR', -12);define('PAGE_PORTAL', -13);define('PAGE_CARD', -14);define('PAGE_RULES', -15);define('PAGE_COOKIES', -16);define('PAGE_STAFF', -17);define('PAGE_LINKS', -18);define('PAGE_DOWNLOAD', -19);#======================================================================= |#==== Start: == Activity Mod Plus ====================================== |#==== v1.1.0 =========================================================== |#====define('PAGE_ACTIVITY', -20);define('PAGE_PLAYING_GAMES', -21);#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |#==== End: ==== Activity Mod Plus ====================================== |   #======================================================================= |define('PAGE_ALBUM', -50);define('PAGE_ALBUM_PERSONAL', -51);define('PAGE_ALBUM_PICTURE', -52);define('PAGE_ALBUM_SEARCH', -53);define('PAGE_REDIRECT', -1031);define('PAGE_SHOUTBOX_MAX', -1035);define('PAGE_SHOUTBOX', -1035);define('PAGE_CONTACT', -8050);define('PAGE_PRILLIAN', -8051);define('PAGE_TOPIC_OFFSET', 5000);  // ### Points Status ###define('POINTS_DISABLED', 1);define('POINTS_ENABLED', 0);  // ### Post Types ###define('POST_NORMAL', 0);define('POST_STICKY', 1);define('POST_ANNOUNCE', 2);define('POST_GLOBAL_ANNOUNCE', 3);// RegMod-Begindefine('POST_REGISTER', 4);  // Registration typesdefine('REG_DO', 1);define('REG_MAYBE', 2);define('REG_DONT', 3);// RegMod-Enddefine('POST_BIRTHDAY', 9);define('POST_CALENDAR', 10);  // ### Prillian Constants ###// prillian installed?if (defined('PRILLIAN_INSTALLED')){define('ALLOW_BUDDY_SELF', false);define('CONTACT_PATH', $phpbb_root_path.'mods/contact/');define('CONTACT_URL', $phpbb_root_path.'contact.'.$phpEx);define('IM_NEW_MAIL', 6);define('IM_READ_MAIL', 7);define('IM_UNREAD_MAIL', 8);define('OFF_SITE', -2);define('OFF_SITE_USERS_URL', 'u');define('OFF_SITE_POST_URL', 'p');define('PRILL_PATH', $phpbb_root_path.'mods/prillian/');define('PRILL_URL', $phpbb_root_path.'imclient.'.$phpEx);define('MAIN_MODE', 1);define('WIDE_MODE', 2);define('MINI_MODE', 3);define('FRAMES_MODE', 4);define('NO_FRAMES_MODE', 5);}  // ### Private Message System ###define('PRIVMSGS_READ_MAIL', 0);define('PRIVMSGS_NEW_MAIL', 1);define('PRIVMSGS_SENT_MAIL', 2);define('PRIVMSGS_SAVED_IN_MAIL', 3);define('PRIVMSGS_SAVED_OUT_MAIL', 4);define('PRIVMSGS_UNREAD_MAIL', 5);  // ### Session Parameters ###define('SESSION_METHOD_COOKIE', 100);define('SESSION_METHOD_GET', 101);  // ### Software Status ###define('FORUM_UNLOCKED', 0);define('FORUM_LOCKED', 1);  // ### Topic Status ###define('TOPIC_UNLOCKED', 0);define('TOPIC_LOCKED', 1);define('TOPIC_MOVED', 2);define('TOPIC_WATCH_NOTIFIED', 1);define('TOPIC_WATCH_UN_NOTIFIED', 0);  // ### URL Parameters ###define('POST_TOPIC_URL', 't');define('POST_CAT_URL', 'c');define('POST_FORUM_URL', 'f');define('POST_USERS_URL', 'u');define('POST_POST_URL', 'p');define('POST_GROUPS_URL', 'g');define('POST_WEBLOG_URL', 'w');  define('POST_ENTRY_URL', 'e');  define('POST_REPLY_URL', 'r');    // ### User Avatar Settings ###define('USER_AVATAR_NONE', 0);define('USER_AVATAR_UPLOAD', 1);define('USER_AVATAR_REMOTE', 2);define('USER_AVATAR_GALLERY', 3);  // ### User Levels ###define('DELETED', -1);define('ANONYMOUS', -1);define('USER', 0);define('ADMIN', 1);define('MOD', 2);define('JADMIN', 7);define('ADMIN_FOUNDER', 99);define('GUEST_ONLY', 1000);  // ### Special Constants ###define('NO', 0);define('YES', 1);define('FRIEND_ONLY',2);define('UNKNOWN', 0);define('MALE', 1);define('FEMALE', 2);define('VIP_RANK_TITLE', 'VIP');define('OVERIDE_THEME', false);define('DIGEST_THEME', 1);define('DIGEST_LOGGING', true);define('DIGEST_SUPPORT', "http://www.phpbb.com/phpBB/viewtopic.php?t=187868");define('DIGEST_HTML', 1);define('DIGEST_TEXT', 0);  #======================================================================= |#==== Start: == Activity Mod Plus ====================================== |#==== v1.1.0 =========================================================== |#====define('iNA', $table_prefix.'ina_data');define('iNA_GAMES', $table_prefix.'ina_games');define('iNA_SCORES', $table_prefix.'ina_scores');#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-amod.com] === |#==== End: ==== Activity Mod Plus ====================================== |   #======================================================================= |define('LOTTERY_TABLE', $table_prefix.'lottery');define('LOTTERY_HISTORY_TABLE', $table_prefix.'lottery_history');/* Start Helpdesk By aUsTiN */define('HELPDESK_E', $table_prefix.'helpdesk_emails');define('HELPDESK_I', $table_prefix.'helpdesk_importance');define('HELPDESK_M', $table_prefix.'helpdesk_msgs');define('HELPDESK_R', $table_prefix.'helpdesk_reply');/* End Helpdesk By aUsTiN */define('SHOPS_TABLE','phpbb_shops');define('SHOPITEMS_TABLE', 'phpbb_shopitems');define('TABLE_USER_SHOPS', $table_prefix . 'user_shops');define('TABLE_USER_SHOP_ITEMS', $table_prefix . 'user_shops_items');  ?>



There are not any entries in there for the vault mod. Where did you get that mod from? Is there a link where I can download and take a look at this mod? I am not familar with it.

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 12:09 pm
Author: DjPorkchop
Hello again. Not sure where I got ti from. I thought it was from somewhere on the ohter IM site. It has been installed now for 2 or 3 months with no issues what so ever. And I am sorry for this not being on topic with blog mod. Im thinking it was just coincidental thats all, but yes I believe I donloaded it from the other site if Im not mistaken. The vault mod is available for donload right here on IM2.com

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 12:19 pm
Author: Dragonsys
ok.. check this file edit:

Code: Select all
##-----[ OPEN ]------------------------------------------#common.php  ##-----[ FIND ]------------------------------------------#?>  ##-----[ BEFORE, ADD ]------------------------------------------#include_once($phpbb_root_path . 'includes/functions_vault.'.$phpEx);  ##-----[ OPEN ]------------------------------------------#admin/xs_cache.php  ##-----[ FIND ]------------------------------------------#$skip_files = array(     '.',     '..',     '.htaccess',     'index.htm',     'index.html',     'index.php',     'attach_config.php',     );  ##-----[ REPLACE WITH ]------------------------------------------#$skip_files = array(     '.',     '..',     '.htaccess',     'index.htm',     'index.html',     'index.php',     'vault_config.php',     'vault_config_def.tpl',     'attach_config.php',     );


and reupload includes/functions_vault.php

That is the file which defines the table.

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 12:20 pm
Author: Dragonsys
when you did the security update, did you do the manual file edits, or use the pre-modded files?

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 12:38 pm
Author: DjPorkchop
Ok found the problem. Right before I ran that query for the blog mod, I also updated my phpBb security... In common.php there was a line right before the end of the code( ?> )
Code: Select all
include_once($phpbb_root_path . 'includes/functions_vault.'.$phpEx);
that was overwritten when i updated my security. I must have got fat fingered when I did this. I added that 1 particular line of code back in and all is fine in profile and the vault.........

I'm sure sorry for getting us offtopic. I knew it was coincidental that this occured. I should never do two things that close to each other so i can trouble shoot as I go. My apologies.. Now back to users getting banned whilst trying to create a blog....

Re: [BETA] - The Blog Mod

PostPosted: Tue May 09, 2006 12:39 pm
Author: Dragonsys
"MWE_001";p="5213" wrote:Now back to the blog mod..ha ha ha... Sorry for the trouble Dragonsys... I thought it was all just coincidental.


<img>

Re: [BETA] - The Blog Mod

PostPosted: Sat May 27, 2006 7:28 am
Author: DjPorkchop
Now since I have run the update for the blog mod, I have went through every single file and checked ALL permissions, double checked my edits 5 times, and all is good. ECEPT when trying to upload a pic to display in the blog i get this........

Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 1013 is not allowed to access /home/midwest/domains/mweva.com/public_html/weblogs/upload/1 owned by uid 1003 in /home/midwest/domains/mweva.com/public_html/weblog_posting.php on line 841

Warning: copy(./weblogs/upload/1/155321740744786e8230952.jpg): failed to open stream: Invalid argument in /home/midwest/domains/mweva.com/public_html/weblog_posting.php on line 841

Warning: Cannot modify header information - headers already sent by (output started at /home/midwest/domains/mweva.com/public_html/weblog_posting.php:841) in /home/midwest/domains/mweva.com/public_html/includes/functions_weblog.php on line 98

Warning: Cannot modify header information - headers already sent by (output started at /home/midwest/domains/mweva.com/public_html/weblog_posting.php:841) in /home/midwest/domains/mweva.com/public_html/includes/functions_weblog.php on line 100

Warning: Cannot modify header information - headers already sent by (output started at /home/midwest/domains/mweva.com/public_html/weblog_posting.php:841) in /home/midwest/domains/mweva.com/public_html/includes/functions_weblog.php on line 101

I understand that the safemode error is in my php.ini file but the can not send headers is an editing mistake Im quite sure. Foundit has busted me out a few times on that one, I am using dreamweaver to do all of my editing and it is all good.............This never occured before I did the update. The rest of the mod works excellent.... Now in order to display a pic in the blog I have to upload it to my server and use the old [img] tags now................I am lost, I would revert back to the old version to trouble shoot, but I no longer have it <img>

PostPosted: Sat May 27, 2006 7:43 am
Author: Jason Sanborn
Actually, it is probably because of the Safe Mode as well. The Safe Mode caused the headers to be sent early, which caused all the other errors.

Re: [BETA] - The Blog Mod

PostPosted: Sat May 27, 2006 8:23 am
Author: DjPorkchop
Thats what I was leaning towards as well........Da**it! have to get into shell afterall........I hate that..... <img> Bad part is I dont know how to locate the files or how to edit the ini file....

Re: [BETA] - The Blog Mod

PostPosted: Sun May 28, 2006 3:36 pm
Author: Threat009
How stable is this thing? I wanna try it, but the word beta could mean alot more updates :grin:

Re: [BETA] - The Blog Mod

PostPosted: Mon May 29, 2006 9:02 am
Author: DjPorkchop
The Blog Mod is actually pretty cool if ya ask me, Beta or not.....My erros I reported are due to my php ini file, so I wouldnt let that scare ya any.. I believe if Im not mistaken there are 25 templates.....Only the Infinity template has been upgraded with the new release of the Blog Mod....It is in use in my site. My sig is the link. you can check it out if ya like. have a nice day/night.....Ray

PostPosted: Mon May 29, 2006 9:12 am
Author: Jason Sanborn
I've been using a slightly older version on my site, and it works well. It does have some minor issues that were probably addressed in the newer release. I just haven't taken the time to update it. <img>

PostPosted: Mon May 29, 2006 9:54 am
Author: Threat009
"Jason Sanborn";p="7753" wrote:I've been using a slightly older version on my site, and it works well. It does have some minor issues that were probably addressed in the newer release. I just haven't taken the time to update it. <img>

Thanks for the replies guys! Does the older version include the multiple templates? and Jason what issues did you have w/the older version? Anything of concern or worry? I think I may go w/the older version if there are more templates to choose from.

PostPosted: Mon May 29, 2006 10:16 am
Author: Jason Sanborn
The older version had bugs within the templates. Some images were corrupted and a couple files were missing. It was easily resolved by copying the missing files and images from other templates that had them, though.

I also have an issue with some people who aren't authorized to post blogs getting messages that they weren't authorized to view or reply to them, even though the permissions were set to Guests. This doesn't happen with everyone, either. I don't know if you can get the older version anymore, though.

PostPosted: Mon May 29, 2006 10:57 am
Author: Threat009
"Jason Sanborn";p="7765" wrote:The older version had bugs within the templates. Some images were corrupted and a couple files were missing. It was easily resolved by copying the missing files and images from other templates that had them, though.

I also have an issue with some people who aren't authorized to post blogs getting messages that they weren't authorized to view or reply to them, even though the permissions were set to Guests. This doesn't happen with everyone, either. I don't know if you can get the older version anymore, though.

Sounds like easy fixes, but your right, the only download I've found leads to the current beta. Well, guess I will wait for the new skins and hope they arrive soon :grin:

Re: [BETA] - The Blog Mod

PostPosted: Tue May 30, 2006 4:55 pm
Author: Michaelo
Dragonsys, I would like to test the mod in 1.4.1 beta how it coming along?

[color=red]Update]
I downloaded and installed the blog mod on one of my 1.4.1 test installs, and from my preliminary test it works perfectly with only a few edits required to the install instructions regards Findà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ several of markers (the text you are required to find) are either altered of do not appear in the complete form as indicatedà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

For my part I would have liked the block to appear inside the portal page similar to viewtopics/viewforums but I suppose I cant have everything still it could be done in the futureà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ ;)
Many thanksà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ Mike

Re: [BETA] - The Blog Mod

PostPosted: Tue May 30, 2006 8:49 pm
Author: Michaelo
[color=red]Security] I came across these should they be added? [url=http]Security Update Here![/url]

I had to install themes a couple of times? Changing themes requires setting the Load Template option?
I downloaded several themes but I note some images were corrupt... Perhaps some text file were also corrupt <img>
Mike

Re: [BETA] - The Blog Mod

PostPosted: Wed May 31, 2006 5:00 am
Author: Dragonsys
Ok, sorry everyone, I have been out of the area for the last few days. I will be getting to all your questions today <img>

Re: [BETA] - The Blog Mod

PostPosted: Wed May 31, 2006 9:03 am
Author: Dragonsys
"MWE_001";p="7577" wrote:Thats what I was leaning towards as well........Da**it! have to get into shell afterall........I hate that..... :? How close is this to the final? How many templates are currently available? Tanks! <img>


They are probably still good ways away from final. But I am always updating this MOD with fixes and hacks.

Re: [BETA] - The Blog Mod

PostPosted: Wed May 31, 2006 9:04 am
Author: Dragonsys
"Michaelo";p="7942" wrote:Dragonsys, I would like to test the mod in 1.4.1 beta how it coming along?

[color=red]Update]
I downloaded and installed the blog mod on one of my 1.4.1 test installs, and from my preliminary test it works perfectly with only a few edits required to the install instructions regards Findà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ several of markers (the text you are required to find) are either altered of do not appear in the complete form as indicatedà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦

For my part I would have liked the block to appear inside the portal page similar to viewtopics/viewforums but I suppose I cant have everything still it could be done in the futureà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ ;)
Many thanksà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ Mike


I will do my best <img>

Re: [BETA] - The Blog Mod

PostPosted: Wed May 31, 2006 9:05 am
Author: Dragonsys
"Michaelo";p="7952" wrote:[color=red]Security] I came across these should they be added? [url=http]Security Update Here![/url]

I had to install themes a couple of times? Changing themes requires setting the Load Template option?
I downloaded several themes but I note some images were corrupt... Perhaps some text file were also corrupt <img>
Mike


I think I updated that in v0.2.4c, but I will check and make sure.
Most of the Templates have a lot of issues. We are currently working on correcting these. (We as in the BlogMod.com Team, and I play with them as I have some spare time)

Re: [BETA] - The Blog Mod

PostPosted: Sun Jun 04, 2006 11:26 pm
Author: doswald
Questions Compadres...

Is this compatible with IntegraMOD 132c? I wish it is <img>

Regards.
Doswald

Re: [BETA] - The Blog Mod

PostPosted: Mon Jun 05, 2006 5:54 am
Author: Dragonsys
"doswald";p="8454" wrote:Questions Compadres...

Is this compatible with IntegraMOD 132c? I wish it is <img>

Regards.
Doswald


I honestly have no idea, I have never used IM 1.3.x
Maybe someone here has tried it.

Re: [BETA] - The Blog Mod

PostPosted: Mon Jun 05, 2006 6:32 pm
Author: doswald
"Dragonsys";p="8495" wrote:
"doswald";p="8454" wrote:Questions Compadres...

Is this compatible with IntegraMOD 132c? I wish it is <img>

Regards.
Doswald


I honestly have no idea, I have never used IM 1.3.x
Maybe someone here has tried it.


Anyone friends?

Thanks

Re: [BETA] - The Blog Mod

PostPosted: Tue Jun 13, 2006 4:58 pm
Author: Threat009
I think there's a typo in the install doc. and just wondering if you can confirm it.

Files To Edit: 14
## index.php
## admin/admin_groups.php
## includes/constants.php
## includes/page_header.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_extend.php
## language/lang_english/lang_main.php
## templates/fisubice/index_body.tpl
## templates/fisubice/fisubice.cfg
## templates/fisubice/admin/group_edit_body.tpl
## profilcp/def/def_usermaps.php
## profilcp/def/def_userfields.php
## profilcp/def/def_userfuncs_custom.php
## profilcp/def/def_userfuncs_viewonline.php

lang_main.php is not found but lang_admin is listed twice. Are we supposed to edit lang_admin twice or was one of the edits meant for lang_main.php?

Initially, I had performed both edits to lang_admin and everything seems okay. I probably wouldn't have noticed, except I have to edit lang_main for another mod, and that's when it got my attention. So just wondering what to do here to avoid possible future issues. Thanks <img>

Re: [BETA] - The Blog Mod

PostPosted: Wed Jun 14, 2006 7:54 am
Author: Dragonsys
The 2nd edit for lang_admin should be lang_main. That is a typo and I will get it corrected ASAP.

I am also working on updating some security and the Templates. I hope to have an updated download out this week.

Re: [BETA] - The Blog Mod

PostPosted: Wed Jun 14, 2006 1:41 pm
Author: Dragonsys
I have updated the download files and the first post, in this thread, with the details

Re: [BETA] - The Blog Mod

PostPosted: Sat Jun 17, 2006 2:00 pm
Author: Threat009
Little problem here. I have set the blog to require authemtication for user groups, but when I goto group acp there is no option available to give the group/s permission. Any idea what could cause this?

EDIT]VALUES ($group_type, '" . str_replace("'", "''", $group_name) . "', '" . str_replace("'", "''", $group_description) . "', $group_moderator,   '0')";[/code]

My file does not have '0')"; after $group_moderator, should I add this?

[color=red]EDIT 2]Nvm, I tried it and got a parse error. gonna wait for help / lol

Re: [BETA] - The Blog Mod

PostPosted: Mon Jun 19, 2006 6:00 am
Author: Dragonsys
it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl

Re: [BETA] - The Blog Mod

PostPosted: Mon Jun 19, 2006 4:52 pm
Author: Threat009
"Dragonsys";p="9750" wrote:it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl

That did the trick. Thanks :mrgreen:

PostPosted: Tue Jun 20, 2006 11:56 am
Author: Dioncecht
Is there an update only version of the install available or do I have to re-install the blog?

Re: [BETA] - The Blog Mod

PostPosted: Tue Jun 20, 2006 1:07 pm
Author: Dragonsys
to update just upload all the files again (overwritting what's on your server) and run update_to_latest.php. There are no addtional file edits.

PostPosted: Wed Jun 21, 2006 3:30 am
Author: Dioncecht
ok cool. I like when there are no file edits!

PostPosted: Wed Jun 21, 2006 5:22 pm
Author: Dragonsys
"Dioncecht";p="9898" wrote:ok cool. I like when there are no file edits!


Me too, it's nice <img>

PostPosted: Fri Jun 23, 2006 9:02 am
Author: ayasha
where is the update?

Re: [BETA] - The Blog Mod

PostPosted: Fri Jun 23, 2006 11:48 am
Author: Dragonsys
link for the download is in the first post in this thread.

Re: [BETA] - The Blog Mod

PostPosted: Fri Jun 23, 2006 3:58 pm
Author: Threat009
Got this up and running and seems to be running smoothly, but for some reason I have triple entries in Portal configuration

Number of Blogs x 3

Recent blog style x 3

As I said, no biggie since it seems to be running okay, but just curious if the update overwrite is okay. I could be wrong, but I think I only had one entry for each prior to update. Did I edit something wrong maybe or is there perhaps a bad file in the update?

Re: [BETA] - The Blog Mod

PostPosted: Fri Jun 23, 2006 8:17 pm
Author: Dragonsys
"Threat009";p="10062" wrote:Got this up and running and seems to be running smoothly, but for some reason I have triple entries in Portal configuration

Number of Blogs x 3

Recent blog style x 3

As I said, no biggie since it seems to be running okay, but just curious if the update overwrite is okay. I could be wrong, but I think I only had one entry for each prior to update. Did I edit something wrong maybe or is there perhaps a bad file in the update?


did you use update_to_latest.php or db_update.php??

Re: [BETA] - The Blog Mod

PostPosted: Sat Jun 24, 2006 12:08 am
Author: Threat009
honestly, I don't remember, but for some reason I think I may have ran both <img>

Install PRobs with BlogMOD

PostPosted: Sat Jun 24, 2006 10:15 am
Author: billsatx
opppsss..sorry this should prob be under the BlogMOD thread...please move if needed...thanks

Attempting to install the Blog MOD....
all seemed to install OK, however in the ACP I get this msg below
Am I overlooking something?

Also the "WEBLOG_CONFIG_TABLE" does exist in my sql data base. In fact dleted it and the re-installed it..still same msg


[code]phpBB ]

thanks
Bill

Re: Install PRobs with BlogMOD

PostPosted: Mon Jun 26, 2006 12:19 pm
Author: Dragonsys
"billsatx";p="10118" wrote:opppsss..sorry this should prob be under the BlogMOD thread...please move if needed...thanks

Attempting to install the Blog MOD....
all seemed to install OK, however in the ACP I get this msg below
Am I overlooking something?

Also the "WEBLOG_CONFIG_TABLE" does exist in my sql data base. In fact dleted it and the re-installed it..still same msg


[code]phpBB ]

thanks
Bill


Check your edits to includes/constants.php file.

Re: [BETA] - The Blog Mod

PostPosted: Mon Jun 26, 2006 12:22 pm
Author: Dragonsys
"Threat009";p="10072" wrote:honestly, I don't remember, but for some reason I think I may have ran both <img>


in your DB. look at your block variable table (phpbb_block_variable) and delete the following entires, 2 times (leaving them only once):

Number of blogs
Recent Blogs Style

Re: [BETA] - The Blog Mod

PostPosted: Mon Jun 26, 2006 3:52 pm
Author: Threat009
Thanks for getting back to me :oops:

Thanks again for the help, I guess a made a dumb error along the way, but I'm sure I'll find it eventually. Thankyou, I appreciate it <img>

Re: [BETA] - The Blog Mod

PostPosted: Tue Jun 27, 2006 6:06 am
Author: Dragonsys
hmmmm, if they only show once in that table, then I do not know why you are seeing them two or three times in the ACP....

Re: [BETA] - The Blog Mod

PostPosted: Tue Jun 27, 2006 10:38 am
Author: billsatx
All is corrected. At first I tought maybe I wouldn't confess what I have did...or didn't do, but for others benfit, I guess I should......

Before making MOD changes I download (into a file folder) the files that need to be MODDED.

Then I duplicate the know working files.... and make changes to the duplicate files. If anything doesn't work, I can simply re-upload the known good files and usually nothing but time is lost.

After your email I checked all the files again to make sure that I had applied all the changes....All was perfect

I checked the permissons to make sure that all the CHMOD's were correct....All was perfect.

I was totally baffled, so I reloaded the MODDED files to the server.....WHAM...All was perfect.

Bottom Line...After you spent time modding files and checking and double checking and bothering the Moderators at IM2 for help, at least make sure you've uploded the modded files from your hard drive to the server. They work much better up there

DAH.... :idea:





"Dragonsys";p="10251" wrote:
"billsatx";p="10118" wrote:opppsss..sorry this should prob be under the BlogMOD thread...please move if needed...thanks

Attempting to install the Blog MOD....
all seemed to install OK, however in the ACP I get this msg below
Am I overlooking something?

Also the &quot;WEBLOG_CONFIG_TABLE&quot; does exist in my sql data base. In fact dleted it and the re-installed it..still same msg


Code: Select all
phpBB : Critical Error  Could not query config information  DEBUG MODE  SQL Error : 1146 Table 'website.WEBLOG_CONFIG_TABLE' doesn't exist  SELECT * FROM WEBLOG_CONFIG_TABLE  Line : 61File : weblogs_common.php


thanks
Bill


Check your edits to includes/constants.php file.

Re: [BETA] - The Blog Mod

PostPosted: Tue Jun 27, 2006 11:10 am
Author: Dragonsys
"billsatx";p="10353" wrote:All is corrected. At first I tought maybe I wouldn't confess what I have did...or didn't do, but for others benfit, I guess I should......

Before making MOD changes I download (into a file folder) the files that need to be MODDED.

Then I duplicate the know working files.... and make changes to the duplicate files. If anything doesn't work, I can simply re-upload the known good files and usually nothing but time is lost.

After your email I checked all the files again to make sure that I had applied all the changes....All was perfect

I checked the permissons to make sure that all the CHMOD's were correct....All was perfect.

I was totally baffled, so I reloaded the MODDED files to the server.....WHAM...All was perfect.

Bottom Line...After you spent time modding files and checking and double checking and bothering the Moderators at IM2 for help, at least make sure you've uploded the modded files from your hard drive to the server. They work much better up there

DAH.... :idea:





"Dragonsys";p="10251" wrote:
"billsatx";p="10118" wrote:opppsss..sorry this should prob be under the BlogMOD thread...please move if needed...thanks

Attempting to install the Blog MOD....
all seemed to install OK, however in the ACP I get this msg below
Am I overlooking something?

Also the &quot;WEBLOG_CONFIG_TABLE&quot; does exist in my sql data base. In fact dleted it and the re-installed it..still same msg


Code: Select all
phpBB : Critical Error  Could not query config information  DEBUG MODE  SQL Error : 1146 Table 'website.WEBLOG_CONFIG_TABLE' doesn't exist  SELECT * FROM WEBLOG_CONFIG_TABLE  Line : 61File : weblogs_common.php


thanks
Bill


Check your edits to includes/constants.php file.



No worries, it happens to all of us at least twice <img>

Re: [BETA] - The Blog Mod

PostPosted: Wed Jun 28, 2006 11:15 am
Author: billsatx
Just looked at my ACP portal configuration and have the same 3 @ entries as Threat009. Also looked at the SQL data base and only one entry each.
Hmmm...I know..I know...I'm the guy that forgot to upload the modded files <img>

"Dragonsys";p="10320" wrote:hmmmm, if they only show once in that table, then I do not know why you are seeing them two or three times in the ACP....

Re: [BETA] - The Blog Mod

PostPosted: Wed Jun 28, 2006 12:16 pm
Author: Dragonsys
"billsatx";p="10421" wrote:Just looked at my ACP portal configuration and have the same 3 @ entries as Threat009. Also looked at the SQL data base and only one entry each.
Hmmm...I know..I know...I'm the guy that forgot to upload the modded files <img>

"Dragonsys";p="10320" wrote:hmmmm, if they only show once in that table, then I do not know why you are seeing them two or three times in the ACP....



hmmmm, strange. You are seeing them in ACP -> IM Portal -> Block Variables correct?

Try deleting your IM Portal Cache and your style cache.

Re: [BETA] - The Blog Mod

PostPosted: Wed Jun 28, 2006 3:51 pm
Author: billsatx
"Dragonsys";p="10426" wrote:
"billsatx";p="10421" wrote:Just looked at my ACP portal configuration and have the same 3 @ entries as Threat009. Also looked at the SQL data base and only one entry each.
Hmmm...I know..I know...I'm the guy that forgot to upload the modded files <img>

"Dragonsys";p="10320" wrote:hmmmm, if they only show once in that table, then I do not know why you are seeing them two or three times in the ACP....



hmmmm, strange. You are seeing them in ACP -&gt; IM Portal -&gt; Block Variables correct?

Try deleting your IM Portal Cache and your style cache.


No, the ACP, IMPortal, Blocks Variables only have one listing.

I am seeing the multiple list in ACP, IM Portal, Portal Configuration area.

Re: [BETA] - The Blog Mod

PostPosted: Thu Jun 29, 2006 6:06 am
Author: Dragonsys
"billsatx";p="10448" wrote:
"Dragonsys";p="10426" wrote:
"billsatx";p="10421" wrote:Just looked at my ACP portal configuration and have the same 3 @ entries as Threat009. Also looked at the SQL data base and only one entry each.
Hmmm...I know..I know...I'm the guy that forgot to upload the modded files <img>

"Dragonsys";p="10320" wrote:hmmmm, if they only show once in that table, then I do not know why you are seeing them two or three times in the ACP....



hmmmm, strange. You are seeing them in ACP -&gt; IM Portal -&gt; Block Variables correct?

Try deleting your IM Portal Cache and your style cache.


No, the ACP, IMPortal, Blocks Variables only have one listing.

I am seeing the multiple list in ACP, IM Portal, Portal Configuration area.


Strange... let me do some digging

Re: [BETA] - The Blog Mod

PostPosted: Thu Jun 29, 2006 8:02 am
Author: Dragonsys
looking at my ACP I have a duplicate entry for Links -> Code.
I can't find this duplicated anywhere else.

I wonder if there is something a little funny in the Portal Config...

PostPosted: Thu Jun 29, 2006 4:58 pm
Author: Dioncecht
Is there a way to delete a blog without actually logging in as the user?

PostPosted: Thu Jun 29, 2006 5:15 pm
Author: Dragonsys
"Dioncecht";p="10530" wrote:Is there a way to delete a blog without actually logging in as the user?


Site Admins should be able to delete the blogs of any user.

Re: [BETA] - The Blog Mod

PostPosted: Thu Jun 29, 2006 5:16 pm
Author: Dioncecht
Thats what I thought.. but how? I can't seem to find a way to do it

Re: [BETA] - The Blog Mod

PostPosted: Thu Jun 29, 2006 7:31 pm
Author: Dragonsys
ok, I think I might have conused myself <img>

Are you wanting to delete the entire blog, or one of the entries?
I'm not sure, if you can delete the entire blog. Let me do some looking, and ask a few questions

PostPosted: Fri Jun 30, 2006 3:33 am
Author: Kate
Yes I want to delete entire blogs of banned members, there's no way to do this currently.

Re: [BETA] - The Blog Mod

PostPosted: Fri Jun 30, 2006 5:36 am
Author: Dragonsys
ok, currently the only way you can do this, is to delete it from the DB.
When I return from vacation, I will look into creating a way to delete/disable blogs by the Admin(s).

I leave for vacation tonight, and I will have very limited access to the Internet (if any), so any questions might take me awhile to answer <img>