1
jagibu
xcgal 2.07 artCode RC ready for testing
  • 2012/8/2 20:47

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Based on xcGallery 2.0x

Tested with Xoops 2.5x

xcGallery Demo

Download module xcGallery


BUGS / TODO / FIXME:
- jquery thickbox not work in Opera 12
- block xcgal_block_slide blocked in Opera 12 (theme conflict)

2
Anonymous
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/3 6:03

  • Anonymous

  • Posts: 0

  • Since:


The changes you made were only cosmic or also functional?

3
jagibu
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/3 6:32

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Last changes ( not all ):



v 2.07 artCode RC
Added
+ uploadify function inside album in thumb view (xcgal_thumb.html)

Removed
- hardcoded in uploadify file size limit - now from module options
- cookies xcgal
- removed from template icon "send ecard" for anonymous user when have not right ( was java alert only )

Fixed
- admin site batchupload
- rating pictures displayed for anonymous when this disabled in album

Changed
- uploaded unique files names based on site name + timestamp + filename ( for speedup and unique )
- module admin menu X2.5 style

Updated
- uploadify 3.1.1
- jquery 1.7.22

===============================================================
v 2.06 artCode
Added:
+ ATOM feed

==============================================================
v2.0.5 artCode
Added:
+ jquery thickbox - for full image display
+ jquery uploadify - fast multiupload

4
Mamba
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/4 15:28

  • Mamba

  • Moderator

  • Posts: 11411

  • Since: 2004/4/23


jagibu,
I've made some changes to make it more consistent with the XOOPS 2.5.5 GUI structure.

Download: XOOPS SVN

jagibu, are you a member of SourceForge? If not, please subscribe, and I'll add you to the developer list, so you can use XOOPS SVN for changes.

BTW - this module could benefit from some major changes to the User GUI, as it is not very consistent with other XOOPS modules.

Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
jagibu
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/4 17:56

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Blue move problem.
menu.php

code ( like in whDownloads menu.php where working OK )
$path dirname(dirname(dirname(dirname(__FILE__))));  include_once $path '/mainfile.php';    $dirname         basename(dirname(dirname(__FILE__)));  $module_handler  xoops_gethandler('module');  $module          $module_handler->getByDirname($dirname);  $pathIcon32      $module->getInfo('icons32');  $pathModuleAdmin $module->getInfo('dirmoduleadmin');  $pathLanguage    $path $pathModuleAdmin;    //DEBUG  echo ' 
 $pathLanguage XCGAL -> ' . $pathLanguage . '
' ;


DEBUG ->

$pathLanguage WFDOWNLOADS -> D:\codeArt\artcode.eu\public_html/Frameworks/moduleclasses/moduleadmin

$pathLanguage XCGAL -> D:\codeArt\artcode.eu\public_htmlFrameworks/moduleclasses

Resized Image

6
Mamba
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/5 0:05

  • Mamba

  • Moderator

  • Posts: 11411

  • Since: 2004/4/23


Thanks! I'll take a look into it...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
jagibu
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/5 11:11

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Deeper debug ...

My mistake - trusting for "blue move" schema code from core module Profile and
( my bug ) -> mixed it with new part from wfDownloads menu.php.
This must be unify ?
Paths should be constants for moduleclasses (not multiple def in all modules xoops_version.php but insite xoops class ? )

xoops_version.php :
$modversion['dirname'] = "profile"
$modversion['dirmoduleadmin'] = 'Frameworks/moduleclasses';
$modversion['icons16'] = 'Frameworks/moduleclasses/icons/16';
$modversion['icons32'] = 'Frameworks/moduleclasses/icons/32';


In wfDownolads
xoops_version.php :
$modversion['dirname'] = "wfdownloads";
$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin';
$modversion['icons16']        = '../../Frameworks/moduleclasses/icons/16';
$modversion['icons32']        = '../../Frameworks/moduleclasses/icons/32';


+ admin/menu.php differences

8
Mamba
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/5 11:39

  • Mamba

  • Moderator

  • Posts: 11411

  • Since: 2004/4/23


We are using currently the second one:

$modversion['dirmoduleadmin'] = '/Frameworks/moduleclasses/moduleadmin';  
$modversion['icons16']        = '../../Frameworks/moduleclasses/icons/16';  
$modversion['icons32']        = '../../Frameworks/moduleclasses/icons/32';


This way we don't have to make any path corrections in the module code anymore, i.e. it is consistently read, e.g.:

$pathIcon32  $module->getInfo('icons32');

$adminmenu[$i]["icon"]  = $pathIcon32 '/home.png';


As long as we update the path in "xoops_version.php", the "$pathIcon32" will correctly point to the right path.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

9
jagibu
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/5 12:05

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


Quote:

As long as we update the path in "xoops_version.php",


And we must update path in "xoops_version.php" and do it in ALL modules ... do it simple.

10
Mamba
Re: xcgal 2.07 artCode RC ready for testing
  • 2012/8/5 12:36

  • Mamba

  • Moderator

  • Posts: 11411

  • Since: 2004/4/23


Quote:
And we must update path in "xoops_version.php" and do it in ALL modules ... do it simple.

My understanding is that in XOOPS 2.6.0 it will be come automatically from the Core, which should simplify a lot of things...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

150 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 150


more...

Donat-O-Meter

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

Latest GitHub Commits