So who is good with PHP?

Look for help topics on Forum related issues here ...
User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

So who is good with PHP?

Post by Outback bloke » Mon Oct 17, 2005 3:25 pm

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?

User avatar
bluesteel
Junior Member
Posts: 892
Joined: Wed Oct 05, 2005 10:00 am
Location: Hobart, Tasmania

Post by bluesteel » Mon Oct 17, 2005 4:07 pm

no idea why... but it is happenin in IE too
Image

User avatar
BaronVonChickenPants
General Member
Posts: 1187
Joined: Tue Oct 04, 2005 10:00 am
Location: Nowra, NSW

Post by BaronVonChickenPants » Mon Oct 17, 2005 4:44 pm

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.

User avatar
stinky
Posts: 841
Joined: Tue Oct 04, 2005 10:00 am
Location: Brisbane

Post by stinky » Mon Oct 17, 2005 4:51 pm

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.

User avatar
stinky
Posts: 841
Joined: Tue Oct 04, 2005 10:00 am
Location: Brisbane

Post by stinky » Mon Oct 17, 2005 4:56 pm

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.

User avatar
BaronVonChickenPants
General Member
Posts: 1187
Joined: Tue Oct 04, 2005 10:00 am
Location: Nowra, NSW

Post by BaronVonChickenPants » Mon Oct 17, 2005 5:01 pm

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

Guest

Post by Guest » Mon Oct 17, 2005 5:07 pm

Why does it only seem to happen in Stinky's posts though?

User avatar
BaronVonChickenPants
General Member
Posts: 1187
Joined: Tue Oct 04, 2005 10:00 am
Location: Nowra, NSW

Post by BaronVonChickenPants » Mon Oct 17, 2005 5:12 pm

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.

User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

Post by Outback bloke » Mon Oct 17, 2005 7:17 pm

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?

User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

Post by Outback bloke » Mon Oct 17, 2005 7:18 pm

BTW, I ticked the disable html box for the above post and it did nothing.

User avatar
BaronVonChickenPants
General Member
Posts: 1187
Joined: Tue Oct 04, 2005 10:00 am
Location: Nowra, NSW

Post by BaronVonChickenPants » Mon Oct 17, 2005 7:23 pm

Good luck with the searching.

BTW: Whats that toolkit?

Jordan.

Guest

Post by Guest » Mon Oct 17, 2005 7:26 pm

Ok, so it's only with the Admin? Why I wonder.

User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

Post by Outback bloke » Mon Oct 17, 2005 8:06 pm


User avatar
stinky
Posts: 841
Joined: Tue Oct 04, 2005 10:00 am
Location: Brisbane

Post by stinky » Mon Oct 17, 2005 8:15 pm

Don't fret about it too much, I'll disable it tomorrow ... should be pretty easy.

User avatar
BaronVonChickenPants
General Member
Posts: 1187
Joined: Tue Oct 04, 2005 10:00 am
Location: Nowra, NSW

Post by BaronVonChickenPants » Mon Oct 17, 2005 8:19 pm

Thanks for that brett.

Glad to here it stinky, I'll be able to sleep tonight now :P

Jordan.

User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

Post by Outback bloke » Mon Oct 17, 2005 8:35 pm

Will that tidy up the classifieds html as well?

User avatar
stinky
Posts: 841
Joined: Tue Oct 04, 2005 10:00 am
Location: Brisbane

Post by stinky » Tue Oct 18, 2005 10:33 am

Hopefully I've sorted it..

Any past posts won't be fixed,but any new ones should be okay.

User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

Post by Outback bloke » Tue Oct 18, 2005 3:38 pm

I am still having issues with the way the text formats. It doesn't "auto resize" like it is meant to.

User avatar
Outback bloke
Senior Member
Posts: 2103
Joined: Fri Sep 30, 2005 10:00 am
Location: Morayfield - Queensland
Contact:

Post by Outback bloke » Tue Oct 18, 2005 3:39 pm

and it still doesn't like quotation marks. I will try and do the patch tonight and see if that helps.

User avatar
BaronVonChickenPants
General Member
Posts: 1187
Joined: Tue Oct 04, 2005 10:00 am
Location: Nowra, NSW

Post by BaronVonChickenPants » Tue Oct 18, 2005 3:42 pm

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.

Post Reply

Return to “Forum Help Area”