i have this hack which i translate it for u which give u to add some pages to ur forum with Html codes emmm i want to make it for 3.5.0 but dont know how ????
this hack was maden by some one called fnan4arab i search on him here in ur members ship but i dont foud him ... so i put it to find help 1
any way here it is
add to ur database this Sql
PHP Code:
CREATE TABLE vbotherpage(
id int(10) unsigned NOT NULL auto_increment,
name varchar(50) NOT NULL default '',
descr varchar(50) NOT NULL default '',
content text NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
add this templates to ur style
give it otherpage name:-
PHP Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title>$vboptions[bbtitle] - extension pages</title>
$headinclude
</head>
<body>
$header
$navbar
<!-- main -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead" width="50%" align="center"><span class="smallfont"><b>Name</b></span></td>
<td class="thead" width="50%"><span class="smallfont"><b>discription</b></span></td>
</tr>
$thepage
<tr>
<td class="tfoot" colspan="2" align="center"><span class="smallfont"><b>$vboptions[bbtitle]</b></span></td>
</tr>
</table>
</td></tr></table>
<!-- /main -->
$footer
</body>
</html>
add this template and give it otherpage_bit name
PHP Code:
<tr align="center">
<td class="alt1Active" colspan="0" align="center">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td>
<a href="?id=$row[id]"><b>$row[name]</b></a></td>
</tr></table>
</td>
<td class="alt2"><span class="normalfont">$row[descr]</span></td></tr>
now go to ur admincp/index.php and make those changes to it .
find
PHP Code:
// cache nav prefs
can_administer();
construct_nav_spacer();
add after it :-
PHP Code:
// Other Page // extenstion pages By fnan4arab
construct_nav_option("add a new page", "opageadmin.php?do=add");
construct_nav_option("edit page", "opageadmin.php?do=edit");
construct_nav_group("extenstion pages");
upload the file opageadmin.php to ur /forum/admincp
upload the file page.php to ur /forum .
http://www.domain.com/forum/page.php