Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post 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

 



 
ArtieSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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!!"
 
buldoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
buldo wrote: [View Post]
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.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Thanks Artie,

I think it would helpful for some people.  
 



 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Mighty Gorgon and  free time  

Now that's an Oxymoron if I ever heard one.  
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Artie wrote: [View Post]
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
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
krisbfunkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Artie wrote: [View Post]
Mighty Gorgon and  free time  

Now that's an Oxymoron if I ever heard one.  


 
Off Topic
:
Microsoft Works.... <- biggest oxymoron of all...

 




____________
Hello, I'm your mind, giving you someone to talk to.
Black Fusion - Designs
..Join.My.Vampire.Family..
 
FrostSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Frost wrote: [View Post]
Artie wrote: [View Post]
Mighty Gorgon and  free time  

Now that's an Oxymoron if I ever heard one.  


 
Off Topic
:
Microsoft Works.... <- biggest oxymoron of all...


Frost you are sooooooo right  
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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  
 



 
Matt_UKSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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

Code: [Download] [Hide]
  1.     <tr>  
  2.         <td class="row1" height="50" colspan="{catfooter.cat_public_footer.FOOTER_COL_SPAN}" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';">  
  3.             <span class="forumlink">  
  4.                 &nbsp;{NAV_DOT}&nbsp;<a href="{U_ALBUM_OTF}" class="cattitle">{L_ALBUM_OTF}</a>  
  5.             </span>  
  6.         </td>  
  7.     </tr>  
  8.  

 



 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Name of template file to modify at top of this thread.

Topic moved to Customizations forum and merged with similar.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Remove OTF 
 
Is it OK, if I do it this way? So I can get a backup If I want:

Code: [Download] [Hide]
  1.    <!--<tr>-->  
  2.    <!--<td class="row1" height="50" colspan="{catfooter.cat_public_footer.FOOTER_COL_SPAN}" onMouseOver="this.className='row2';" onMouseOut="this.className='row1';">-->  
  3.    <!--<span class="forumlink">-->  
  4.    <!--&nbsp;{NAV_DOT}&nbsp;<a href="{U_ALBUM_OTF}" class="cattitle">{L_ALBUM_OTF}</a>-->  
  5.    <!--</span>-->  
  6.    <!--</td>-->  
  7.    <!--</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.
 



 
ShaythongSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron