PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Sat Jan 21, 2006 5:19 pm Reply with quote Back to top

I am trying to get a picture to show up on home page. I am running Version 7.9. I have tried to link to the image from several places. I have tried to create a block and add it to home. I have tried to make it show so many ways i lost count. I either don't see the message at all on home page, or i see the code for it but no image. Any Ideas here?
This is where I am trying to get picture to show up.
Only registered users can see links on this board!
Get registered or login to the forums!


I see the picture in the editor, but when I save it...its gone, THE WHOLE MESSAGE :/
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: 6373
Location: Vsetin, Czech Republic

PostPosted: Sat Jan 21, 2006 5:30 pm Reply with quote Back to top

Another user had this same problem which amongst many other reasons is why I do not recommend you install any version of nuke after 7.6


There does not seem to be any news, so it is impossible for me to check the image path but make sure you use the full path as against a relative path.
View user's profile Send private message Send e-mail Visit poster's website
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Jan 21, 2006 9:47 pm Reply with quote Back to top

Is the IMG tag allowed in your config.php ?
View user's profile Send private message Visit poster's website
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Thu Feb 02, 2006 6:18 am Reply with quote Back to top

I can not save any changes in the message module on the home page. Everywhere else like in content it works fine. Any suggestions?
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Thu Feb 02, 2006 8:58 am Reply with quote Back to top

Quote:
edkiefer
Posted: Thu Feb 02, 2006 10:18 pm

--------------------------------------------------------------------------------

I can not save any changes in the message module on the home page. Everywhere else like in content it works fine. Any suggestions?
Only registered users can see links on this board!
Get registered or login to the forums!



Is
Only registered users can see links on this board!
Get registered or login to the forums!
where the actual picture is? Thats the path I see. But I can't even get the little x's to show that there should be a picture there on mine so your doing better than me!


Last edited by dark-dude on Thu Feb 02, 2006 9:01 am; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Thu Feb 02, 2006 9:00 am Reply with quote Back to top

edkiefer wrote:
I can not save any changes in the message module on the home page. Everywhere else like in content it works fine. Any suggestions?
Only registered users can see links on this board!
Get registered or login to the forums!


Does anything out of the ordinary happen when you go to edit and/or save the message?

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Thu Feb 02, 2006 9:04 am Reply with quote Back to top

On mine, I can put the stuff in I want and as long as it is text, its fine. Add a picture and I can see it in the editor, but as soon as I save it....I go look and the message is NOT on the front page. I go back to the messages and its in the list of messages. As soon as I click to edit it...its blank. Nothing there.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Thu Feb 02, 2006 9:08 am Reply with quote Back to top

evaders99 wrote:
Is the IMG tag allowed in your config.php ?


Did you check evader's suggestion?

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Thu Feb 02, 2006 9:12 am Reply with quote Back to top

Quote:
Is the IMG tag allowed in your config.php ?


Yup i looked....i never saw anything in there about allowing image tags.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Thu Feb 02, 2006 9:25 am Reply with quote Back to top

Quote:

Is the IMG tag allowed in your config.php ?

$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,"img src"=>1,"ul"=>1);

Thats whats in my allowable html
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Thu Feb 02, 2006 3:46 pm Reply with quote Back to top

dark-dude wrote:
Quote:
edkiefer
Posted: Thu Feb 02, 2006 10:18 pm

--------------------------------------------------------------------------------

I can not save any changes in the message module on the home page. Everywhere else like in content it works fine. Any suggestions?
Only registered users can see links on this board!
Get registered or login to the forums!



Is
Only registered users can see links on this board!
Get registered or login to the forums!
where the actual picture is? Thats the path I see. But I can't even get the little x's to show that there should be a picture there on mine so your doing better than me!


No that's not were the image is. The editor will allow me to make changes, but when I go to save it, it doesn't save the changes. It just keeps the original.
View user's profile Send private message
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Fri Feb 03, 2006 7:22 am Reply with quote Back to top

sting wrote:
edkiefer wrote:
I can not save any changes in the message module on the home page. Everywhere else like in content it works fine. Any suggestions?
Only registered users can see links on this board!
Get registered or login to the forums!


Does anything out of the ordinary happen when you go to edit and/or save the message?

-sting


No nothing out of the ordinary. It acts like it's saving. When it completes it goes back to the main message menu in the admin section.
View user's profile Send private message
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Fri Feb 03, 2006 3:43 pm Reply with quote Back to top

Try changing the line in your allowable html from

Code:
 "img src"=>1,


to

Code:
 "img"=>2,


-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Fri Feb 03, 2006 3:48 pm Reply with quote Back to top

sting wrote:
Try changing the line in your allowable html from

Code:
 "img src"=>1,


to

Code:
 "img"=>2,


-sting

I that in the main config.php. Sorry this is what I have: "img" => array("alt" => 1, "src" => 1, "hspace" => 1, "vspace" => 1, "border" => 1, "align" => 1),
It says this at the bottom of the edit message page:
Expiration: 1 Day2 days5 days15 days30 daysUnlimited

Active? Yes No

Change start date to today?Yes No

Who can View This? All VisitorsAnonymous Users OnlyRegistered Users OnlyAdministrators OnlySubscribed UsersGroups Only

View must be SET to Groups Only
What Groups Home
View user's profile Send private message
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Fri Feb 03, 2006 4:14 pm Reply with quote Back to top

Yikes. In the config.php, your file should look something more like this:

Code:
 $AllowableHTML = array("b"=>2,"i"=>1,"img"=>2,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>2,"ol"=>1,"ul"=>1 );


the "img" needs to come AFTER the array statement, not before... and I don't believe src is an html tag by itself...

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Fri Feb 03, 2006 4:19 pm Reply with quote Back to top

sting wrote:
Yikes. In the config.php, your file should look something more like this:

Code:
 $AllowableHTML = array("b"=>2,"i"=>1,"img"=>2,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>2,"ol"=>1,"ul"=>1 );


the "img" needs to come AFTER the array statement, not before... and I don't believe src is an html tag by itself...

-sting


Here is my config.php

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING

$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
#$AllowableHTML = array("b"=>1,"i"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
###############################################################################
#
# nukeWYSIWYG Copyright (c) 2005 Kevin Guske
Only registered users can see links on this board!
Get registered or login to the forums!

# kses developed by Ulf Harnhammar
Only registered users can see links on this board!
Get registered or login to the forums!

# kses enhancement ideas contributed by sixonetonoffun
Only registered users can see links on this board!
Get registered or login to the forums!

# FCKeditor by Frederico Caldeira Knabben
Only registered users can see links on this board!
Get registered or login to the forums!

# Original FCKeditor for PHP-Nuke by H.Theisen
Only registered users can see links on this board!
Get registered or login to the forums!

#
###############################################################################
$AllowableHTML = array(
"a" => array("href" => 1, "target" => 1, "title" => array("minlen" => 4, "maxlen" => 120)),
"b" => array(),
"blockquote" => array(),
"br" => array(),
"center" => array(),
"div" => array("align" => 1),
"em" => array(),
"font" => array("face" => 1, "style" => 1, "color" => 1, "size" => array("minval" => 1, "maxval" => 7)),
"h1"=>array(),
"h2"=>array(),
"h3"=>array(),
"h4"=>array(),
"h5"=>array(),
"h6"=>array(),
"hr" => array(),
"i" => array(),
"img" => array("alt" => 1, "scr" => 1, "hspace" => 1, "vspace" => 1, "border" => 1, "align" => 1),
"li" => array(),
"ol" => array(),
"p" => array("align" => 1),
"pre" => array("align" => 1),
"span" =>array("class" => 1, "style" => array("font-family" => 1, "color" => 1)),
"strong" => array(),
"table" => array("align" => 1, "border" => 1, "cell" => 1),
"td" => array(),
"tr" => array("align" => 1),
"tt"=>array(),
"u" => array(),
"ul" => array(),
);

$CensorList = array("f***","cunt","f***er","f***ing","pussy","cock","c0ck","cum","twat","clit","bitch","fuk","fuking","motherfucker");
// Nuke Patched 3.1
// Further enhanced by Raven at
Only registered users can see links on this board!
Get registered or login to the forums!


?>
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Fri Feb 03, 2006 4:23 pm Reply with quote Back to top

I think the first thing we need to decide here is exactly which editor you are going to use!!
I just noticed from an image path you posted that you are using the SPAW editor so perhaps it is due to some misconfiguration of this module. Or you forgot to do some of the needed file edits.

The path to your images directory does not even exist
Only registered users can see links on this board!
Get registered or login to the forums!

so this may be why you are having the problem. The images directory location has to be configured when installing SPAW editor as it uses an array to define the directory locations.

Code you posted from your config file indicated you are using FCKEditor?
View user's profile Send private message Send e-mail Visit poster's website
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Fri Feb 03, 2006 4:32 pm Reply with quote Back to top

Guardian2003 wrote:
I just noticed you are using the SPAW editor so perhaps it is due to some misconfiguration of this module. Or you forgot to do some of the needed file edits.

The path to your images directory does not even exist
Only registered users can see links on this board!
Get registered or login to the forums!

so this may be why you are having the problem. The images directory location has to be configured when installing SPAW editor as it uses an array to define the directory locations.


I don't use the spaw editor. I use FCKeditor. That's just a link from an old site that had the spaw installed. Sorry for the confusion.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Fri Feb 03, 2006 5:54 pm Reply with quote Back to top

Take a look at the nuke_wysiwyg forum here, particularly the one that mentions image path locations/ image path directory permissions. I think you will find your fix there.
View user's profile Send private message Send e-mail Visit poster's website
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Fri Feb 03, 2006 7:47 pm Reply with quote Back to top

My FCKeditor works fine with everything (content, news,) except messages. My path and permissions seem to be correct. This is the only glitch in the whole site. Any help would be great!
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Fri Feb 03, 2006 8:19 pm Reply with quote Back to top

Sorry, yes that paints a clearer picture.
So the problem is only with messages.
You original messages index file I presume works fine and I know the one from the FCKEditor works so there must be something conficting when the appropriate edits are made to the original file.
OK I'll take a look at this as soon as I can.
View user's profile Send private message Send e-mail Visit poster's website
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Sat Feb 04, 2006 7:09 am Reply with quote Back to top

Everything works great now. I transfered important database info to a new MySQL database and re-installed the ravenscript installSQL.php. Now it works properly. Thanks for everyones responses. This is the best forum for nuke I have found.
View user's profile Send private message
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Sat Feb 04, 2006 7:09 am Reply with quote Back to top

I noticed that your img line says
Code:

 "img" => array("alt" => 1, "scr" => 1, "hspace" => 1, "vspace" => 1, "border" => 1, "align" => 1),


Have you tried changing the 'scr' to 'src' ?

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
edkiefer
Regular
Regular


Joined: Jul 15, 2005
Posts: 50

PostPosted: Sat Feb 04, 2006 7:28 am Reply with quote Back to top

You won't believe this. When I try to make a new user or login with a username and password, I get a blank browser. Help
View user's profile Send private message
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 460
Location: Somewhere out there...

PostPosted: Sat Feb 04, 2006 7:44 am Reply with quote Back to top

I believe it - I just went to your site a few minutes ago and clicked around, got the same thing. Turn $display_errors = true in your config.php file.

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum