ICQ removed
authorniekt0 <niekt0@kyberia.cz>
Tue, 2 Nov 2010 23:32:31 +0000 (00:32 +0100)
committerniekt0 <niekt0@kyberia.cz>
Tue, 2 Nov 2010 23:32:31 +0000 (00:32 +0100)
doc/TODO
wwwroot/inc/eventz/configure_icq.inc [deleted file]
wwwroot/inc/smarty/node_methodz/function.get_user_email_icq_www.php
wwwroot/inc/ubik.inc

index 580ed2d4cca6758b3e1bc106c19f6de5bb2b9d84..b8a60ebed6d7ed76257987b9669d878366a2939b 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,11 +1,13 @@
 - User mail is not working
 
+- Userinfo is not working
+ ()
+
+- Uploading of datafiles is not working
+
 - Registration process is not working
   (rewrite sending of reg. mails)
 
-- Cron scripts are not executed (most of them should be OK now)
-  (no automatic logouts, no K generation, ...) 
-
 - fix ALL sql injections
 
 - remove absolute paths from all source files (!) (over 50)
diff --git a/wwwroot/inc/eventz/configure_icq.inc b/wwwroot/inc/eventz/configure_icq.inc
deleted file mode 100644 (file)
index a786541..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-function configure_icq() {
-    global $db,$error,$node;
-    $node_id=$node['node_id'];
-    $user_id=$_SESSION['user_id'];
-    if ($node['node_permission']=='owner') {
-        if(!empty($node_id)) {
-            if($node_id == $user_id) {
-                $user_icq=addslashes($_POST['user_icq']);
-                $q="update users set icq='$user_icq' where user_id='$node_id'";
-                $db->query($q);
-            }
-        }
-    }
-return true;
-}
-?>
\ No newline at end of file
index 886626d53e739554fb4ff91276d946b42265d576..dbaf04c9f40ecc8c15261334fc739ee149303c69 100644 (file)
@@ -2,14 +2,16 @@
 function smarty_function_get_user_email_icq_www($params,&$smarty) {
     $user_id = $params['user_id'];
     global $db;
-    $q="select users.email,icq,www from users where users.user_id=$user_id";
+//    $q="select users.email,icq,www from users where users.user_id=$user_id";
+    $q="select email from users where user_id=$user_id";
+
     $set=$db->query($q);
     $set->next();
     $email=$set->getString('email');
-    $icq=$set->getString('icq');
-    $www=$set->getString('www');
+//    $icq=$set->getString('icq');
+//    $www=$set->getString('www');
     $smarty->assign('get_user_email',$email);
-    $smarty->assign('get_user_icq',$icq);
-    $smarty->assign('get_user_www',$www);
+//    $smarty->assign('get_user_icq',$icq);
+//    $smarty->assign('get_user_www',$www);
 }
-?>
\ No newline at end of file
+?>
index 0b896bbbd576f0e092b17a28ee1d05ad58d14895..15f4d9d24c62f7d6e195f6080fae64b372462434 100644 (file)
@@ -9,9 +9,9 @@ class ubik {
                global $db;
                $user_info=$_POST['user_info'];
                $login=$_POST['login'];
-               $user_www=$_POST['user_www'];
+//             $user_www=$_POST['user_www'];
                $email=$_POST['email'];
-               $icq=$_POST['user_icq'];
+//             $icq=$_POST['user_icq'];
 
                $text=nodes::processContent($user_info)."<br><br>";
                $node_name="user $login registration";
This page took 0.170874 seconds and 4 git commands to generate.