Icy Phoenix
Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - FAP 1.4.1 Arrows Wrong Direction
Manfred [ Thu 08 Mar, 2007 17:30 ]
Post 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
pepi [ Thu 08 Mar, 2007 18:29 ]
Post subject: Re: FAP 1.41 Arrows Wrong Direction
Here
Pepi
Manfred [ Thu 08 Mar, 2007 23:54 ]
Post 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.
pepi [ Fri 09 Mar, 2007 00:16 ]
Post subject: Re: FAP 1.41 Arrows Wrong Direction
I am sure but you must take this
- #
- #-----[ FIND ]------------------------------------------
- #
-
- for($i = $next_pic_count - 1; $i >= 0; $i--)
-
- #
- #-----[ REPLACE WITH ]------------------------------------------
- #
-
- for($i = 0; $i < $next_pic_count; $i++)
-
- #
- #-----[ FIND ]------------------------------------------
- #
-
- for($i = 0; $i < $prev_pic_count; $i++)
-
- #
- #-----[ REPLACE WITH ]------------------------------------------
- #
-
- for($i = $prev_pic_count - 1; $i >= 0; $i--)
Artie [ Fri 09 Mar, 2007 02:55 ]
Post subject: Re: FAP 1.41 Arrows Wrong Direction
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 ?
pepi [ Fri 09 Mar, 2007 12:37 ]
Post subject: Re: FAP 1.41 Arrows Wrong Direction
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
Manfred [ Fri 09 Mar, 2007 13:09 ]
Post 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
pepi [ Fri 09 Mar, 2007 13:22 ]
Post 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
Manfred [ Fri 09 Mar, 2007 17:12 ]
Post 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?
pepi [ Fri 09 Mar, 2007 19:39 ]
Post subject: Re: FAP 1.4.1 Arrows Wrong Direction
now try again
Quote:
"Invert the Arrows link in Showpage (right arrow = more recent)"
Mighty Gorgon [ Sun 11 Mar, 2007 14:06 ]
Post 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?
You don't need that one in FAP... that's why is being dropped.