• [MOD] Slideshow II 4 0 5 1
Currently:  

Author Topic: [MOD] Slideshow II  (Read 274062 times)

0 Members and 1 Guest are viewing this topic.

Offline holzkuchen

  • Pre-Newbie
  • Posts: 9
    • View Profile
habe irgendein gemacht Fehler
« Reply #90 on: November 11, 2006, 02:48:42 PM »
Hey,

habe den MOD Slideschow nach anleitung eingebunden, aber irgendwas falsch gemacht.
Im Admin Control-panel geht alles, der Knopf "Diaschow" ist auch da, aber auf jeder Seiter der Gallery steht oben:

//----------------------------------------------------- //--- Slideshow changes ------------------------------- //----------------------------------------------------- function openslideshow(url,window
......
- ......
; } // else new_window } // openslideshow  8O

- also genau das was ich den am Ende meiner/default/header.html  einbinden sollte - scheint irgendwie nicht richtig geladen zu werden?
wenn ich auf drücke "Diaschow" steht im Browser Script Error - was habe ich falsch gemacht :?:

Eine /4images/scripts/4images.js habe ich nicht!

Kann mir da bitte jemand weiterhelfen?

PS: noch ne Frage
In der Header soll noch folgendes eingefügt werden:
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>

müsste ich da, wo ich rot makiert habe, was einsetzen?
warum soll ich scripts/4images.js einbinden, wenn ich nur die header.html habe?
« Last Edit: November 11, 2006, 05:07:08 PM by holzkuchen »

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #91 on: November 11, 2006, 09:21:32 PM »
@holzkuchen:

if  you have no js-file (java script) and you have put the code in an html file you have to souround the code with the identyfier that the next code is js.

Insert the following before the code you have inserted in header.html:
Code: [Select]
<script language="JavaScript" type="text/javascript">
and the following after the code you have inserted in header.html:
Code: [Select]
</script>
you don`t have to include the js-file in header.html if you don`t have the script file :-)

best regards deejay_

Offline martin150

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: [MOD] Slideshow II
« Reply #92 on: November 12, 2006, 06:43:36 AM »
Hi !

Great mod and best support. I did have also an error (the javascript line in the header.html :oops:)  but reading this threat now it works very well !!

Many tnx !

Martin

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Slideshow II
« Reply #93 on: November 12, 2006, 11:21:25 AM »
Ich habe den Mod in der Grundversion genau nach Anweisung installiert. Habe mich als Admin eingeloggt. Es erscheint kein Button.

Habe keine Datei 4images.js, daher den entsprechenden Script in header.hmtl gesteckt. Im CP scheint alles für die Einstellungen vorhanden zu sein.
Zwei kleine Sachen in der header.html sind mir aufgefallen.
I exactly installed the Mod in the basic version after instruction. I  logged in as Admin. No Button appears. I haven no file 4images.js, therefore the appropriate Script into header.hmtl. In the CP everything is present. Two small things in header.html were noticeable to me.

1.
[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>[/qcode]

Dieser Script verweist ja auf die Datei 4images.js, die bei mir nicht vorhanden ist. Habe ihn jetzt so geändert:
This Script refers to the file 4images.js, which is missing in my version. Property it now so changed:

[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../../templates/default/header.html"></script>[/qcode]

Es führte nicht zum Erfolg.
It did not lead to success.

2.

[qcode]function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
[/qcode]

Dieser Code soll nach Anweisung in der header.html gefunden und gelöscht werden. Ist bei mir offensichtlich nicht vorhanden, hab aber schon mehrere Mods installiert, vielleicht deshalb schon mal gelöscht.
   
This code is to be found and deleted after instruction in header.html. Is  missed this code , however already several Mods installed, perhaps therefore already times deleted.

In der categories.html ist der Button so eingebunden
In categories.html the Button is in such a way merged

[qcode]<td align="right" valign="bottom">{upload_button}{slideshow_button}</td>[/qcode]

Kann jemand helfen? Help!
« Last Edit: November 14, 2006, 06:28:03 PM by desperate_housewif »

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #94 on: November 14, 2006, 05:08:55 PM »
@deperate_housewife:
1: please write your questions in english so everyone could use your question and the answer to it, also peoples who don't spek german.
2: please read first the other posts so that you don't have to ask a question which one other has allready asked!

the answer to your question you find here: www.4homepages.de/forum/index.php?topic=7257.msg83091#msg83091

best regards deejay_

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Slideshow II
« Reply #95 on: November 14, 2006, 06:29:50 PM »
I´ve translate to english (you see it above). I have read the instruction, you have linked, it is in my script.

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #96 on: November 14, 2006, 11:11:46 PM »
@desperate_housewif:
thanks for the translation.
does my answer help you?
did you got the slideshow working with my hints 5 posts above?

best regards deejay_

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Slideshow II
« Reply #97 on: November 16, 2006, 06:12:58 PM »
Yes, I see your hints. But no slideshow-button!

I have no 4images.js. It supplement the script in the header.html.

I turn the script
[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>[/qcode]

into

[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../templates/default/header.html"></script>[/qcode]

It is right so?

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Slideshow II
« Reply #98 on: November 19, 2006, 09:30:50 AM »
Hat niemand mein Problem von oben gehabt? Bin ich wieder der Einzige? Es kann sich doch nur um einen kleinen Fehler handeln, dass der Button nicht sichtbar ist!

Offline MrFloppy

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Slideshow II
« Reply #99 on: November 28, 2006, 12:35:11 AM »
Also, ich hatte das gleiche Problem wie du. Ich habe das ScriptProblem schnell beseitigt. Du musst den Teil, der in die header.html soll nicht ans Ende selbiger kopieren, sondern vor das </script>-Tag (sollte mit der im Editor eingebauten Suche schnell zu finden sein :) ). Dann solltest du aus

Code: [Select]
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
Code: [Select]
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/slideshow.js"></script>
machen!

Im Endeffekt sollte das hier dann da stehen:
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />

<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/slideshow.js"></script>
<script language="javascript" type="text/javascript">
<!--

  var captcha_reload_count = 0;
var captcha_image_url = "{url_captcha_image}";
  function new_captcha_image() {
    if (captcha_image_url.indexOf('?') == -1) {
  document.getElementById('captcha_image').src= captcha_image_url+'?c='+captcha_reload_count;
} else {
  document.getElementById('captcha_image').src= captcha_image_url+'&c='+captcha_reload_count;
}

    document.getElementById('captcha_input').value="";
    document.getElementById('captcha_input').focus();
    captcha_reload_count++;
  }

function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  function right(e) {
    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (event.button == 2 || event.button == 3) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }

  if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = right;
  }
  else if (document.all && !document.getElementById){
    document.onmousedown = right;
  }

document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");


//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
  if (new_window == 2 || new_window == 1) {
    var width_avail = screen.availWidth-15;
    var height_avail = screen.availHeight-60;
    var width_full = screen.width;
    var height_full = screen.height;

    // Callculate the spaces from left and top to center the new window:
    var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
    var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
    if (new_window == 2) {
      window_width = width_avail;
      window_height = height_avail;
      left_space = 0;
      top_space = 0;
      url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
    } // if complete picture (whole window)

    slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
  } // if new_window
  else {
    window.location.href=url;
  } // else new_window
} // openslideshow

// -->
</script>
{if has_rss}
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}
</head>
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
<br />


Gelöscht habe ich nichts!

Solltest du dann noch einen MySQL Fehler kriegen, meld dich einfach bei mir :)

Offline desperate_housewif

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [MOD] Slideshow II
« Reply #100 on: December 17, 2006, 10:36:08 AM »
Habe alles so wie angegeben, der Slideshowbutton erscheint trotzdem nicht.

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #101 on: December 18, 2006, 06:22:14 PM »
@desperate_housewif:

once again. please post your questions in ENGLISH!!
and post me a link to your page so I can take a look at the, as I think, very simple problem.

best regards deejay_

Offline Phil87

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Slideshow II
« Reply #102 on: December 19, 2006, 11:01:52 AM »
Hi!
How is it possible to put the slideshow in a complete fullscreen? (Without the browser elements and other things)

I have already the code for the fullscreen, but i don't know where i should place it.

Code: [Select]
<script language="JavaScript">
<!--
function FullScreen()
{
window.open("http://www.myaddress.com","","fullscreen=yes");
}
function KH_JS(js) {
  return eval(js)
}
// -->
</script>

<font class="stn"><a href="#" onClick="KH_JS('FullScreen()')">Diashow</a>

Could anybody help me?


Sorry for my bad English, but I'm a German. :roll:


EDIT: and how is it possible to use the slideshow as a guest? i have already done my configuration in the control panel, but it doesn't work! if i visit my gallery as a guest there is no "diashow"-button although i have adjusted it in the control panel...

EDIT: i've tryed the following in categories.html:

<a href="{slideshow_url}"><img src="./templates/grey/images/slideshow.gif" border="0" alt="" /></a>

it works, but i get very much errors, why?
« Last Edit: December 19, 2006, 12:14:26 PM by Phil87 »

Offline chull

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [MOD] Slideshow II
« Reply #103 on: December 19, 2006, 06:39:32 PM »
Hello,

I've also the problem that the Slideshow Button isn't to see for members. When I'm logged in as an ADMIN, it works all perfekt. If I allow to upload something you can see the Button. But I don't want to allow upload files. There must be another way.

Please can somebody help me.

Greetz and Thanks

Chull

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Slideshow II
« Reply #104 on: December 19, 2006, 07:30:17 PM »
@Chull
... it looks like your slideshowbutton is within a wrong {if_...} {endif_...} -tag ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...