techgin
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: Qtranslate pluginDinally 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_textand some CSS modification, then everything goes well.
Forum: Fixing WordPress
In reply to: Get all users onlineI 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
In reply to: Get all users onlineno not registered users, but currently users online.
Online users names that are in web page at this moment
Forum: Fixing WordPress
In reply to: Get all users onlinesry not gel, but get
My bad
Forum: Themes and Templates
In reply to: Get New , almost new and almost almost new postthx, it`s very helpful
Viewing 5 replies - 1 through 5 (of 5 total)