![]() |
Quote:
Quote:
|
I know what you mean. This can be a bit tricky. Not even a simple:
PHP Code:
I'll have a look myself if i can spot the problem. Although fairly inefficient since it is not my code, and thus not too familiar with it. Is it somewhat like the forests in Denmark? :squareeyed: :ogre: :P Regards, Johan PS: Ill stick to "force_redirect = 0" for safety. |
Quote:
|
1)
Looking at some HTML generated in a photo category view i found this: HTML Code:
<a href='http://www.teflon.net/forum/local_links.php?catid=7&linkid=54'>PictureTitle1</a>
HTML Code:
<a href="http://www.teflon.net/forum/local_links.php?catid=7&linkid=54">PictureTitle1</a> 2) I had a look in local_links.php and found this line: PHP Code:
PHP Code:
3) Also, if a variable is not inserted via template processing, then i would use the following syntax consistently: PHP Code:
PHP Code:
Embracing the use of singlequoted strings in PHP when targetting HTML output makes it possible to simply write: PHP Code:
PHP Code:
But it is very well worth it, since it is such a good product. |
Quote:
I run pages through validator.w3.org from time to time to pick up on inconsistencies. Keeping the php and sql clean and consistent is a major task, as from time to time I decide I like a new coding style better than another. A rod to beat one's back, really. |
Quote:
I agree with you about keeping code clean. It's a moving target. |
Andrew, in the past few days I've been experiencing one of these 'bots' coming to my site and generating a whole bunch of 'report bad link' emails. Yesterday I went into LDM permissions and unchecked Unregistered Users abilities to report bad links, but today it happened again. Here's a snapshot of what was sent to me:
Quote:
S |
Are you sure the message comes from the forum?
Check the email header carefully to see where it really comes from. The main reason for theese pesky bots to be able to send the emails is that they search the web for email addresses visible on webpages. And they use Google, Yahoo and other searchers to find the addresses. Then the bots send these lame, wanky messages about free software, and why you need to buy pills from the blackmarket. It is becomming more and more impossible to have email addresses openly visible on the web. Some of these bots can also send their messages in unprotected webforms. There is only one method to handle this problem: Arrest them who spam the internet, and implement enforced sender authentication on SMTP. So this problem has probably nothing to do with the LDM at all. |
No, I'm sure it came from my vBulletin/LDM. The headers my headers, and it's coming from my vBulletin's php mail forms.
I do understand how this originally started, as my LDM 'report bad link' setting was unprotected. But then I changed it yesterday, so I don't understand how it happened again today. |
Quote:
I imagine your problem is very similar - I hope it will go away now that you've turned off the LDM 'report' form for unregistered users, but I'll take another look at the code to be sure. |
All times are GMT. The time now is 11:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|