![]() |
The problem is that i have other hacks installed that modified editpost.php :(
have the same problem as KirbyDE, the post info gets screwed up if i stop editinf a post, yet still i cannot apply the update |
Just change what is between these two lines in the editpost and that will include the fix. ;)
PHP Code:
PHP Code:
|
It works great, Stefan, except for one small thing. If I put a phoney name in (or misspell a user's name), it will show guest like it is supposed to, but it will also show that phony or mispelled name above the word Guest. That shouldn't be in there, right? ;)
|
Yes, it should work that way.
Guest is the usertitle, so if your username doesn't exists, it will set the post's userid to 0 and the Guest's username to the one you entered |
Ah, ok, Then all is well once again in the Stefan code. ;)
I am curious, though, why did you split the code this time instead of doing it all together? ;) |
because of the preview.
If you click on submit changes but have an error in your new post (like too many images or such) you will get to the previewpage as well. but you cannot know this before the actual updatesection has been running. so it's not possible anymore to keep it in one block, if you want the preview to work |
Updated just the lines in editpost.php
I make a topic, then view it, press edit, change something, and then press preview. Then I press save, and there we go, everything gets screwed up again... :( Have i missed something out in updating? |
Quote:
|
@djohn: the editpost.php changes should be enough.
it is working fine for me. @Bob: you haven't tested the code good enough :) if you have an maximum images limit you will see what i meant :) |
Works like a dream in Gold!
|
All times are GMT. The time now is 01:02 PM. |
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:
|