5461
Mamba
What version of PHP are you using? Dropping PHP 5.3 support!
  • 2015/9/26 18:36

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


PHP 7 development is going very fast forward, and the PHP 7 RC3 has been recently released for testing.

As you can see from the overview of PHP Supported Versions, couple of weeks ago, on Sept. 14, 2015, the PHP team stopped supporting PHP 5.4, not even with the security fixes. With that, both PHP 5.3 and PHP 5.4 are dead, and as stated over there:

Quote:
Users of this release should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities.

With that, I believe we have to stop supporting PHP 5.3 on XOOPS, and move on to target PHP 5.5. Most hosting companies that I am aware of, are offering already PHP 5.5 and PHP 5.6.

If there are a lot of XOOPS users still using PHP 5.4, we might support it for a little longer, but everybody should really try to move to at least PHP 5.5

Of course, in order to make this a smooth transition, we'll need help with testing of key modules, to make sure that there are no surprises.

Any comments, suggestions on this?


FYI: XOOPS 2.6.0 is being constantly tested on PHP 7, and so far it runs flawlessly!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



5462
Mamba
Re: MyAlbum - sort categories
  • 2015/9/26 5:39

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
please open /myalbum/include/draw_functions.php

sometimes the simplest solutions are the best! .
Thanks Bleekk for providing this fix.

Quote:
This hack should be added to the new version of the module, it is for it new option.

I've added it to the next release.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



5463
Bleekk
Re: MyAlbum - sort categories
  • 2015/9/24 8:14

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


I am happy for you
You are welcome!



5464
chaoos
Re: MyAlbum - sort categories
  • 2015/9/24 7:55

  • chaoos

  • Just popping in

  • Posts: 77

  • Since: 2005/3/9 1


It works! Thank you very much for your help !!
This hack should be added to the new version of the module, it is for it new option.

I have a great mood. THANK YOU



5465
Bleekk
Re: MyAlbum - sort categories
  • 2015/9/23 20:42

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


please open /myalbum/include/draw_functions.php

find line 243
$criterib = new Criteria('`pid`'$parent_id'=');

after this line add following 2 lines
$criterib->setSort('cid');
$criterib->setOrder('DESC');


I hope it helps



5466
Mamba
Re: MyAlbum - sort categories
  • 2015/9/23 10:04

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


The easiest way would be for you to go to MyAlbum on GitHub and fork it to your account

From there, you can use tools like ToritoiseGit or SourceTree (unless you prefer a command line window), to download the code, creat a branch, and then commit back your changes for us to review.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



5467
chaoos
Re: MyAlbum - sort categories
  • 2015/9/23 8:24

  • chaoos

  • Just popping in

  • Posts: 77

  • Since: 2005/3/9 1


I studied all the files module. A example:

I tried to change viewcat.php, but in this code it discusses the sort pictures in the categories.
photo.php? It was only a detail of the image display.
It was a great chance file index.php, I tried to add code and modify the code.

I tried to change different parts of the code. But I'm not proficient coder
What parts of the code I publish and where? (I think it is a solution in index.php)



5468
Mamba
Re: MyAlbum - sort categories
  • 2015/9/23 4:14

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
I tried everything, but nothing worked.

Can you describe what you have tried, so we can learn what didn't work?

Can you post any code of your projects? Maybe it just needs to be fixed?

Quote:
Congratulations! Very nice site, excellent job!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



5469
chaoos
Re: MyAlbum - sort categories
  • 2015/9/22 15:07

  • chaoos

  • Just popping in

  • Posts: 77

  • Since: 2005/3/9 1


I tried everything, but nothing worked.
I had to quickly run project, because the customer no longer wanted him. I missed not translate articles into English :)

http://www.mattiamuller.com

If you can think how to help sort control categories, please write solution.



5470
bladibella
Re: Error : Unable to connect to database - I look for a developer.
  • 2015/9/20 10:01

  • bladibella

  • Just popping in

  • Posts: 19

  • Since: 2012/4/4 1


is happened out of nowhere, everything was fine until last week the problems started.




TopTop
« 1 ... 544 545 546 (547) 548 549 550 ... 29425 »



Login

Who's Online

636 user(s) are online (529 user(s) are browsing Support Forums)


Members: 0


Guests: 636


more...

Donat-O-Meter

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

Latest GitHub Commits