From: Jeremy A. <ja...@tu...> - 2002-01-18 19:34:07
|
> Jeremy, > > Is the Hubit module strictly for blocks or will plug ins be > affected by this new module? Are we going to have to adapt plugins to > a new system or something? Want to make phpwhosonline compatible to > the other things. Well, not really. If you want to use the new module layout than yes but old plugins will still work. The expansion is just in the plug_check function. It allows the old blockpos of 0,1,2, and 3. Now there are more. See the module_readme in the docs dir in cvs for more details. I tried to help define how to uses the new stuff there. > I'm sure you know, but there are some kinks in > the installation process. Warning: Supplied argument is not a valid > MySQL result resource seems to be produced by the list function you > provide. Line 67 and 70: > $result_id = mysql_query ("select max(menu_id) from " . > $table_prefix."menu where menu_id >= '0' and menu_id < '100'"); > line 67: list($menu_id) = mysql_fetch_row($result_id); > $result_order = mysql_query ("select max(menu_order) from " . > $table_prefix."menu where menu_level='1'"); > line 70: list($menu_order) = mysql_fetch_row($result_order); > > Also: > > Warning: Supplied argument is not a valid MySQL result resource in > ./mod/hubit/hubit.php on line 16 > > Warning: Supplied argument is not a valid MySQL result resource in > ./mod/hubit/hubit.php on line 18 As for the errors on 67 and 70. I'm not sure how this happened. This code is a straight cut and past from the phpwebsite menu code. I use it to insert the menu link for the Hub-It index page. I did forget a ";" at the end of the function call so that may have been it. The last two errors I have fixed. They were from the class constructor and no SQL tables after uninstall. I update cvs so give it another try and thanks for bug testing!! > > TaT -- Jeremy Agee phpWebSite Development Team (http://phpwebsite.appstate.edu) Appalachian State University phpEasyAdmin (http://easyadmin.sourceforge.net) |