• Welcome to DVD Collectors Online.
 

Watched banner question

Started by Jimmy, March 10, 2008, 05:09:29 AM

Previous topic - Next topic

EdwinK

Thanks. Guess I did something wrong with my 'edwin' account. Going to check this. I thought I added those watch-dates, but now I am not sure of it.
:slaphead:

DJ Doena

Just another idea: I just saw that you don't have the "Watched Statistics" link in your sidebar menu. I don't really know if that's connected (you have to ask fredlocks) but if the watched stats are disabled in localsiteconfig.php it could be possible that this is the reason why no watched banner can be created.
Karsten

Abraham Lincoln once said The trouble with quotes from the internet is that you never know if they're genuine.

my Blog | my DVD Profiler Tools


EdwinK

#17
QuoteI get a nice little banner.

Indeed, it can be a bit bigger.

EdwinK

Quote from: DJ Doena on August 25, 2010, 04:40:21 PM
Just another idea: I just saw that you don't have the "Watched Statistics" link in your sidebar menu. I don't really know if that's connected (you have to ask fredlocks) but if the watched stats are disabled in localsiteconfig.php it could be possible that this is the reason why no watched banner can be created.

Checking that too.

DJ Doena

OK, now I see the Watched Statistics http://stipvoorstip.nl/dvdprofiler/?lastmedia=WatchedStatistics but still no edwin banner.

Could you post the content of your array configuration here? Maybe I see something.
Karsten

Abraham Lincoln once said The trouble with quotes from the internet is that you never know if they're genuine.

my Blog | my DVD Profiler Tools


EdwinK

This is what I've got in there:


$profiles = array(
   "edwin" => array(
      "nick" => "Edwin",
      "first" => "",
      "last" => "",
      "width" => 61,
      "height" => 85,
      "num" => 10,
      "bgcol" => "deb887",
      "font" => "arial.ttf",
      "fontcol" => "FFFFFF",
      "fontsize" => 10,
      "hborder" => 3,
      "wborder" => 5,
      "padding" => 5,
      "topmsg" => "What #NAME#'s watched recently.",
      "botmsg" => "As of #DATE#",
      "topalign" => "l",
      "botalign" => "l",
      "quality" => 100
   ),
   "edwin_bought" => array(
      "nick" => "Edwin",
      "first" => "",
      "last" => "",
      "width" => 61,
      "height" => 85,
      "num" => 5,
      "bgcol" => "deb887",
      "font" => "arial.ttf",
      "fontcol" => "FFFFFF",
      "fontsize" => 10,
      "hborder" => 3,
      "wborder" => 5,
      "padding" => 5,
      "topmsg" => "What #NAME#'s bought recently.",
      "botmsg" => "As of #DATE#",
      "topalign" => "l",
      "botalign" => "l",
         "type" => "new",
      "quality" => 100
   )
);

DJ Doena

Don't know what you changed but I see both of them now.

Without the text that is (Have you installed jpgraph?).
Karsten

Abraham Lincoln once said The trouble with quotes from the internet is that you never know if they're genuine.

my Blog | my DVD Profiler Tools


EdwinK

I don't know either what I did ;)
About jpgraph, I need to check that.

FredLooks

This is going to be a font issue. I expect that the fonts aren't installed on this machine. If you install jpgraph, you should get the fonts and also the statistics graphs.

EdwinK

#24
Asked hosting provider to add this to the server.


Update: They want me to get a dedicated server for this to be added.

FredLooks

Well, that seems a little unreasonable.

You can pretty simply add jpgraph yourself. I seem to recall Andy putting a zip file with jpgraph for php5 and some fonts someplace. You can just put the files in your phpdvdprofiler directory and it should all work; there is no *installation* required per se.

DJ, do you remember where those files are? I have php4 on my system, and they are different.

RossRoy


DJ Doena

Quote from: FredLooks on August 27, 2010, 02:53:56 PM
DJ, do you remember where those files are? I have php4 on my system, and they are different.

I have a PHP4 install as well...
Karsten

Abraham Lincoln once said The trouble with quotes from the internet is that you never know if they're genuine.

my Blog | my DVD Profiler Tools


FredLooks

Quote from: RossRoy on August 27, 2010, 03:02:51 PM
There's a nice explanation here on how to make jpgraph work
http://www.johnd.com.au/installingphpdvdprofiler/index.htm

That's a great discussion. In the "How to make graphs work" section he discusses jpgraph, and references a zip file with fonts, etc. It contains jpgraph version 1.20.3, and the current version is 3.0.7, so perhaps I'll try to make a new bundled zip (actually two, I guess: one for php4 and one for php5)

Which is not to say that the older jpgraph won't work - it will - but that zip has the version for php4 and I don't think that it will work on php5 ...

EdwinK

Thanks. I'll check it out when I'm back home later this week.