Jump to content
View in the app

A better way to browse. Learn more.

Forum Supreme-Elite

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Bonsoir,

 

Un ami au boulot ma parler de votre communauté et de votre forum et m'a dit que vous pourriez surement m'aidez, donc me voici. :)

J'aurais voulu savoir sous ip board, comment créer un bloc sur le coté (de l'index du forum) avec les informations du débug stats (nombres de requêtes, charge du serveur, temps d'exécution et GZIP activé ou non)

 

ps : en m'inscrivant sur le forum j'ai vu que y'avait un petit bug sur une traduction et que les termes d'inscriptions sont en anglais ^^

post-5961-0-91852100-1335492216_thumb.png

 

Voilà je vous souhaite une bonne soirée en espérant une réponse de votre part.

cela ce passe dans le panel admin dans

 

Paramètres système  >  System Settings  >  System  >  General Configuration

 

il te suffit de mettre au level 1

  • Author
Merci, mais j'aimerais le mettre dans un block sur l'index du forum (la où il y'a les sujets récents etc) et je ne trouves pas comment je peux faire.

Oui, t'edit le skin voila le code qui te concerne:

 

       	 <if test="showdebuglevel:|:$this->memberData['member_id'] and $this->settings['debug_level']">
               <div id='ipsDebug_footer'>
                   <strong>{$this->lang->words['time_now']}</strong> {$footer_items['time']}
                   <if test="lastvisit:|:$this->memberData['member_id'] AND $this->memberData['last_visit']"><strong>{$this->lang->words['you_last_visit']}</strong> {parse date="$this->memberData['last_visit']" format="short"}</if>
                   <strong>{$this->lang->words['stat_exec']}</strong> {$stats['ex_time']} <if test="isfloat:|:is_float($stats['ex_time'])">{$this->lang->words['stats_sec']}</if>
                   <strong>{$this->lang->words['stat_load']}</strong> {$stats['server_load']}
                   <strong>{$this->lang->words['stat_queries']}</strong> {$stats['queries']} <if test="sqldebuglink:|:IPS_SQL_DEBUG_MODE"><a href='{parse url="{$this->settings['query_string_safe']}&debug=1" base="public"}'></if>{$this->lang->words['stats_queries']}<if test="closesqldebuglink:|:IPS_SQL_DEBUG_MODE"></a></if>
                   <strong>{$this->lang->words['stat_gzip']}</strong> {$stats['gzip_status']}
               </div>
           </if>

 

T'en fait ce que tu veux après ;)

  • Author

Bonjour et merci de ta réponse,

 

J'ai fait quelques test mais c'est pas très concluant..

<!-- SIDEBAR BLOCK MANUAL BEGIN -->
<div class='ipsSideBlock clearfix'>
<h3>Informations</h3>
<if test="showdebuglevel:|:$this->memberData['member_id'] and $this->settings['debug_level']">
			<div id='_sbcollapsable'>
				<strong>{$this->lang->words['stat_exec']}</strong> {$stats['ex_time']} <if test="isfloat:|:is_float($stats['ex_time'])">{$this->lang->words['stats_sec']}</if><br />
				<strong>{$this->lang->words['stat_queries']}</strong> {$stats['queries']} <if test="sqldebuglink:|:IPS_SQL_DEBUG_MODE"><a href='{parse url="{$this->settings['query_string_safe']}&debug=1" base="public"}'></if>{$this->lang->words['stats_queries']}<if test="closesqldebuglink:|:IPS_SQL_DEBUG_MODE"></a></if><br />
				<strong>{$this->lang->words['stat_gzip']}</strong> {$stats['gzip_status']}
			</div>
		</if>
</div>
<!-- SIDEBAR BLOCK MANUAL END -->

 

Et j'obtiens sa :

http://img11.hostingpics.net/pics/161353701.png

 

Je comprends pas, j'ai repris ton code, modifier pour la mise en page, j'ai mon débug level à 1...

Tu peux me dire ce qui va pas dans le code ? Car là je suis perdu..

Apparement il ne reconnait pas les valeurs que tu lui demande, comme:

 

{$stats['ex_time']}

 

Cherches de ce côté ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.