PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  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
mtwo
New Member
New Member


Joined: May 12, 2006
Posts: 23

PostPosted: Wed Aug 02, 2006 10:14 am Reply with quote Back to top

I am using pc-nuke 7.9031e and have a problem with the topics. When adding a new topic, all topic images are missing from the dropdown menu. So, if I edit a topic, it removes the image associated with it. I have to manually edit the DB to list the topic image. I am able to see the images on the news postings, but the topics administration is broken and does not allow images to be associated with a topic. How do i fix this?


Why are the topic images so small on the main admin topic page? Is there a way to remove the size restriction?


Also, how do I allow links to open in new windows. I have added target to both my allowable HTML array and to the News config, but still am unable to add links that contain the target attribute to news postings. I do have blocks and content pages with links that open in a new window, so I am pretty sure nuke is not stripping this attribute everywhere. Everytime I post a new story with a link that opens in a new window, the attribute target="_blank" is stripped away. How do I fix this?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

PostPosted: Wed Aug 02, 2006 1:12 pm Reply with quote Back to top

Just to clarify: are you using NSN News 2.0 with 7.9?

Re "allow links to open in new windows" - which links? Just the Read More links? Since those links are added by users, but are built into the News module, Nuke can not strip them, nor is there any need to add target to the allowable HTML.
View user's profile Send private message
mtwo
New Member
New Member


Joined: May 12, 2006
Posts: 23

PostPosted: Wed Aug 02, 2006 1:22 pm Reply with quote Back to top

Yes, I am using NSN News 2.0 with 7.9 w/ patched 3.1.

The links I am referring to are the links a user adds with in a posting. We often post images and links to external sites within our news postings and would like to send users to those other sites without them leaving ours as well....
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

PostPosted: Wed Aug 02, 2006 2:02 pm Reply with quote Back to top

Ah. There is currently no way to enforce that. The configuration of NSN determines whether to open the Read More link on the index page in a new window.

Adding that to the submit function would be useful, I think.
View user's profile Send private message
mtwo
New Member
New Member


Joined: May 12, 2006
Posts: 23

PostPosted: Wed Aug 02, 2006 2:20 pm Reply with quote Back to top

I think you might be misunderstanding the links and the problem I am having. I am not referring to the read more or any other links from the module. I am talking about the link a user would post for lets say more information on an external site. So, when we create a news posting that says check out Raven Web Services at
Only registered users can see links on this board!
Get registered or login to the forums!
we can set that url to open in a new window.

We also often post pre-created HTML, which we format, validate and set a href tags to include the target="_blank" attribute. The target="_blank" attribute of the a href tag is being stripped off, but only in the news module. This occurs if I post HTML into a submit news page, or update the DB entry for that posting with the correct HTML. During both instances, the target attribute does not display.


Also, any thoughts on the topic image problem as mentioned above...?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

PostPosted: Wed Aug 02, 2006 3:32 pm Reply with quote Back to top

I understand your point perfectly. I'm simply saying that the current software can only be configured to open the Read More link on a new window. It does not enforce that links inside the news story open in a new window.

NSN News has it's own mechanism for validating HTML - which is why it's stripping off the target attribute. It doesn't use the standard $allowable_html variable.

Not sure about the topic images...is there some sort of configuration for this in the NSN News administration?
View user's profile Send private message
mtwo
New Member
New Member


Joined: May 12, 2006
Posts: 23

PostPosted: Fri Aug 04, 2006 9:43 am Reply with quote Back to top

So, where or what file is the target="_blank" attribute actually being removed? Can I simply comment out the line of code that causes this?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4887

PostPosted: Fri Aug 04, 2006 11:47 am Reply with quote Back to top

Good question. If I had time to review the code, I might be able to find it...
View user's profile Send private message
mtwo
New Member
New Member


Joined: May 12, 2006
Posts: 23

PostPosted: Fri Aug 04, 2006 11:57 am Reply with quote Back to top

Please let me know, for it would be helpful.
View user's profile Send private message
mtwo
New Member
New Member


Joined: May 12, 2006
Posts: 23

PostPosted: Wed Aug 16, 2006 8:56 am Reply with quote Back to top

Any thoughts on this topic?

So, where or what file is the target="_blank" attribute actually being removed? Can I simply comment out the line of code that causes this?

Topic image errors?
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