Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4 5 ...7  Previous   Next
Can this be done?...
Author Message
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Oh! OK... I tried the EPG=1 without the brackets! ok... trying again!
Pete
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Addicted2DVD:
Quote:
Oh! OK... I tried the EPG=1 without the brackets! ok... trying again!

It is case sensitive. So if you put EPG=1 in the Notes, you also need to put it that way in the indexOf.

As I said, it doesn't matter what it says, as long as it's something that will ever creep up in Notes fields for profiles without episode guides.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Got it now thanks!
Pete
DVD Profiler Unlimited Registrantnuoyaxin
prev. known as ya_shin
Registered: March 13, 2007
Reputation: High Rating
Taiwan, Province of China Posts: 3,436
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
No problem.


Love this new way myself. Glad you came up with the question Keeps the Notes field clean again.
Achim [諾亞信; Ya-Shin//Nuo], a German in Taiwan.
Registered: May 29, 2000 (at InterVocative)
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
yeah I know... and also makes you wonder what other fields we can think of doing as well! seems like the possibilities are limitless with this new html window option! 
Pete
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
nm
 Last edited: by xyrano
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Use his latest and you can make it show that one is just not available. Has worked great once the initial set-up is done! I have been changing them over all day so far already!

Quoting SH84:
Quote:
Okay, I've found a partial solution:
Quote:
<HTML>
<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
<DP NAME="HEADER_VARS" Language="JavaScript" Comments="True" IncludeCast="False" IncludeCrew="False">
//-->

function showEPG()
{
var epg = ("C:/Dokumente und Einstellungen/Thomas/Anwendungsdaten/DVD Profiler/epg/epg-" + DP_UPC + ".html");
var notes = DP_Notes.indexOf("epg=1");
if (notes != -1) {
window.location.href= epg ;
}
else {
document.write("no EPG!");
}
}
</SCRIPT>
</HEAD>
<BODY onload="showEPG()">
</BODY>
</HTML>

How does it work?
It looks for the string "epg=1" in the notes-field.
If the string is not found, it displays "no EPG!" (but it could be changed to e.g. an HTML site with more text).
If there is such a string in the notes field, it changes to the EPG site...

PS: If you have HTML notes, you can use "<epg=1>", it does the same, but is invisible.
Pete
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
removed erroneous data
 Last edited: by xyrano
DVD Profiler Unlimited RegistrantStar ContributorAddicted2DVD
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 17,334
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Oh ok... sorry! I misunderstood you!
Pete
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
No problem here, we're good!

I should have explained what it does earlier, so it's my mistake!
 Last edited: by xyrano
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Hm, I'm afraid it doesn't work. The problem is that you're leaving this site before you reach the if request.

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Slaps self on forehead!  

SH84, thanks for pointing that out.
I removed the code example/description, just in case someone tries it!
 Last edited: by xyrano
DVD Profiler Desktop and Mobile RegistrantStar Contributorm.cellophane
tonight's the night...
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 3,480
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Quoting xyrano:
Quote:
Slaps self on forehead!  

Proof that we need more smilies.

Here you go:

...James

"People fake a lot of human interactions, but I feel like I fake them all, and I fake them very well. That’s my burden, I guess." ~ Dexter Morgan
DVD Profiler Unlimited Registrantxyrano
41215.reg 70320.urk
Registered: March 13, 2007
Sweden Posts: 646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
LOL, thanks!

I think I need vitamins or something... I dunno what the hell I was thinking about... 
DVD Profiler Desktop and Mobile RegistrantStar ContributorSH84
Registered: March 13, 2007
Reputation: High Rating
Germany Posts: 922
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Perhaps we could use your suggestion in another way:

The HTML Window loads a blank page with an Iframe of the EPG.
If the EPG does not exist (check the address of the Iframe after we called the EPG -> error page), we go to the "NoEPG"-Page.
If the EPG exists, go to the EPG page.

Deutsches DVD Profiler Forum: www.dvdprofiler-forum.de
DVD Profiler Desktop and Mobile RegistrantStar ContributorNewEnglander
Registered: 11/13/2003
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 1,911
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Nice idea Pete
Signature banned: Reason out of date...
    Invelos Forums->DVD Profiler: Layouts and Reports Page: 1 2 3 4 5 ...7  Previous   Next