Risultati da 1 a 10 di 23
-
29-10-2006, 04:29 #1
Personalizzare le pagine del vBulletin
Si costruisce la pagina PHP fatta in questo modo :
Codice PHP:<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('GET_EDIT_TEMPLATES', true);
define('THIS_SCRIPT', 'releases');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$navbits = array();
$navbits[''] = 'mia_pagina';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('mia_pagina') . '");');
?>
Codice PHP:$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - Prodotti</title>
$headinclude
<script type="text/javascript" src="./forums/clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="./forums/clientscript/vbulletin_menu.js "></script>
</head>
$header
$navbar
// Start Page
Text
// End Page
$footer
</body>
</html>
-
29-10-2006, 04:32 #2
Volete includere un file dal nome nuovofile.php nel template appena creato ?
Costruite un plugin così fatto ed agganciatelo al global_start :
Codice PHP:ob_start();
include('nuovofile.php');
$products = ob_get_contents();
ob_end_clean();
-
01-11-2006, 20:48 #3
- Data Registrazione
- Sep 2006
- Messaggi
- 8
C'è un esempio del risultato?
-
02-11-2006, 03:25 #4
Dipende da cosa metti nel file da includere, ma questo può essere un risultato, una prova diciamo : http://www.vbulletin.it/prova.php
-
06-11-2006, 23:41 #5
- Data Registrazione
- Feb 2005
- Messaggi
- 113
da dove Si definisce un nuovo template?
-
07-11-2006, 14:10 #6
Sergio, credo che dovrai fare una miniguida passo-passo con immagini ed allegare tutto il materiale. E' molto interessante perfino per me, ma non ho il tempo di provarlo, tranne poi quando mi serve (presto) ...
Ci aiuti?Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
07-11-2006, 14:14 #7Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
07-11-2006, 14:15 #8Giovanni
http://www.trimelli.com/
Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.
-
10-11-2006, 00:17 #9
- Data Registrazione
- Feb 2005
- Messaggi
- 113
Sergio da dove Si definisce un nuovo template?
-
11-11-2006, 16:52 #10
- Data Registrazione
- Apr 2006
- Messaggi
- 8
Discussioni Simili
-
vBulletin 3.6.x Personalizzare le pagine del vBulletin
Di Sergio nel forum VBulletin 3Risposte: 0Ultimo Messaggio: 29-10-2006, 04:29 -
vBulletin 3.0.x Caratteristiche Vbulletin
Di dolomiti nel forum VBulletin 3Risposte: 26Ultimo Messaggio: 19-09-2006, 16:57 -
vBulletin 3.5.4
Di mossss nel forum Annunci & NewsRisposte: 2Ultimo Messaggio: 27-03-2006, 20:28 -
vBulletin 3.0.13
Di mossss nel forum Annunci & NewsRisposte: 2Ultimo Messaggio: 27-03-2006, 20:12 -
Rilasciata vBulletin 3.5.0 'GOLD'
Di mossss nel forum Annunci & NewsRisposte: 1Ultimo Messaggio: 23-10-2005, 16:10
Segnalibri