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
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Mon Sep 03, 2007 9:40 pm Reply with quote Back to top

I am running nuke 8.0 patch 3.3.

Here is my problem,

News modules is on my home page. When I was at nuke 7.0, I was able to use target="_blank" to force the news to open up at a new window.

With this nuke 8.0, I cannot do that anymore. The little nice window at the article/stories edit page to allow you to put a link in your document and choose to either open it at the same window or open it at a new window DOESN'T work. I can never make this option stay in my html code no matter what I do.

Try to edit the html itself, after saving the page, come back to check the code. the code would be gone. News still open up in the same window.

Try to edit the database, no luck.

Any help is greatly appreciated it.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14925
Location: Kansas

PostPosted: Mon Sep 03, 2007 10:26 pm Reply with quote Back to top

See if this works. In your config.php find this line:
Code:
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);


Change
"a"=>2
to
"a"=>3
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 8:50 am Reply with quote Back to top

I changed it and tried. It doesn't work.

One thing I noticed is that if the application had accepted my change, it will bring me back to the admin.php after the change. If it didn't accept my change, it will take me all the way back to the homepage.

Thanks for the suggestion and thank for your help in advance.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2056
Location: near Albany NY

PostPosted: Tue Sep 04, 2007 9:03 am Reply with quote Back to top

Hummm ... I wonder if they got religion in doing their editor code? One of the articles you will see on some "how to do good HTML pages" recommends, don't disable the back button. When you open a window in a new page you essentially do that. I don't have the reference handy but if you type "don't disable the back button" into Google you'll get a list of articles. Maybe they fixed the editor so it won't do that. I don't have Nuke 8 and won't so I can't say for sure.
View user's profile Send private message Visit poster's website
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 10:21 am Reply with quote Back to top

Thanks fkelly

I also notice that the Target="_blank" or target=\"_blank\" does not stay at the html code under the admin page.

This is quit an issue here with 8.0 I think
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14925
Location: Kansas

PostPosted: Tue Sep 04, 2007 10:26 am Reply with quote Back to top

You might try upgrading to 8.1 to see if that resolves it. Get it in the downloads. Of course we would recommend that you use RavenNuke(tm).
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 11:13 am Reply with quote Back to top

RavenNuke 8.0???

However, I have suffered for almost a month to upgrade this from 7.0 to 8.0. I am exhausted!!! and not sure I want to do another upgrade right now.

Thanks greatly in advance.
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1619
Location: United Kingdom

PostPosted: Tue Sep 04, 2007 1:56 pm Reply with quote Back to top

No it's not RN 8.0, or 8.1. Just a copy of FB's release.
View user's profile Send private message
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 2:34 pm Reply with quote Back to top

Hey jakec

I don't quit follow your answer. Could you explain that a little bit for.

Can't open up a new window is kind of becoming a problem for me!!!! Sad
View user's profile Send private message
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1619
Location: United Kingdom

PostPosted: Tue Sep 04, 2007 2:41 pm Reply with quote Back to top

Yes certainly.

You said RavenNuke 8.0???

So I was just explaining that Raven was referring to FB's latest release, not a RavenNuke release.
View user's profile Send private message
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 2:50 pm Reply with quote Back to top

I find out another interesting behavior on the html code holder at the admin.php page to edit the news.

e.g I have the following show up when I open the htm code window

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece">I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />

I changed it to

<div> <a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece">I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br /> </div>

or

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece" targer="_blank" >I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />

or

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece" target=\"_blank\" >I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />

After I save the change. phpnuke will take me all the way to the home page. Of course it didn't work. When I come back to the edit page and open up the html code. I got the original code.

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece">I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />


Any idea? Question

thanks in advance
View user's profile Send private message
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 2:53 pm Reply with quote Back to top

Thanks jakec.
View user's profile Send private message
Gremmie
Moderator


Joined: Apr 06, 2006
Posts: 2348
Location: Iowa, USA

PostPosted: Tue Sep 04, 2007 5:23 pm Reply with quote Back to top

Well the general consensus around here is that PHP-Nuke 8.0 is junk. These things work in RavenNuke. Smile

And try getting support for PHP-Nuke 8 from the author. Sorry, you can't.

You'll get plenty of support for RavenNuke here.
View user's profile Send private message
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Tue Sep 04, 2007 6:30 pm Reply with quote Back to top

Guys,

After reading some more on the internet, I finally found out how to open an new window in nuke 8.0

All you have to do is Shift-click at the link, it will open the new window. If you just only click at the link, it will open in the same window. I love this feature and I wish this were in one of the installation documents so that I didn't have to spend days to try to figure it out.

On the other hand, I did learn a lot about the nuke 8.0 while trying to solve this problem.
Wave
Thank you everybody.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14925
Location: Kansas

PostPosted: Tue Sep 04, 2007 10:05 pm Reply with quote Back to top

That is a function of your browser, not phpnuke. It's a browser documented feature.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sweetmail
Hangin' Around


Joined: Aug 23, 2007
Posts: 40

PostPosted: Wed Sep 05, 2007 7:53 am Reply with quote Back to top

Oh!!! thanks. I actually thought about that after I got to sleep on it last night. Anyway, I think I am done with the upgrade. Here is my website link
Only registered users can see links on this board!
Get registered or login to the forums!
and it is running nuke 8.0 patch 3.3 and NukeSentinel_2511_66-81.

Thank everybody for all of your help, especially Evaders99 and Gremmie and you Raven.


Dance-Y
Thanks
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14925
Location: Kansas

PostPosted: Wed Sep 05, 2007 11:50 am Reply with quote Back to top

RavensScripts
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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