What's the best way to remove the version number from footer

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

What's the best way to remove the version number from footer

Post by Dawn »

Hi,

I had now the second bad experience with spambots and an SQL injection. It was my fault because I din't always stayed up to date. But I think they are scraping Google Search results to find the site. So I think it would be much better if there is a way to hide the version number. I know I can "hack" the template, but this isn't really nice. Is there a better possibility?

I read viewtopic.php?f=2&t=12870 but my question is related to the footer.

Best regards and thanks a lot,
Dawn
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: What's the best way to remove the version number from fo

Post by Thorsten »

Hi,

take a look into template/default/index.tpl

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Dawn
Posts: 95
Joined: Tue May 23, 2006 2:10 pm

Re: What's the best way to remove the version number from fo

Post by Dawn »

Hi Thorsten,

I know I can remove the copyright part, but I was searching for fairer solution. But if this is ok for you, then I'll fix it that way.

Best regards,
Dawn
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: What's the best way to remove the version number from fo

Post by Thorsten »

Hi,

well, you can replace

Code: Select all

{copyright}
with the rendered code

Code: Select all

powered by <a href="http://www.phpmyfaq.de" target="_blank">phpMyFAQ</a>
:-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply