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.


Topics - haider512

Pages: 1 [2] 3
16
hi im inserting a new feild..
Actually i saw two different mods and tried them combining to work it out.. but not sure why it is not fully working..

I need help regarding this..

1st mod that i used in it ..

http://www.4homepages.de/forum/index.php?topic=26436.msg154676

what i did in it is

1. Added two tables in db in users prefix

user_msn
user_cusit


both are varchar(55)

2. In includes/db_field_definitions.php

i added this

$additional_user_fields['user_msn'] = array($lang['user_msn'], "text"1);
$additional_user_fields['user_cusit'] = array($lang['user_cusit'], "text"1);


before
?>

3. in Lang lang/your_lang/main.php

i added this


$lang
['msn'] = "MSN:";
$lang['cusit'] = "Cusit Adm No:";


4. In lang/your_lang/admin.php

[php]$lang['field_msn'] = "MSN";
$lang['field_cusit'] = "Cusit Adm No";
[/php]

5. In register.php

I Added
$user_msn = (isset($HTTP_POST_VARS['user_msn'])) ? ((intval(trim($HTTP_POST_VARS['user_msn']))) ? intval(trim($HTTP_POST_VARS['user_msn'])) : "") : ""

Above
     $user_icq = (isset($HTTP_POST_VARS['user_icq'])) ? ((intval(trim($HTTP_POST_VARS['user_icq']))) ? intval(trim($HTTP_POST_VARS['user_icq'])) : "") : "";

and

Added
  $user_cusit = (isset($HTTP_POST_VARS['user_cusit'])) ? ((intval(trim($HTTP_POST_VARS['user_cusit']))) ? intval(trim($HTTP_POST_VARS['user_cusit'])) : "") : "";

above
  $user_password = (isset($HTTP_POST_VARS['user_password'])) ? trim($HTTP_POST_VARS['user_password']) : "";

5.1

Added
      "user_msn" => $user_msn,

Above
      "user_icq" => $user_icq,

and

Added
      "user_cusit" => $user_cusit,

Above
      "user_email" => format_text(stripslashes($user_email), 2),

5.2

Added
      "lang_msn" => $lang['msn'],

Above
      "lang_icq" => $lang['icq'],

and

Added
      "lang_cusit" => $lang['cusit'],

Above
      "lang_password" => $lang['password'],

6 In details.php

Added


        $comment_user_cusit 
= (isset($comment_row[$i][$user_table_fields['user_cusit']])) ? format_url($comment_row[$i][$user_table_fields['user_cusit']]) : "";
        if (!empty(
$comment_user_cusit)) {
          
$comment_user_cusit_button "<a href=\"".$comment_user_cusit."\" target=\"_blank\"><img src=\"".get_gallery_image("cusit.gif")."\" border=\"0\" alt=\"".$comment_user_cusit."\" /></a>";
        }


        
$comment_user_msn = (isset($comment_row[$i][$user_table_fields['user_msn']])) ? format_url($comment_row[$i][$user_table_fields['user_msn']]) : "";
        if (!empty(
$comment_user_msn)) {
          
$comment_user_msn_button "<a href=\"".$comment_user_msn."\" target=\"_blank\"><img src=\"".get_gallery_image("msn.gif")."\" border=\"0\" alt=\"".$comment_user_msn."\" /></a>";
        }



Above
        $comment_user_icq = (isset($comment_row[$i][$user_table_fields['user_icq']])) ? format_text($comment_row[$i][$user_table_fields['user_icq']]) : "";
        if (!empty(
$comment_user_icq)) {
          
$comment_user_icq_button "<a href=\"http://www.icq.com/people/about_me.php?uin=".$comment_user_icq."\" target=\"_blank\"><img src=\"http://status.icq.com/online.gif?icq=".$comment_user_icq."&img=5\" width=\"18\" height=\"18\" border=\"0\" alt=\"".$comment_user_icq."\" /></a>";
        }



7. Added



    $user_cusit 
= (isset($user_row['user_cusit'])) ? format_text(format_url($user_row['user_cusit']), 2) : REPLACE_EMPTY;
    if (!empty(
$user_cusit) && $user_cusit != REPLACE_EMPTY) {
      
$user_cusit_button "<a href=\"".$user_cusit."\" target=\"_blank\"><img src=\"".get_gallery_image("cusit.gif")."\" border=\"0\" alt=\"".$user_cusit."\" /></a>";
    }
    else {
      
$user_cusit_button REPLACE_EMPTY;
    }

    
$user_msn = (isset($user_row['user_msn'])) ? format_text(format_url($user_row['user_msn']), 2) : REPLACE_EMPTY;
    if (!empty(
$user_msn) && $user_msn != REPLACE_EMPTY) {
      
$user_msn_button "<a href=\"".$user_msn."\" target=\"_blank\"><img src=\"".get_gallery_image("msn.gif")."\" border=\"0\" alt=\"".$user_msn."\" /></a>";
    }
    else {
      
$user_msn_button REPLACE_EMPTY;
    }




Above

    $user_icq = (isset($user_row['user_icq'])) ? $user_row['user_icq'] : REPLACE_EMPTY;
    if (!empty(
$user_icq) && $user_icq != REPLACE_EMPTY) {
      
$user_icq_button "<a href=\"http://www.icq.com/people/about_me.php?uin=".$user_icq."\" target=\"_blank\"><img src=\"http://status.icq.com/online.gif?icq=".$user_icq."&img=5\" width=\"18\" height=\"18\" border=\"0\" alt=\"".$user_icq."\" /></a>";
    }
    else {
      
$user_icq_button REPLACE_EMPTY;
    }


8. Now did done steps of with html things from the mod.. you can see..

member_profile.html
member_editprofile.html
plus added in
register_form.html the text field for user..

so..after this mod was working fine so..

i mean when some one register his/her id is saved in database also showed on details.php

but that was not enough..

cuz id of our university is in numeric form and are of four digits ...

so i applied maxlength to 5 and also did added javascript file and linked in header and called with in textfiled of id..
what id did that when some one try to type alphabet it dont type alphabets..
only numeric values are accepted..

is working great up to here..
i wanted another thing..with this and also asked here..
i wanted to have javascript add..so when some one try to leave the id place empty it should give message that place is empty. same
check if id already exist. max characters etc..

so the mod i already added for username and pass i did some changes in it..

this is the other mod..which i added..

Code: [Select]
http://www.4homepages.de/forum/index.php?topic=23848.0
Also many thanks to zhono who did many more changes to give it a much more better look..

so now see files here which i did editing..after zhono editings

1. In page_header.php

Replaced
  "url_user_availability" => $site_sess->url(ROOT_PATH."user_availability.php""&"),

with
  "url_user_cusit" => $site_sess->url(ROOT_PATH."user_availability.php?check=cusit""&"),
  
"url_user_availability" => $site_sess->url(ROOT_PATH."user_availability.php?check=username""&"),
  
"url_user_email" => $site_sess->url(ROOT_PATH."user_availability.php?check=email""&"),
  
"url_user_password" => $site_sess->url(ROOT_PATH."user_availability.php?check=password""&"),


2. In register_form.html (in my templates folder)

Replaced the javascript original on top with this.
<script language="javascript">
//<!---------------------------------+
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
//  Extensive additions by Zhono
// --------------------------------->

$(document).ready(function()
{
	
var 
userOk 0;
        var 
idOk 0;
	
var 
passOk 0;
	
var 
emailOk 0;
	
$(
"#submitButton").attr("value""Disabled");
	
$(
"#submitButton").attr("disabled""true");
        $(
"#cusit").blur(function()
	
{
	
	
//remove all the class add the messagebox classes and start fading
	
	
$(
"#msgbox").removeClass().addClass('messagebox').text('Checking...').fadeIn("slow");
	
	
//check the CUSIT ID exists or not from ajax
	
	
$.
post("{url_user_cusit}",{ user_cusit:$(this).val() } ,function(data)
        {
	
      if(
data=='idblank'//if cusit id is  not entered
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_cusit_empty}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
idOk 0;
	
	

          }
	
	
  else if(
data=='idlength'//if id is less than 4 or more than 4 characters
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_cusit_length}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
idOk 0;
	
	

          }
	
	
  else if(
data=='idno'//if CUSIT ID not avaiable
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_cusit_taken}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
idOk 0;
	
	

          }
	
	
  else
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function()  //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_cusit_good}').addClass('messageboxok').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
idOk 1;
	
	
	
  if (
idOk==&& passOk==&& emailOk==1) {
	
	
	
	
  $(
"#submitButton").attr("value""Register");
	
	
	
	
  $(
'#submitButton').removeAttr('disabled');
	
	
	
  } else {
	
	
	
	
	
$(
"#submitButton").attr("disabled""true");
	
	
	
	
	
$(
"#submitButton").attr("value""Disabled");
	
	
	
	
}
	
	
  }
	
	
	
	

        });
	
});




	
$(
"#username").blur(function()
	
{
	
	
//remove all the class add the messagebox classes and start fading
	
	
$(
"#msgbox").removeClass().addClass('messagebox').text('Checking...').fadeIn("slow");
	
	
//check the username exists or not from ajax
	
	
$.
post("{url_user_availability}",{ user_name:$(this).val() } ,function(data)
        {
	
      if(
data=='userblank'//if username not entered
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_username_empty}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
userOk 0;
	
	

          }
	
	
  else if(
data=='userlength'//if username is less than 6 or more than 20 characters
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_username_length}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
userOk 0;
	
	

          }
	
	
  else if(
data=='userno'//if username not avaiable
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_username_taken}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
userOk 0;
	
	

          }
	
	
  else
	
	
  {
	
	
  
	
$(
"#msgbox").fadeTo(200,0.1,function()  //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_username_good}').addClass('messageboxok').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
userOk 1;
	
	
	
  if (
userOk==&& passOk==&& emailOk==1) {
	
	
	
	
  $(
"#submitButton").attr("value""Register");
	
	
	
	
  $(
'#submitButton').removeAttr('disabled');
	
	
	
  } else {
	
	
	
	
	
$(
"#submitButton").attr("disabled""true");
	
	
	
	
	
$(
"#submitButton").attr("value""Disabled");
	
	
	
	
}
	
	
  }
	
	
	
	

        });
	
});
	
$(
"#userpassword").blur(function()
	
{
	
	
//remove all the class add the messagebox classes and start fading
	
	
$(
"#msgboxpass").removeClass().addClass('messagebox').text('Checking...').fadeIn("slow");
	
	
//check the username exists or not from ajax
	
	
$.
post("{url_user_password}",{ user_password:$(this).val() } ,function(data)
        {
	
      if(
data=='passblank'//if username not entered
	
	
  {
	
	
  
	
$(
"#msgboxpass").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_password_empty}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
passOk 0;
	
	

          }
	
	
  else if(
data=='passlength'//if username is less than 6 or more than 20 characters
	
	
  {
	
	
  
	
$(
"#msgboxpass").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_password_length}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
passOk 0;
	
	

          }
	
	
  else
	
	
  {
	
	
  
	
$(
"#msgboxpass").fadeTo(200,0.1,function()  //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_password_good}').addClass('messageboxok').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
passOk 1;
	
	
	
  if (
userOk==&& passOk==&& emailOk==1) {
	
	
	
	
  $(
"#submitButton").attr("value""Register");
	
	
	
	
  $(
'#submitButton').removeAttr('disabled');
	
	
	
  } else {
	
	
	
	
	
$(
"#submitButton").attr("disabled""true");
	
	
	
	
	
$(
"#submitButton").attr("value""Disabled");
	
	
	
	
}
	
	
  }
	
	
	
	

        });
	
});
	
$(
"#useremail").blur(function()
	
{
	
	
//remove all the class add the messagebox classes and start fading
	
	
$(
"#msgboxemail").removeClass().addClass('messagebox').text('Checking...').fadeIn("slow");
	
	
//check the username exists or not from ajax
	
	
$.
post("{url_user_email}",{ user_email:$(this).val() } ,function(data)
        {
	
      if(
data=='emailblank'//if username not entered
	
	
  {
	
	
  
	
$(
"#msgboxemail").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_email_empty}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
emailOk 0;
	
	

          }
	
	
  else if(
data=='emailinvalid'//if username is less than 6 or more than 20 characters
	
	
  {
	
	
  
	
$(
"#msgboxemail").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_email_invalid}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
emailOk 0;
	
	

          }
	
	
  else if(
data=='emailno'//if username not avaiable
	
	
  {
	
	
  
	
$(
"#msgboxemail").fadeTo(200,0.1,function() //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_email_taken}').addClass('messageboxerror').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
emailOk 0;
	
	

          }
	
	
  else
	
	
  {
	
	
  
	
$(
"#msgboxemail").fadeTo(200,0.1,function()  //start fading the messagebox
	
	
	

	
	
	
  
//add message and change the class of the box and start fading
	
	
	
  $(
this).html('{lang_ajax_email_good}').addClass('messageboxok').fadeTo(900,1);
	
	
	
  
	
	
	
});
	
	
	
emailOk 1;
	
	
	
  if (
userOk==&& passOk==&& emailOk==1) {
	
	
	
	
  $(
"#submitButton").attr("value""Register");
	
	
	
	
  $(
'#submitButton').removeAttr('disabled');
	
	
	
  } else {
	
	
	
	
	
$(
"#submitButton").attr("disabled""true");
	
	
	
	
	
$(
"#submitButton").attr("value""Disabled");
	
	
	
	
}
	
	
  }
	
	
	
	

        });
 
	
});
});
</
script>


and added feild above username


            
<td><b>CUSIT ID:</b></td>

            <
td height="50px">

              <
input type="text" name="user_cusit" size="5" Maxlength="5" value="{user_cusit}" id="user_cusit" class="text" onKeyPress="return numbersonly(this, event)" /> <br/><span id="msgboxid" style="display:none"></span>
            </
td>
          </
tr>


3. in main.php

i added
$lang['ajax_cusit_empty'] = "Enter your University ID no of 4 digits";
$lang['ajax_cusit_length'] = "University ID must be of 4 digits";
$lang['ajax_cusit_taken'] = "This ID has already Been Registered";
$lang['ajax_cusit_good'] = "University ID is available and good to register";


above
$lang['ajax_username_empty'] = "Please enter a username";
$lang['ajax_username_length'] = "Username must be between 6 and 20 characters long";
$lang['ajax_username_taken'] = "This User name already exists";
$lang['ajax_username_good'] = "Username available to register";
$lang['ajax_password_empty'] = "Please enter a password";
$lang['ajax_password_length'] = "Password must be between 6 and 20 characters long";
$lang['ajax_password_good'] = "Password is good";
$lang['ajax_email_empty'] = "Please enter an email address";
$lang['ajax_email_invalid'] = "This email address is invalid!";
$lang['ajax_email_taken'] = "This email address is already registered";
$lang['ajax_email_good'] = "Email address is good to go";


4 in register.php

i added
      "lang_ajax_cusit_empty" => $lang['ajax_cusit_empty'],
      
"lang_ajax_cusit_length" => $lang['ajax_cusit_length'],
      
"lang_ajax_cusit_taken" => $lang['ajax_cusit_taken'],
      
"lang_ajax_cusit_good" => $lang['ajax_cusit_good'],


above
      "lang_ajax_username_empty" => $lang['ajax_username_empty'],
      
"lang_ajax_username_length" => $lang['ajax_username_length'],
      
"lang_ajax_username_taken" => $lang['ajax_username_taken'],
      
"lang_ajax_username_good" => $lang['ajax_username_good'],
      
"lang_ajax_password_empty" => $lang['ajax_password_empty'],
      
"lang_ajax_password_length" => $lang['ajax_password_length'],
      
"lang_ajax_password_good" => $lang['ajax_password_good'],
      
"lang_ajax_email_empty" => $lang['ajax_email_empty'],
      
"lang_ajax_email_invalid" => $lang['ajax_email_invalid'],
      
"lang_ajax_email_taken" => $lang['ajax_email_taken'],
      
"lang_ajax_email_good" => $lang['ajax_email_good']


5. replace user_availability.php
with this code
<?php
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
//  Extensive additions by Zhono

define('ROOT_PATH''./');
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');


if (
$_GET['check'] == "cusit") {
if (isset(
$HTTP_POST_VARS['user_cusit']) && !empty($HTTP_POST_VARS['user_cusit'])) {
$user_cusit preg_replace("/[ ]{2,}/"" "un_htmlspecialchars(trim($HTTP_POST_VARS['user_cusit'])));
//CUSIT ID length
	
$MIN_LENGTH 4;
	
$MAX_LENGTH 4;
	
	
if ((
strlen($user_cusit) < $MIN_LENGTH) || (strlen($user_cusit) > $MAX_LENGTH)) {
    
	
	
echo 
"idlength";
  
	
	
} else {

	
if (
$user_cusit != "") {
	
  
$sql "SELECT ".get_user_table_field("""user_cusit")."
	
	
	
  FROM "
.USERS_TABLE."
	
	
	
  WHERE "
.get_user_table_field("""user_cusit")." = '".strtolower($user_cusit)."'";
	
  if (
$site_db->not_empty($sql)) {
	
	
//ID is not availble
	
	
echo 
"idno";
	
	
	
  } else {
	
	
//ID is available
	
	
echo 
"idyes";   
	
	
}
	
}
  }
} else {
	
echo 
"idblank";
}
}

if (
$_GET['check'] == "username") {
if (isset(
$HTTP_POST_VARS['user_name']) && !empty($HTTP_POST_VARS['user_name'])) {
$user_name preg_replace("/[ ]{2,}/"" "un_htmlspecialchars(trim($HTTP_POST_VARS['user_name'])));
//username length
	
$MIN_LENGTH 6;
	
$MAX_LENGTH 20;
	
	
if ((
strlen($user_name) < $MIN_LENGTH) || (strlen($user_name) > $MAX_LENGTH)) {
    
	
	
echo 
"userlength";
  
	
	
} else {

	
if (
$user_name != "") {
	
  
$sql "SELECT ".get_user_table_field("""user_name")."
	
	
	
  FROM "
.USERS_TABLE."
	
	
	
  WHERE "
.get_user_table_field("""user_name")." = '".strtolower($user_name)."'";
	
  if (
$site_db->not_empty($sql)) {
	
	
//user name is not availble
	
	
echo 
"userno";
	
	
	
  } else {
	
	
//user name is available
	
	
echo 
"useryes";   
	
	
}
	
}
  }
} else {
	
echo 
"userblank";
}
}


if (
$_GET['check'] == "password") {
if (isset(
$HTTP_POST_VARS['user_password']) && !empty($HTTP_POST_VARS['user_password'])) {
$user_password preg_replace("/[ ]{2,}/"" "un_htmlspecialchars(trim($HTTP_POST_VARS['user_password'])));
//password length
	
$MIN_LENGTH 6;
	
$MAX_LENGTH 20;
	
	
if ((
strlen($user_password) < $MIN_LENGTH) || (strlen($user_password) > $MAX_LENGTH)) {
    
	
	
echo 
"passlength";
  
	
	
} else {
	
  
	
	
echo 
"passyes";
  }
} else {
	
echo 
"passblank";
}
}

if (
$_GET['check'] == "email") {
if (isset(
$HTTP_POST_VARS['user_email']) && !empty($HTTP_POST_VARS['user_email'])) {

	
$user_email $HTTP_POST_VARS['user_email'];
	

	
if (!
eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$"$user_email)){
	
	
echo 
"emailinvalid";
	
} else {

	
if (
$user_email != "") {
	
  
$sql "SELECT ".get_user_table_field("""user_email")."
	
	
	
  FROM "
.USERS_TABLE."
	
	
	
  WHERE "
.get_user_table_field("""user_email")." = '".strtolower($user_email)."'";
	
  if (
$site_db->not_empty($sql)) {
	
	
//user name is not availble
	
	
echo 
"emailno";
	
	
	
  } else {
	
	
//user name is available
	
	
echo 
"emailyes";   
	
	
}
	
}
  }
} else {
	
echo 
"emailblank";
}
}
?>



but still no luck getting that ajax message on putting details etc..
like check if id exists or not..

i hope i didnt messed up the code with ajax??

please any coder see and help regarding this issue, will be great favour..

here is my link of website
cusitlibrary.com/register.php

looking forward to your generous help..please loook in to this..

17
Discussion & Troubleshooting / Little Guideness needed with password..
« on: December 30, 2010, 01:02:27 PM »
Hi i know..its a noob question..

but where can user change their password.. i cant find any feild in control panel where user is allowed to change his/her password.

i cant find feild of old password new password etc??

why is that??


18
Discussion & Troubleshooting / Assigning and revoking privilages
« on: December 30, 2010, 12:37:11 PM »
Hi please can any one explain me how to revoke privalages..

i mean i want to revoke privalages for newly registered users..

that when user register that registered user can do almost anything that he can do now.. but except upload ..i dont want to assign the upload privalage to the user..

only group Uploaders should b given authority of uploading files..

How to do that..

and also i want one group to allow uploading on specific catogary..not all catogary..or particular user to allow upload to particular catogory..


SO how ???? Or i need to install mod..

i have seen feature of assigning revoking privaliges..but couldn't understood..if it is possible in it..then how?

19
Discussion & Troubleshooting / register agreement page.
« on: December 29, 2010, 01:53:31 AM »
hi..

i want to know..do anyone here knows a way how to make the agreement page different..
that what ever changes i do in that page and upload it it should work fine..it should not b associated with the main language file..

i mean...i cant use html tags in main.php of my language.. so how would i designn a good agreement page..??

Agreement page comes before the registration page..??

im talking about this page..

http://www.cusitonline.com/register.php

20
Hi..
Hello sir..
i want to have one more field in registration form.

retype email and retype password..

i want these fields because sometime users mistype..

its ok...if it is not possible for email..cuz email can b seen...

but please make a mod which which gives another field of retype password..
so it matches the retype password to see that do they match or not..

Best Regards
Haider

21
Discussion & Troubleshooting / UPLOADING ERROR?? How to fix the error??
« on: December 27, 2010, 10:51:40 PM »
Hi...
i noticed when i upload image on top i recive this error..
the image uploads fine..but when it uploads it shows these lines..

but if i check the image and thumbnail works fine..

what is this error and why it shows again and again when ever image and thumbnail is uploaded??



PLEASE DO ANY ONE KNOWS THAT HOW TO FIX THIS ERROR??

22
Chit Chat / one domain two servers.
« on: December 24, 2010, 03:27:04 PM »
Hi there..
i have two reseller accounts from different providers..

my domain is cusitonline.com (may not work now..cuz just recently updated name servers. but soon it will)

im not expert with these. and want to know  to do 2 things.

1.
i want to ask that is it possible to point my this domain to both different reseller accounts (its ok if even cpanel account is possible)

i mean if one is down the other should b up running..

2.cusitonline.com

i want to setup my custom nameservers. if its possible please let me know...but i have only one ip..on each hosting is provided to me..and i have seen on net that it requires two ip's.. if nameservers can b fixed on 1 ip then please let me know..

Please help me solve this issue..will b really greatfull..

if you want i can provide free shared cpanel offshore hosting (germany server & second offshore is in netherland).. what ever you like..

30gb space
unlimited bandwith
25 addons
25 parked
and everything else unlimited...



please help me fix my problem.. i will give everything unlimited (lifetime-(as long as i have)) who fix my both problems..

reply please..

23
Mods & Plugins (Requests & Discussions) / Download counting- Help required
« on: December 24, 2010, 01:14:11 AM »
Hello everyone

im using the download url feild instead of uploading files to my server..as it saves me bandwith and server load..

i use mediafire( file hosting site) url's

well they are working great..when some one clicks he/she redirects to the site..

everything working kool..

but i want to know about download count..as users are not downloading directly from the site..so the counting is not happening..

counting is still 0 and will remain 0 no matters how many downloads have done..



now is there any way to make that counting work..that if some one clicks the download button..that user redirects..but counting increase by 1..

now how to do that..

my site..

cusitonline.com
cusitonline.cz.cc (if above link not working try this parked domain)

please help me fix this issue.

24
Discussion & Troubleshooting / Moving to new server?? help..what to do??
« on: December 19, 2010, 11:57:45 PM »
got a new server and domain for my self..

http://cusitonline.com/

i moved all files to new server. and uploaded the database too..

i configured the config.php and uploaded it to root directory where is supposed to be..

now what to do..did i miss something???

or do i need to do chmod the files and folders..if so then what files and folders i do chmod..


Help needed please..

Looking forward..please...

please check the domain your self for the error im getting now..

http://cusitonline.com/

reply please...


=======================================


Man when will i gonna stop doing dump mistakes..

i did every thing..except..i didnt uploaded the sql file downloaded from the previous server..

such a dumb mistake..

its 4:30AM in morning here and im getting very sleepy..thats why i guess i am getting very careless..

Gosh..now the new server and domain is up and running and not to mention faster then previous.. :-)

any one needs hosting at cheaper prices.. im here..do provide cheaphosting..

25
is there any mod out here to give much pretty interface to user info section of left side of comments like make it like in tables form etc..
see the screencap that i mean to say better arranged..

if is there not any mod out..then in which file i will need to do the editings for this section?

26
Hello every one.. hw r u..
 i am looking for someone who can help me creating one more field in registration form also editing in user profile section.

I am making this site for my university..that all students in unversity can upload and download lectures presentations and have access to assigments, books, pdf's etc..so it is purely for my university..
so i want one more section in registration form. that when a student of our university registers they should enter their. University id..

it is 4 digits numeric id/admission no...

also i want it to show every user id to his own profile..i mean when some one visits the other person profile.their his id also shows in that profile..

I know i have to make some changes in database and also in php file too.
but in detail. How to do this..

Any one?

27
hi i tried to change the font color but not working..how to change the font color to white so it becomes visible...
yes i did edited style.css to change color..but not working??

im attaching thumbnail..for the selected area...as far as i know..its details.html file..

this is my whole details.html file..

Code: [Select]
{header}

<div class="bar">
<h3>
{if has_rss}
<a href="{rss_url}"><img src="{template_url}/images/rss.gif" border="0" alt="{rss_title}" /></a>
{endif has_rss}
</h3>
<ul>
<li><a id="home" href="{url_home}" title="{site_name}">Home</a></li>
<li><a class="common" href="{url_top_images}">{lang_top_images}</a></li>
<li><a class="common" href="{url_new_images}">{lang_new_images}</a></li>
        <li><a class="common" href="search.php">Advanced Search</a></li>
<li><a class="common" href="memberlist.php">Member List</a></li>
<li><a class="common" href="{url_sitemap}">{lang_sitemap}</a></li>
<li><a class="common" href="contact.php">Contact</a></li>
</ul>
</div>



<div class="nav">
<p>{clickstream}</p>
</div>


<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="221" valign="top" class="padding">
<h2 class="boxcaption">Search Gallery</h2>
<div class="box">

<form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><input type="text" name="search_keywords" size="24" class="search" /></td>
    <td><input type="submit" value="" name="submit" class="go" /></td>
  </tr>
</table>
<br />
<a href="{url_search}" class="smalltext">{lang_advanced_search}</a>
</form>
</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>

<br />

<h2 class="boxcaption">{lang_registered_user}</h2>
<div class="box">
{user_box}
{cp_link}
</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>

<br />

<!-- Left column advertisement start // -->

<h2 class="boxcaption">Friends</h2>
<div class="box">
<ul>
<li><a href="http://www.osdesigner.net/category/wordpress-themes/" rel="nofollow" target="_blank">Free WordPress Themes</a></li>
<li><a href="http://www.photologgia.com" rel="nofollow" target="_blank">Photo Loggia</a></li>
<li><a href="http://www.w3tool.com" rel="nofollow" target="_blank">Webmaster Tools</a></li>
<li><a href="http://www.bestcssgallery.com" rel="nofollow" target="_blank">CSS Gallery</a></li>
<li><a href="http://www.google.com" target="_blank">Google</a></li>
<li><a href="http://www.paiddirectorylist.com" rel="nofollow" target="_blank">Web Directory List</a></li>
<li><a href="http://www.webmasterdesk.org" rel="nofollow" target="_blank">Webmaster Forum</a></li>
</ul>

</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>

<!-- Left column advertisement end // -->

<br />
{if random_image}
<h2 class="boxcaption">{lang_random_image}</h2>
<div class="box">
{random_image}
</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>
{endif random_image}

</td>
<td width="100%" valign="top">


<div class="caption"><h3 style="color:#FFFFFF">{if admin_links}{admin_links}{endif admin_links}</h3><p>{image_name}{if image_is_new}<span class="new">{lang_new}</span>{endif image_is_new}</p></div>

<div class="contentbox">

<div align="center">{image}</div>
{if msg}<br />{msg}{endif msg}

</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>
<br />

<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr valign="top">
<td class="row2">{if prev_image_name}{lang_prev_image} <b><a href="{prev_image_url}">{prev_image_name}</a></b>
<!-- <br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a> -->
{endif prev_image_name}</td>
<td align="right" class="row2">{if next_image_name}{lang_next_image} <b><a href="{next_image_url}">{next_image_name}</a></b>
<!-- <br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a> -->
{endif next_image_name}</td>
</tr>
</table>



<br />




<div class="caption"><h3></h3><p>File links</p></div>

<div class="contentbox">

{lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{download_zip_button}

</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>



<br />


<div class="caption"><h3></h3><p>Advertisement</p></div>

<div class="contentbox">           

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-08-23: Gallery
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "4c90ca";
google_color_text = "303030";
google_color_url = "303030";
google_ui_features = "rc:0";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>


<br />


<div class="caption"><h3></h3><p>File - {image_name} Information</p></div>

<div class="contentbox">

<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td valign="top" class="row1" width="200"><b>{lang_description}</b></td>
<td valign="top" class="row1">{image_description}</td>
</tr>
<tr>
<td valign="top" class="row2"><b>{lang_keywords}</b></td>
<td valign="top" class="row2">{image_keywords}</td>
</tr>
<tr>
<td valign="top" class="row1"><b>{lang_date}</b></td>
<td valign="top" class="row1">{image_date}</td>
</tr>
<tr>
<td valign="top" class="row2"><b>{lang_hits}</b></td>
<td valign="top" class="row2">{image_hits}</td>
</tr>
<tr>
<td valign="top" class="row1"><b>{lang_downloads}</b></td>
<td valign="top" class="row1">{image_downloads}</td>
</tr>
<tr>
<td valign="top" class="row2"><b>{lang_rating}</b></td>
<td valign="top" class="row2">{image_rating} ({image_votes}
{lang_votes})</td>
</tr>
<tr>
<td valign="top" class="row1"><b>{lang_file_size}</b></td>
<td valign="top" class="row1">{image_file_size}</td>
</tr>
<tr>
<td valign="top" class="row2"><b>{lang_added_by}</b></td>
<td valign="top" class="row2">{user_name_link}</td>
</tr>
{if rate_form}
<tr>
<td class="row1"><b>Rate File</b></td>
<td class="row1">{rate_form}</td>
</tr>
{endif rate_form}

</table>

</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>




{if iptc_info}
<br />
<div class="caption"><h3></h3><p>IPTC Information</p></div>

<div class="contentbox">

{iptc_info}
                 
</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>

{endif iptc_info}








{if exif_info}
<br />

<div class="caption"><h3></h3><p>EXIF Information</p></div>

<div class="contentbox">

{exif_info}
                 
</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>

{endif exif_info}





{if allow_comments}
<br />

<div class="caption"><h3></h3><p>File Comments</p></div>
<div class="contentbox">
<a name="comments"></a>
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td valign="top"><strong>{lang_author}</strong></td>
<td valign="top"><strong>{lang_comment}</strong></td>
</tr>
{comments}
</table>

</div>
<div class="contentbottom"><span><img src="{template_url}/images/contentbottom.right.gif" alt="" /></span><p><img src="{template_url}/images/contentbottom.left.gif" alt="" /></p></div>


{comment_form}

{endif allow_comments}










</td>
 </tr>
</table>
                 

 
{footer}


also

this is my css file..

Looking forward for support..Reply please..

Code: [Select]
body {
margin: 0px;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}

img {
border: 0px;
}

a {
color: #000000;
text-decoration: none;

}

a:hover {
   
text-decoration: underline;
color: #990000;
}

h1, h2, h3, h4 {
margin: 0;
font-size: 11px;
}

#container {
width: 98%;
margin: 0 auto 0 auto;
}

.header {
margin: 10px 0 0 0;
width: 100%;
}
.header h1 {
margin: 0 0 0 9px;
}

.header p {
float: right;
margin: 0;
}

/* Cusit Banner Start*/

.banner {
        background: url('png/left2.png') no-repeat top left ,
                url('png/center.png') no-repeat center ,
                url('png/bg2.png') repeat-x center;
height: 260px;
        float:center;
margin: 5px 30px 30px 30px;
        }

       .banner h3 {
        background: url('png/right2.png') no-repeat right;
float:right;
                margin: 11px 0px 0px 0px;
width: 330px;
height: 260px;
}

/* Cusit Banner End*/

.bar {
background: url('bar.bg.gif');
height: 37px;
margin: 10px 0 10px 0;
}
.bar h3 {
background: url('bar.end.gif') no-repeat right;
float: right;
margin: 0px;
width: 30px;
height: 27px;
padding: 10px 0 0 0;
}

.bar ul {
margin: 0;
padding: 0;
list-style-type: none;
}

.bar li {
padding:0;
margin: 0;
height: 37px;
display: inline;
float:left;
list-style-type: none;
}

.bar li a {
color: #FFFFFF;
text-decoration: none;
}

.bar li a:hover {
color: #D9D9D9;
text-decoration: none;
}

#home {
padding: 0px;
text-align: center;
font-size: 12px;
font-weight: bold;
line-height: normal;
}

a#home {
overflow:hidden;
display:block;
width:70px;
height:27px;
padding: 10px 0 0 10px;
background:url('bar.start.gif') no-repeat;
}

a#home:hover {
background:url('bar.start.gif') no-repeat 0px -37px;
}

.common {
padding: 0px;
text-align: center;
font-size: 12px;
font-weight: bold;
line-height: normal;
}

a.common {
overflow:hidden;
display:block;
height:27px;
padding: 10px 10px 0 10px;
float: left;
}

a.common:hover {
background:url('bar.bg.gif') no-repeat center -37px;
}


.thumb {
border: 1px solid #e8e8e8;
background: #ffffff;
        height: 142px;

}

/* customized thumb start */
.cthumb {
border: 1px solid #e8e8e8;
background: #ffffff;
        height: 18px;
}
.ctrthumb {
        padding: 10px 10px 0 10px;
        height:15px;
        }
.mthumb {
border: 1px solid #e8e8e8;
background: #ffffff;
        width: 220px;
}

.nthumb {
background: #ffffff;
        height:142px;
}


/*customized thumb end */


.thumb2 {
border: 1px solid #990000;
background: #ffffff;
        height: 142px;

}

.row1 {
background: #FFFFFF;
}

.row2 {
background: #FFFFFF;
}


.info {
border: 1px solid #cde0f0;
background: #EBEBEB;
padding: 6px 6px 6px 14px;
margin: 10px 0 0 0;
}
.info p {
margin: 0 0 3px 0;
}

.user {
background: url('profile.gif') no-repeat;
padding: 0 0 0 22px;
height: 16px;
}

.comment {
background: url('comment.gif') no-repeat;
padding: 0 0 0 22px;
height: 16px;
}
.category {
background: url('cat.folder.gif') no-repeat;
padding: 0 0 0 22px;
height: 43px;
width:180px;
}




.search {
border: 1px solid #696969; font-size: 11px; background: none; color: #000000; height: 15px; width: 100px;
}

.button {
margin: 0 4px 0 0;
border: 0px;
background: url('buttons.gif') no-repeat;
width: 71px;
height: 20px;
color: #303030;
font-size: 11px;
}

.go {
margin: 0 0 0 4px;
border: 0px;
background: url('go.gif') no-repeat;
width: 25px;
height: 20px;
color: #303030;
font-size: 11px;
}

.box {
border-left: 1px solid #e8e8e8;
border-right: 1px solid #e8e8e8;
padding: 8px;
width: 170px;
font-size: 11px;
}
.box a {
color: #000000; text-decoration: none;
}
.box a:hover {
text-decoration: underline;
}

.box ul {
margin: 0;
padding: 0;
}

.box li {
list-style-type: none;
margin: 0 0 0 3px;
padding: 0 0 4px 20px;
background: url('blt.gif') no-repeat;
}
.box p {
margin: 0 0 0 3px;
padding: 0 0 4px 20px;
background: url('blt.gif') no-repeat;
text-align: left;
}
.boxcaption {
background: url('box.caption.gif') no-repeat;
padding: 6px 0 0 10px;
height: 20px;
width: 178px;
color: #FFFFFF;
}

.boxbottom {
background: url('box.bottom.gif') no-repeat;
width: 217px;
height: 4px;
margin: 0px;
}

.pagingstats2 {
}
.pagingstats2 p {
margin: 6px 0 10px 0;
font-weight: normal;
padding: 0;
}

.pagination {
padding: 1px;
font-size: 11px;
font-weight: bold;
float: center;
}

.pagination ul {
font-size: 11px;
margin: 10px 0 10px 0;
padding: 0px;
text-align: left;
}
.pagination li {
display: inline;
list-style-type: none;
padding-bottom: 1px;
}
.pagination a {
color: #990000;
border: #e8e8e8 1px solid;
padding: 1px;
margin: 0 0 0 3px;
text-decoration: none;
}

.pagination a:hover {
border: #990000 1px solid;
color: #000000;
text-decoration: none;
}

.pagingon {
color: #000000;
border: #e8e8e8 1px solid;
padding: 1px;
margin: 0 5px 0 0;
text-decoration: none;
}

.padding {
padding: 0 10px 0 0;
}

.padding2 {
padding:  0 0 0 10px;
}

.caption {
background: url('caption.bg.gif') repeat-x bottom;
height: 26px;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
margin: 0;
}
.caption p {
background: url('caption.left.gif') no-repeat left;
padding: 6px 0 0 10px;
height: 20px;
color: #FFFFFF;
margin: 0;
}

.caption a {
color: #303030; text-decoration: none;
}

.caption a:hover {
text-decoration: underline;
}

.caption h3 {
background: url('caption.right.gif') no-repeat right;
float: right;
margin: 0px;
font-size: 10px;
height: 20px;
padding: 6px 6px 0 0;
                color: #FFFFFF;
}

.caption h2 {
background: url('caption.right.gif') no-repeat right;
float: right;
margin: 0px;
font-size: 10px;
height: 20px;
padding: 0;
}

/*custom caption*/

.ccaption {
background: url('caption.bg.gif') repeat-x bottom;
height: 26px;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
margin: 0;
}
.ccaption p {
background: url('caption.left.gif') no-repeat left;
padding: 6px 0 0 10px;
height: 20px;
color: #FFFFFF;
margin: 0;
}

.ccaption a {
color: #303030; text-decoration: none;
}

.ccaption a:hover {
text-decoration: underline;
}

.ccaption h3 {
background: url('caption.right.gif') no-repeat right;
float: right;
margin: 0px;
font-size: 10px;
height: 20px;
padding: 6px 6px 0 0;
}

.ccaption h2 {
background: url('caption.right.gif') no-repeat right;
float: right;
margin: 0px;
font-size: 10px;
height: 20px;
padding: 0;
}
#ccaption {
overflow:hidden;
display:block;
        background: url('caption.left.gif') no-repeat;
padding: 6px 0 0 10px;
height: 20px;
color: #FFFFFF;
margin: 0;
        font-size: 11px;
font-weight: bold;
        }

/* end custom caption*/

.contentbox {
border-left: 1px solid #e8e8e8;
border-right: 1px solid #e8e8e8;
padding: 8px;
font-size: 11px;
}
.contentbox a {
color: #303030; text-decoration: none; font-size: 11px;
}
.contentbox a:hover {
text-decoration: underline;
}

.contenttext {
margin: 0px;
padding: 2px 0 3px 0;
}

.contentbottom {
background: url('contentbottom.bg.gif') repeat-x bottom;
height: 7px;
margin: 0;
}
.contentbottom p {
margin: 0;
}

.contentbottom span {
float: right;
}



.content {
margin: 0 16px 0 10px;
}
.content ul {
margin: 0;
padding: 0;
}

.content li {
list-style-type: none;
margin: 0 0 0 3px;
background: url('blt.gif') no-repeat;
padding: 0 0 4px 20px;
}

.text {
border: 1px solid #303030;
background: #ffffff;
height: 15px;
font-size: 11px;
width: 360px;
color: #000000;
}

.categoryselect {
background: #ffffff;
font-size: 11px;
color: #000000;
}

.select {
background: #ffffff;
font-size: 11px;
color: #000000;
}

.setperpageselect{
background: #ffffff;
font-size: 11px;
color: #000000;
}
 
.textarea {
border: 1px solid #303030;
font-size: 12px;
width: 360px;
color: #000000;
}

.textpy {
border: 1px solid #303030;
height: 15px;
background: #ffffff;
font-size: 11px;
width: 80px;
color: #000000;
}

.captcha {
border: 1px solid #303030;
background: url('loader.gif') no-repeat center;
}

#copyright {
text-align: left;
white-space: nowrap;
}
#copyright br {
display: none;
}


.fbox {
border: 1px solid #990000;
padding: 10px;
background: #f9fcf5;
margin: 5px 5px 10px 5px;
}

.lbox {
margin: 0 5px 25px 5px;
}

.footer {
background: url('footer.bg.gif') repeat-x top;
color: #FFFFFF;
height: 37px;
margin: 0 0 15px 0;
}
.footer p {
margin: 0;
padding: 11px 0 0 10px;
background: url('footer.left.gif') no-repeat;
height: 26px;
}
.footer h3 {
background: url('footer.right.gif') no-repeat right;
height: 26px;
float: right;
margin: 0px;
padding: 11px 10px 0 0;
font-weight: normal;
}
.footer a {
color: #FFFFFF; text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
.pagingstats {
color: #000000;
font-size: 11px;
margin: 0 0 10px 0;
padding: 0;
}
.pagingstats p {
margin: 0;
padding: 2px 0 0 0;
}

.pagingstats h3 {
float: right;
font-weight: bold;
margin: 0;
font-size: 11px;
}

.pagingstats a {
font-size: 11px; color: #990000; text-decoration: none;
}
.pagingstats a:hover {
text-decoration: underline;
}

.colorborder {
border: 1px solid #000000;
margin: 0 4px 0 4px;
}

.nav {
color: #000000;
font-size: 11px;
font-weight: bold;
margin: 0 0 10px 0;
padding: 0;
}
.nav p {
margin: 0;
padding: 2px 0 0 0;
}

.nav h3 {
float: right;
margin: 0;
font-size: 11px;
}

.nav a {
font-size: 11px; color: #990000; text-decoration: none;
}
.nav a:hover {
text-decoration: underline;
}

form {
Margin: 0;
}


.new {
font-size: 9px;
padding: 0 0 0 4px;
color: #FF0000;
}

.small, .small a {
padding: 0px;
margin: 0px;
color: #000000;
font-weight: normal;
font-size: 7pt;
text-decoration: none;
}

.os {
color: #FF9500;
font-weight: bold;
}
.os a {
color: #FF9500; font-size: 11px; text-decoration: none;
}
.os a:hover {
text-decoration: underline;
}

.design {
color: #FFEE00;
font-weight: bold;
}
.design a {
color: #FFEE00; font-size: 11px; text-decoration: none;
}
.design a:hover {
text-decoration: underline;
}

<!-- smilie mod{  }
.smilie {
  background-color: transparent;
  background-repeat: no-repeat;
  border: none; cursor:hand;
}


28
Hi i need some one who can fix me some mods..

1. I have installed the Mod [url ="http://www.4homepages.de/forum/index.php?topic=3978.msg154058#msg154058"]Avatar Mod[/url] Im having following problems with it..
   1.1
 User cant upload the avatar. when i tried uploading a pic. it gave me the following message.

Code: [Select]
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/haider/public_html/directory/includes/upload.php on line 289
so i temporarily disabled the upload function for users. THey can only choose the available avatar
   1.2
 i want to show avatar in in left box shown in attached file.. please check "avatar.png" file.

2. Resizing the Image/Thumbnail.
 
   2.1
i want a mod or do any function which auto resize the thumbnail to what ever size i define in ACP.
   2.2
Function to resize pictures to width defined in ACP.
   2.3
Function to resize pictures to width defined in ACP.

3. Auto-Thumbnailer/check new images/Auto-Image-Resizer in ACP is not showing images on shearch.. i mean it dont show any results..even i have images and thumbnails??

4. Install mod for male and female function so users can select their gender during registrations and also can edit it in edit profile..

i can pay $15  in Moneybookers.

Please only reply if you can do fix my above problems..and if you dont understand on any problem i specified..please dont hesistate to ask..

Please reply soon..

i was trying my best to fix and add features..but im short on time..and i have alot of university assigments and presentations to work on..or i would have tried it my self..

Looking forward to your replies.

Best Regards..
Haider

29
i want to limit the user that they cant upload the picture more then the specified size..


also if possible please explain how to auto resize the pics..that if a user uploads a big picture (HD size)
so it auto resizes it to the defined size by me..

Please reply..
Looking forward to solutions

Best Regards,
Haider

30
Hi i want to do the editing of form layout..
The Form Layout is looking terrible now..i want it set is ..do little aligning etc..

but i dont know in which file i can find the coding for user profile account..

please see the thumbnail of the form i want to do the editing..



==========================

ok no problemo...i found it..
i guess its member_editprofile.html

Any ways thanks..

Pages: 1 [2] 3