Hej.
här är en MOD jag har gjort egna sider av
vet inte riktigt var jag hitta den men den kan du säkert söka upp.
där är ju en php fil och en tpl fil som är helt tom
kan du inte lägga in din HTML kod där och intergrera den i din hemsida.
Jag har gjort sådana egna sidor med eget innehåll
nu har jag iofs inte samma "portalsida" som du har
så jag vet inte om det går
här kan du se MODen
(utom dom 2 nya filerna som skall vara med)
dallas
(bry dig inte om mina egna Klart anteckningar det är bara sådant jag gör när jag installerar en MOD)
Kod: Markera allt
##############################################################
## MOD Title: Blank Template MOD
## MOD Author: psychowolfman < admin@saskmetal.com > (Brent Upton) N/A
## MOD Description: An easy way to add a blank page to your forum that uses session management
## MOD Version: 1.0.2
##
## Installation Level: (Easy)
## Installation Time: 5 Minutes
## Files To Edit: includes/page_header.php
## viewonline.php
## admin/index.php
## language/lang_english/lang_main.php
## includes/constants.php
##
## Included Files: templates/subsilver/template.tpl
## template.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: Wherever you see TEMPLATE or Template or template, replace with whatever you
## want to call your new page. Add a link to the page if you want to in your overall header.
## TO DO: Add a page in ACP to add/edit/remove new pages automatically. I have no clue how this
## would be done, so if someone that actually KNOWS php and the phpbb standard coding practices
## wants to take this and run, that would be stellar cool.
##
##############################################################
## MOD History:
##
## 2003-10-06 - Version 1.0.0 MOD Submitted and denied based on improper syntax
## 2003-10-09 - Version 1.0.1 Syntax corrected
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------
#
# rename template.php and template.tpl to whatever your new page will be called.
#
# edit the following lines in template.php to point to whatever you called templates/subsilver/template.tpl:
# // assign template
# $template->set_filenames(array(
# 'body' => 'template.tpl')
# );
#
# edit templates/subsilver/template.tpl to have whatever content you want to display.
#
#
copy template.php to template.php
copy templates/subSilver/template.tpl to templates/subSilver/template.tpl
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
#
#-----[ AFTER, ADD ]------------------------------------------ ############ Klart
#
'L_TEMPLATE' => $lang['Template'],
'U_TEMPLATE' => append_sid('template.'.$phpEx),
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
#
#-----[ AFTER, ADD ]------------------------------------------ ############ Klart
#
case PAGE_TEMPLATE:
$location = $lang['Template'];
$location_url = "template.$phpEx";
break;.
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------ ############## Klart
#
case PAGE_TEMPLATE:
$location = $lang['Template'];
$location_url = "template.$phpEx?pane=right";
break;
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------ ############### Klart
#
case PAGE_TEMPLATE:
$location = $lang['Template'];
$location_url = "template.$phpEx?pane=right";
break;
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------ ################ Klar eng +swe
#
$lang['Template'] = 'Template';
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
define('PAGE_GROUPCP', -11);
#
#-----[ AFTER, ADD ]------------------------------------------ ########### Klart
#
define('PAGE_TEMPLATE', -1045);
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM