| Re: Defacer 1.0 alpha is released for feature requests |
| by tzvook on 2010/4/1 17:59:42 Hey trabis Long time ![]() Found a bug and a fix in defacer. When I had more then 15 Meta pages - the "Meta Manager" got blank (right after the tabs) ... a few tests showed it was the "$metacount" function at /admin/admin_meta.php which calls a missing file ( include_once XOOPS_ROOT_PATH.'/class/metanav.php ) Here is the fix (with the original lines eliminated by the "//TZ") lines 59 - 68 at my "/admin/admin_meta.php" version le="color: #000000"><?php if ($metacount > 0){ if ($metacount > $limit) { //TZ include_once XOOPS_ROOT_PATH.'/class/metanav.php'; //TZ $nav = new XoopsmetaNav($metacount, $limit, $start, 'start', 'op=list'); //TZ $xoopsTpl->assign('pag','<div style="float:left; padding-top:2px;" align="center">'.$nav->renderNav().'</div>'); include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; $nav = new XoopsPageNav($metacount, $limit, $start, 'start', 'op=list'); $xoopsTpl->assign('pag','<div style="float:left; padding-top:2px;" align="center">'.$nav->renderNav().'</div>'); }else{ $xoopsTpl->assign('pag',''); Hope it'll be of use for someone .... There's probably a need to see if the same bug exist in the "Theme manager" and in the "Permission Manager" - I havn't reached 16th in there .... so I don't know .... |
| Re: Defacer 1.0 alpha is released for feature requests |
| by jimmyx on 2009/9/5 17:31:48 Quote:
that is awesome thank trabis...you totally rock ![]() |
| Re: Defacer 1.0 alpha is released for feature requests |
| by trabis on 2009/9/5 14:12:53 Defacer final release: http://www.xuups.com/modules/publisher/item.php?itemid=15 => Version 1.0 Final (2009-09-05) Added : jgrowl redirection. (xoops 2.4 only) Added : blocks anywhere. (xoops 2.4 only) => Version 1.0 RC (2009-09-01) Improved : Refactored admin area. Added : Defacer in xoopsLogger Extra. => Version 1.0 Alpha (2008-10-27) - First public release of the module. => Version 1.0 Beta (2008-11-08) Improved : More friendly admin area. Improved : Less queries needed. Improved : Less language definitions needed. Added : Defacer in xoopsLogger. Added : Settings to disable each Defacer actions. => Version 1.0 Alpha (2008-10-27) - First public release of the module. |
| Re: Defacer 1.0 alpha is released for feature requests |
| by mmcindoe on 2009/4/22 19:31:50 I like the way the module allows the theme to change, but I have not been able to get the meta functions working at all. 3 different servers and 2 versions (2.0.18 and 2.3.1). No errors coming up, but no effect on the meta tags. What are some of the modules that have worked with the meta functions? So far, I've WordPress, Wiwimod and Liasie but no luck on any of them. UPDATE: Found the error - I had put the line in the wrong place in the footer. All seems to be working now (4/23) |
| Re: Defacer 1.0 alpha is released for feature requests |
| by trabis on 2009/4/7 21:40:34 Quote:
Is that line xoopsLogger... just remove xoopsLogger lines, they are not required. Also for those using XOOPS 2.3.3 there is a problem. This version is setting cache for front page, notifications, etc and that is stoping defacer from populating meta info. When cache is used the footer file is not included. So you can take cache away, I don't know why it is there. Edit header.php and comment out: le="color: #000000"><?php // Tricky solution for setting cache time for homepage } /*elseif (!empty($xoopsOption['template_main'])) { $xoTheme->contentCacheLifetime = 604800; } */
|