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 - b.o.fan

Pages: [1] 2 3 4 5 ... 17
1
Templates & Styles (Releases & Support) / Re: [MOD] reCAPTCHA
« on: October 12, 2010, 08:48:46 PM »
hallo

habe ReCaptcha eingebaut. Nur Zeigt er mir nur die "alten" Captcha's an, wieso?

wie baue ich {recaptcha} ein?

z.B. in register_form.html?
english.
hello
i bulid in ReCaptcha (in 1.78). But on my Site i Only shows the "old" Captcha, why?

Where i have to bulid in {recaptcha} in register_form.html?

2
Mods & Plugins (Requests & Discussions) / Re: Lang Support
« on: October 12, 2010, 03:40:15 PM »
ohh that's right.

But i think, when a admin want to edit the rules... he must change that i the file. but the user can't see rule-changes...

i think a multi-lang-support for own text or detail/imagename would be great... hmmm...

3
Mods & Plugins (Requests & Discussions) / Lang Support
« on: October 12, 2010, 06:54:28 AM »
Hello.

I Have An Idea!

The Lang Support can do into the Database.

i Think this would be great :-)

I Think following database structure ca be yoused



lang_id, lang_variable, lang_language, lang_word

now in the database  you fill in

1, email, deutsch, eMail
2, email, english, email

in the /lang/YOUR_LANG/main.php

there a SQL like SELECT * FROM 4images_database WHERE lang_language = YOUR_LANG


i think that's a good idea. ;-)

4
Mods & Plugins (Requests & Discussions) / Re: [MOD] Captcha Control
« on: October 11, 2010, 09:02:21 PM »
hallo

habe ReCaptcha eingebaut. Nur Zeigt er mir nur die "alten" Captcha's an, wieso?

wie baue ich {recaptcha} ein?

z.B. in register_form.html?

5
hello in register.php i found

Code: [Select]
    if ($result) {
      $activation_url = $script_url."/register.php?action=activate&activationkey=".$activationkey;

      include(ROOT_PATH.'includes/email.php');
      $site_email = new Email();
      $site_email->set_to($user_email);
      $site_email->set_subject($lang['register_success_emailsubject']);
      $site_email->register_vars(array(
        "activation_url" => $activation_url,
        "user_name" => $user_name,
        "user_password" => $user_password,
        "site_name" => $config['site_name']
      ));

      switch($config['account_activation']) {
      case 2:
        $email_template = "register_activation_admin";
        $msg = $lang['register_success_admin'];
        break;
      case 1:
        if ($config['language_dir_default'] != $config['language_dir']) {
          $activation_url .= "&l=".$config['language_dir'];
        }
        $email_template = "register_activation";
        $msg = $lang['register_success'];
        break;
      case 0:
      default:
        $email_template = "register_activation_none";
        $msg = $lang['register_success_none'];
        break;
      }

case 1 use   register_activation.html

Maybe this can Help.... with the email.problem.

6
@b.o.fan, ist ja schön und gut das du deine ideen einfliesen lässt aber ab jetzt kennt sich keiner mehr aus.
wenn ich einen mod erstelle und es werden oder müßen enderungen vorgenommen werden dann editiere ich den ersten post mit einen hinweis darauf.
das heist wenn ein user zu den mod kommt, findet er normalerweise alles was er benötigt im ersten post, jetzt geht das ganze über drei seiten:

http://www.4homepages.de/forum/index.php?topic=26268.msg151792#msg151792
http://www.4homepages.de/forum/index.php?topic=26268.msg151796#msg151796
http://www.4homepages.de/forum/index.php?topic=26268.msg151808#msg151808

was wo jetzt wohin gehört weis ich auch nicht mehr.

mfg Andi

i updateded my first thread

http://www.4homepages.de/forum/index.php?topic=26268.msg151792#msg151792

7
Mods & Plugins (Releases & Support) / Re: [MOD] Category Image v1.0.2
« on: October 10, 2010, 10:05:28 PM »
Hello!

Can i Use This Mod with 1.78?

8
Hi,

fantastisch ihr beiden ;) Danke.
Nur sollte wirklich klar sein in welchen Schritten man vorgeht.
Andi sortiert ja immer ordentlich nach.

 :thumbup: ihr beiden...


Gruß Jens

Danke! Ich werde meinen Ersten Beitrag auch mal Üebrarbeiten, und dann alles da rein packen. :)

11
MY CHANGE DO FOLLOWING. PLEASE DO ALL CHANGES.
UPDATE 11.10.2010 - 08:15 - ALL MY CHANGES. The rest is deleted.

Tested with FF 3.6
IE 6
IE 8


- Use Password Check in the Controlpanel.
- Password_1 / Password_2 Input flields empty, then the signs not show.
- EMail_1 / EMail_2 Input fields empty, then the signs not show.
- check the valid of the email-adress
   - if invalid email-adress, then show a text next the first email field
- It inspect the password. I Looks that
   - the pw is 6 Signs long
   - the pw has 1 little a-z (german äöü)
   - the pw has 1 Big A-Z (german ÄÖÜ)
   - the pw has 1 Number 0-9
   - the pw has 1 special character
Then It Shows a graphic.



Look @ Demo

[1].OPEN templates/YOUR_TEMPLATE/member_editprofile.html

[1].1 Find
Code: [Select]
<form method="post" action="{url_member}">Replace with
Code: [Select]
<form method="post" action="{url_member}" name="password_form">
<script type="text/javascript" src="./js/verifynotify.js"></script>

[1].2 Find
Code: [Select]
<tr>
            <td class="row2"><b>{lang_new_password}</b></td>
            <td class="row2"><input type="password" name="user_password" size="30" class="input" /></td>
          </tr>

          <tr>
            <td class="row1"><b>{lang_new_password_confirm}</b></td>
            <td class="row1"><input type="password" name="user_password2" size="30" class="input" /></td>
          </tr>
Replace with
Code: [Select]
         <tr>
            <td class="row1"><b>{lang_new_password}</b></td>
            <td class="row1">
                <input type="password" name="user_password" size="30" class="input" value="" onkeyup="checkPassword()"/>
                <span style="position:absolute;z-index:2" class="row2" id="save_result"> </span>
            </td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_new_password_confirm}</b></td>
            <td class="row1" style="position:relative;z-index:1">
              <input type="password" name="user_password_2" size="30" class="input" value="" onkeyup="checkPassword()"/>
            <span style="position:absolute;z-index:2" class="row1" id="password_result"> </span></td>
          </tr>

[2].OPEN templates/YOUR_TEMPLATE/register_form.html

[2].1 Find
Code: [Select]
<tr>
  <td class="row2"><b>{lang_password}</b></td>
  <td class="row2">
    <input type="password" name="user_password" size="30" class="input" />
  </td>
</tr>
Replace with
Code: [Select]
<tr>
<td class="row2"><b>{lang_password}</b></td>
<td class="row2" style = "position:relative;z-index:1">
  <input type="password" name="user_password" size="30" class="input" value="" onkeyup="checkPassword()"/>
  <span style="position:absolute;z-index:2" class="row2" id="save_result"> </span>
</td>
</tr>

2.2 Find
Code: [Select]
<input type="text" name="user_email" size="30" class="input" value="{user_email}" onkeyup="checkMail()">Add after
Code: [Select]
 <span style="position:absolute;z-index:2" class="row2" id="valid_result"> </span>
[3].OPEN templates/YOUR_TEMPLATE/header.html

[3].1 Find
Code: [Select]
-->Add before
Code: [Select]
{password_strong_lang}
[4].OPEN lang/YOUR_LANGUAGE/main.php
[for German use 4.1]
[for English use 4.2]

[4].1 Find
Code: [Select]
?>Add before [GERMAN]
Code: [Select]
//-----------------------------------------------------
//--- Passwordsicherheit ------------------------------
//-----------------------------------------------------
$lang['pw_js_step_1'] = "zu kurz (mind. 6 Zeichen)";
$lang['pw_js_step_2'] = "schlecht";
$lang['pw_js_step_3'] = "gut";
$lang['pw_js_step_4'] = "stark";
$lang['pw_js_pw_strong'] = "Passwortstärke";
$lang['email_js_fail'] = "ungültige eMail-Adresse";


[4].2 Find
Code: [Select]
?>Add before [ENGLISH]
Code: [Select]
//-----------------------------------------------------
//--- password strength -------------------------------
//-----------------------------------------------------
$lang['pw_js_step_1'] = "to short (not less than 6 Signs)";
$lang['pw_js_step_2'] = "bad";
$lang['pw_js_step_3'] = "good";
$lang['pw_js_step_4'] = "strong";
$lang['pw_js_pw_strong'] = "password strength";
$lang['email_js_fail'] = " invalid email address";

[5].OPEN includes/page_header.php

[5].1 Find
Code: [Select]
// Replace Globals in $lang
$lang = $site_template->parse_array($lang);
Add after
Code: [Select]
$password_js_vars = "   var step_1 = \"".$lang['pw_js_step_1']."\";\n";
$password_js_vars .= "   var step_2 = \"".$lang['pw_js_step_2']."\";\n";
$password_js_vars .= "   var step_3 = \"".$lang['pw_js_step_3']."\";\n";
$password_js_vars .= "   var step_4 = \"".$lang['pw_js_step_4']."\";\n";
$password_js_vars .= "   var pw_strong = \"".$lang['pw_js_pw_strong']."\";\n";
$password_js_vars .= "   var email_valid = \"".$lang['email_js_fail']."\";\n";

[5].2 Find
Code: [Select]
"direction" => $lang['direction']Replace with
Code: [Select]
"direction" => $lang['direction'],
  ###########################################################
  # PASSOWRD TEST                                             #
  "password_strong_lang" => $password_js_vars
  ###########################################################

[6].OPEN js/verifynotisy.js

[6].1 Find
Code: [Select]
 var nomatch_html = "<img src=\"js/no.png\">";Add after
Code: [Select]
 var save_1_html = "&nbsp;<img src=\"js/02.png\"><img src=\"js/01.png\"><img src=\"js/01.png\"><img src=\"js/01.png\"><img src=\"js/01.png\">";
  var save_2_html = "&nbsp;<img src=\"js/02.png\"><img src=\"js/02.png\"><img src=\"js/01.png\"><img src=\"js/01.png\"><img src=\"js/01.png\">";
  var save_3_html = "&nbsp;<img src=\"js/03.png\"><img src=\"js/03.png\"><img src=\"js/03.png\"><img src=\"js/01.png\"><img src=\"js/01.png\">";
  var save_4_html = "&nbsp;<img src=\"js/03.png\"><img src=\"js/03.png\"><img src=\"js/03.png\"><img src=\"js/03.png\"><img src=\"js/01.png\">";
  var save_5_html = "&nbsp;<img src=\"js/04.png\"><img src=\"js/04.png\"><img src=\"js/04.png\"><img src=\"js/04.png\"><img src=\"js/04.png\">";
  function validEmail(email) {
    var strReg = "^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$";
    var regex = new RegExp(strReg);
    return(regex.test(email));
  }

6.2 Find
Code: [Select]
   password_id = "password_result";Add after
Code: [Select]
   save_id = "save_result";
6.3 Find
Code: [Select]
r = document.getElementById(this.password_id);Add after
Code: [Select]
s = document.getElementById(this.save_id);
if ((document.password_form.user_password.value == ""))
  {
    s.innerHTML = "";
    document.password_form.user_password_2.value = "";
    document.password_form.user_password.focus();
  }
  else
  {
    score = 0;
    if(document.password_form.user_password.value.match(/[a-zäöü]{1,}/)) {score = score + 1;}
    if(document.password_form.user_password.value.match(/[A-ZÄÖÜ]{1,}/)) {score = score + 1;}
    if(document.password_form.user_password.value.match(/\d{1,}/)) {score = score + 1;}
    if(document.password_form.user_password.value.match(/\W/)) {score = score + 1;}
    if (document.password_form.user_password.value.length >= 6)
     {
        if (score == 4)
        {
           s.innerHTML = this.save_5_html + " <b>" + pw_strong + "</b>: " + step_4 + " ";
        }
        else if (score == 3)
        {
           s.innerHTML = this.save_4_html + " <b>" + pw_strong + "</b>: " + step_3 + " ";
        }
        else if (score == 2)
        {
           s.innerHTML = this.save_3_html + " <b>" + pw_strong + "</b>: " + step_3 + " ";
        }
        else if (score == 1)
        {
           s.innerHTML = this.save_2_html + " <b>" + pw_strong + "</b>: " + step_2 + "  " ;
        }
     }
     else
     {
        s.innerHTML = this.save_1_html + " <b>" + pw_strong + "</b>: " + step_1 + "  ";
     }
  }

6.3 Find
Code: [Select]
if (document.password_form.user_password.value != "" && document.password_form.user_password.value == document.password_form.user_password_2.value) {Replace with
Code: [Select]
     if ((document.password_form.user_password.value == "") && (document.password_form.user_password_2.value == ""))
  {
    r.innerHTML = "";
  }
      else if (document.password_form.user_password.value != "" && document.password_form.user_password.value == document.password_form.user_password_2.value) {

6.4 Find
Code: [Select]
   email_id = "email_result";Add after
Code: [Select]
   valid_id = "valid_result";
6.5 Find
Code: [Select]
r = document.getElementById(this.email_id);Add after
Code: [Select]
s = document.getElementById(this.valid_id);
if (!s){ return false;}

6.6 Find
Code: [Select]
if (!r){ return false; }
  
      if (this.field_email.value != "" && this.field_email.value == this.field_email2.value) {
        r.innerHTML = this.match_html;
      }
      else {
        r.innerHTML = this.nomatch_html;
      }
Replace with
Code: [Select]
if (!validEmail(this.field_email.value) && this.field_email.value == "")
  {
    r.innerHTML = "";
    s.innerHTML = "";
  }
  else if (!validEmail(this.field_email.value))
  {
    r.innerHTML = this.nomatch_html;
    s.innerHTML = "<b>" + email_valid + "</b>";
  }
  else
  {
    if ((this.field_email.value == "") && (this.field_email2.value == ""))
    {
        r.innerHTML = "";
        s.innerHTML = "";
    }
    else if (this.field_email.value != "" && this.field_email.value == this.field_email2.value)
    {
        r.innerHTML = this.match_html;
        s.innerHTML = "";
    }
    else
    {
        r.innerHTML = this.nomatch_html;
        s.innerHTML = "";
    }
  }

Save 01.png/02.png/03.png/04.png. Copy the 4 Files into /js/!

Please Say Thanks or Say what is not good.


[UPDATE]
my function validEmail()
say OK when email Adress is following
name@example.com
or
name@exampel
because
http://forum.de.selfhtml.org/archiv/2003/4/t43470/#m237448

Maybe SomeOne will update my Function. :wink:

12
Installation, Update & Configuration / 4images - Datenbank Struktur.
« on: October 08, 2010, 09:04:50 AM »
Hallo.
Ich hatte 1.7.3 installiert, die Version will irgendwie nicht  mehr.

Nun bin ich auf der Suche nach der Frischen/Neuen Datenbankstruktur (Tabellen inkl. der Felder) um diese mit meiner vorhanden zu vergleichen.

Ich hatte einige Änderunegn vorgenommen (Mods usw.)

Kann mir einer Helfen?

13
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: August 17, 2007, 11:05:06 AM »
hello mantra

would you make a new  [addon]?

I think some functions in other boards can be intregatet? or not?

14
so können wir das auch tun!
ick werd morgen oder über morgen mit dem 2. script anfangen :)

15
So Script 1 is Fertig :) :)

bitte ma probieren :) :)  :lol: :lol: :lol: 8O :?

Gefällt mir sehr gut, auch die Administration ist klasse :-). Kannst du mir die Dateien und die Datenbank schonmal zukommen lassen? per Mail an chrispach@gmail.com...

Gruß
Chris

wird gemacht. oder ick bind dir das mit deinen dateien ein?

ps: der link lautet nun

www.bruno-fischer.de/begriffe.php

PS: es funtzt nun auch im IE 6 und 7 :) :)

Pages: [1] 2 3 4 5 ... 17