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 - leh00

Pages: [1] 2
1
I do believe that it is a time out problem -> AVI, MPEG etc. are large files.

Do it this way:
- upload the files through ftp to the korrect folder ...\data\media\#folder
- then log in as an admin and check for new files in this categories
- everthing will be added...

Regards

Leh00

2
Discussion & Troubleshooting / Re: HOW TO SET UP MYSQUL
« on: December 27, 2006, 08:26:51 AM »
Hi,

first you have to create a database on your Mysql.

After this - when you load the 4Images page you will be asked to enter the credentials to connect your database. 4Images will create the needed tables etc.

Regards

Leh00


3
I tried to add the category description to the tooltip... everthing works fine till I have a link to a image in the description.

Example:
Code: [Select]
<div onmouseover="return escape('<B>{cat_description}</B>...
and this is what I get out in the browser...

onmouseover="return escape('<B>Cat Text<img src='./../templates/abc/smilies/smile.gif'></B>')

I tried to add the \ to the text in the description like: "Cat Text<img src=\'./../templates/abc/smilies/smile.gif\'> but the "\" are lost -> filtered by the code...

Any ideas?

Regards

Leh00

4
This small, little mod will add a nice looking flash counter with rotating numbers to your gallery.

------- [ Features ] ----------

- multi user tracking (getting user name from 4Images)
- multi languages (English,German and Korean included)
- fully customizable (Flash fla file is included)
- shows users today's, yesterdays and total hits
- date and time

------- [ Screenshots ] ----------

check out the attachments or in action http://www.websitdiy.com/cgi/shcounter.html

------- [ spec. requirements ] ----------

important: Your server must be capable of executing Perl scripts. Some servers only allow cgi file in specific directories like "cgi-bin".

---------- [ New files ] -----------
shcounter_multi.swf
shcounter_multi.cgi
German
English
Korean
templates/<your template>/counter.html

--------- [ Changed Files ] --------

/lang/english/main.php
/includes/page_header.php

------- [ Installation in 4Images 1.7.3] ----------

Step 1)
- backup your current 4Images installation

Step 2)
go to your <cgi-bin> directory:
- upload the shcounter_multi.cgi
- create a folder log right there

permissions to be set:

log                   :chmod 766
shcounter.cgi     :chmod 755

For additional Info's about installing read the "README_multi.txt" in the zip file...

Before you continue with the next step try to get the included shcounter_multi.html to work with your web server.

Step 3)
- open /lang/english/main.php and insert at the end -> before the ?> sign

Code: [Select]
//-----------------------------------------------------
//---  Counter Settings  ------
//-----------------------------------------------------
$lang['counter_lang']="English";
$lang['counter_title']="your domain";
$lang['counter_pause']="3";

apply this step to all your installed language files (main.php)

Step 4)
- open /include/page_header.php and search for

Code: [Select]
$site_template->register_vars(array(

and add below:

Code: [Select]
  "lang_counter_lang" => $lang['counter_lang'],
  "lang_counter_title" => $lang['counter_title'],
  "lang_counter_pause" => $lang['counter_pause'],

insert the end of page_header.php -> before the ?> sign

Code: [Select]
$site_template->register_vars("counter", $site_template->parse_template("counter"));
Step 5)
create a new template called "counter.html" and save it in your templates/<your template>/

insert this:

Code: [Select]
<div id="counter" style="position:relative;left:14px;">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
 WIDTH=120 HEIGHT=40>
 <PARAM NAME=movie VALUE="Counter.swf?cgilocation=http://<your domain>/cgi-bin/shcounter_multi.cgi&language={lang_counter_lang}&languageBase={template_url}/language&title={lang_counter_title}&id={current_user_name}&pauseTime={lang_counter_pause}">
 <PARAM NAME=loop VALUE=false>
 <PARAM NAME=menu VALUE=true>
 <PARAM NAME=quality VALUE=high>
 <PARAM NAME=bgcolor VALUE=#FFFFFF>
 <EMBED src="Counter.swf?cgilocation=http://<your domain>/cgi-bin/shcounter_multi.cgi&language={lang_counter_lang}&languageBase={template_url}/language&title={lang_counter_title}&id={current_user_name}&pauseTime={lang_counter_pause}"
     loop=false menu=false quality=high
     bgcolor=#FFFFFF 
     WIDTH=120 HEIGHT=40 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
 </EMBED>
</OBJECT></div>


Step 6)
in your directory templates/<your template>/
- create a folder language
- upload the files German, English, Korean etc. to this folder

Step 7)
open your templates and add the {counter} where ever you like to have your counter placed... and have fun...

Enjoy  :wink:

Leh00

Important notes: this mode is based on the flash counter off Author: Seungho Choo URL: http://tangible.new21.org all rights reside at Seungho Choo

customize:
Edit the included fla file with flash (change font, color etc.)

Known problems:
- after loading the page the counter shows up - but keeps on flashing "loading..." -> probably a permission problem -> check http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213


5
Mods & Plugins (Requests & Discussions) / Re: EXIF Tags ?
« on: September 25, 2006, 09:55:43 PM »
And also check the settings in your php.ini -> check http://www.4homepages.de/forum/index.php?topic=13935.msg75184#msg75184

Regards

Leh00

6
Hallo Maren,

um das anzupassen kannst du so vorgehen:

- das vorhandene Style.css öffnen
- nach dem Eintrag .head1 suchen
- dann den ganzen Befehl kopieren -> .head1{....}
- darunter einfügen und als Bsp. head3 umbenennen
- dann head3 nach deinem Gschmack anpassen

Jetzt musst du nur noch die Templates anpassen:
- für die Startseite -> /templates/dein template/home.html öffnen
- für die Kategorieseite -> /templates/dein Template/categories.html öffnen
- etc.  Member.html, lightbox.html

dann die entsprechende Stelle suchen und das class="head1" auf class="head3" ändern und speichern...

Gruss

Leh00



7
Hi V@no,

like Mawenzi I would like to know how to modify this MOD to see the pictures the user visited.

Could you please provide some help? :roll:

Thanks :wink:

Leh00

8
Hi fabio,

how does your javascript looks like? You did not post it...

You should have something like this in : (sample not working...)

Code: [Select]
function rate() {
  id=document.all.fieldname.value;
  var text = 'loading...';
  document.getElementById('objectname').innerHTML = text;

  req.open('GET', '{rating_url}&rating=' + id, true);
   req.onreadystatechange = handleResponse;
  req.send(null);
}


Regards

Leh00

9
I would like to add the message to main.php like TheOracle mentioned in this tread

I added:
Code: [Select]
$lang['no_permission_msg']= "Details nur für <B>eingeloggte</B> Mitglieder oder <B>unzureichende</B> Rechte <img src=\'{template_url}/smilies/cool.gif\'>";
to main.php.

I added:
 
Code: [Select]
"lang_no_permission_msg" => $lang['no_permission_msg'],
to the part $site_template->register_vars(array( in page_header.php

I added/updated:
 
Code: [Select]
$no_permission = (!empty($show_link)) ? "" : "{lang_no_permission_msg}";
in functions.php

The message does not show up when the page is loaded...

When I replace the message in functions.php it works... somehow it's not loaded correctly... :roll:

Any help is appreciated...

Regards

Leh00

I solved it:

To use the code {lang_no_permission_msg} was wrong -> after adding {lang_no_permission_msg} to random_imgage.html and thumbnail_bit.html it works perfect.

10
Installation, Update & Configuration / Re: Exif parameter in phpinfo?
« on: August 04, 2006, 07:03:59 PM »
Hallo Reto...

also in der phpinfo kannst du nicht's einstellen...

Deshalb musst du dir die php.ini in den Editor laden und nach

1) extension=php_mbstring.dll suchen

Vermutlich hast du vor dem Wort extension noch das ; welches verhindert, dass das dll geladen wird. -> also das ; entfernen.

2)  extension=php_exif.dll suchen.

auch hier das ; entfernen.

Wichtig: achte darauf, dass php_mbstring.dll in der Reihenfolge vor php_exif.dll steht -> sonst Reihenfolge ändern.

Solltes du kein Windows / Php haben, muss dein Php mit der Option --enable-exif kompiliert werden... Frag mich nicht wie man das macht :?

Gruss

Leh00

11
Mods & Plugins (Releases & Support) / Re: [Mod] bbcode Smileys
« on: July 29, 2006, 04:03:26 PM »
Even nobody helped with this problem under 1.7.2...

I downloaded version 1.7.3 and under 1.7.3 I do not have this problem...

Posting comments with the smilies works fine... :)

Maybe restore functions.php and bbcode.html of your template and follow the steps carefully again -> pretty sure it will work too...

Regards

Leh00

12
Hi,

I tried to implement the sending of the eCard in either txt and/or Html.

Even I do not have a problem with sending mail normaly out of 4Images from my server, I receive an error as soon I send the card in Html using html_mime_mail.php class...

The error message is:

Warning: mail() [function.mail]: SMTP server response: 501 <receipient name> Invalid mail address, must have a domain part in \4images\includes\html_mime_mail.php on line 317

I tried to enter the complete email address as the receipient name - but it did not help...


I receive a different error message:

Warning: mail() [function.mail]: SMTP server response: 504 Invalid RCPT command extension in \4images\includes\html_mime_mail.php on line 322


Any ideas??

Regards

Leh00

------------------------------------------------------------------------

Hallo,

ich habe das Versenden der eCard als Txt und/oder Html eingebaut.

Obwohl ich keine Probleme mit dem Versenden von Mails durch 4Images von meinem Server habe, erhalte ich sobald ich die eCard als Html via html_mime_mail.php  Klasse versenden will folgende Fehlermedung:


Warning: mail() [function.mail]: SMTP server response: 501 <Empfaenger Name> Invalid mail address, must have a domain part in \4images\includes\html_mime_mail.php on line 317

Wenn ich beim Feld Empfänger die komplette emailadresse angebe erhalte ich:

Warning: mail() [function.mail]: SMTP server response: 504 Invalid RCPT command extension in \4images\includes\html_mime_mail.php on line 322

Weis jemand Rat?

Gruss

Leh00

13
Mods & Plugins (Releases & Support) / Re: [Mod] bbcode Smileys
« on: June 09, 2006, 12:06:07 PM »
Under version 1.7.2 I also have the problem, that the smilie-code
Code: [Select]
:-) in the comment is saved as
Code: [Select]
<img src="./templates/default/smilies/icon_surprised.gif">
Does anybody have a solution for that?

Regards

Leh00

14
Mods & Plugins (Releases & Support) / Re: [Mod] bbcode Smileys
« on: June 09, 2006, 12:02:59 PM »
Hi Sir Sky-Walker,

mit grösster Wahrscheinlichkeit stimmt der Pfad zu den Smilies nicht... Lade deshalb die Seite bis du die Balken siehst und schaust dir dann den Code deiner Seite an.

Suche dann nach zum Beispiel "smilie(this.form" und nach ein paar Befehlen ist auch der Pfad für das Smilie -> vergleiche den angegebenen Pfad mit deiner Smilie-Ablage.

Gruss

Leh00

15
Chit Chat / Variable name of current picture id???
« on: June 03, 2006, 05:31:17 PM »
I found them - I forgot to search into the php files for register_vars...

I'm now still searching for the correct name of the id of the current picture? :roll:

Any help is appreciated...

Regards

Leh00

Pages: [1] 2