Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9
Author Message
Snorii
New Member
New Member



Joined: Jan 01, 2005
Posts: 16

PostPosted: Tue Oct 25, 2005 9:25 am Reply with quote

I can get images to show in the News section, but I can't seem to control their size.

I edited my config.php to allow images, but the images don't remember the argument of width I place on them.

Code:
<img src="url" width=450>


If I go back and try to edit the news article in admin mode, it drops the width argument again, leaving only the image source.

In the config.php, I have tried array("img"=>1, .....
I have also tried 2, 3, 4.

I assume the number is the number of arguments allowed in any particular html tag, but I can't seem to find any documentation on this.

Thanks for any help.


Last edited by Snorii on Tue Oct 25, 2005 1:23 pm; edited 1 time in total 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Oct 25, 2005 10:36 am Reply with quote

Have you installed 'patched' for this version yet?
 
View user's profile Send private message Send e-mail
Snorii







PostPosted: Tue Oct 25, 2005 12:31 pm Reply with quote

I found Nuke 7.9 Patched Here and tried to patch the files without success.

Got a Phpnuke Error on the main page.

I will try again and see what I can come up with. Probably just a config problem.
 
Snorii







PostPosted: Tue Oct 25, 2005 12:50 pm Reply with quote

Wow, the patch seems to have made things worse.

Broken Images instead of no pictures now.

And for some reason, my apostrophes seemed to have quadrupled. Instead of Captain's, I see Captain''''s now. Laughing

I found this post by Chatserv in the Nuke Resources forum. It is to fix broken images for the topic image, but my broken images are in the text.

I'll look at it some more and see what I can come up with.
 
Snorii







PostPosted: Tue Oct 25, 2005 1:01 pm Reply with quote

Ok, it worked (I set "img"=>4 in the config file.

Now it seems to be doubling my single apostrophes every time I edit a news article.

I now have stuff like I''''''''m now. Confused

Also, lost the right side blocks in the news section.

index = 1; doesn't seem to work anymore.
 
Snorii







PostPosted: Tue Oct 25, 2005 1:07 pm Reply with quote

I did have to change the way I add my width argument though.

Instead of width=450, I have to be sure and put quotation marks around the number now. It comes back broken if I don't.
So,

Code:
<img src="url" width="450">
 
Snorii







PostPosted: Tue Oct 25, 2005 1:22 pm Reply with quote

I'm also getting a curious "Access Denied" when I go in and edit a news story. It still lets me edit.
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Oct 25, 2005 2:57 pm Reply with quote

For attributes, you must use
Code:


"img"=>2


For the themes, see the readme
Code:


In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {


For right blocks, again the readme
Code:


1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
to:
define('INDEX_FILE', true);


For Access Denied errors, you may older scripts that do not use the newer 'ADMIN_FILE' check. You'd have to check your addon files

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Snorii







PostPosted: Wed Jan 18, 2006 12:11 pm Reply with quote

Thanks evaders99. That did the trick.

Now to fix the ''''''' problem. Smile
 
evaders99







PostPosted: Wed Jan 18, 2006 12:45 pm Reply with quote

See: [ Only registered users can see links on this board! Get registered or login! ]
 
Snorii







PostPosted: Wed Jan 18, 2006 1:40 pm Reply with quote

Thanks again. Smile
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.9

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©