| 
	
 | 
 Posted by David Pyles on 12/03/07 23:19 
On 12/3/2007 4:54 PM, Chilly8 wrote: 
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message  
> news:NbmdnYPKAvxy_8nanZ2dnUVZ_j2dnZ2d@comcast.com... 
>> Chilly8 wrote: 
>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message  
>>> news:UOudnTaYbL9Oas7anZ2dnUVZ_trinZ2d@comcast.com... 
>>>> Chilly8 wrote: 
>>>>> X-No-Archive: Yes 
>>>>> 
>>>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message  
>>>>> news:UaGdnUzHPKXDms7anZ2dnUVZ_vvinZ2d@comcast.com... 
>>>>>> Chilly8 wrote: 
>>>>>>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message  
>>>>>>> news:xLadnT6enbhCLM_anZ2dnUVZ_s7inZ2d@comcast.com... 
>>>>>>>> Chilly8 wrote: 
>>>>>>>>> How to I change the HTML portiion of a PHP script? I want to modify 
>>>>>>>>> the HTML portion of phpBB, and the code in there to have  
>>>>>>>>> StatCounter 
>>>>>>>>> record hits to that part of my web site. I already have the main  
>>>>>>>>> web 
>>>>>>>>> site logged with StatCounter, but I would like to be able to modify 
>>>>>>>>> the HTML portion of PHP scripts for WikiMedia and phpBB, so 
>>>>>>>>> I can have those logged by phpBB as well 
>>>>>>>>> 
>>>>>>>>> I can see the HTML portion when I ask for the source in my 
>>>>>>>>> browser, but I cannot find the place in any of the PHP scripts 
>>>>>>>>> to change the HTML portion of the code 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> You need to ask in the PhpBB support forums, not here.  It's more  
>>>>>>>> complicated than just changing text files. 
>>>>>>> I have figured out one way to do it, which works with ANY 
>>>>>>> PHP page. Just load it into your browser, select the option 
>>>>>>> for viewing the source, and then save that as an index.htm or 
>>>>>>> index.html page, then have the web crawlers crawl that 
>>>>>>> instead of the php file. I have so far gotten this to work with 
>>>>>>> my phpBB and Wiki pages, then just change the redirects 
>>>>>>> on my domain to take users to the HTML-translated 
>>>>>>> version of the page. Then you can put in things like 
>>>>>>> Statcounter, or banner ads into WikiMedia, PhpBB, 
>>>>>>> VBulletin, or anything else. Now, you will need to have 
>>>>>>> the original php version, so that users can login. If the 
>>>>>>> index.php file has been erased or renamed, a user will 
>>>>>>> not be able to log on, but if anyone else asks about this, 
>>>>>>> that is how you do it. Log off and delete all cookies. Go 
>>>>>>> back to the main page, open the source in your browser, 
>>>>>>> and then save the HTML-translated page, then submit 
>>>>>>> the HTML version of hte page to Google and Yahoo 
>>>>>>> so that users get directed to that, instead of the PHP 
>>>>>>> version of the page. 
>>>>>>> 
>>>>>>> 
>>>>>> And pretty soon you'll figure out why that doesn't work. 
>>>>> Its so far worked for me. Just have the original PHP version 
>>>>> of the page, so that users can log in, if logins are required. 
>>>>> 
>>>> Keep it up.  You'll find why it doesn't work.  Then you can come back  
>>>> here and look at the advice given you in this thread. 
>>> Its already bearing fruit. I have found two networks, one in Germany 
>>> and one in Ukraine, where a lot of the porn links are coming from, and 
>>> have already blocked them at the firewall level, so I won't see any more 
>>> from those networks. Statcounter is already revealing to me where these 
>>> assholes are coming from. 
>>> 
>>> 
>>> 
>>> 
>> And if you chase them down, chances are you'll find they are coming from  
>> anonymous proxies. 
>  
> I dont know, some seem to come from whole class C IP blocks. 
> I have had to block entire class C IP blocks to shut off the 
> worst offenders, which are coming from server colocation 
> facilities in Germany and Ukraine. Just blocking those two, at 
> the firewall level, has shut mot of those that create screen names, 
> put porn links in the profile, and then dissapear. You create a 
> profile when you register, so someone could register, put their 
> porn, or other spam link in the profile, and never come back. 
> They don't even have to login, one they have registered, and 
> placed the porn link in their profile. 
>> One non-PhpBB board I manage had a major problem with Spam until we  
>> implemented CAPTCHA.  We were getting 200-400 spam posts per hour at  
>> times, and every one of them came from a different IP address.  But the  
>> content was always the same. 
>  
>  
> Well, what they are doing is creating accounts, and then putting 
> porn links in the profile. The create the accounts and then 
> never return, and I then have to edit those profiles to get rid 
> of the spam, and then ban them, on the off chance the do 
> decide to try and come back. 
>  
> Some of the scrren names that are created, I can Google, 
> and find them on a number of phpBB, vBulletin, and punBB 
> boards. 
>  
> Google any of these strange screen names that appear, and 
> post porn links in their profiles, and chances are you will 
> find it being done to other boards running vBulletin,. phpBB, 
> or punBB. 
>  
>  
If you want to keep the porn bots out of your phpBB 2 board, log ontp  
phpBB's community forum and search on GMT-12.  You will find an answer  
there that stops them flat. 
 
As to adding your counter, you can do that by editing the  
overall_footer.tpl file in your style template.  Just read through the  
file and you should be able to find a place to put your counter. 
 
If you are using phpBB 3 the above advice may not apply. 
Dave Pyles
 
  
Navigation:
[Reply to this message] 
 |