Page 1 of 2
So who is good with PHP?
Posted: Mon Oct 17, 2005 3:25 pm
by Outback bloke
As a few of you have probably noticed we are having issues with random
html code appearing in amongst the posts. I have no idea why, nor does
Paul. All we can put it down to is Firefox. We are open to suggestions
on how to repair it. Any one?
Posted: Mon Oct 17, 2005 4:07 pm
by bluesteel
no idea why... but it is happenin in IE too
Posted: Mon Oct 17, 2005 4:44 pm
by BaronVonChickenPants
Have you tried asking on the phpbb or php-nuke forums?
I use nothing but firefox on both windows and linux as far as I know none of my posts have any html issues.
I notice when I write a post there is a tick box that says: "Disable HTML in this post" I'm pretty sure this wasn't there on the last forum, perhaps try disabling it in the admin section all together.
Just some thoughts.
Jordan.
Posted: Mon Oct 17, 2005 4:51 pm
by stinky
I know what it is ... I just haven't worked out what to do to fix it.
Basically Firefox ( and maybe IE ) go into a html edit mode when you
post a message. However phpnuke only supports certain html
characters. When you're typing a message there should be a
button on the bottom "HTML" which when pressed will bring up the html
of what you've just typed and you can clean it up. i'll try and find a
way around it.
Posted: Mon Oct 17, 2005 4:56 pm
by stinky
Ok so it uses a javascript include called tinyMCE which is a html
editor thing. just need to work out how to turn that off ...
should be fairly trivial ... will have a look at it tomorrow.
Posted: Mon Oct 17, 2005 5:01 pm
by BaronVonChickenPants
Now it makes sense, TinyMCE is crap, I'm sure last time I played with nuke there was an option to disable html in the admin or config somewhere....I think.
Jordan
Posted: Mon Oct 17, 2005 5:07 pm
by Guest
Why does it only seem to happen in Stinky's posts though?
Posted: Mon Oct 17, 2005 5:12 pm
by BaronVonChickenPants
I've seen it happen in some of Bretts posts too, no idea why, are either of you doing something different to any one else, are you trying to use html code at all?
Jordan.
Posted: Mon Oct 17, 2005 7:17 pm
by Outback bloke
No, I am not using any code at all. I have done a bit of searching
through some of the php forums and have found quite a few other people
having similar issues. There is a fix for php-nuke 7.7 that is version
3.0. Apparently some people have had success with it while others
don't.
I have also noticed when I type in the the text box for the message
body the cursor will not start at the top left corner as it is supposed
to. Same when I use the for sale section (ZClassifieds) of the site.
I have set up another complete site on the server for testing. Even
with a fresh install of php-nuke I am getting the same issues. I
upgraded it to 7.9 earlier and it appears to have done nothing. I will
remove it later and reinstall 7.7 and try the patch on it and see if
that does any thing.
I think I will just post on one of the forums and see if I can get a straight answer about it.
While I was searching for info I came across a php tool kit. Very handy
for converting html to php and for building new modules and blocks.
While I have the window open, Stinky, what mod did you use for the
scrolling Last 5 posts for the forum in the news block last time?
Posted: Mon Oct 17, 2005 7:18 pm
by Outback bloke
BTW, I ticked the disable html box for the above post and it did nothing.
Posted: Mon Oct 17, 2005 7:23 pm
by BaronVonChickenPants
Good luck with the searching.
BTW: Whats that toolkit?
Jordan.
Posted: Mon Oct 17, 2005 7:26 pm
by Guest
Ok, so it's only with the Admin? Why I wonder.
Posted: Mon Oct 17, 2005 8:06 pm
by Outback bloke
Posted: Mon Oct 17, 2005 8:15 pm
by stinky
Don't fret about it too much, I'll disable it tomorrow ... should be pretty easy.
Posted: Mon Oct 17, 2005 8:19 pm
by BaronVonChickenPants
Thanks for that brett.
Glad to here it stinky, I'll be able to sleep tonight now :P
Jordan.
Posted: Mon Oct 17, 2005 8:35 pm
by Outback bloke
Will that tidy up the classifieds html as well?
Posted: Tue Oct 18, 2005 10:33 am
by stinky
Hopefully I've sorted it..
Any past posts won't be fixed,but any new ones should be okay.
Posted: Tue Oct 18, 2005 3:38 pm
by Outback bloke
I am still having issues with the way the text formats. It doesn't "auto resize" like it is meant to.
Posted: Tue Oct 18, 2005 3:39 pm
by Outback bloke
and it still doesn't like quotation marks. I will try and do the patch tonight and see if that helps.
Posted: Tue Oct 18, 2005 3:42 pm
by BaronVonChickenPants
I have seen some php code that interfaces with sql that does have issues with "qoutes" but I've never seen it with nuke, as has been spotted it only seems to be the admin users with the problems. Very strange indeed
Jordan.