Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 14, 2010, 10:49 AM
juggledad's Avatar
juggledad
 
19,974 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
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);

Last edited by juggledad; Jul 20, 2010 at 05:31 AM.
  #2  
Old Jun 15, 2010, 12:42 AM
huwi
 
2 posts · Jan 2010
Quote:
DESCRIPTION: In some cases, when you name your header images sequentialy (img01.jpg, img02.jpg, img03.jpg) they may not appear in that order.
a) Hmmm... and i need the complete other variant. I want not ever display the header images in the same order and same start picture. A random-feature was realy nice... i hope so for next version

b) and... the pictures should be can saved in a different folder. With each update, i will "overwrite" the current folder within theme-folder
  #3  
Old Jun 15, 2010, 04:28 AM
juggledad's Avatar
juggledad
 
19,974 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
There is an enhancement in the diamond forums giving the ability to have the images sorted or shuffled.

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 76 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 02:05 PM.


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