cotonti.com : News not showing https://www.cotonti.com Last topic posts Cotonti en Wed, 14 Oct 2026 21:36:07 -0000 robofreak111 Wed, 06 May 2009 05:42:16 -0000 NovoKain
	$sql = sed_sql_query("SELECT p.*, u.user_name, user_avatar FROM $db_pages AS p
	LEFT JOIN $db_users AS u ON u.user_id=p.page_ownerid
	WHERE page_state=0 AND page_cat NOT LIKE 'system'
	/* AND	page_begin<'".$sys['now_offset']."' AND page_expire>'".$sys['now_offset']."' */
	AND page_cat IN ('".implode("','", $catsub)."') ORDER BY page_".$sed_cat[$c]['order']." ".$sed_cat[$c]['way']." LIMIT $d,".$cfg['plugin']['news']['maxpages']);

	$sql2 = sed_sql_query("SELECT COUNT(*) FROM $db_pages WHERE page_state=0
	AND page_cat NOT LIKE 'system'
/*	AND	page_begin<'".$sys['now_offset']."' AND page_expire>'".$sys['now_offset']."' */
	AND page_cat IN ('".implode("','", $catsub)."')");

AND page_begin<'".$sys['now_offset']."' AND page_expire>'".$sys['now_offset']."'
AND page_begin<'".$sys['now_offset']."' AND page_expire>'".$sys['now_offset']."']]>
Wed, 06 May 2009 05:24:41 -0000
gamer24.7
Is there a way i can remove those two lines and make all pages expire never?]]>
Wed, 06 May 2009 04:48:06 -0000
Lombi Wed, 06 May 2009 03:27:13 -0000 gamer24.7 Wed, 06 May 2009 02:40:57 -0000 aiwass (/admin.php?m=config&n=edit&o=plug&p=news)
in the first field you need to specify "Category code of the parent category" and this should be the category in which you have your recently created pages.]]>
Wed, 06 May 2009 02:27:15 -0000
gamer24.7 Wed, 06 May 2009 02:07:10 -0000