Author Topic: Watched banner question  (Read 12338 times)

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Watched banner question
« on: March 10, 2008, 05:09:29 AM »
I think that I'm in the good sub forum for this. Like you could see now I have phpDVDProfiler and I have a banner. But I've a question concerning this :

Is it normal that the adult movie (XXX) don't appear in my banner? they are enter as watch on my profiler...
Did I've miss an option in the config file? I've check but it's not really clear (at least for me)

Thanks for the answer

RossRoy

  • Guest
Re: Watched banner question
« Reply #1 on: March 10, 2008, 05:38:01 AM »
I think this is what you are looking for

handleadult ignored?

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Re: Watched banner question
« Reply #2 on: March 10, 2008, 02:09:49 PM »
I'm too chicken to delete a complete line (as sugest in the link), but I've simply remove the "adult" genre in my collection. It works so it's ok with me.

RossRoy

  • Guest
Re: Watched banner question
« Reply #3 on: March 10, 2008, 02:23:09 PM »
I'm too chicken to delete a complete line (as sugest in the link), but I've simply remove the "adult" genre in my collection. It works so it's ok with me.

As long as it does what you want, and your happy with it, then all's good!  ;D

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Re: Watched banner question
« Reply #4 on: March 22, 2008, 03:15:05 PM »
Another question about the banner. I've seen that some of you have 2 banners in your signature (watch and buy). For the watch one, I've found easilly how to do it with a little search on the forum. But for the other one I've no idea.

Do you create a second user in your phpDVDProfiler profile and place what you buy as watch?
or
Does a procedure for this exist and I can't see it? 

RossRoy

  • Guest
Re: Watched banner question
« Reply #5 on: March 22, 2008, 05:47:57 PM »
To create the bought banner, you have to add a new variable to the array: [type] => new

So basically, you create a second array in your localsiteconfig.php and add the line [type] => new

For example, in my case:
Code: [Select]
$profiles = array(
   "RossRoy" => array(
      "nick" => "RossRoy",
      "first" => "Sebastien",
      "last" => "Lacroix",
      "width" => 45,
      "height" => 63,
      "num" => 14,
      "bgcol" => "000077",
      "font" => "verdanab.ttf",
      "fontcol" => "ffffff",
      "fontsize" => 9,
      "hborder" => 3,
      "wborder" => 3,
      "padding" => 4,
      "topmsg" => "What I watched as of #DATE#",
      "botmsg" => "\"We do what we must because we can.\" - GLaDOS",
      "topalign" => "l",
      "botalign" => "r",
      "quality" => 70
   ),
"RossRoy_Bought" => array(
      "nick" => "RossRoy",
      "first" => "Sebastien",
      "last" => "Lacroix",
      "width" => 45,
      "height" => 63,
      "num" => 7,
      "bgcol" => "000077",
      "font" => "verdanab.ttf",
      "fontcol" => "ffffff",
      "fontsize" => 9,
      "hborder" => 3,
      "wborder" => 3,
      "padding" => 4,
      "topmsg" => "What I bought as of #DATE#",
      "botmsg" => "\"We do what we must because we can.\" - GLaDOS",
      "topalign" => "l",
      "botalign" => "r",
      "type" => "new",
      "quality" => 70
   )

);

The first one (RossRoy) is my usual watched banner:


And the second one (RossRoy_Bought) is a bought banner I just created:

« Last Edit: March 22, 2008, 05:52:36 PM by RossRoy »

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Re: Watched banner question
« Reply #6 on: March 22, 2008, 07:28:44 PM »
I've tried it and no more signature appear, so obviously I make something wrong. This is the part of my localsiteconfig.php with the signature :

$profiles = array(
   "jimmy" => array(
      "nick" => "Jimmy",
      "first" => "Jimmy",
      "last" => "Simard",
      "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
   ),
   "johnd-dvdprofiler" => array(
      "nick" => "johnd",
      "first" => "johnd",
      "last" => "",
      "width" => 50,
      "height" => 70,
      "num" => 10,
      "bgcol" => "000000",
      "fontcol" => "FFFFFF",
      "hborder" => 3,
      "wborder" => 5,
      "padding" => 2,
      "topmsg" => "#NAME#'s recently watched these sometime around #DATE#.",
      "botmsg" => "",
      "topalign" => "l",
      "botalign" => "c",
      "quality" => 100
   )
);?>

The first part is my actual watch signature. The second one was already on it, so I've not remove it. I suppose that I've to make the change in this one, but the result was that my signature disapear.

RossRoy

  • Guest
Re: Watched banner question
« Reply #7 on: March 22, 2008, 08:42:22 PM »
Try this:

$profiles = array(
   "jimmy" => array(
      "nick" => "Jimmy",
      "first" => "Jimmy",
      "last" => "Simard",
      "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
   ),
   "jimmy_bought" => array(
      "nick" => "Jimmy",
      "first" => "Jimmy",
      "last" => "Simard",
      "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
   )
);

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Re: Watched banner question
« Reply #8 on: March 22, 2008, 08:59:01 PM »
Thanks Sebastien it's working as you could see. I suppose there are no way to have just the parent profile of a boxset and not the parent+children (like my banner now. I don't have 4 copies of the last one but the cover are all the same)

Offline addicted2dvd

  • Forum Inventory
  • ********
  • Posts: 17685
  • Country: us
    • View Profile
Re: Watched banner question
« Reply #9 on: March 22, 2008, 09:22:22 PM »
What I do for purchase dates is put the purchase date in the parent.... but not in the child profiles. that stops the child profiles from coming up... and I know to always look at the parent profile for when I bought the set.
Pete

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Re: Watched banner question
« Reply #10 on: March 22, 2008, 09:58:04 PM »
Thanks for the help.
Just to think that some years ago I was teasing my father because he have some difficulty to understand how to use his debit card... It looks like I'm like him now  :laugh:

RossRoy

  • Guest
Re: Watched banner question
« Reply #11 on: March 22, 2008, 10:50:20 PM »
What I do for purchase dates is put the purchase date in the parent.... but not in the child profiles. that stops the child profiles from coming up... and I know to always look at the parent profile for when I bought the set.

There's another way you could do it, and that to set up a special tag for what you do not want to show in the banner, and add the line {"excludetag" => "Whatever",} somewhere into the array (changing {Whatever} to what you actually used as the tag name of course, and also, without the {}).

Offline Achim

  • Mega Heavy Poster
  • *******
  • Posts: 7179
  • Country: 00
    • View Profile
Re: Watched banner question
« Reply #12 on: March 23, 2008, 03:33:13 AM »
Thanks Sebastien it's working as you could see. I suppose there are no way to have just the parent profile of a boxset and not the parent+children (like my banner now. I don't have 4 copies of the last one but the cover are all the same)
I actually didn't know the excludetag thingy Sebastien mentioned... I am using a filter:

Code: [Select]
"filter" => "AND boxparent = ''",
Just add the above line somewhere within the array of the profile where you want to filter the child profiles out...

EdwinK

  • Guest
Re: Watched banner question
« Reply #13 on: August 25, 2010, 03:50:57 PM »
Now that I've put the code in the localsiteconfig.php (and uploaded it again, of course) how do I put it in my signature?

This is what I've got in my signature box right now

Code: [Select]
[url=http://www.stipvoorstip.nl/dvdprofiler/][img]http://www.stipvoorstip.nl/dvdprofiler/ws.php?me=edwin[/img][/url]
« Last Edit: August 25, 2010, 04:20:50 PM by Edwin »

Offline DJ Doena

  • Administrator
  • Mega Heavy Poster
  • *****
  • Posts: 6719
  • Country: de
  • Battle Troll
    • View Profile
    • My Blog
Re: Watched banner question
« Reply #14 on: August 25, 2010, 04:27:53 PM »
I can't see what, but there seems to be something wrong with your "edwin" profile. Because if I call http://stipvoorstip.nl/dvdprofiler/ws.php?me=edwin I get nothing. If I call http://stipvoorstip.nl/dvdprofiler/ws.php?me=edwin_bought I get a nice little banner.

By looking at your config http://stipvoorstip.nl/dvdprofiler/ws.php?me=foobar I can't see anything obviously wrong. Have you actually entered watched dates?

When it works someday, you enter the following code into your signature:

Code: [Select]
[url=http://stipvoorstip.nl/dvdprofiler/][img]http://stipvoorstip.nl/dvdprofiler/imagecache/edwin_bought.jpg[/img][img]http://stipvoorstip.nl/dvdprofiler/imagecache/edwin.jpg[/img][/url]


« Last Edit: August 25, 2010, 04:29:56 PM by DJ Doena »
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