Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:10:07 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 2 [3] 4 5 ... 12   Go Down
Print
Author Topic: ImageFlow including Highslide and Lightbox module  (Read 51038 times)
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #50 on: July 26, 2008, 02:18:32 PM »

Not very nice to make all settings double; one to set the attribut and for the ie setting the style.
Maybe i'm missing here something.

It is a bit overdone.
You do not need to create the attribute first. Just use it.

This code worked on both FF3 and IE7 (vista)

Code:
<script language="javascript" type="text/javascript">
function change_color(aRef, aName) {
    var ref = document.getElementById(aName);
    if (aRef.value != "")
        ref.style.backgroundColor = "#"+aRef.value;
    else
        ref.style.backgroundColor = "#FFFFFF";
    return true;
}
window.onload = function (e) {
    var ref = document.getElementById("colorbox");
    ref.style.backgroundColor = "#<? echo $settings['reflection_fade'] ?>";
    ref = document.getElementById("colorbox2");
    ref.style.backgroundColor = "#<? echo $settings['back_color'] ?>";
}
</script>

Ruud
Logged

Professional WebsiteBaker Developer
aldus

Offline Offline

Posts: 1238


« Reply #51 on: July 26, 2008, 02:30:55 PM »

Nice RuudE

It's working now - no idea why i've set the attributes first; must be the weather wink

Regards
Aldus
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #52 on: July 26, 2008, 02:36:41 PM »

...must be the weather wink
South-West of NL, currently 30+ degrees, 75% humidity.. a bit too much..
Thunderstorms are approaching, that should cool things down.

Ruud
Logged

Professional WebsiteBaker Developer
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #53 on: July 26, 2008, 03:22:04 PM »

Just uploaded version 0.7.

This one will use a textfile with descriptions that will be used instead of the filename.

  • put a file named "gallery_info.txt" in the same folder as the images.
  • On a single line, start fith the imagename (without extention), followed by a "|" (pipe) and the description you want to show. example: myimage | This is the description of my image.

The file is attached to the first post of this thread:
http://www.websitebaker2.org/forum/index.php/topic,10460.msg61622.html#msg61622

Ruud
Logged

Professional WebsiteBaker Developer
maverik

Offline Offline

Posts: 1541



WWW
« Reply #54 on: July 26, 2008, 05:48:16 PM »

hi
sorry, my english is not good enough to write more then some words.

0.7 is a great  job and

Quote
put a file named "gallery_info.txt" in the same folder as the images.
works fine.

*thumbsup*

so long maverik
Logged

Signatur wird geladen...
vyni

Offline Offline

Posts: 566


« Reply #55 on: July 26, 2008, 10:52:32 PM »

Hi,

because now my screen was a little bit confused, I modified the modify.php, the backend.css and btw the german language-file (gallery-title was miss-spelled)
So give it a try, if You don´t like the spacewasting order.
I didn´t touch any functions - just made some cosmetic to the table.

regards from Himberg
Vyni

Edit: I wasn´t satisfied at all. So I remade it. Now it is at 2 columns with a few new classes for changing everything in the backend.css.

Attachment removed. - See next post
« Last Edit: July 27, 2008, 01:03:36 PM by vyni » Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
aldus

Offline Offline

Posts: 1238


« Reply #56 on: July 27, 2008, 10:13:47 AM »

Hello

Some changes inside the files of the official version 0.7.0

changes on 0.7.0.1
    • Minor cosmetic changes in "backend.css" for get the file more browser-friendly
    • Minor style modifications to get the backend a little bit more readable
    • Some modifactions inside "modify.php" to get rid of the missplaced "clear-cache"-button and the unnessesary "tr"
    • Also the changes the "images path"-select to get rid of the empty and the double-insert option.
    • Added the "manual"-link-sniplett inside to get additional informations from the langauge file.
    • Modify the "de.php" for additional informations.

    suggestions for 0.8.0
    • colourpicker for more confortable selecting the background-colours.
    • also colour-validation inside the "save.php" to get rid of unexpected results.
    • support of transparent-pngs for image-backgrounds and other graphics.
    • englisch/netherland documentation/quick-start inside the package?
    • optional "inkl. subfolders" for the images-folder.
    • maybe a "short-image-description" in the "gallery_info.txt" for the display in the gallery, and a long version for the fulldisplay.
    • calling it "rc" and preparing the package for the add-ons section.
    • i think we can rid of the "$MOD_IMAGEFLOW['CURRENT_BORDER']" in the languagefiles because it's still not used anymore.

    Files inside the zipfile
    • backend.css
    • modify.php
    • DE.php
    • EN.php
    • info.php

    Only exchange the files - no reinstall of the modul needed, nor "reload".

    Regards
    Aldus[/list]
    « Last Edit: July 27, 2008, 10:32:31 AM by aldus » Logged
    maverik

    Offline Offline

    Posts: 1541



    WWW
    « Reply #57 on: July 27, 2008, 12:33:47 PM »

    hi

    Quote
    suggestions for 0.8.0

    maybe it is possible to change the link on edit.css button from backend.css to frontend.css, please?  smiley


    greets maverik
    Logged

    Signatur wird geladen...
    vyni

    Offline Offline

    Posts: 566


    « Reply #58 on: July 27, 2008, 01:10:51 PM »

    Hi, me again.

    In that case I had to implement Aldus modifications - of course.
    Get the backend in two columns. I don´t know if the language-file is really different (because I didn´t read it carefully) - I simply added the extension.
    But I discovered a nice logo for it and took without asking for permission. So if there is any copy-right-violation please let me know wink

    regards from Himberg

    files pending
    « Last Edit: July 27, 2008, 01:31:01 PM by vyni » Logged

    PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
    aldus

    Offline Offline

    Posts: 1238


    « Reply #59 on: July 27, 2008, 01:19:48 PM »

    @vyni
    File "modify.php" - line 249 hast to be
    Code:
    <? echo "<select class=\"normal\" name=\"high_border\"  >\n";
    the "/" at the end of the "<select" tag was wrong.

    also line 247 - the ":" is missplaced in the html-area, could be
    Code:
    <td  class="setting_name" colspan="2"><? echo $MOD_IMAGEFLOW['HIGH_BORDER']; ?>:

    Regards
    Aldus
    « Last Edit: July 27, 2008, 01:24:41 PM by aldus » Logged
    vyni

    Offline Offline

    Posts: 566


    « Reply #60 on: July 27, 2008, 01:45:57 PM »

    Here they are!

    line corrected
    : completly removed, was a rest of an earlier version


    regards Vyni

    PS: Input-fields now on the right, css changed
    Logged

    PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
    Ruud
    Board member
    WebsiteBaker Org e.V.

    Offline Offline

    Posts: 2093



    WWW
    « Reply #61 on: July 27, 2008, 02:46:41 PM »

    New release:

    version 0.7.1 (Vyni, Aldus, Ruud)
     - Changed Backend layout .
     - Changed Save/Clear/Cancel to Save&Clear/Save/Cancel
     - Minor bugfixes in the Backend and Language files

    Download the complete module from the first post in this thread.
    http://www.websitebaker2.org/forum/index.php/topic,10460.msg61622.html#msg61622

    Ruud
    Logged

    Professional WebsiteBaker Developer
    aldus

    Offline Offline

    Posts: 1238


    « Reply #62 on: July 27, 2008, 03:07:56 PM »

    Hello Ruud

    since this is going faster and faster i think about  a "latest version?" in the languagefile
    for the backend like
    Code:
    $MOD_IMAGEFLOW['MANUALS'] = Array (
        Array (
            'link'        => "http://edv.spoka.at/pages/imageflow.php",
            'display'    => "Manual (D)",
            'title'        => "Deutschsprachige Anleitung und ein kleines HowToDo"
        ),
        Array (
            'link'        => "http://www.websitebaker2.org/forum/index.php/topic,10460.0.html",
            'display'    => "Latest Version here",
            'title'        => "WebsiteBaker Forum :: imageflow-threat"
        )
    );

     grin

    Regards
    Aldus
    Logged
    maverik

    Offline Offline

    Posts: 1541



    WWW
    « Reply #63 on: July 27, 2008, 03:19:07 PM »

    hello

    after the update my backend looks like the screenshot in firefox3, os ubuntu 8.04.1

    first mistake: my galerie was away ... i had to delete the site and create a new one
    second mistake i found with firebug in backend.css line 70

    so long maverik
    Logged

    Signatur wird geladen...
    maverik

    Offline Offline

    Posts: 1541



    WWW
    « Reply #64 on: July 27, 2008, 03:29:49 PM »

    sorry, after i createt a new galerie the backend was ok
    Logged

    Signatur wird geladen...
    aldus

    Offline Offline

    Posts: 1238


    « Reply #65 on: July 27, 2008, 05:56:57 PM »

    Hello Ruud, Hello vyni

    Ok - we have to go on ... next round ...

    changes on 0.7.1.1
    • Major code cleaning in "modify.php" - removing all unnessesary tabs and spaces/blanks outside the tags.
    • Add "<p>&nbsp;</p>" at the end of the table - not nice, i know - to get rid of the problems if you got additional sections in the backend. m.f.i!
    • Minor code changes to get rid of un-usefull double echo calls.
    • Minor code cosmetic for better understanding preventing future bugs.
    • Major clean up in "backend.css" - removing unnessesary tabs, spaces/blanks - oneline rules for browser-friendly parsing.
    • add "table { ouline: 0px; border: 0 }" inside "backend.css" to get rid of the border ... whereever it comes from.
    • Minor cosmetic changes in save.php.
    • Minor cosmetic changes and additional link in NL.php, DE.php and EN.php (language-files)
    • Minor changes in "info.php" - add my real-name instead of aldus

    files inside the zip-attachement: imageflow_modificat ions_0.7.1.1.zip
    • modify.php
    • save.php
    • backend.css
    • NL.php
    • EN.php
    • DE.php
    • info.php

    Friends of this modul:
    Please keep in mind that this is a development-update for the developers; where are no new functionality or additions inside.
    If you want to test it, please make sure you have an backup from your imageflow-gallery-files before replace the files.
    Instead of the "info" part of the internal system there is no need for an re-install of the modul.
    But - if you have version 0.6 or less you will have to re-install the main-version 0.7.1 first!


    Regards
    Aldus
    « Last Edit: July 27, 2008, 06:32:42 PM by aldus » Logged
    Ruud
    Board member
    WebsiteBaker Org e.V.

    Offline Offline

    Posts: 2093



    WWW
    « Reply #66 on: July 27, 2008, 10:52:59 PM »

    Ok, let me input something for the backend again.

    Based on modify.php -v 0.7.1.1

    This one has color pickers added to it.
    Nice and small (16kb script)
    It also functions as check on manual input (wrong input resets to 000000)

    Ruud

    Logged

    Professional WebsiteBaker Developer
    vyni

    Offline Offline

    Posts: 566


    « Reply #67 on: July 28, 2008, 02:53:32 AM »

    It´s just great!  grin
    Logged

    PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
    aldus

    Offline Offline

    Posts: 1238


    « Reply #68 on: July 28, 2008, 05:07:16 PM »

    0.7.1.2

    Nice to see the colour-picker working!

    This is more or less a private study, there are no new functionality and no new graphics inside, exept the "logo.jpg"

    • Minor cosmetic changes in "modify.php"; among other things erasing double space/blanks inside the tags.
    • Remove nearly 90% of the HTML inside the "modify.php" by using xfasttemplate2 and outsourcing into xft2_imageflow_back end.tmpl
    • Bug? Change "array_push" to "array_shift"! Assumee removing the first fileName ("media") instead of add "nothing".
    • Minor template cleaning, removing unnessesary &nbsp; entities.
    • Add "empty-cells: show;" to the table-rule inside the backend-css.
    • Add "Save", "Save & clean cache", "cancle" to the language files: DE, EN, NL.
    • Add new class for p tags "modul_bottom" inside "backend.css" to get a better control about the v-space to the next section.
    • Remove unnessesary linebreaks and tabs in imageflow.css for browser-friedly parsing.
    • Making a jpg of the index.png - as we are not in the need of transparence here.

    The colour-picker is working nice, but we have two problems:
    • You can't set colour-names like before ("red", "blue", "green", "silver")
    • Cou can't keep the field empty - so you can't get a transparent div.

    Still got warnings from the Webdeveloper-addon in ff there is somthing wrong in a "display" roule.

    Files inside the zip:
    • index.jpg
    • backend.css
    • imageflow.css
    • modify.php
    • xFastTemplate2.php
    • folder: templates, whithin xft2_imageflow_back end.tmpl, and xft2_imageflow_back end_2.tmpl als an alternative

    Regards
    Aldus
    « Last Edit: July 28, 2008, 05:09:48 PM by aldus » Logged
    vyni

    Offline Offline

    Posts: 566


    « Reply #69 on: July 29, 2008, 08:29:25 AM »

    Hi there,

    I´ve made one step back. - Without the color-picker (for having the option for transparent bg)
    But than I made a jump!

    I got the CSS-switch working!

    Now You can edit both css-files by clickinkg the Edit CSS Button!
    - added the german language extended for the css-editor
    - added NL language (for that smile, correct and keep it secret!)

    Hope You enjoy it.
    Vyni

    Edit: Da war noch eine Kleinigkeit......no chmal runterladen, die die´s schon haben und im FF der Button nicht stimmt
    « Last Edit: July 29, 2008, 09:01:58 AM by vyni » Logged

    PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
    aldus

    Offline Offline

    Posts: 1238


    « Reply #70 on: July 29, 2008, 12:12:15 PM »

    Hello

    Ok -here is the 0.7.1.3 update with some code-cleanings from Vyni's Version,
    mainly removing unnessesary spaces/tabs/comments. This version is not (!) an update from
    version 0.7.1.2 - so modify.php didn't include the color-picker.

    Edit:
    Second Attachment is 0.7.1.4
    - minor changes and optimations in modify.php
    - add a "noscript"-tag in "view.php"
    - add $MOD_IMAGEFLOW['NO_JAVASCRIPT'] text inside the language-files (sorry: no NL-tranlation yet)
    - this zip includes also the changes in "css.functions.php" and "edit_css.php"

    Regards
    Aldus

    « Last Edit: July 29, 2008, 03:34:49 PM by aldus » Logged
    Eki

    Offline Offline

    Posts: 108



    WWW
    « Reply #71 on: July 30, 2008, 08:04:29 AM »

    Hi,

    Would it be possible to add the modifications into a new module again?
    Now it is hard to understand which patches can be used for which version (dependencies).

    regards,
    Erik
    Logged
    Bramus
    Forum Team
    *****
    Offline Offline

    Posts: 600


    WWW
    « Reply #72 on: July 30, 2008, 05:34:00 PM »

    I agree to Eki, maybe make a new version with the latest patches and all. If you want i can make a translation to Dutch. PM me or contact me in this forum and i will start translating Smiley
    Logged

    BRAMUS Internet Services
    aldus

    Offline Offline

    Posts: 1238


    « Reply #73 on: July 30, 2008, 05:45:20 PM »

    Sorry, friends of imageFlow.
    I've got mutch to do in my "one-man-fighting-company" and the less-time is nearly zero the
    next days.
    There are some critical structures left in the last 0.7.1.4 - so before i will prepare
    the next unoffical 0.7.1.5 i want to kill them softly ... it doesn't make sense to give
    some code away in the knowing of the need of a next "update".

    So - please, as for me: two days needed.

    as for the tanslation, it's need for
    Code:
    $MOD_IMAGEFLOW['NO_JAVASCRIPT'] = 'Please activate JavaScript for the gallery!';

    Regards
    Aldus
    « Last Edit: July 30, 2008, 05:48:01 PM by aldus » Logged
    Bramus
    Forum Team
    *****
    Offline Offline

    Posts: 600


    WWW
    « Reply #74 on: July 30, 2008, 05:47:43 PM »

    You can send me the language file to translate it to Dutch (NL) if that is possible already. So you can include that in the next release.
    Logged

    BRAMUS Internet Services
    Pages: 1 2 [3] 4 5 ... 12   Go Up
    Print
    Jump to:  

    Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!