View Single Post
  #65  
Old 07-30-2005, 08:35 PM
mfarmerhi mfarmerhi is offline
 
Join Date: Apr 2003
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Caliman! Yea, I'm hyped about it too. Ever since I saw it, I've wanted this hack -- and what, with all the people talking about it in other threads, figured this one just didn't work for 3.0.7 It was when I saw bitg's post that I realized it still might work.

Here's how I got it working on my 3.0.7 board:

1) Download the original hack and all it's files. All of it's still good, still works, HOWEVER

2) In the zip install instructions, where it tell you to make a new user profile field, use bitg's instuctions for 3.0.x here: https://vborg.vbsupport.ru/showpost....7&postcount=56

3) It will work, as is. However, I also wanted the php page (which includes headers and footers, to maintain a consistent look with my site). To do that, I used Erwin's instructions here, BUT ONLY FOR THE TEMPLATE: https://vborg.vbsupport.ru/showpost....4&postcount=45

4) For the actual usermap.php file, you'll have to tweak the one suggested by Erwin. When vB changed to 3.0.7 they changed some of the phrases. usermap.php should now read:
Code:
<?php
error_reporting(7);

require('./global.php');
if (!$bbuserinfo[userid]) {
  print_no_permission();
 }
	eval("print_output(\"".fetch_template("usermap")."\");");
?>
Save that as "usermap.php" and upload it to the forum's root folder (e.g. "http://mysite.com/forum/" )

Bingo! Should work like a charm.

A couple of notes: the usermap.php file I indicate above, prevents un-registered Members from viewing the map. To allow them, delete
Code:
if (!$bbuserinfo[userid]) {
  print_no_permission();
 }
from usermap.php above, before uploading it to your forum's root folder.

The hack saves Member's names, creating a hyperlink from their pin to their user profile.

Very cool.

Oh... unregistered visitors can't see my Map (I've used the unchanged one I presented above), but you should be able to see the .html version. It doesn't include the headers and footers that my php version will include.

I'll leave it up for a few days for those who'd like to see this on a 3.0.7 board: http://totallifesuccess.com/forum/usermap.html
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete