You are here: Re: HTML portion « All PHP « IT news, forums, messages
Re: HTML portion

Posted by Michael on 12/03/07 23:51

Chilly8 wrote:
> "macca" <ptmcnally@googlemail.com> wrote in message
> news:c3c8ebf6-8ed1-4ef2-89f4-a2efabcfa5dd@y43g2000hsy.googlegroups.com...
>>> PHP for Windows has no seperate HTML template, I looked. And
>>> there are none in phpBB or WikiMedia
>> Not php's templates, theres no such thing. Your applications HTML
>> templates.
>>
>> Look again. I have used phpBB myself
>>
>> if I remember correctly the templates are in something like phpBB2-
>>> templates and the default is SuubSilver, so, if i wanted to add some
>> HTML to the index page i would edit phpBB2->templates->SubSilver-
>>> index_body.tpl or something
>
> There is an index.htm there all right, but if you edit that file, phpBB will
> just ignore the edits. For some reason, the changes I make to the index.htm
> file in that directory are being ignored. I even tried rebooting the
> computer,
> to restart everything, no dice, so using to HTML-translated version of the
> page appears to be the only thing that is going to work. I absoluitely
> must find out where the assholes that are creating accounts and posting
> porn links are coming from. I can edit the profiles to remove the porn
> links,
> and ban the users, but they keep coming back. All the firewall logs will
> tell me is that there were hits to port 80, they won't tell me which part of
> my site was accessed, while StatCounter can.
>
>

What about apache access logs? Also, 'PHP for Windows' doesn't change
whether phpBB or WikiMedia uses templates or not. phpBB uses templates,
like Jerry said, find the right one and add your code.

Saving it as a static HTML file and serving that up completely defeats
the purpose of it being dynamic. And one big extra step for no reason.

Also there are far better ways to deal with spam than block there IPs.
Most spam is distributed through proxies, and 'zombies'. You might see
reduced spam for a few days or weeks, but it will be back.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация