Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Frappr Member Map: Better Page Details »»
vB Frappr Member Map: Better Page
Version: 1.00, by |Jordan| |Jordan| is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 03-31-2008 Last Update: Never Installs: 5
 
No support by the author.

Hack name: vB Frappr Member Map: Better Page
Version: 1.0
Author: |Jordan|

Note: You need vB Frappr Member Map 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

Instructions

Edit "custom_membermap" (or whatever you named the template). Delete everything and replace with the following:

PHP Code:
$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:

PHP Code:
Options All -Indexes
Options 
+FollowSymlinks
RewriteEngine on

RewriteRule 
^membermap.phpmisc.php?do=page&template=membermap$[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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 04-01-2008, 12:10 AM
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, il install it on my test forum and see what it looks like
Reply With Quote
  #3  
Old 04-03-2008, 12:11 AM
Lombardo Lombardo is offline
 
Join Date: Dec 2007
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldn't get the shorter url to work :S
Reply With Quote
  #4  
Old 04-08-2008, 05:00 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you name the template custom_membermap? If you named it something else, than change the code in red below to whatever you named your template (without the "custom_"):

Options All -Indexes
Options +FollowSymlinks
RewriteEngine on

RewriteRule ^membermap.php$ misc.php?do=page&template=membermap$1 [L]
Reply With Quote
  #5  
Old 04-08-2008, 10:42 AM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |Jordan| View Post
Did you name the template custom_membermap? If you named it something else, than change the code in red below to whatever you named your template (without the "custom_"):

Options All -Indexes
Options +FollowSymlinks
RewriteEngine on

RewriteRule ^membermap.php$ misc.php?do=page&template=membermap$1 [L]

Mine is called custom_membermap yet the shorter url will not work. I copied exactually as you have in your inital post. Any ideas? The longer verison work though, thank you.
Reply With Quote
  #6  
Old 04-08-2008, 02:57 PM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some web hosts may not allow you to create an .htaccess with rewrite rules (they may not even have mod_rewrite installed). I suggest you ask your host if they support it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04114 seconds
  • Memory Usage 2,262KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete