Title: techgin's Replies | WordPress.org

---

# techgin

  [  ](https://wordpress.org/support/users/techgin/)

 *   [Profile](https://wordpress.org/support/users/techgin/)
 *   [Topics Started](https://wordpress.org/support/users/techgin/topics/)
 *   [Replies Created](https://wordpress.org/support/users/techgin/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/techgin/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/techgin/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/techgin/engagements/)
 *   [Favorites](https://wordpress.org/support/users/techgin/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Qtranslate plugin](https://wordpress.org/support/topic/qtranslate-plugin-1/)
 *  Thread Starter [techgin](https://wordpress.org/support/users/techgin/)
 * (@techgin)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/qtranslate-plugin-1/#post-3015799)
 * Dinally I have got it very simple but effective:
 *     ```
       case 'both':
       echo '<ul class="qtrans_language_chooser" id="'.$id.'">';
       $c = 1;
       	foreach(qtrans_getSortedLanguages() as $language) {
   
       	if($c >= 3)
       	{		}
       	else
       	{
       	echo '<li';
       	if($language == $q_config['language'])
       	echo ' class="active"';
       	echo '><a href="'.qtrans_convertURL($url, $language).'"';
               echo ' class="qtrans_flag_'.$language.' qtrans_flag_and_text" title="'.$q_config['language_name'][$language].'"';
               echo '><span>'.$q_config['language_name'][$language].'</span></a></li>';
   
       	$c = $c + 1;
       	}
       }
               echo "</ul><div class=\"qtrans_widget_end\"></div>";
       break;
       ```
   
 * Others language showing with menubar plugin. Just insert
 * `URL ?lang=RU CSS class qtrans_flag_RU qtrans_flag_and_text`
 * and some CSS modification, then everything goes well.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get all users online](https://wordpress.org/support/topic/get-all-users-online/)
 *  Thread Starter [techgin](https://wordpress.org/support/users/techgin/)
 * (@techgin)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/get-all-users-online/#post-2987040)
 * I made this like, but don`t work
 *     ```
       $usersonline = $wpdb->get_results("SELECT user FROM v2_chat_auth ");
   
       		global $user_ID;
       		echo $user_ID;
   
       		foreach ($usersonline as $online)
       		{
       			if(is_user_logged_in()) :
       				get_currentuserinfo();
       				$viskas = $current_user->display_name;
       			else :
       				/* offline stuff */
       			endif;
       		}
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get all users online](https://wordpress.org/support/topic/get-all-users-online/)
 *  Thread Starter [techgin](https://wordpress.org/support/users/techgin/)
 * (@techgin)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/get-all-users-online/#post-2986931)
 * no not registered users, but currently users online.
 * Online users names that are in web page at this moment
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get all users online](https://wordpress.org/support/topic/get-all-users-online/)
 *  Thread Starter [techgin](https://wordpress.org/support/users/techgin/)
 * (@techgin)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/get-all-users-online/#post-2986927)
 * sry not gel, but **get**
 * My bad
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Get New , almost new and almost almost new post](https://wordpress.org/support/topic/get-new-almost-new-and-almost-almost-new-post/)
 *  Thread Starter [techgin](https://wordpress.org/support/users/techgin/)
 * (@techgin)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/get-new-almost-new-and-almost-almost-new-post/#post-2970992)
 * thx, it`s very helpful

Viewing 5 replies - 1 through 5 (of 5 total)