|
Page 1 of 2
|
Artie
Joined: January 2007
Posts: 833
Location: Lone Star State
|
FAP CUSTOMIZATION - Remove OTF
From: 02 Jan, 2006
JustTwistedd wrote: I recently added FAP into my PHPBB2 Forum.
Where can I edit the Album so there is no OTF Gallery at all?
Artie wrote: To remove the OTF link you can edit the template file album_box.tpl
|
#1 Mon 08 Jan, 2007 22:18 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
buldo
Joined: August 2006
Posts: 474
Location: Borgo San Michele
|
Re: Remove OTF
OTF is a great feature of FAP who wants remove it?
Thanks, Artie.
Ciao,
____________ ~~~ Andrea ~~~
User #379756 on Linux Counter
"If you can't apt-get something, it isn't useful or doesn't exist!!"
|
#2 Mon 08 Jan, 2007 22:29 |
|
Artie
Joined: January 2007
Posts: 833
Location: Lone Star State
|
Re: Remove OTF
OTF is a great feature of FAP who wants remove it?
Thanks, Artie.
Ciao,
I agree, but it's also provides simple way to hide from users.... if you so wish.
|
#3 Mon 08 Jan, 2007 22:55 |
|
TheSteffen
Joined: August 2006
Posts: 1625
Location: Magdeburg
|
Re: Remove OTF
Thanks Artie,
I think it would helpful for some people.
|
#4 Mon 08 Jan, 2007 23:51 |
|
lefty74
Joined: January 2007
Posts: 137
|
Re: Remove OTF
You could also just make it visible for admins only. that way you still have the OTF possibility but it is not visible.
|
#5 Tue 09 Jan, 2007 00:41 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
Re: Remove OTF
I'll try to add some permission level access when I have some free time.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#6 Tue 09 Jan, 2007 22:04 |
|
Artie
Joined: January 2007
Posts: 833
Location: Lone Star State
|
Re: Remove OTF
Mighty Gorgon and free time
Now that's an Oxymoron if I ever heard one.
|
#7 Tue 09 Jan, 2007 22:10 |
|
Mighty Gorgon
Luca Libralato
Joined: August 2006
Posts: 7192
Location: Borgo San Michele
|
Re: Remove OTF
Mighty Gorgon and free time
Now that's an Oxymoron if I ever heard one.
He he he... I'll do it sooner or later... trust me...
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#8 Tue 09 Jan, 2007 22:12 |
|
krisbfunk
Joined: December 2006
Posts: 95
Location:
|
Re: Remove OTF
hehe, i didn't see a need for this aside from those with ftp access, which is only admins on my board, so all i did to remove this was remove the code from the tpl file, and added a link to it in the admin panel. not as good as a permissions change, but it works.
i also set the attachment mod to upload directly to a specified directory in the otf folder, so unconstrained images uploaded with the attachment mod can be viewed via the admin panel otf link.
|
#9 Fri 12 Jan, 2007 08:38 |
|
Frost
Joined: December 2006
Posts: 60
Location: root/
|
Re: Remove OTF
Mighty Gorgon and free time
Now that's an Oxymoron if I ever heard one.
Microsoft Works.... <- biggest oxymoron of all...
|
#10 Fri 12 Jan, 2007 09:04 |
|
KugeLSichA
Joined: August 2006
Posts: 803
Location: Dresden
|
Re: Remove OTF
Mighty Gorgon and free time
Now that's an Oxymoron if I ever heard one.
Microsoft Works.... <- biggest oxymoron of all...
Frost you are sooooooo right
|
#11 Fri 12 Jan, 2007 09:41 |
|
Matt_UK
Joined: January 2007
Posts: 9
|
Removal Of OTF
Howdy guys
OK I run a motorbike forum and have installed the FAP.
I dont really have a use for OTF so is there any way of me removing this option from the FAP, as theres no point in clicking it if it wont be used and its confusing as people will wonder what its there for.
Cheers guys.
Matt
|
#12 Wed 24 Jan, 2007 12:41 |
|
lefty74
Joined: January 2007
Posts: 137
|
Re: Removal Of OTF
Do you want to get rid of it completely or just viewable for admins?
The simplest way of removing it from view but leaving its features in place (in case you change your mind at some stage) is as far as I can tell by going to templates/subSilver and removing these lines
- <tr>
- <td class="row1" height="50" colspan="{catfooter.cat_public_footer.FOOTER_COL_SPAN}" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';">
- <span class="forumlink">
- {NAV_DOT} <a href="{U_ALBUM_OTF}" class="cattitle">{L_ALBUM_OTF}</a>
- </span>
- </td>
- </tr>
-
|
#13 Wed 24 Jan, 2007 19:02 |
|
Artie
Joined: January 2007
Posts: 833
Location: Lone Star State
|
Re: Remove OTF
Name of template file to modify at top of this thread.
Topic moved to Customizations forum and merged with similar.
|
#14 Wed 24 Jan, 2007 23:30 |
|
Shaythong
Joined: January 2007
Posts: 88
|
Re: Remove OTF
Is it OK, if I do it this way? So I can get a backup If I want:
- <!--<tr>-->
- <!--<td class="row1" height="50" colspan="{catfooter.cat_public_footer.FOOTER_COL_SPAN}" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';">-->
- <!--<span class="forumlink">-->
- <!-- {NAV_DOT} <a href="{U_ALBUM_OTF}" class="cattitle">{L_ALBUM_OTF}</a>-->
- <!--</span>-->
- <!--</td>-->
- <!--</tr>-->
That's OK right? I'm using the Icy Phoenix 1.0.66 I guess. The code is a little different here, but that code above is just in the normal one. With the "<!--code-->" to disable it instead of showing it.
I mean some people don't really need OTF's features and just want an album. They should add a "On-Off" option for OTF on and off for album in Icy Phoenix.
|
#15 Thu 08 Feb, 2007 03:08 |
|
|
Page 1 of 2
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
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
|
|
|
|