vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Statistics Modifications - Dream's Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=140812)

Dream 03-01-2007 09:04 PM

We are post brothers now, with our souls linked for all eternity =:O

Tom_S 03-01-2007 09:07 PM

Problem. When you click any of the links they take you outside of the board to the root directory of the website...well in my case it does.

Post Bruddas! Cool! ;)

Tom_S 03-01-2007 09:16 PM

Fixed. In statistics.php find:
Quote:

function statistics_make_user_link($user) {
$name = fetch_musername($user);
return "<a href=\"$vboptions[bburl]./member.php?u=$user[userid]\">$name</a>";
Where it has /member.php you need to change it to ./member.php and the next two after..

You know what I mean?

Dream 03-01-2007 09:17 PM

Fixing now.

Can you still PM me your statistics.php address?

Tom_S 03-01-2007 09:19 PM

Cool...that means you knew what I meant....I was doing that quick because I had something going on. I was going to just paste the whole thing but didn't think that was a good idea.

Dream 03-01-2007 09:27 PM

Sorry, actually I don't think I understood. Your $vboptions[bburl] shouldn't end with a trailing slash, and it should be the address of your forum.

Tom_S 03-01-2007 09:40 PM

Okay...You have this:
Quote:

function statistics_make_user_link($user) {
$name = fetch_musername($user);
return "<a href=\"$vboptions[bburl]/member.php?u=$user[userid]\">$name</a>";
}
It needs to be this:
Quote:

function statistics_make_user_link($user) {
$name = fetch_musername($user);
return "<a href=\"$vboptions[bburl]./member.php?u=$user[userid]\">$name</a>";
}
Same thing with the function statistics_make_thread_link & the function statistics_make_post_link

Dream 03-01-2007 09:44 PM

Ok I got that, I didn't understand why its needed. Sorry but that would make

http://www.domain.com./member.php

Tom_S 03-01-2007 09:51 PM

Don't know what to tell ya but that is what it took to make it work on mine. Other wise if I clicked any link I got a 404 error. Let's say I was clicking a user link
(example) this is user anonymous and the link would be http://mysite.com/member.php?u=2 now after I did the edit that same link shows as http://mysite.com/forum/member.php?u=2 which then works.

Tom_S 03-01-2007 09:55 PM

No matter...I am calling it a day. That is what made it work for me so if anyone else has the same issue that will work for them. If not and the clean install works then that is the kewlest also ;)


All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01339 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete