Codice: Seleziona tutto
'WEEK_TITLE' => $row1['topic_subject'] ,
Codice: Seleziona tutto
'WEEK_TITLE' => $row1['post_subject'] ,
Io avevo fatto una cosa a metà strada
Codice: Seleziona tutto
'WEEK_TITLE' => $row1['topic_subject'] ,
Codice: Seleziona tutto
'WEEK_TITLE' => $row1['post_subject'] ,
Codice: Seleziona tutto
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 32: Undefined variable: post_text1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 35: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 40: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 35: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 40: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 35: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 40: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 35: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 40: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 35: Undefined offset: 1
[phpBB Debug] PHP Notice: in file /mod_week_img.php on line 40: Undefined offset: 1
Codice: Seleziona tutto
$post_text_tmp = str_replace($row1['bbcode_uid'],"",$post_text1);
Codice: Seleziona tutto
$post_text_tmp = str_replace($row1['bbcode_uid'],"",$post_text_tmp);
Codice: Seleziona tutto
<a href="{week_topic.U_WEEK_TITLE}" title="{week_topic.WEEK_TITLE}"><img src="{week_topic.WEEK_IMG}" alt="{week_topic.WEEK_SHORT_TEXT}" height="250" border="0"></a></div>
Codice: Seleziona tutto
<a href="{week_topic.U_WEEK_TITLE}" title="{week_topic.WEEK_SHORT_TEXT}"><img src="{week_topic.WEEK_IMG}" alt="{week_topic.WEEK_TITLE}" height="250" border="0"></a></div>
Cosa centrano i post_id ?gennyna ha scritto:la mod funzionava perfettamente, ma appena ho cambiato i post id da visualizzare la mod non funge più..
se vedi la tabella è vuota: http://www.clonedb.tk/community/
Codice: Seleziona tutto
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
page_header('pagina di prova');
// Mod Topic of the week - by Bingo 2010
$post_ori = '43911'; // inserire il post_id del Topic contenente la Lista dei topic_id
// Estrae la lista dei post_id da elaborare
$sql = "SELECT post_id, post_text FROM " . POSTS_TABLE . " WHERE post_id = " . $post_ori ;
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$topic_list = $row['post_text'];
echo "Lista dei Topics della settimana: " . $topic_list . "<br>" ;
?>
Visitano il forum: Nessuno e 0 ospiti