vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Statistics Modifications - Woopra for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=174934)

kpierce 11-29-2008 10:41 PM

Are all your forum files on the root directory or do you have them in a sub directory on your server? I'm not an expert but I think he's saying that he has his forum files in a folder titled "forum" rather than all the files sitting right in the root. However, I have all my files in the root and having just "/image.php?" doesn't work, not sure why.

Jaxel 11-29-2008 11:26 PM

kpierce... I think its because we dont store avatars in the database... my avatars are called up by their exact file path, not through image.php.

Anyway... is there any way to get this program to referr the actually QUERED URL of a page? Lots of pages are listed as /albums.php instead of something like: /album.php?albumid=12&pictureid=187

Without the query string, I really dont get any of the information I need.

Brandon Sheley 11-30-2008 12:12 AM

Quote:

Originally Posted by Jaxel (Post 1675443)
kpierce... I think its because we dont store avatars in the database... my avatars are called up by their exact file path, not through image.php.

Anyway... is there any way to get this program to referr the actually QUERED URL of a page? Lots of pages are listed as /albums.php instead of something like: /album.php?albumid=12&pictureid=187

Without the query string, I really dont get any of the information I need.

they all show the actual path for me, but it may be because vbseo is installed :confused:

Jaxel 11-30-2008 12:13 AM

I use TFSEO... so only the forums are actual links. Everything else is queried. VBSEO is too expensive.

Jaxel 11-30-2008 11:00 AM

Okay... I use file structure avatars (not database), so I've diagnosed two problems with this mod... The following code is broken in TWO places:

PHP Code:

if (has_avatar($vbulletin->userinfo['userid'])) 
{
    
$woopra_avatar_url $woopra_homeurl "/image.php?u=" $vbulletin->userinfo['userid'];


Firstly, the has_avatar function doesn't work. The if statement ALWAYS fails 100%. If you get rid of the if statement, then image.php fails because the images are not being read from the database, they should be read from the file structure. So I replaced the above lines with the following, and it worked great:

PHP Code:

require_once(DIR '/includes/functions_user.php');
$woopra_avatar_url fetch_avatar_url($vbulletin->userinfo['userid']);
$woopra_avatar_url $woopra_homeurl '/' $woopra_avatar_url[0]; 


EagleNick 12-06-2008 09:14 PM

I'm a bit lost. In the options for this modification, it asks for the Website ID. So I go to my Woopra account, and it does not give me the website ID. So I asked at their support forums, and they say the website IDs were dropped in favor of APIs. Here's the thread:
http://www.woopra.com/forums/topic/f...-my-website-id

So now how do I setup my vB installation to work with Woopra? Do I just place my API key in the "Website ID" box instead?

kpierce 12-08-2008 12:46 AM

Nope, the API key isn't needed either. Just make up a number for website ID in the options menu. Be sure to paste the required script in the footer template too.

EagleNick 12-08-2008 10:39 PM

Quote:

Originally Posted by kpierce (Post 1680647)
Nope, the API key isn't needed either. Just make up a number for website ID in the options menu. Be sure to paste the required script in the footer template too.

Will filling in a random number even do anything? I don't understand how this mod will work if it doesn't know how to "connect" with my Woopra account...?

kpierce 12-09-2008 04:26 AM

Filling in the random number needs to be done for the usernames to show up in Woopra. I can't tell ya how it all works, just what I did to make it work.

majorxp 12-13-2008 04:31 AM

I edited the code and it works on 3.6.0 as well...

Great mod!


All times are GMT. The time now is 11:25 AM.

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.01391 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (2)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