Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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


  #1  
Old Jun 14, 2010, 10:49 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
  #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
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is an enhancement in the diamond forums giving the ability to have the images sorted or shuffled.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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 03:59 AM.


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