News:

Join the Facebook Fan Page.

Main Menu

Search results for: $user_info

Search order
#1
News and Updates / SMF 2.1 RC4 Released
July 10, 2021, 11:45:38 AM by All Colours Sam
......  column page_hits" error Fixes issues regarding $user_info in background tasks Shows correct file names in  ......
......  with the file name $attachID or 'post_tmp_' . $user_info['id'] . '_' . md5(mt_rand())  // Populate $ ......
...... '])) 2726: { 2727: if ($do_delete || !empty($user_info['id'])) 2728: $smcFunc['db_query']('', ' 2729:  ............  < {int:log_time}' : '') . ($do_delete && !empty($user_info['id']) ? ' OR ' : '') . (empty($user_info['id']) ? ............ , 2731: array( 2732: 'current_member' => $user_info['id'], 2733: 'log_time' => time() - $ ............ , 'url' => 'string'), 2740: array($session_id, $user_info['id'], empty($_SESSION['id_robot']) ? 0 : $ ............ ['id_robot'], time(), 'IFNULL(INET_ATON(\'' . $user_info['ip'] . '\'), 0)', $serialized), ==>2741:  ......
......   Code Select Expand if (!in array(*some number*, $user_info['groups']) & (!in_array(*some other number*, $ ............  Select Expand if (!array_intersect($secondPage), $user_info['groups']) {  // no access  }   Is that an  ............  way to test multiple values against the person's $user_info['groups']?   ......
...... ($sourcedir . '/Subs.php');<br /> global $user_info;<br /> <br /> $shouts = db_query("<br />  ............  LIMIT 10", __FILE__, __LINE__);<br /> <br /> if(!$user_info['is_guest'])<br /> {<br /> echo '<br /> <form  ............ !<br />function Shoutbox()<br />{<br /> global $user_info, $sourcedir, $ID_MEMBER, $db_prefix;<br /><br /> / ............  :P?!<br /> if (!isset($_REQUEST['txtShout']) || $user_info['is_guest'])<br /> redirectexit();<br /><br /> // ......
#6
SMF 2.1.x Support / problem with implode in Subs.php
August 23, 2024, 07:18:55 AM by SamiBH
......  = cache_get_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], $ ......
#7
SMF Coding Discussion / Alerts
November 22, 2024, 03:57:42 PM by mickjav
...... , $message) {  global $smcFunc, $sourcedir, $user_info;    $id = (int) (isset($_REQUEST['id']) ? $ ............ 'content_type' => 'likefans',  'content_id' => $user_info['id'],  'content_action' => 'fans_liked',  )  ............ '  ),  array(  time(),  $owner,  $user_info['id'],  $user_info['name'],  'likefans',   ............  $user_info['id'],  'fans_liked',  0,  $smcFunc[' ......
...... :  test.template Code Select Expand echo Beta($user_info['id']);test.php Code Select Expand function Beta($ ......
......  // Send to the current user, no options.  $to = $user_info['email'];  $subject = $smcFunc['htmlspecialchars' ......
......  the board.  if (!isset($_REQUEST['msg']) || $user_info['username'] != 'userlogin')  spamProtection(' ......
#11
SMF Coding Discussion / Inline SSI login
June 25, 2023, 02:21:16 AM by revgreed
...... ="text" id="user" name="user" size="9" value="', $user_info['username'], '" class="input_text" /><br /> < ......
......  generating a lot of errors in Subs.php where the $user_info array does not exist somehow. I have not  ............ . Any ideas what conditions could possibly cause $user_info to not exist or maybe some critical values like " ......
......  in group 1.  Code Select Expand  if (in_array(1, $user_info['groups'])) { echo '<a href="link>CLICK</a>' ; }   ............  only works if I change it to: if (!in_array(1, $user_info['groups'])).   Ideas as to why? ......
...... ;<br />$height = '220px';<br /> if (!empty($user_info['buddies']))<br /> {<br /> $ ............ ' => 0,<br /> 'buddy_list' => $user_info['buddies'],<br /> )<br />  ............ $width = '220px'; $height = '220px';  if (!empty($user_info['buddies']))  {  $request = $smcFunc['db_query' ............  'reg_member_group' => 0,  'buddy_list' => $user_info['buddies'],  )  );  while ($row = $smcFunc[ ......
#15
Scripting Help / Create topic Background tasks
April 28, 2024, 08:45:07 AM by mickjav
...... 'subject'],  'name' => $user_info['name'],  'poster' => $ ......
#16
...... ']),  );  $posterOptions = array(  'id' => $user_info['id'],  'name' => $_POST['guestname'],  'email'  ............ => $_POST['email'],  'update_post_count' => !$user_info['is_guest'] && !isset($_REQUEST['msg']) && $ ............ ' => isset($_REQUEST['msg']) && !empty($topic) ? $user_info['pa_id'] : $user_info['id'],  'pa_name' => $ ............ '] > $modSettings['edit_wait_time'] || $user_info['id'] != $row['id_member'])  {  $msgOptions[' ............ '] = time();  $msgOptions['modify_name'] = $user_info['name'];  }   // This will save some time...   ......
#17
......  same, and if not, what is the difference.  Is $user_info['id'] = $context['user']['id'] ?  Thank you!! ......
#18
SMF 2.1.x Support / Quick Edit
February 23, 2024, 03:22:12 PM by Alex98
......  <div class="poster-body"><br /> <ul class="user_info">';<br /><br /> // Show the member's custom title, ......
#19
SMF Coding Discussion / SQL, hacking attempt
October 22, 2023, 05:40:45 AM by dodos26
...... , t.is_ratings, t.num_replies,  " . ($user_info['is_guest'] ? "1 AS is_read, 0 AS new_from" : "   ............  mem ON (mem.id_member = m.id_member)";  if (!$user_info['is_guest']) {  $sql .= "  LEFT JOIN  ............  (lt.id_topic = t.id_topic AND lt.id_member = ".$user_info['id'].")  LEFT JOIN jiv_log_mark_read AS lmr  ............  (lmr.id_board = b.id_board AND lmr.id_member = ".$user_info['id'].")";  }   $sql .= "WHERE". ($ ......
#20
SMF Coding Discussion / Modify post "last edit" by name
September 18, 2023, 11:49:55 AM by MobileCS
...... ['modified']['name']) && $message['id_member'] <> $user_info['id'] )  {  $output['modified']['last_edit_text'] ......
Advertisement: