PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Dreadan
New Member
New Member


Joined: Nov 04, 2005
Posts: 8

PostPosted: Wed Jul 19, 2006 9:52 pm Reply with quote Back to top

I'm been having this problem for a little while. When I add add new news to the website it's stripping out the links for urls within the news story. It leaving all the links if its inside of an image tag. Is there some other code that I need to add to config.php for the allowed html?

Example
Before:
Code:
<p align="center"><img src="http://www.gowgaming.com/ss/av.gif" width="600" height="300" >
</p>
<p align="center">Click <a href="http://www.gowgaming.com/ss/av.gif">here</a> for
  larger view</p>


After:
Code:
<p align="center"><img src="http://www.gowgaming.com/ss/av.gif" width="600" height="300">
</p>
<p align="center">Click <a href="">here</a> for
  larger view</p>


Also if I try to edit, I can't click on the save button when this happens.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4868

PostPosted: Wed Jul 19, 2006 10:01 pm Reply with quote Back to top

I think this may be down to the use of the paragraph 'P' tag.
Check the allowed html array in config.php to see if it is there.
View user's profile Send private message Send e-mail Visit poster's website
Dreadan
New Member
New Member


Joined: Nov 04, 2005
Posts: 8

PostPosted: Wed Jul 19, 2006 10:49 pm Reply with quote Back to top

Yes there is a "p"=>2
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4868

PostPosted: Thu Jul 20, 2006 12:20 am Reply with quote Back to top

I won't install any version of nuke above 7.6 due to the security problems they have so this is going to be hard to fix for me.
I do find it strange that the image url seems fine but the a href tag causes an problem.
It might be a tiny_mce editor problem but I have to admit I do not recall anyone else having this specific issue.

Does it help if you close those two 'center' tags you have open?
View user's profile Send private message Send e-mail Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Thu Jul 20, 2006 12:39 am Reply with quote Back to top

They are closed, perhaps adding the href in the allowable_html would help.

This one I cannot test either or should say I'm not quite getting the same result on my home server.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Dreadan
New Member
New Member


Joined: Nov 04, 2005
Posts: 8

PostPosted: Thu Jul 20, 2006 8:33 am Reply with quote Back to top

I've added href to the tags allowed and now it doesn't strip that part but it still strips the url Sad

Code:
<p align="center"><img src="http://www.gowgaming.com/ss/av.gif" width="600" height="300">
</p>
<p align="center">Click <a href="">here</a> for
  larger view</p>


I also have the wysiwyg editor turned off. If someone has a really good walkthrough to downgrade to 7.6 i'm all ears. If I were to downgrade can I go right to raven or should I use the unomodified 7.6..
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Thu Jul 20, 2006 12:01 pm Reply with quote Back to top

Try not using the quotes at all, this was a way to get around it for some users hopefully itll fix your problem to.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Dreadan
New Member
New Member


Joined: Nov 04, 2005
Posts: 8

PostPosted: Thu Jul 20, 2006 8:22 pm Reply with quote Back to top

Well I bit the bullet and went to RN7.6. It appears as tho everthing is working. *shrug*


Last edited by Dreadan on Thu Jul 20, 2006 10:02 pm; edited 1 time in total
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Thu Jul 20, 2006 8:36 pm Reply with quote Back to top

Bit the bullet?

What were you running before?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4868

PostPosted: Thu Jul 20, 2006 9:58 pm Reply with quote Back to top

I would guess something above 7.6
View user's profile Send private message Send e-mail Visit poster's website
Dreadan
New Member
New Member


Joined: Nov 04, 2005
Posts: 8

PostPosted: Thu Jul 20, 2006 10:02 pm Reply with quote Back to top

7.8 patched

I thought I put that in the first post Rolling Eyes
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Thu Jul 20, 2006 10:04 pm Reply with quote Back to top

Then by all means, Bite that bullet.

Although if you were trying to stay with 7.8, I have this to say: you like living dangerously ehh?

Laughing

Trust me, You made a very inteligent decision with going with ravennuke.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Dreadan
New Member
New Member


Joined: Nov 04, 2005
Posts: 8

PostPosted: Thu Jul 20, 2006 10:19 pm Reply with quote Back to top

I hope so Smile

I'm pretty sure I got everything downgraded correctly. I only had one error with the downgrade for the modules table. Other than that after fixing some language files it seems OK so far.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum