Author |
Message |
Snorii
New Member


Joined: Jan 01, 2005
Posts: 16
|
Posted:
Tue Oct 25, 2005 9:25 am |
|
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 |
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Oct 25, 2005 10:36 am |
|
Have you installed 'patched' for this version yet? |
|
|
|
 |
Snorii

|
Posted:
Tue Oct 25, 2005 12:31 pm |
|
I found Only registered users can see links on this board! Get registered or login! 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

|
Posted:
Tue Oct 25, 2005 12:50 pm |
|
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.
I found Only registered users can see links on this board! Get registered or login! 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

|
Posted:
Tue Oct 25, 2005 1:01 pm |
|
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.
Also, lost the right side blocks in the news section.
index = 1; doesn't seem to work anymore. |
|
|
|
 |
Snorii

|
Posted:
Tue Oct 25, 2005 1:07 pm |
|
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

|
Posted:
Tue Oct 25, 2005 1:22 pm |
|
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
|
Posted:
Tue Oct 25, 2005 2:57 pm |
|
For attributes, you must use
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 |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
Snorii

|
Posted:
Wed Jan 18, 2006 12:11 pm |
|
Thanks evaders99. That did the trick.
Now to fix the ''''''' problem.  |
|
|
|
 |
evaders99

|
Posted:
Wed Jan 18, 2006 12:45 pm |
|
|
|
 |
Snorii

|
Posted:
Wed Jan 18, 2006 1:40 pm |
|
Thanks again.  |
|
|
|
 |
|