[BETA] - The Blog Mod

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

*please read the "Read Me" post*

Moderator: Integra Moderator

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Apr 13, 2006 7:55 am

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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Jason Sanborn » Thu Apr 13, 2006 8:07 am

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.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: Eon » Thu Apr 13, 2006 9:07 am

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.
Last edited by Eon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Eon
Sr Integra Member
Sr Integra Member
 
Posts: 627
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:15 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Apr 13, 2006 11:58 am

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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Helter » Thu Apr 13, 2006 12:15 pm

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
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: 4560
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 2,019.50
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Apr 18, 2006 7:22 am

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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Apr 19, 2006 9:11 am

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(); ?>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Michaelo » Sun Apr 23, 2006 3:57 pm

Let us know when the download on this site is updated... or post a link to latest.
Mike
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: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Apr 24, 2006 6:06 am

I have updated the 1st post with the new download file.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Michaelo » Mon Apr 24, 2006 2:06 pm

Many thanks...
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: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

PostAuthor: napukjon » Tue Apr 25, 2006 6:39 am

Installed this but now get this error when i go to mange my Blogs.

[code]Parse error]

Any help would be appreciated!
Last edited by napukjon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]NaPUK - Finding the Truth behind the Legends of England, Scotland and Wales![/url]

napukjon
Members
Members
 
Posts: 83
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:54 am
Cash on hand: 0.00

PostAuthor: Dragonsys » Tue Apr 25, 2006 7:28 am

[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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: napukjon » Tue Apr 25, 2006 7:39 am

Yeah, i went over the file, and everything seems to be in the right place....
Last edited by napukjon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]NaPUK - Finding the Truth behind the Legends of England, Scotland and Wales![/url]

napukjon
Members
Members
 
Posts: 83
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:54 am
Cash on hand: 0.00

PostAuthor: Dragonsys » Tue Apr 25, 2006 7:51 am

"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>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: napukjon » Tue Apr 25, 2006 8:14 am

Ok will do <img>
Last edited by napukjon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]NaPUK - Finding the Truth behind the Legends of England, Scotland and Wales![/url]

napukjon
Members
Members
 
Posts: 83
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 2:54 am
Cash on hand: 0.00

PostAuthor: Dragonsys » Tue Apr 25, 2006 10:22 am

"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...
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Apr 27, 2006 9:39 am

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
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Fri May 05, 2006 5:53 am

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'])    ]
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Fri May 05, 2006 1:03 pm

Tried the edits and users stillget banned. Do I need to upgrade to the latest before trying this fix? Thx.....


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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: ayasha » Sat May 06, 2006 4:11 pm

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
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
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

PostAuthor: Dragonsys » Mon May 08, 2006 5:56 am

"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....
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon May 08, 2006 6:15 am

"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)
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon May 08, 2006 8:31 am

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
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon May 08, 2006 9:47 pm

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
Last edited by DjPorkchop on Tue May 09, 2006 11:01 am, 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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue May 09, 2006 6:44 am

"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
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue May 09, 2006 11:02 am

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?
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue May 09, 2006 11:24 am

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue May 09, 2006 11:32 am

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');  ?>
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue May 09, 2006 11:56 am

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue May 09, 2006 12:09 pm

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
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue May 09, 2006 12:19 pm

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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue May 09, 2006 12:20 pm

when you did the security update, did you do the manual file edits, or use the pre-modded 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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Tue May 09, 2006 12:38 pm

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....
Last edited by DjPorkchop on Tue May 09, 2006 12:43 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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue May 09, 2006 12:39 pm

"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>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sat May 27, 2006 7:28 am

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>
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: Jason Sanborn » Sat May 27, 2006 7:43 am

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.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Sat May 27, 2006 8:23 am

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....
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Sun May 28, 2006 3:36 pm

How stable is this thing? I wanna try it, but the word beta could mean alot more updates :grin:
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: DjPorkchop » Mon May 29, 2006 9:02 am

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
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

PostAuthor: Jason Sanborn » Mon May 29, 2006 9:12 am

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>
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: Threat009 » Mon May 29, 2006 9:54 am

"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.
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

PostAuthor: Jason Sanborn » Mon May 29, 2006 10:16 am

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.
Last edited by Jason Sanborn on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://images.cbreview.net/banners/cloney2.gif[/img]
Comic Book Review: Comics, Role Playing and More[/url]
User avatar
Jason Sanborn
Sr Integra Member
Sr Integra Member
 
Posts: 436
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 10:40 am
Cash on hand: 0.00
Location: Marina, CA

PostAuthor: Threat009 » Mon May 29, 2006 10:57 am

"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:
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Michaelo » Tue May 30, 2006 4:55 pm

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
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: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

Re: [BETA] - The Blog Mod

PostAuthor: Michaelo » Tue May 30, 2006 8:49 pm

[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
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: 1647
Likes: 0 post
Liked in: 2 posts
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 5.10
Location: Dublin, Ireland

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed May 31, 2006 5:00 am

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>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed May 31, 2006 9:03 am

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed May 31, 2006 9:04 am

"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>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed May 31, 2006 9:05 am

"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)
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: doswald » Sun Jun 04, 2006 11:26 pm

Questions Compadres...

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

Regards.
Doswald
Last edited by doswald on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
One of the best ways to educate our hearts is to look at our interaction with other people, because our relationships with others are fundamentally a reflection of our relationship with ourselves.
--Stephen R. Covey First Things First--
User avatar
doswald
Integra Member
Integra Member
 
Posts: 165
Likes: 0 post
Liked in: 0 post
Joined: Tue May 09, 2006 9:33 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Jun 05, 2006 5:54 am

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: doswald » Mon Jun 05, 2006 6:32 pm

"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
Last edited by doswald on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
One of the best ways to educate our hearts is to look at our interaction with other people, because our relationships with others are fundamentally a reflection of our relationship with ourselves.
--Stephen R. Covey First Things First--
User avatar
doswald
Integra Member
Integra Member
 
Posts: 165
Likes: 0 post
Liked in: 0 post
Joined: Tue May 09, 2006 9:33 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Tue Jun 13, 2006 4:58 pm

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>
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Jun 14, 2006 7:54 am

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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Jun 14, 2006 1:41 pm

I have updated the download files and the first post, in this thread, with the details
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Sat Jun 17, 2006 2:00 pm

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
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Jun 19, 2006 6:00 am

it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Mon Jun 19, 2006 4:52 pm

"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:
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

PostAuthor: Dioncecht » Tue Jun 20, 2006 11:56 am

Is there an update only version of the install available or do I have to re-install the blog?
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Jun 20, 2006 1:07 pm

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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Dioncecht » Wed Jun 21, 2006 3:30 am

ok cool. I like when there are no file edits!
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dragonsys » Wed Jun 21, 2006 5:22 pm

"Dioncecht";p="9898" wrote:ok cool. I like when there are no file edits!


Me too, it's nice <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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: ayasha » Fri Jun 23, 2006 9:02 am

where is the update?
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
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Fri Jun 23, 2006 11:48 am

link for the download is in the first post in this thread.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Fri Jun 23, 2006 3:58 pm

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?
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Fri Jun 23, 2006 8:17 pm

"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??
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Sat Jun 24, 2006 12:08 am

honestly, I don't remember, but for some reason I think I may have ran both <img>
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Install PRobs with BlogMOD

PostAuthor: billsatx » Sat Jun 24, 2006 10:15 am

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
Last edited by billsatx on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

billsatx
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 21, 2006 9:38 am
Cash on hand: 0.00

Re: Install PRobs with BlogMOD

PostAuthor: Dragonsys » Mon Jun 26, 2006 12:19 pm

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Mon Jun 26, 2006 12:22 pm

"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
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Threat009 » Mon Jun 26, 2006 3:52 pm

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>
Last edited by Threat009 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://i63.photobucket.com/albums/h129/Threat009/donate.gif[/img][/url]
User avatar
Threat009
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 12:48 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Jun 27, 2006 6:06 am

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....
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: billsatx » Tue Jun 27, 2006 10:38 am

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.
Last edited by billsatx on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

billsatx
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 21, 2006 9:38 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Tue Jun 27, 2006 11:10 am

"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>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: billsatx » Wed Jun 28, 2006 11:15 am

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....
Last edited by billsatx on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

billsatx
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 21, 2006 9:38 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Wed Jun 28, 2006 12:16 pm

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: billsatx » Wed Jun 28, 2006 3:51 pm

"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.
Last edited by billsatx on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

billsatx
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 21, 2006 9:38 am
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Jun 29, 2006 6:06 am

"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
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Jun 29, 2006 8:02 am

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...
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Dioncecht » Thu Jun 29, 2006 4:58 pm

Is there a way to delete a blog without actually logging in as the user?
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

PostAuthor: Dragonsys » Thu Jun 29, 2006 5:15 pm

"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.
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: [BETA] - The Blog Mod

PostAuthor: Dioncecht » Thu Jun 29, 2006 5:16 pm

Thats what I thought.. but how? I can't seem to find a way to do it
Last edited by Dioncecht on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Thu Jun 29, 2006 7:31 pm

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
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

PostAuthor: Kate » Fri Jun 30, 2006 3:33 am

Yes I want to delete entire blogs of banned members, there's no way to do this currently.
Last edited by Kate on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Kate
Newbie
Newbie
 
Posts: 25
Likes: 0 post
Liked in: 0 post
Joined: Tue May 02, 2006 3:58 am
Cash on hand: 0.00
Location: Philadelphia

Re: [BETA] - The Blog Mod

PostAuthor: Dragonsys » Fri Jun 30, 2006 5:36 am

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>
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
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

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
&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?
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
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
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
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
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
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
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
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
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
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
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
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
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.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
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: 1594
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,590.25
Location: Illinois
IntegraMOD version: phpBB2x

Next

Return to Mods/Hacks

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Helter