91
pablo103
Re: oledrion, instant zero module / checkout problem
  • 2009/7/9 0:33

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


The other strange thing is that some of the oledrion database tables are InnoDB instead of MyISAM like the other modules and system tables...



92
pablo103
Re: oledrion, instant zero module / checkout problem
  • 2009/7/8 23:58

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Yes, I have php5

It works perfectly with clean install, but once I enter to module settings in admin section it colapse...

I tried just to enter and exit without making any changes and the checkout stops working imiediatly, i am getting error 500...

Please help.

In the admin section there is warning:
Warningconstant() [function.constant]: Couldn't find constant Gateway used by the module in file /modules/system/admin/preferences/main.php line 298



93
pablo103
oledrion, instant zero module / checkout problem
  • 2009/7/8 21:40

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


After updating to 2.2 version the oledrion module is not working properly. On checkout site after filling up all customer details and clicking save i am getting error 500 page. It was working before with 1.65 version and was OK,

I am using XOOPS 2.3 version. Any idea?



94
pablo103
Yogurt, LAST TRIBES block
  • 2009/7/8 19:11

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


I am trying hard to make a new block for yogurt displaying recently created groups based on Last pictures block.

So far I have done:
yogurt/xoops_version.php
added before ?>

$modversion['blocks'][3]['file'] = "blocks.php";
$modversion['blocks'][3]['name'] = _MI_TRIBES_LAST;
$modversion['blocks'][3]['description'] = _MI_TRIBES_LAST_DESC;
$modversion['blocks'][3]['show_func'] = "b_yogurt_tribes_show";
$modversion['blocks'][3]['options'] = "5";
$modversion['blocks'][3]['template'] = 'yogurt_block_lasttribes.html';


Then i created a file
yogurt/block/templates/yogurt_block_lasttribes.html
and writed this inside:

<{section name=j loop=$tribes}>
        <
div style="width:80%; text-align: center; page-break-after: always; margin: auto; page-break-before: always;">
            <
a href="{$xoops_url}>/modules/yogurt/tribes.php?tribe_id=<{$tribes[j].id}>"><img src="<{$xoops_upload_url}>/<{$tribes[j].img}>" alt="<{$tribes[j].title}>" title="<{$tribes[j].title}>" /></a>
            
        </
div>
    <{/
section}>


and in the file
yogurt/blocks.php

I tried to create function function b_yogurt_lasttribes_show but it looks there is something wrong with this:


function b_yogurt_lasttribes_show($options) {
   global 
$xoopsDB$xoopsModule$xoopsModuleConfig;
   
$myts =& MyTextSanitizer::getInstance();
   
$block = array(); 



/**
 * Filter for fetch votes ishot and isnothot
 */


$criteria = new criteria('tribe_id',0,">");
$criteria->setSort("tribe_id");
$criteria->setOrder("DESC");
$criteria->setLimit($options[0]);

/**
 * Creating factories of tribes and votes
 */  
//$album_factory      = new Xoopsyogurt_imagesHandler($xoopsDB);
$tribes_factory      = new Xoopsyogurt_tribesHandler($xoopsDB);

$block $tribes_factory->getLastTribesForBlock($options[0]);

return 
$block;
}


Anyone could test it and finish this job? This is what I can do by myself to contribute but the rest is in your hands.

best



95
pablo103
Re: Yogurt.. let's start hacking
  • 2009/7/8 16:59

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Quote:
Based on this threadhttps://xoops.org/modules/newbb/vi ... hp?topic_id=68315&forum=7 is it possible to create a block eg 22 friend (1 waiting for approval) 23 scraps you joined 2 groups 1 new pm bla bla that will be cool


This question remains without answer. I found it interesting. Please help...



96
pablo103
xcGallery and xoops 2.3
  • 2009/7/5 12:58

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Didi anyone tried xcGallery with XOOPS 2.3? After updating to XOOPS 2.3 i am getting an error
the selected album/picture does not exist

when i try to delete or aprove new pictures. Any idea?



97
pablo103
updating oledrion 2.0
  • 2009/6/28 12:12

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


How to update oledrion 2.0 to 2.2
The only patch i can find is 2.1 to 2.2 or full 2.2.
I tried to use full package 2.2 but i am getting errors.



98
pablo103
Re: blank page wfdownloads/newlist.php
  • 2009/6/7 14:53

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Thanks for your support.I have done my homework, the files are OK. The problematic line is the following:
$down $downloads[$i]->getDownloadInfo();


Without this line I can display a page at least.

Additionaly I have found an errors
Warning: Class 'XoopsTree' is deprecatedcheck 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45
Warning
: Class 'XoopsTree' is deprecatedcheck 'XoopsObjectTree' in tree.php in file /class/xoopstree.php line 45
Notice
: Function xoops_getLinkedUnameFromId() is deprecated, use XoopsUserUtility::getUnameFromId() instead in file /include/functions.legacy.php line 44
Warning
sprintf() [function.sprintf]: Too few arguments in file /modules/wfdownloads/viewcat.php line 259

at the admin site of module.

Yes, the XOOPS is updated to 2.3.3 and wf downloads 3.20RC



99
pablo103
Re: blank page wfdownloads/newlist.php
  • 2009/6/6 22:38

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


I have deleted a part of code and now i can display at least newslist.php file but without any content. This is the part which cause the blank screen. Please Help.
//Get number of downloads the last week
$one_week_ago time() - 3600*24*7//@TODO: Change to strtotime (TODAY-1week);
$download_handler xoops_getmodulehandler('download');
$allowed_cats $gperm_handler->getItemIds("WFDownCatPerm"$groups$module_id);
$criteria = new Criteria("published"$one_week_ago">=");
$allweekdownloads $download_handler->getActiveCount($criteria);

//Get number of downloads the last month
$one_month_ago time() - 3600*24*7//@TODO: Change to strtotime (TODAY-1month);
$criteria = new Criteria("published"$one_month_ago">=");
$allmonthdownloads $download_handler->getActiveCount($criteria);

$xoopsTpl->assign('allweekdownloads'$allweekdownloads);
$xoopsTpl->assign('allmonthdownloads'$allmonthdownloads);

//Get latest downloads
$criteria = new CriteriaCompo(new Criteria("offline"0));
if(isset(
$_GET['newdownloadshowdays'])) {
    
$days intval($_GET['newdownloadshowdays']);
    
$days_limit = array(71430);
    if(
in_array($days$days_limit)) {
        
$downloadshowdays time() - (3600 24 $days);
        
$criteria->add(new Criteria("published",$downloadshowdays'>='), 'AND');
    }
}
$criteria->setSort("published");
$criteria->setOrder("DESC");
$criteria->setLimit($xoopsModuleConfig['perpage']);
$criteria->setStart(0);
$downloads $download_handler->getActiveDownloads($criteria);
foreach (
array_keys($downloads) as $i)
{
    
$down $downloads[$i]->getDownloadInfo();
    
$xoopsTpl->assign('lang_dltimes'sprintf(_MD_WFD_DLTIMES$down['hits']));
    
$xoopsTpl->assign('lang_subdate' $down['is_updated']);
    
$xoopsTpl->append('file'$down);
}



100
pablo103
Notice: Undefined index: exp_time in file /class/smarty/internals/core.rm_auto.php line 60
  • 2009/6/6 21:51

  • pablo103

  • Not too shy to talk

  • Posts: 181

  • Since: 2008/2/3 1


Notice: Undefined index: exp_time in file /class/smarty/internals/core.rm_auto.php line 60

Quote:
$_res &= (bool)$smarty->_unlink($params['auto_base'] . DIRECTORY_SEPARATOR . $_filename, $params['exp_time']);


What does it says?




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 16 »



Login

Who's Online

143 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits