4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2018, 11:55:02 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  Bug Fixes & Patches
| | |-+  [1.7.3 - 1.7.6] Incorrect text in additional fields in register.php
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: [1.7.3 - 1.7.6] Incorrect text in additional fields in register.php  (Read 25872 times)
thunderstrike
4images Guru
*******
Offline Offline

Posts: 2327

Thank You
-Given: 0
-Receive: 10


View Profile
« on: October 27, 2007, 08:27:01 PM »

This show right text format for keys in register (additional user fields).

Find:

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

replace:

1
$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 » Logged

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 ?
Sumale.my
Addicted member
******
Offline Offline

Posts: 1769

Thank You
-Given: 168
-Receive: 83

Neverdie


View Profile
« Reply #1 on: October 12, 2008, 09:37:59 PM »

Das ist ja super!

 Deutsch Damit kann man die Userfelder auch im Registrierungsformular anzeigen lassen
 English This show right text format for keys in register (additional user fields).


 Deutsch Öffne /register.php
 English Open /register.php

 Deutsch Suche
 English Search
1
$value = (isset($HTTP_POST_VARS[$key])) ? format_text(trim($HTTP_POST_VARS[$key])) : "";
Deutsch Ersetze mit
 English Replace with
1
$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 » Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« Reply #2 on: October 12, 2008, 11:44:39 PM »

Moved to bug fixes.

Thank you.
Logged

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)
Elfinee
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


View Profile
« 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?
Logged
Rembrandt
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 896

Vienna


View Profile WWW
« 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  [Expand]
$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
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


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)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.163 seconds with 19 queries.