Author Topic: [1.7.3 - 1.7.6] Incorrect text in additional fields in register.php  (Read 33479 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
This show right text format for keys in register (additional user fields).

Find:


$value 
= (isset($HTTP_POST_VARS[$key])) ? format_text(trim($HTTP_POST_VARS[$key])) : "";


replace:


$value 
= (isset($HTTP_POST_VARS[$key])) ? format_text(trim($HTTP_POST_VARS[$key]), 2) : "";
« Last Edit: March 13, 2009, 01:14:52 PM by kai »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.808
  • I ♥ 4I
    • View Profile
Re: [FIX] - register.php file
« Reply #1 on: October 12, 2008, 09:37:59 PM »
Das ist ja super!

 :flag-de: Damit kann man die Userfelder auch im Registrierungsformular anzeigen lassen
 :flag-en: This show right text format for keys in register (additional user fields).


 :flag-de: Öffne /register.php
 :flag-en: Open /register.php

 :flag-de: Suche
 :flag-en: Search
Code: [Select]
$value = (isset($HTTP_POST_VARS[$key])) ? format_text(trim($HTTP_POST_VARS[$key])) : ""; :flag-de: Ersetze mit
 :flag-en: Replace with
Code: [Select]
$value = (isset($HTTP_POST_VARS[$key])) ? format_text(trim($HTTP_POST_VARS[$key]), 2) : "";
« Last Edit: October 06, 2009, 11:09:23 PM by Sumale.nin »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [1.7.3 - 1.7.6] Incorrect text in additional fields in register.php
« Reply #2 on: October 12, 2008, 11:44:39 PM »
Moved to bug fixes.

Thank you.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Elfinee

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [1.7.3 - 1.7.6] Incorrect text in additional fields in register.php
« Reply #3 on: April 10, 2012, 07:21:03 PM »
Kann man das auch irgendwie zu einem Pflichtfeld machen, damit man die neuen Userfelder angeben MUSS?

Rembrandt

  • Guest
Re: [1.7.3 - 1.7.6] Incorrect text in additional fields in register.php
« Reply #4 on: April 10, 2012, 08:36:35 PM »
Kann man das auch irgendwie zu einem Pflichtfeld machen, damit man die neuen Userfelder angeben MUSS?
du bist hier falsch mit deiner Frage,hier gehts lang:
http://www.4homepages.de/forum/index.php?topic=20748.0
unter Schritt 1.)
Quote
$additional_image_fields['image_photograph'] = array($lang['image_photograph'], "text", 1);
der Einser steht für "Pflichtfeld", das steht auch in der includes/db_field_definitions.php (im auskommentierten Text), alle weiteren Fragen dazu Bitte in den oben genannten Thread.

mfg Andi