|Jordan|
03-31-2008, 10:00 PM
Hack name: vB Frappr Member Map: Better Page
Version: 1.0
Author: |Jordan|
Note: You need vB Frappr Member Map (https://vborg.vbsupport.ru/showthread.php?t=174044) for this mod to work as intended.
This is a simple template edit that makes the member map page look more like other pages on your forums. You can see what it looks like here (http://www.gamers-union.net/forums/misc.php?do=page&template=membermap)
Instructions
Edit "custom_membermap" (or whatever you named the template). Delete everything and replace with the following:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="table1">
<tr>
<td class="tcat">$vboptions[bbtitle] - Member Map</td>
</tr>
<tr>
<td class="alt1" colspan="3">
<center>
< ! --------- INSERT YOUR FRAPPER CODE HERE --------- ! >
</td>
</tr>
</table>
$footer
Don't forget to re-add your frapper code.
Also, if you want the page to display a shorter cleaner url (giving the illusion that the page is a seperate php file), use the following trick:
Create/Edit a .htaccess file in the same directory as your "misc.php" file. Add the following code into it:
Options All -Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^membermap.php$ misc.php?do=page&template=membermap$1 [L]
Note: If you named your membermap template something else, be sure to replace "membermap" in the code above with the name of your template (without the "custom_").
Doing this will make going to YOURSITE.com/forum/membermap.php be the same as if going to YOURSITE.com/forum/misc.php?do=page&template=membermap
You can see it in action here (http://www.gamers-union.net/forums/membermap.php)
Version: 1.0
Author: |Jordan|
Note: You need vB Frappr Member Map (https://vborg.vbsupport.ru/showthread.php?t=174044) for this mod to work as intended.
This is a simple template edit that makes the member map page look more like other pages on your forums. You can see what it looks like here (http://www.gamers-union.net/forums/misc.php?do=page&template=membermap)
Instructions
Edit "custom_membermap" (or whatever you named the template). Delete everything and replace with the following:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="table1">
<tr>
<td class="tcat">$vboptions[bbtitle] - Member Map</td>
</tr>
<tr>
<td class="alt1" colspan="3">
<center>
< ! --------- INSERT YOUR FRAPPER CODE HERE --------- ! >
</td>
</tr>
</table>
$footer
Don't forget to re-add your frapper code.
Also, if you want the page to display a shorter cleaner url (giving the illusion that the page is a seperate php file), use the following trick:
Create/Edit a .htaccess file in the same directory as your "misc.php" file. Add the following code into it:
Options All -Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^membermap.php$ misc.php?do=page&template=membermap$1 [L]
Note: If you named your membermap template something else, be sure to replace "membermap" in the code above with the name of your template (without the "custom_").
Doing this will make going to YOURSITE.com/forum/membermap.php be the same as if going to YOURSITE.com/forum/misc.php?do=page&template=membermap
You can see it in action here (http://www.gamers-union.net/forums/membermap.php)