<?php
// Field Name (appears in edit/profile and user field admin)
$locale['uf_skype'] = "Skype:";
// Description (appears in user field admin)
$locale['uf_skype_desc'] = "Skype Voice Communicator";
?>
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
// Field display name
$user_field_name = $locale['uf_skype'];
// Field Description
$user_field_desc = $locale['uf_skype_desc'];
// The name of the database field used to ADD or DROP
$user_field_dbname = "user_skype";
// The group the field appears under; 1 = Contact, 2 = Information, 3 = Options and 4 = Statistics
$user_field_group = 1;
// The database properties used when ADDing the above field
$user_field_dbinfo = "VARCHAR(50) NOT NULL DEFAULT ''";
?>
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
if ($profile_method == "input") {
// Create the input field for registration and edit profile
echo "<tr>\n";
echo "<td class='tbl'>".$locale['uf_skype'].":</td>\n";
echo "<td class='tbl'><input type='text' name='user_skype' value='".(isset($user_data['user_skype']) ? $user_data['user_skype'] : "")."' maxlength='16' class='textbox' style='width:200px;' /></td>\n";
echo "</tr>\n";
} elseif ($profile_method == "display") {
// Create the display for the user profile
if ($user_data['user_skype']) {
echo "<tr>\n";
echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".$locale['uf_skype']."</td>\n";
echo "<td align='right' class='tbl1'>".$user_data['user_skype']."</td>\n";
echo "</tr>\n";
}
} elseif ($profile_method == "validate_insert") {
// Validate the insert data field & value for our field
$db_fields .= ", user_skype";
$db_values .= ", '".(isset($_POST['user_skype']) ? stripinput(trim($_POST['user_skype'])) : "")."'";
} elseif ($profile_method == "validate_update") {
// Validate the update data value for our field
$db_values .= ", user_skype='".(isset($_POST['user_skype']) ? stripinput(trim($_POST['user_skype'])) : "")."'";
}
?>
Quote
Quote
Its in v9 since 2 years ago. Its called Quantum. Embedded in user fields. 9 types of fields.
- by Chan
I am going to have to install v9 as a test bed. I use v7.x now and have very heavily edited a lot of the files including maincore.php and header files and others to get the site to do things I need it to do. I am just dreading having to go back and edit all the v9 files to get the same things I use now. A lot of work. I use scripts for the site to break out of frames if people try to load our site in a frame on their site, a modal script for opening videos with a custom video player, images, flash or any other content I need to open in a modal window using s simple "rel" tag, and a couple others that I hard coded into the files. I also edited index.php so the site opens and displays the news without being redirected to news.php or home.php or something similar. The site simply shows up as www.domain.com instead of www.domain.com/news.php or www.domain.com/home.php. No redirection upon login either except to show index.php When you click the Home link or logo it reverts back to www.domain.com Just not looking forward to having to edit all those files all over again.
- by SnakeEye
Category Forum
User Administration - 8Labels
None yet
Statistics
30 participants
Notifications
You are not receiving notifications from this thread.
Related Questions