
// Check if user have permissions
if (!$auth->acl_gets('f_list', 'f_read', $forum_attach_id) || ($forum_attach_data['forum_type'] == FORUM_LINK && $forum_attach_data['forum_link'] && !$auth->acl_get('f_read', $forum_attach_id)))
{
if ($user->data['user_id'] != ANONYMOUS)
{
trigger_error('SORRY_AUTH_READ');
}
login_box('', $user->lang['LOGIN_VIEWFORUM']);
}
//query per estrarre gli ultimi 6 Topics con allegati
$sql = "SELECT
pt.topic_id, pt.forum_id, pt.topic_title, pt.topic_first_poster_name, pt.topic_attachment, pf.forum_name, pf.parent_id, pf.forum_id, pt.topic_time
FROM ". TOPICS_TABLE." pt,". FORUMS_TABLE. " pf
WHERE pf.parent_id = $forum_attach_id
AND pt.forum_id = pf.forum_id
AND pt.topic_attachment = 1
ORDER BY pt.topic_time DESC LIMIT 6"; WHERE pt.forum_id IN(1,5,10,11)


tester ha scritto:mod molto interessante bingo, ma a me interesserebbe se anzichè lavorare su file allegati ,lavorasse sul bbcode img , quindi su immagini esterne al server , la versione a cui lavoravi con xir prevede questo cambiamento?



tester ha scritto:purtroppo moltissimo lavoro è andato perso quando phpbb.it è stato chiuso...
usare quella mod che sfrutta il bcode foto non sarebbe male ,ma salva le immagini in una cartella del proprio server vero?


PHPBB3 view last pictures 2 ftp pics xxx miniature di immagini esterne phpbb3 mods pictures phpbb view Last picture phpbb3 ultime allegati inseriti nella index mod top pictures img modview descrizione phpbb3 view last pictures
Visitano il forum: Nessuno e 1 ospite
