Hallo,BNa hat geschrieben:11 + [twe - ele > twelve - eleven > (12 - 11)] + 13 = result_as_word px:Knowhow-Sauger hat geschrieben:11 + twe - ele + 13 = result_as_word px:twentyfive px
Edit: Ist ja normalerweise Donators Area, doch da es eine neue V2 gibt, machen wir mal eine Ausnahme fürde
:
Static global logged in userlist V2
With this snippet you get a template variable, which shows a global logged in userlist everywhere as on Index
Normally the logged in userlist display is different in footer, if you go to forum, topic or wherever.
Credit: BNa
Screen: open
includes/functions.php
find
before addCode: Alles auswählen
// The following assigns all _common_ variables that may be used at any point in a template. $template->assign_vars(array(
findCode: Alles auswählen
// Static global logged in userlist V2 / BNa / 2012 $online_users_glob = obtain_users_online(0, $item); $user_online_strings_glob = obtain_users_online_string($online_users_glob, 0, $item); $online_userlist_glob = $user_online_strings_glob['online_userlist']; // Static global logged in userlist V2 / BNa / 2012
after addCode: Alles auswählen
'LOGGED_IN_USER_LIST' => $online_userlist,
Now you can useCode: Alles auswählen
// Static global logged in userlist V2 / BNa / 2012 'LOGGED_IN_USER_LIST_GLOB' => (isset($online_userlist_glob)) ? $online_userlist_glob : false, // Static global logged in userlist V2 / BNa / 2012
{LOGGED_IN_USER_LIST_GLOB}
in every template file
@ example:
open
styles/prosilver/template/overall_footer.html
find
after addCode: Alles auswählen
<div id="page-footer">
Dont forget to clear all board- and browser-caches after each template changeCode: Alles auswählen
<!-- IF SCRIPT_NAME !== 'index' --> <div class="navbar"> <div class="inner"><span class="corners-top"><span></span></span> {LOGGED_IN_USER_LIST_GLOB} <span class="corners-bottom"><span></span></span></div> </div> <div> </div> <!-- ENDIF -->
sehr schöne Userliste!

Kann mir jemand sagen, wie ich die User untereinander angezeigt bekommen kann, statt in einer Reihe mit Komma getrennt?
Danke
