Forum Block

 
Hello I buy yesterday module "Forum Block" I went too empty and not seen that it was not compatible version 7.1.4, the seller does not respond to messages, there would a person setting update?

Thank you for your help.

 

Dolphin 7.1.4 - Hosting My server - www.e4k.fr
Quote · 18 Dec 2013

I just checked the module page and it states it is compatible with 7.1.3.  Therefore, I would guess it is compatible with 7.1.4.  Have you tried to install it and get an error message that it is not compatible.  If so, that would be easy to fix in the config.php file for the module.  I would expect a 7.1.3 module to work with 7.1.4.

Geeks, making the world a better place
Quote · 18 Dec 2013

For the pressure module is installed correctly, the problem is the display of the block, here the error state:

Warning: include(inc/fotex_mods/forum_block/forum_block.php): failed to open stream: No such file or directory in /...../...../....../htdocs/SemacolDolphin/inc/classes/BxDolPageView.php(698) : eval()'d code on line 1

Warning: include(): Failed opening 'inc/fotex_mods/forum_block/forum_block.php' for inclusion (include_path='.:/usr/lib/php5.4') in /...../...../....../htdocs/SemacolDolphin/inc/classes/BxDolPageView.php(698) : eval()'d code on line 1

Merci


 


Dolphin 7.1.4 - Hosting My server - www.e4k.fr
Quote · 19 Dec 2013

code:

<?php
require( BX_DIRECTORY_PATH_INC . 'fotex_config.php' );
require_once (BX_DIRECTORY_PATH_MODULES . 'boonex/avatar/include.php');
require_once (BX_DIRECTORY_PATH_MODULES . 'boonex/avatar/classes/BxAvaDb.php');
require_once (BX_DIRECTORY_PATH_MODULES . 'boonex/avatar/classes/BxAvaModule.php');
$siteurl = $site['url'];
//ustawienia
$typ = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_typ'");
$typ_sortowania = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_sort'");
$latest = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_latest'");
$format = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_date'");
$avsize = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_avatar'");
$tlosee = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_tlosee'");
$fontsee = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_seefont'");
$fonttyt = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_title'");
$fontcon = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_content'");
$char = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_char'");
$color = db_value( "SELECT VALUE FROM sys_options WHERE Name = 'forum_block_color'");
//ustawienia
 
if($typ_sortowania == 'ASC'){
$sort = 'ASC';
}elseif($typ_sortowania == 'DESC'){
$sort = 'DESC';
}elseif($typ_sortowania == 'Latest post from Best Topic'){
$sort = '';
}
if($typ_sortowania == 'Latest post from Best Topic'){
$sql22="SELECT * FROM bx_forum_post INNER JOIN bx_forum_topic ON bx_forum_post.topic_id = bx_forum_topic.topic_id ORDER BY bx_forum_topic.topic_posts, bx_forum_post.when DESC LIMIT $latest";
}else{
$sql22="SELECT * FROM bx_forum_post ORDER BY post_id $sort LIMIT $latest";
}
$sql_result22=mysql_query($sql22,$connection) or die(mysql_error());
$ile = mysql_num_rows($sql_result22);
$licznik = 0;
echo '<table width="100%" border="0">';
while($pole=mysql_fetch_array($sql_result22)){
$topicid = $pole['topic_id'];
$forumid = $pole['forum_id'];
$timestamp = $pole['when'];
$user = $pole['user'];
$tr = $pole['post_text'];
$trp = ereg_replace('/&w;/', '',strip_tags($tr));
$tresc = substr($trp,0,$char);
$data = date($format, $timestamp);
$licznik++;
 
echo'<style>
#ramka {
 
border-bottom:1px solid '.$color.';
}
</style>
<tr><td valign="middle" id="';
if ($ile != $licznik){
echo'ramka"';
}else{
echo'"';}
echo'>';
$theavatarimage = db_value( "SELECT `Avatar` FROM `Profiles` WHERE `NickName` = '{$user}'");
$tytulwatku = db_value( "SELECT `topic_title` FROM `bx_forum_topic` WHERE `topic_id` = '{$topicid}'");
$tytulwatku_uri = db_value( "SELECT `topic_uri` FROM `bx_forum_topic` WHERE `topic_id` = '{$topicid}'");
$nazwaforum = db_value( "SELECT `forum_title` FROM `bx_forum` WHERE `forum_id` = '{$forumid}'");
 
$id = db_value( "SELECT `cat_id` FROM `bx_forum` WHERE `forum_id` = '{$forumid}'");
$id_uri = db_value( "SELECT `forum_uri` FROM `bx_forum` WHERE `forum_id` = '{$forumid}'");
$catname = db_value( "SELECT `cat_name` FROM `bx_forum_cat` WHERE `cat_id` = '{$id}'");
$caturi = db_value( "SELECT `cat_uri` FROM `bx_forum_cat` WHERE `cat_id` = '{$id}'");
 
$imglink =  'modules/boonex/avatar/data/images/' . $theavatarimage . BX_AVA_EXT;
if ($theavatarimage == '0'){
$ret = '<img src="templates/base/images/icons/visitor_medium.gif" width="'.$avsize.'px" height="'.$avsize.'px" class="thumbnail_image_file bx-def-shadow bx-def-round-corners">';
}else{
$ret = '<img src="' .$imglink. '" alt="'.$user.'" title="'.$user.'"  border="0" width="'.$avsize.'px" height="'.$avsize.'px" class="thumbnail_image_file bx-def-shadow bx-def-round-corners">';
}
echo '<center><a href ="'.$siteurl.''.$user.'" alt="'.$user.'">'.$ret.'<br>'.$user.'</a></center>';
 
echo'</td>
<td id="';
if ($ile != $licznik){
echo'ramka"';
}else{
echo'"';}
 
echo' style="padding-left:8px;" valign="top"><font size="'.$fonttyt.'"><a href="'.$siteurl.'forum/#topic/'.$tytulwatku_uri.'.htm"><b>'.$tytulwatku.'</b></a></font><br><font size="'.$fontcon.'">'.$tresc.'...<br><a href="'.$siteurl.'forum/#topic/'.$tytulwatku_uri.'.htm">
<p style="background-color:'.$tlosee.';color:'.$fontsee.';padding:2px 4px;display:inline;float:right;-webkit-border-top-left-radius: 2px;
-webkit-border-bottom-left-radius: 2px;
-moz-border-radius-topleft: 2px;
-moz-border-radius-bottomleft: 2px;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;">
'._t('_forum_block_more').'</p></a><br></font><a href="'.$siteurl.'forum/#group/'.$caturi.'.htm">'.$catname.'</a>/<a href="'.$siteurl.'forum/#forum/'.$id_uri.'.htm">'.$nazwaforum.'</a>   |   <i>'._t('_forum_block_data').': '.$data.'</i></td>
</tr>';
}
echo'</table>'; 
 
 
 
 
?>

Dolphin 7.1.4 - Hosting My server - www.e4k.fr
Quote · 19 Dec 2013

The error message is telling you that it can not find the file; not that there is an error in the code.  My guess is that some of the files did not get uploaded?  I have had FileZilla to skip over files causing such problems.  Upload the files again to the proper directory.

The module should be installed in /modules/fotex_mods/forum_block/  It could not find forum_block.php in that directory on your server, thus the error message.

If you need help installing the module, then PM me.

Geeks, making the world a better place
Quote · 19 Dec 2013

a big thank you, chmod the download was blocked and I had not noticed.

Dolphin 7.1.4 - Hosting My server - www.e4k.fr
Quote · 19 Dec 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.