vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Advanced Info Center (https://vborg.vbsupport.ru/showthread.php?t=148444)

Kazenka 05-30-2007 04:18 PM

woa ! Thannks ! Installed !

Dragons76 05-30-2007 05:03 PM

When I put vbphrase [gmt_phrase] $gmt in the footer, I see well the date and the current hour. But if I put it in the template LaCN_InfoCenter, I see nothing ?

LaCN 05-30-2007 05:27 PM

Quote:

Originally Posted by Dragons76 (Post 1257684)
I made the modification asked by the hack gmt-mod, here is what I put and here is what I have in the screen

And in the LaCN_InfoCenter template, i have this :

PHP Code:

  <tr>
                 <
td align=left class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider1"></div>
                 </
td>
                 <
td align=center class="smallfont" width="60%">
                   
Date et Heure courante $vbphrase[gmt_phrase$gmt
                 
</td>
                 <
td align=right class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider2"></div



Try to re-install the GMT mod.
It looks like the template isn't catching the $gmt



~~~~~~~~~~ edit ~~~~~~~~~


See solution in post 28

Dragons76 05-30-2007 05:51 PM

I have re-install the GMT mod.

Here is thus my template with the sentence $vbphrase[gmt_phrase] $gmt

PHP Code:

 <tr>
           <
td class="tcat" align=center>
             <
table border=0 cellpading=0 cellspacing=0 width="100%">
               <
tr>
                 <
td align=left class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider1"></div>
                 </
td>
                 <
td align=center class="smallfont" width="60%">
                   
Date et Heure courante $vbphrase[gmt_phrase$gmt 
                 
</td>
                 <
td align=right class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider2"></div>
                 </
td>
               </
tr>
             </
table>
           </
td

And now, I have it on the forumhome :

It does not still work, except in the footer for example

Sorry for my bad english, but i'm french

LaCN 05-30-2007 05:55 PM

Let me pm u, to ask if I can check ur forum

Dragons76 05-30-2007 06:04 PM

Quote:

Originally Posted by LaCN (Post 1257790)
Let me pm u, to ask if I can check ur forum

You have a MP

Barteken 05-30-2007 06:28 PM

wow looks good going to install this one...

LaCN 05-30-2007 06:37 PM

Quote:

Originally Posted by Dragons76 (Post 1257788)
I have re-install the GMT mod.

Here is thus my template with the sentence $vbphrase[gmt_phrase] $gmt

PHP Code:

 <tr>
           <
td class="tcat" align=center>
             <
table border=0 cellpading=0 cellspacing=0 width="100%">
               <
tr>
                 <
td align=left class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider1"></div>
                 </
td>
                 <
td align=center class="smallfont" width="60%">
                   
Date et Heure courante $vbphrase[gmt_phrase$gmt 
                 
</td>
                 <
td align=right class="smallfont" width="20%">
       <
div class="pagination" id="paginate-slider2"></div>
                 </
td>
               </
tr>
             </
table>
           </
td

And now, I have it on the forumhome :

It does not still work, except in the footer for example

Sorry for my bad english, but i'm french


Solution: see post 30

Dragons76 05-30-2007 07:34 PM

Many thanks. With this modif, it's works

LaCN 05-30-2007 08:28 PM

I found out the real problem, when $gmt isn't showing..

It's because both the GMT and the Info Center plugin are using the same Execution Order in the same hook.
And with some forums, vbulletin loads the Info Center first..
So when it reads the Info Center it sees an unknown variabable $gmt, and skips it.



So, the real solution is to change the Execution Order in the GMT plugin from 5 to 4.
Or change the Info Center to 6.
W/e number u use, the GMT plugin must be lower than the one from the Info Center ;)


All times are GMT. The time now is 02:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01402 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete