View Single Post
  #524  
Old 02-27-2006, 01:33 AM
Bhuwan's Avatar
Bhuwan Bhuwan is offline
 
Join Date: Jul 2004
Location: USA
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayvb
I just took out that part of the .xml and from the .htaccess file and it does work (doesn't rewrite the front NEWPOST urls) woohoo. I scrolled down to see that it also didn't rewrite the NEWPOST urls on my xstats hack on the bottom of my site (lists recent posts, new members, top posters) which is good also.

However for some reason hovering over the usernames I saw that they were rather messed up. Some blatanly said other peoples user URLS rewritten, I saw mine for instance on someone elses, etc. I disabled the rewrite thing again to check to see the original .html output for the xstats on the bottom of my site and see it's just a simple member link http://www.420boards.com/member.php?u=1 and they all go to their correct locations.

Once rewritten the usernames on the rest of the site seem to work, but on the xstats I've noticed otherwise. I'll look further into this.

*EDIT* It looks like I see the bug in other places, but the only other place I found so far is the moderators box in a forum where you have several moderators. I can let that one slide somehow, I can disable showing mods if I have to.

Also it looks like when it's happening it's using someone elses rewritten URL and attaching the user ID to the end of an existing persons. For instance. My rewritten URL is this: http://www.420boards.com/u-420kid-1.html but I see another member has this: http://www.420boards.com/u-420kid-1.html4 or http://www.420boards.com/u-420kid-1.html8

Any ideas? As I said you can see instead of their userid in these cases generating their own rewritten url, it uses mine and spits it's own user id to the end.??
Yeah this has been fixed. It was happening because the text was matching
member.php?u=userid

when it should have matched something like
member.php?u=userid'

That';s why you sometimes see a number after the .html -- it wasn't matching the full userid which caused this
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01908 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
  • (1)bbcode_quote
  • (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