61
bumciach
Re: Error in ExtGallery
  • 2010/1/16 13:05

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I have solved my problem!!!
The thing was end-of-line (EOL) character in perm.php file. The oryginal file it was set MAC style (CR). I changed the file to DOS (CR+LF) or Unix (LF).



62
bumciach
Re: Multiple image or file uplaoder for xoops
  • 2010/1/15 19:54

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I think LadyHacker meant more of the class/library to upload (like XOOPS uploader class) that can be easily used into created your own modules than the completed modules with multiple upload function. Would be good to implement uploadify into XoopsMediaUploader and XoopsFormFile classes. I'm thinking about it from some time.



63
bumciach
Re: Error in ExtGallery
  • 2010/1/15 8:02

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I think it's not database problem. In the db categories was added. There is problem with perm.php file. I suppose some permission are not setting during creating category, so cats are added but are not shown.

I looked closer. Script is stopped in file /extgallery/class/publiccat.php around line 61:
$permArray = include XOOPS_ROOT_PATH.'/modules/extgallery/include/perm.php';


I copy&past array (with ghias modification) from perm.php file and assign to $permArray
$config = array (...); //array from perm.php
$permArray $config;

And working! Category was created and shown.
It is only one test, not solution. I have not had time to check which interferes with it.

I suppose something in the 61th line is not correctly interprets by some specific php version. So in my case extgallery work on PHP 5.2.5 but not work on php 5.2.2



64
bumciach
Re: Error in ExtGallery
  • 2010/1/13 23:32

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I have also problem with creating category (ExtGallery 1.0.8) on my production site. But on my local server (WampServer) it's working great. I'm still looking for solution.

== Local server (extGal working):
OS: Win XP
XOOPS 2.3.3
PHP - 5.2.5
MySQL - 5.0.45-community-nt

== Prod server (extGal not working):
OS: Linux
XOOPS 2.3.3
PHP - 5.2.2
MySQL - 4.1.22-standard-log



65
bumciach
Re: XoopsFormDateTime empty field?
  • 2010/1/7 11:35

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


To do this I have made this function.
function pf_dateForm($c$n$s$v$alt='calendar')
{
  global 
$xoopsModule;
      
$jstime formatTimestampstrtotime(date('Y-m-d')), 'F j Y, H:i:s' );
    include_once 
XOOPS_ROOT_PATH '/include/calendarjs.php';
    
$tray = new XoopsFormElementTray($c,'');
       
$frm = new XoopsFormText(''$n$s10$v);
    
$tray->addElement($frm);
       
$img="<img alt='" $alt "' src='" XOOPS_URL "/modules/" $xoopsModule->getVar('dirname') . "/images/date.png' style='cursor: pointer;' onclick='return showCalendar("" . $n . "");' />";
       
$btn = new XoopsFormLabel('',$img);
  
$tray->addElement($btn);
  
  return 
$tray;
}

and then into script:
$form -> addElementpf_dateForm(...) );


However, I needed only date form without time, but I think it would be easy to add.
In my solution I replace the standard button [...] by image located in '/modules/mymodule/images/date.png'.



66
bumciach
Re: debaser 3.05 Abandoned released!
  • 2009/12/17 10:01

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Download link says: "The file you are looking for could not be found. Please contact the administrator of this project for more information."



67
bumciach
Re: Learning from others: Wordpress through the eyes of a xoops developer
  • 2009/12/14 10:19

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


"Web Application Platform" - I like this definition and I like think about XOOPS like that ;)
IMHO XOOPS is too simple structure to be framework (like CakePHP, Kohana), but too complex to be only regular CMS. So it would be better not to include content module into core. This is not the way you should go XOOPS (the packs idea is better).



68
bumciach
Re: Adding notifications of posted comments
  • 2009/12/8 11:47

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Yes, I did exactly as it is written on the wiki. So comments and notification working great (independently of each other). Only thing that an event to mark the 'Notify me when a new comment is posted for this item' is missing.

I lookup News module (1.63). There are events for story ('Notify me when a new comment is posted for this item' and 'Bookmark this item') in module preferences. But in the user side is displayed only 'Bookmark this item'.

I'm using XOOPS 2.3.3. So I have updated to 2.4.2 And no problem!
It seems therefore that there must be a bug in XOOPS 2.3.3



69
bumciach
Re: XOOPS Modules GUI Standard Icons
  • 2009/12/7 10:49

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


I like Silk Icons. Especially for mime types.



70
bumciach
Re: Adding notifications of posted comments
  • 2009/12/4 13:58

  • bumciach

  • Not too shy to talk

  • Posts: 153

  • Since: 2007/6/25


Thanks for answer Ghia.
But it display comments and I don't have trouble with this. I can add and view comments.
I cannot set notifications for posted comment. Although something like 'Notify me when a comment is posted' should be added automatically in module preferences (admin side). But there are showed only the events that have been defined in xoops_version.php.




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 14 »



Login

Who's Online

214 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 214


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