Author |
Message |
|
the disadvantage is that it prevents the header being sent when a comment is submitted.
|
 |
|
Ok firstly let me just say that a recently posted "exploit" on Security Focus claiming that peole could exploit the guestbook using the homepage field is incorrect as the guestbook already checks the submitted url.
Anyway whilst disproving this exploit I realised there is an exploit that would require only minor knowledge to perform so I am submitting this patch before anyone else publicises the exploit.
Open up lib/add.class.php. Find oth occurences ofand replace them withNow you are patched.
|
 |
|
Ignore my above post. That so called exploit you sent to me is total crap. It does not exist. I have now emailed the person that submitted it explaining what a moron they are. the guestbook already checks the URL that is submitted using this statementWhich basically says if there is any html characters in the url such as <, > or & then it will not accept the url and removes it from the entry.
|
 |
|
In lib/add.class.php find and edit it as you wish. remember to put a \ before any ".
|
 |
|
O kI have a fix loosely based on the forum code. open up lib/vars.class.php. Locate on a new line just after it putnow you can place your text between [pre] and [/pre] and it will come out exactly as you typed it in. Or should, I haven't tested it. You will also need to have AGcode turned on.
|
 |
|
Why not just hard code the HTML for the post in question into the template?
|
 |
|
My mistake. I should of explained more clearly. There should be a place where youcan enter the base_url. the person that edited your scrpt has removed somethings. Where did you get it from?
Mein Fehler. Ich soll von erklärt mehr deutlich. Es soll einen Ort geben, wo youcan der base_url einträgt,. die Person, die Ihren scrpt redigiert hat, hat etwas herausgenommen. Von wo haben Sie es erhalten?
|
 |
|
Do you really want it to show the entries in reverse order or would you prefer it if a selected entry was always first on the page? I mean you could have entry 1 always be the first entry on every page and still have the posts go from newest to oldest as they do now.
|
 |
|
I understand you are after altering the gender option in some way but then I get confused. Try explaining in GREAT detail. Try www.freetranslations.com as I find they aer usually the best. Remember the more details the more chance of our understanding. Either that or you will have to wait till someone translates your post in the German forum for me.
|
 |
|
The error message is saying that the problem lies at line 103 of lang/english.php and as the default version of that file only goes upto line 101 I'd guess that you have some space after the closing ?>
|
 |
|
admin/config.inc.phpshould be
|
 |
|
templates/form.php
Not that it makes much difference as the page is still admin.php although I don't think changing the name of the file will affect it's functionality so long as you remember the file name so you can get to it.
|
 |
|
Hi again. So you want the start page to show the oldest post and then the next oldest and so on? Strange request but simple enough. I'll throw something together in work tonight.
|
 |
|
thi has been discussed elsewhere in this forum, use search to find change header image.
|
 |
|
Impatient. If you wait a while I can improve th ebrowser detect the the best I can using the user agent string provided by the browser but as I said I am tied up. I will see if I can throw it together.
|
 |
|