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)
Post new topic   Reply to topic
Author Message
carnage
New Member
New Member


Joined: Feb 03, 2005
Posts: 2

PostPosted: Thu Feb 03, 2005 1:03 pm Reply with quote Back to top

Sorry in advance if I've somehow overlooked a fix for this in another thread.

I'm running Nuke 7.5 and have just installed the CNB YA 750_440_b2. Everything works great (my compliments to the author(s)) however, for some reason my admin panel icon (users.png) isn't showing up. I'm getting the infamous red X and upon right clicking inside the red x and selecting properties I'm given this url modules.php?name=Your_Account&op=gfxadminimage&cnbyaversion=4.4.0 b2. I've tried to tweak the index file for a quick fix but with no such luck. I do have the users.png in the images/admin directory. Any idea's..? Thanks.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Feb 03, 2005 7:18 pm Reply with quote Back to top

well the url is ok,but did you check if the image is there?
i mean in full 4 kb ?
View user's profile Send private message
carnage
New Member
New Member


Joined: Feb 03, 2005
Posts: 2

PostPosted: Thu Feb 03, 2005 8:05 pm Reply with quote Back to top

Yup the image is there and fully intact, baffling isn't it..lol. I've uninstalled it and reinstalled but with the same problem. Strange.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Feb 03, 2005 8:14 pm Reply with quote Back to top

well somewhere and somehow its holding back...
View user's profile Send private message
menelaos61
Worker
Worker


Joined: Nov 10, 2004
Posts: 110

PostPosted: Fri Feb 04, 2005 9:20 am Reply with quote Back to top

Hi guys,

I found out that the errorreporting setting (for instance in the htaccess file) can give problems with dynamic images.
I suspect that the security code doesn;t show up correctly either. But it might.

I'm trying different things to work arround it.

It would be a bumber if we couldn't use the cool dynamic icon with automatic version numbering Smile

Cheers,
Richard
View user's profile Send private message Send e-mail
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Mar 05, 2005 1:30 pm Reply with quote Back to top

Any fix on this yet? I have the same problem.
View user's profile Send private message Visit poster's website Yahoo Messenger
protocool
New Member
New Member


Joined: Aug 19, 2004
Posts: 15

PostPosted: Mon Mar 07, 2005 9:36 am Reply with quote Back to top

I've been having the same problem, it doesn't show the image file, just the red "X" broken image sign. When I looked at the source file of the image, it was:
Only registered users can see links on this board!
Get registered or login to the forums!


It's wierd, because I never got this error before when I used it :S.
View user's profile Send private message
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Mar 12, 2005 3:09 pm Reply with quote Back to top

Ok, open admin/links/links.editusers.php


comment out:
Code:
adminmenu("modules.php?name=Your_Account&file=admin", ""._EDITUSERS."", "../../modules.php?name=Your_Account&op=gfxadminimage&cnbyaversion=$cnbyaversion");


uncomment:
Code:
adminmenu("modules.php?name=Your_Account&file=admin", ""._EDITUSERS."", "users.png");


If you ONLY have the first of the above two lines, simply comment it out (place a // at the begining) and add the second beneath the commented out line.
View user's profile Send private message Visit poster's website Yahoo Messenger
webdirector
New Member
New Member


Joined: Feb 20, 2005
Posts: 7

PostPosted: Sat Apr 09, 2005 6:35 am Reply with quote Back to top

I have the same problem but I do not have a directory admin/link/

or a file called links.editusers.php

Please help.

Rgds,

webdirector
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Apr 09, 2005 6:40 am Reply with quote Back to top

What version of nuke are you using?
View user's profile Send private message Visit poster's website Yahoo Messenger
webdirector
New Member
New Member


Joined: Feb 20, 2005
Posts: 7

PostPosted: Sat Apr 09, 2005 7:00 am Reply with quote Back to top

Nuke 7.6
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Apr 09, 2005 7:05 am Reply with quote Back to top

I don't use that version, but if I am not mistaken you will need to look in the modules/Your_Account/admin for that file
View user's profile Send private message Visit poster's website Yahoo Messenger
webdirector
New Member
New Member


Joined: Feb 20, 2005
Posts: 7

PostPosted: Sat Apr 09, 2005 7:30 am Reply with quote Back to top

I found this in the file called " links.php"


// menelaos: dynamically insert the version number in the admin config panel image Copyright (c) 2004 Smile
include_once("modules/$module_name/includes/functions.php");
$ya_config = ya_get_configs();
$cnbyaversion = $ya_config['version'];
if (extension_loaded("gd")) adminmenu("modules.php?name=Your_Account&file=admin", ""._EDITUSERS."", "../../modules.php?name=Your_Account&op=gfxadminimage&cnbyaversion=$cnbyaversion");
else adminmenu("modules.php?name=Your_Account&file=admin", ""._EDITUSERS."", "users.png");


as you can see it is diffrent from yours

I am not a php specialist what do I need to change here ?

Thanks

webdirector
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Apr 09, 2005 7:52 am Reply with quote Back to top

To be honest, I am not positive. Maybe Sixonetonoffun can advise better. I am an old school 6.9 user and do not fully understand the way that 7.6 handles the admin functions.

My first thoughts however would be: do you have gfx disabled in your config.php file? Not certain that this would cause your problem, but it sounds logical to me.

I apologize for not being much help in this issue. Sad
View user's profile Send private message Visit poster's website Yahoo Messenger
webdirector
New Member
New Member


Joined: Feb 20, 2005
Posts: 7

PostPosted: Sat Apr 09, 2005 7:54 am Reply with quote Back to top

By the way do you know of a German Lang file for this module ?

Thanks

Webdirector
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Apr 09, 2005 8:05 am Reply with quote Back to top

No, unfortunately I do not.
View user's profile Send private message Visit poster's website Yahoo Messenger
webdirector
New Member
New Member


Joined: Feb 20, 2005
Posts: 7

PostPosted: Sat Apr 09, 2005 9:44 am Reply with quote Back to top

O.K. when I ill be finished I will send it to if you want.

By the way is there a function in the script to see where th users are on the website ? ( their location ? )

Thanks

webdirector
View user's profile Send private message Visit poster's website
CurtisH
Life Cycles Becoming CPU Cycles


Joined: Mar 15, 2004
Posts: 638
Location: West Branch, MI

PostPosted: Sat Apr 09, 2005 6:27 pm Reply with quote Back to top

Not that I am aware of, however I did notice recently at codezwiz that he has fabricated something for the forum profile that does that. I haven't seen any released code yet though.
View user's profile Send private message Visit poster's website Yahoo Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sun Apr 10, 2005 6:02 pm Reply with quote Back to top

As menelaos61 points out there is an obscure set of circumstances that seem to interfere with the dynamic image even if GD exists and is correctly configured. I haven't been able to duplicate this myself if we could establish the condition/conditions that cause the problem we could test for this and use the alternative image/link as is done with GD.
View user's profile Send private message
archtype
New Member
New Member


Joined: Apr 30, 2005
Posts: 9

PostPosted: Mon May 02, 2005 8:34 pm Reply with quote Back to top

I am experiencing the same issue. The strange thing that I noticed was that the image was there prior to my making the changes to the mainfile.php and the constants.php files. I am going to test each change separately to see what happens. I'll post back here when I have something.

EDIT: Not sure why or what's happening but now, the image simply refuses to reappear. Not sure why it was there prior to making the edits as it would seem to me that if it were there prior to change, it should display if you reverse the edits but no such luck. Ah well...it works without the image anyway. I guess I'll wait for the fix like everyone else.

Thanks

ANOTHER EDIT: I got it to work without the dynamic image insertion. Here's what I did. I modified the /Your_Account/admin/links.php file and commented out the GD lines and just left the line to insert the image. It looks like this:
Code:
//if (extension_loaded("gd")) adminmenu("modules.php?name=Your_Account&file=admin", ""._EDITUSERS."", "../../modules.php?name=Your_Account&op=gfxadminimage&cnbyaversion=$cnbyaversion");
//else
adminmenu("modules.php?name=Your_Account&file=admin", ""._EDITUSERS."", "users.png");


It's messy, I know but it does work. It will do until I can figure out exactly what's happening.

Again, thanks to all!
View user's profile Send private message
XenoMorpH
Hangin' Around


Joined: Jan 23, 2004
Posts: 37
Location: Netherlands

PostPosted: Sat Jul 15, 2006 9:51 am Reply with quote Back to top

I am/was having the same issue...
I looked at the code, and changed the case "gfxadminimage":
in modules/Your_Account/index.php :
Code:
    case "gfxadminimage":
   // menelaos: dynamically insert the version number in the admin config panel image Copyright (c) 2004 :-)
   $icon      = "images/admin/users.jpg";
   $image      = ImageCreateFromJPEG($icon);
   $text_color   = ImageColorAllocate($image, 0, 0, 0);
   Header("Content-type: image/jpg");
   ImageString ($image, 1, 7, 38, $cnbyaversion, $text_color);
   ImageJPEG($image, '', 75);
   ImageDestroy($image);

Converted the users.png to users.jpg and uploaded it into images/admin folder. And now the image is showing and the version.

What I don't understand is why it won't show dynamic code on PNG files.
Cuz I have a dynamic serverstatus script which shows info from a stat server, using a png file, and that 1 works just fine.

At this moment I'm also having problems to let the security code be shown. Not working either......
View user's profile Send private message Visit poster's website
HurstOlds
New Member
New Member


Joined: Apr 22, 2004
Posts: 20

PostPosted: Wed Aug 09, 2006 9:01 am Reply with quote Back to top

I always have problems with GD images with my server/host. I just did archtype's fix (two posts up) and it fixed my same problem that everyone else was having with it appearing.

It may not be as fancy as displaying the version number on the icon, but at this point all I'm interested in, is having the icon appear. Thanks guys!.

Thanks to archtype, I would have never found it there Smile
View user's profile Send private message
dekker
New Member
New Member


Joined: Jan 10, 2007
Posts: 1

PostPosted: Sun Jan 14, 2007 5:33 am Reply with quote Back to top

I searched around a little, and in php 5.1.x and newer there are a new syntax for displaying png files, you can select which quality or something like that, thats need to be in the syntax
View user's profile Send private message
azakow
New Member
New Member


Joined: Jun 11, 2006
Posts: 18
Location: Germany

PostPosted: Mon Jan 29, 2007 5:15 am Reply with quote Back to top

Syntax I don't Think so.
I'm using CNB 4.4.2 and php 4 something.

I noticed that it depends on the selected nuke theme.
In 3D-Fantasy and fisubice the icon will be displayed and in MSTrenches it does not show.

I could not find any code changes relating to the theme.

Any idea?
View user's profile Send private message
azakow
New Member
New Member


Joined: Jun 11, 2006
Posts: 18
Location: Germany

PostPosted: Mon Feb 12, 2007 6:01 am Reply with quote Back to top

found it was JS code the theme.php, which I had put there with echo commands. Now that Ideleted the lines in the code it works fine.
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-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