PEAK XOOPS - Waiting + AMS 2.51 in englishin japanese

Waiting + AMS 2.51

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2008/11/6 2:46
anderssk  ÆóÅùʼ   Posts: 5
Plugin for AMS2.51 not working in waiting0.95

<?php
function b_waiting_AMS()
{
	$xoopsDB =& Database::getInstance();
	$block = array();

	// AMS articles
	$result = $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("ams_article")." WHERE published=0");
	if ( $result ) {
		$block['adminlink'] = XOOPS_URL."/modules/AMS/admin/index.php?op=newarticle";
		list($block['pendingnum']) = $xoopsDB->fetchRow($result);
		$block['lang_linkname'] = _PI_WAITING_WAITINGS ;
	}

	return $block;
}
?>

The select statement give me 2 articles in PhpMyadmin
XOOPS_URL."/modules/AMS/admin/index.php?op=newarticle
shows the 2 articles as not online

Please help
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2008/11/6 4:23
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi anderssk.

I don't know AMS at all, sorry.

Please contact someone knows AMS well.
The AMS plugin in the archive of "waiting" is made by karedokx
Votes:1 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!