Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

BUGFIX 351/352-02: Header images not showing in sorted order


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 14, 2010, 10:49 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
BUGFIX 351/352-02: Header images not showing in sorted order

This fix is for Atahualpa version 3.5.1/3.5.2
===========================
DESCRIPTION: In some cases, when you name your header images sequentialy (img01.jpg, img02.jpg, img03.jpg) they may not appear in that order.

CAUSE: This is caused by the way different servers return a list of filenames when using the PHP function m_find_in_dir__().

FIX: edit bfa_rotating_header_images.php and find line 37 which shoud be
HTML Code:
		closedir($dh);
and change it to
HTML Code:
		sort($files);
		closedir($dh);
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jul 20, 2010 at 05:31 AM.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGFIX 351-04: Fix sub-menu padding with WordPress 3.0 (needed in 352/353 also) juggledad Old Version fixes and change logs 75 May 16, 2011 06:14 AM
BUGFIX 351/352-05: Page Title Does Not Display Hyphens, Commas, etc. juggledad Old Version fixes and change logs 1 Aug 8, 2010 11:03 AM
BUGFIX 351/352-01: EXCERPTS - Show first X posts on HOME page as full posts juggledad Old Version fixes and change logs 1 Jul 13, 2010 05:42 AM
BUGFIX 351/352-06: BFA Subscribe widget does use link colors in widget options juggledad Old Version fixes and change logs 0 Jul 12, 2010 08:21 AM
BUGFIX 351/352-03: Comment Form Anchor Link gets a 404 (Not found) juggledad Old Version fixes and change logs 3 Jun 16, 2010 05:45 PM


All times are GMT -6. The time now is 09:04 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.