Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Matthias70

Pages: 1 2 3 4 [5] 6 7 8 9 ... 11
61
Do you have an idea which file/code could interfere  :cry:
With the origianal code of this mod erverthing is O.K. only the enxtension for the language-file causes problems in ACP

Matthias

62
Hallo Kendra,
dafür gibt es mehrere Mods, die du kompinieren kannst:
http://www.4homepages.de/forum/index.php?topic=7499.0
http://www.4homepages.de/forum/index.php?topic=3236.0

und mit folgendem Mod kannst du das Ganze automatisieren:
http://www.4homepages.de/forum/index.php?topic=4754.0

die genannten Mods sind aber ganz schön knifflig
viel Erfolg
Matthias

63
Hi V@no,
can you test my session.php on your fresh 4images installation?
I added the session.php as a text-file to this message.

Matthias

64
Hi V@no,

the Mod Short URL you wrote for lapinkulta here:
http://www.4homepages.de/forum/index.php?topic=6729.msg48487#msg48487

works fine for me, but it affects my control-panel.
When I'm trying to search a user or a picture, I get no results when I'm clicking the search-button.

When I restore the session.php. Search function in control panel is O.K. again...

Do you have an idea, why the search in control panel is affected??

edit: BTW The original Short URL Mod works without problems in the Control Panel  :|

Matthias

65
Mods & Plugins (Releases & Support) / Re: [MOD] Language select
« on: October 25, 2005, 06:59:43 PM »
Please could someone have a look at my URL chosing language on top of my site.


Hallo bibabobu,
deine Laguage-Select Mod läuft.
Das mit den drei Template Ordnern ist bei mir genauso.
Ich habe ebenfalls anfangs versucht, auf zwei Ordner zu reduzieren (die Diskussion müsste noch irgendwo im Forum sein). Habe es dann aber bleiben lassen, da es Probleme gab.

Na ja jetzt passe ich halt ein Template mehr an. So schlimm ist es nicht ;-)
Matthias

66
Hi,
does an enhanced version of "Validate images" feature in ACP, exist, too.
I have searched the forum, and can't find somthing simliar like this mod, but for "validate images"

Matthias

67
in jpg.html (any media templates you are using with this mod)

That's it.
Im working for three years with 4images, but i never found the jpg.html in the media folder  :roll:
Thank you V@no

Matthias

68
sorry... can you give me some more information on that....   :oops:

I want to implement a text like "Click on the picture for full-screen-picture" So the text should be displayed on detail.html.

Hi V@no

I also need the text "Click on the picture for full-screen-picture" in details.html on mouse over the small image
At the moment there it shows only the image_name on mouse over. But where does the image_name on mouse over come from???
At the moment my code in details.html looks like this.
Code: [Select]
{if media_src_big}
<script type="text/javascript">function openpopupbig(big){var popurl="details.php?image_id={image_id2}&big=1";settings='fullscreen,location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=yes,dependent=yes';winpopsbigWindow=window.open(popurl,big,settings);winpopsbigWindow.focus();}</script>                 
<a href="javascript:openpopupbig('big')">{endif media_src_big}
{image}</a>

So where do I have to put the tag alt="Click on the picture for full-screen-picture" ???

Matthias

69
Is it possible to modify the MOD, so that I can define somewhere (in a new file) the keywords I want have to be shown in the multi-item selectable list?
I mean... instead to show all keywords in the database, in the list should be shown keywords, maintained in a new file. The file could be maintainded with an editor tool.
or I maintain the keywords direct in the HTML- or PHP-File

That would be a nice feature.
At the moment I have over 400 Words in the keywordsearchlist. That to much  :|
Matthias

70
Thanks again and again and again.
What would 4images without you, V@ano.

Script works fine now.
I think it's something for the mod section

Matthias

71
Hi lapinkulta,
don't know if this is what you are looking for but v@no wrote already an image security script.
You can find it here:
http://www.4homepages.de/forum/index.php?topic=6997.msg30703#msg30703

Matthias

72
Hi V@no,
now I get this error:
Quote
Parse error: parse error, unexpected ':' in /*****/bildergalerie/global.php on line 63

Fatal error: Call to a member function on a non-object in /*****/bildergalerie/includes/sessions.php on line 220

73
Hi V@no,
there is another problem with the code for language uppon browser settings.

At the moment it works only when the browser has the settings defined in the code.
When the visitor has for example french browser settings (fr) there is only a blank page.

Is ist possible that non defined browser settings get the english language file?

Matthias


74
Hi V@no,
Perhaps it is the wrong place for this post.
But after the code changes above the code for my "new multilang images outside 4images" is not working anymore

Here the code. Perhabs there is a conflict with the changed global.php
Code: [Select]
<?php
// PATH to your 4images Gallery / PFAD zu Ihrer 4images Gallerie
define('SCRIPT_URL''http://www.*****/bildergalerie/');
define('ROOT_PATH''/*****/bildergalerie/');
include(
ROOT_PATH.'config.php');
include(
ROOT_PATH.'includes/db_mysql.php');
include(
ROOT_PATH.'includes/constants.php');
$site_db = new Db($db_host$db_user$db_password$db_name);
function 
is_remote($file_name) {
  return (
preg_match('#^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i'$file_name)) ? 0;
}
$sql "SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_hits
        FROM "
.IMAGES_TABLE." a, ".CATEGORIES_TABLE." b
        WHERE a.image_active=1
        AND a.cat_id = b.cat_id
        AND b.auth_viewcat="
.AUTH_ALL."
        AND b.auth_viewimage="
.AUTH_ALL."
        ORDER BY image_date DESC
        LIMIT 3"
;
$result $site_db->query($sql);
while (
$row $site_db->fetch_array($result)) {
$image_id $row['image_id'];
$cat_id $row['cat_id'];
$image_name $row['image_name'];
$image_hits $row['image_hits'];
$thumb_src = (is_remote($row['image_thumb_file'])) ? $row['image_thumb_file'] : SCRIPT_URL.THUMB_DIR."/".$cat_id."/".$row['image_thumb_file'];
echo 
"<a href=\"".SCRIPT_URL."details.php?image_id=$image_id\" target=_parent><img src=\"".$thumb_src."\" border=\"0\"></a>\n";
echo 
"<br><b>$image_name</b><br>\n";
echo 
"Hits: $image_hits<br><br>\n";
}
?>

75
Hi V@no and lapinkulta
the code works fine for me. No admin problems and at the moment no other problems with the language settings  :D

Thanks a lot
Matthias

Pages: 1 2 3 4 [5] 6 7 8 9 ... 11