FAP CUSTOMIZATION - FAP 1.4.1 Arrows Wrong Direction


Subject: FAP CUSTOMIZATION - FAP 1.4.1 Arrows Wrong Direction
The arrows for previous and next Picture are not correct. Where can I change it?

Example

Thanks for helping me

Last edited by Manfred on Fri 09 Mar, 2007 13:22; edited 1 time in total
Profile PM  
Subject: Re: FAP 1.41 Arrows Wrong Direction
Here

Pepi


fap.rar
Description: next_prev_invert_fap.txt 
Download
Filename: fap.rar
Filesize: 1.04 KB
Downloaded: 193 Time(s)

Subject: Re: FAP 1.41 Arrows Wrong Direction
Hi Pepi,

are you sure that it works for the new 1.41 version. There are too much differences in the album_showpage.php file. When i have to search for

$no_next_pic = false;
//for($i = 0; $i < $next_pic_count; $i++)
for($i = $next_pic_count - 1; $i >= 0; $i--)

I find in my version

$no_next_pic = false;
if ( $album_config['invert_nav_arrows'] == 0 )
{
for($i = $next_pic_count - 1; $i >= 0; $i--)

so i'm not sure that it will work.

Profile PM  
Subject: Re: FAP 1.41 Arrows Wrong Direction
I am sure but you must take this
Code: [Download] [Hide]
  1. #  
  2. #-----[ FIND ]------------------------------------------  
  3. #  
  4.  
  5. for($i = $next_pic_count - 1; $i >= 0; $i--)  
  6.  
  7. #  
  8. #-----[ REPLACE WITH ]------------------------------------------  
  9. #  
  10.  
  11. for($i = 0; $i < $next_pic_count; $i++)  
  12.  
  13. #  
  14. #-----[ FIND ]------------------------------------------  
  15. #  
  16.  
  17. for($i = 0; $i < $prev_pic_count; $i++)  
  18.  
  19. #  
  20. #-----[ REPLACE WITH ]------------------------------------------  
  21. #  
  22.  
  23. for($i = $prev_pic_count - 1; $i >= 0; $i--) 

Subject: Re: FAP 1.41 Arrows Wrong Direction
Manfred wrote: [View Post]
The arrows for previous and next Picture are not correct. Where can I change it?

Example

Thanks for helping me


This is not the way of the arrows for me using 1.4.1 ....... no matter how my ACP setting (invert or not)
Did you modify album_showpage.php ?

Profile PM  
Subject: Re: FAP 1.41 Arrows Wrong Direction
Artie wrote: [View Post]
This is not the way of the arrows for me using 1.4.1 ....... no matter how my ACP setting (invert or not)
Did you modify album_showpage.php ?

Ups......
Thanks Artie
i don't see that in ACP (FAP 1.4.1) :oops:
Pepi

Subject: Re: FAP 1.4.1 Arrows Wrong Direction
No, i didn't change the album_showpage.php
As i installed the 1.4.1 Version my FTP Program overwrite it. ( Setting: Overwrite if newer... )

Now i changed "Invert the Arrows link in Showpage (right arrow = more recent)" to YES in the ACP and it is not like we would prefer it. On the left side from the Picture Title there should be the button for previous picture and the arrow should show to the left side instead of showing to the right side.

And of course, on the right side from the Picture Title there should be the button for next picture and the arrow should show to the right side instead of showing to the left side.

How can I change this?

Manfred

Profile PM  
Subject: Re: FAP 1.41 Arrows Wrong Direction
Hi

Have you make
Quote:
copy "fap_install.php" to your phpBB root and execute it from your browser when you're logged in with admin rights

Pepi

Subject: Re: FAP 1.4.1 Arrows Wrong Direction
No I didn't up to now. I tried it and got a lot of mistakes because most of the tables already exist. But this one is missing:

DROP TABLE `phpbb_album_sp_config`
+++ Error: Unknown table 'phpbb_album_sp_config'

where can i get this table?

Profile PM  
Subject: Re: FAP 1.4.1 Arrows Wrong Direction
now try again
Quote:
"Invert the Arrows link in Showpage (right arrow = more recent)"

Subject: Re: FAP 1.4.1 Arrows Wrong Direction
Manfred wrote: [View Post]
No I didn't up to now. I tried it and got a lot of mistakes because most of the tables already exist. But this one is missing:

DROP TABLE `phpbb_album_sp_config`
+++ Error: Unknown table 'phpbb_album_sp_config'

where can i get this table?

You don't need that one in FAP... that's why is being dropped.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.5337s (PHP: 6% SQL: 94%)
SQL queries: 15 - Debug Off - GZIP Enabled