Voltar   vBulletin Brasil » Blogs » Blog do B.

Notícias

Blog do B.
Meu blog pessoal no vB-Brasil.
Afinal - como diria Millôr - livre pensar é só pensar!

Avaliar essa Entrada

Mais uma resolvida :)

Postado 28-09-2007 em 19:17 por beduino
Atualizado em 28-09-2007 às 19:22 por beduino
Apesar da turma ter gentilmente deixado passar [rs] o wiki estava estourando o style nas duas laterais.
com o suporte do elfmage do www.nuhit.com o php foi alterado e agora estah ok

Para ver como ficou basta visitar:

http://www.vb-brasil.org/forums/wiki...main-page.html

Alinhado dos dois lados e ok! Ufa...

Codigo alterado no arquivo nuwiki_plugins_showthread.php
Código PHP:
<?php 
 
global $vbulletin$nuwiki$vbphrase$navbits$navbar$show$stylevar$threadid$threadinfo
     
$foruminfo$forumid$spacer_open$spacer_close;
 if (!
$vbulletin->options['nuwiki_enabled'])
  return;
 
 
// enable auto-link preview
 
if ($vbulletin->options['nuwiki_autolinks_enabled'] && $vbulletin->options['nuwiki_autolinks_preview_enabled'])
 {
  global 
$footer;
  
$footer .= '<script type="text/javascript">var g_nuwiki_preview_enabled = true; nuwiki_init();</script>';
 }
 if (!
$nuwiki['viewing_wiki'])
  return;
 
 if (isset( 
$threadinfo['nuwiki_replycount'] ))
  
$threadinfo['replycount'] = $threadinfo['nuwiki_replycount'];   // undo no posts simulation
 // check if we need to show forum headers in SHOWTHREAD
 
if ($vbulletin->options['nuwiki_st_forum_headers_enabled'])
  
nuwiki_generate_forum_headersNUWIKI_FORUMHEADER_ST );
 
 
// rebuild navbar
 
nuwiki_showthread_rebuild_navbar();
 
 
$vboptions =& $vbulletin->options;
 
$bbuserinfo =& $vbulletin->options;
 
$session =& $vbulletin->session->vars;
 global 
$pmbox;
 eval(
'$navbar = "' fetch_template('navbar') . '";');
 
 if (
$nuwiki['staff_debug_mode'])
 {
  global 
$db;
  
print_r$db->shutdownqueries );
  
print_r$nuwiki );
 }
}
function 
nuwiki_showthread_rebuild_navbar()
{
 global 
$vbulletin$nuwiki$vbphrase$navbits$navbar$show$stylevar$threadid$threadinfo
     
$foruminfo$forum$spacer_open$spacer_close;
 **********************************************************************/
ok agora

Total de Comentários 0

Comentários

 
Total de Trackbacks 0

Trackbacks

Entradas Recentes no Blog por beduino

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107