Die staat er niet tussen
Hack Title: Text field instead of input field
## Author: Acid
##
## Description: If you want to have a text field that supports bbcode, html and smilees
## instead of an input field..
## If you want to have several text fields duplicate the following
## steps and change "info" (be aware of the spelling).
## The field "info" is just an example.
##
## Files to edit: 5
## admin/admin_users.php
## includes/usercp_register.php
## includes/usercp_viewprofile.php
## templates/xxx/admin/user_edit_body.tpl
## templates/xxx/profile_add_body.tpl
##
################################################
##
## Installation/Author Notes:
## First always backup the files/database that you're going to edit.
##
## This hacks adds two new columns to the 'user' table.
##
################################################
#
#-----[ SQL ]-------------------------------------------
#
# You have to execute the following queries via phpmyadmin (change prefix)..
# If you haven´t already added a new field..
ALTER TABLE phpbb_users ADD user_info TEXT AFTER user_interests;
ALTER TABLE phpbb_users ADD user_info_bbcode_uid VARCHAR (255) AFTER user_info;
# If you want to change an existing field..
ALTER TABLE phpbb_users CHANGE user_info user_info TEXT;
ALTER TABLE phpbb_users ADD user_info_bbcode_uid VARCHAR (255) AFTER user_info;
# If you´re going to add/change several fields duplicate the above queries and
# change the field names "user_info".
Maar wel hier:
## Hack Title: Add new field to profile
## Hack Version: 1.2.2 (ex phpbb 2.0.4)
## Author Acid
##
## Description: Just a simple way to add a new field to profile. "info" can be
## changed to "whatever" of course but be aware of the spelling (e.g.
## "INFO", "info", "user_info").
## If you want to add more than one field duplicate the following
## steps and change "info" to "whatever" (be aware of the spelling).
## The field "info" is just an example.
##
## Files to edit: 8
## admin/admin_users.php
## language/lang_english/lang_main.php
## includes/usercp_viewprofile.php
## includes/usercp_register.php
## includes/usercp_avatar.php
## templates/xxx/admin/user_edit_body.tpl
## templates/xxx/profile_add_body.tpl
## templates/xxx/profile_view_body.tpl
##
###############################################
##
## Installation/Author Notes:
## First always backup the files/database that you're going to edit.
##
## This hacks adds two new columns to the 'user' table.
##
###############################################
#
#-----[ SQL ]-------------------------------------------
#
# You have to execute the following queries via phpmyadmin (change prefix)..
# If you haven´t already added a new field..
ALTER TABLE phpbb_users ADD user_info TEXT AFTER user_interests;
ALTER TABLE phpbb_users ADD user_info_bbcode_uid VARCHAR (255) AFTER user_info;
# If you want to change an existing field..
ALTER TABLE phpbb_users CHANGE user_info user_info TEXT;
ALTER TABLE phpbb_users ADD user_info_bbcode_uid VARCHAR (255) AFTER user_info;
# If you´re going to add/change several fields duplicate the above queries and
# change the field names "user_info".
Maar dat extra veld wil ik niet.. als ik lees, begrijp ik dat dit "input field" onder "interests" komt te staan.
Ik wil graag de mod uit de eerste quote,onder de foto, net zo breed als het profiel.
En de SQl zal dan ook anders geformuleerd moeten worden?
Ietwat krom uitgelegd maar hoop dat jullie het snappen, en had misschien een nieuw topic moeten openen in MOD Support , sry
