vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forum information displayed in Joomla/Mambo module (https://vborg.vbsupport.ru/showthread.php?t=113227)

stonyarc 04-17-2006 09:57 PM

Quote:

Originally Posted by Ramsesx
Thank you stonyarc, but I used the prefix already:
VB3usertable = vb3_user
VB3sessiontable = vb3_session
url to your vb3 = http://www.mydomain.de/forum
second url = http://www.mydomain.de/forum/member.php
The database user/pw are correct.

I think you may have to change something in the php file for your setup

The table prefix is needed for some other queries to.
I'll change to mod so it will take on the prefix as a setting for all tables

quick fix for you

open mod_vbonlineusers.php

look for
PHP Code:

$my_posts mysql_query("SELECT COUNT(*) as PTOTALFOUND from post"); 
$my_threads mysql_query("SELECT COUNT(*) as TTOTALFOUND from thread"); 
$my_users mysql_query("SELECT COUNT(*) as UTOTALFOUND from user"); 

change to

PHP Code:

$my_posts mysql_query("SELECT COUNT(*) as PTOTALFOUND from vb3_post"); 
$my_threads mysql_query("SELECT COUNT(*) as TTOTALFOUND from vb3_thread"); 
$my_users mysql_query("SELECT COUNT(*) as UTOTALFOUND from $VB3_USERS_TABLE"); 

Save and upload

That should help you out till I make the update

Ramsesx 04-18-2006 12:04 AM

Now it's fine, only the path to the forum is still pointing to http://www.mydomain.de/cms/forums instead http://www.mydomain.de/forum.
Btw. where can I change the phrases?
Thank you very much for your quick support :)

topsoftware 04-18-2006 06:50 AM

thanks
do tou have same dis hack for Movable Type and anader cms

gameslover 04-18-2006 09:36 AM

Hello,

First thanks for this great hack :banana:

However I have a little problem. I have my website under Joomla on a server A and my forum under Vb on a server B. Is there a way to use your hack with that configuration or joomla and vb have to be on the same server ?

Thanks you for your answer :)

imported_predatorkill 04-18-2006 09:43 AM

stony,again is one year ahead!!!

I like it being in the screenshot as a logged in member :D

great work stony!

**installed**

stonyarc 04-18-2006 06:07 PM

Quote:

Originally Posted by gameslover
Hello,

First thanks for this great hack :banana:

However I have a little problem. I have my website under Joomla on a server A and my forum under Vb on a server B. Is there a way to use your hack with that configuration or joomla and vb have to be on the same server ?

Thanks you for your answer :)

If your mysql server vb is setup to accept remote connections and the host from joomla is in the "allowed" IP it should work.

stonyarc 04-19-2006 06:34 PM

Don't forget to update to the latest version.

It's a bit easier to work with

Ramsesx 04-19-2006 08:57 PM

If a user have choosen to be invisible, this module is still showing them.

stonyarc 04-19-2006 11:13 PM

Quote:

Originally Posted by Ramsesx
If a user have choosen to be invisible, this module is still showing them.

The query can be modified to exclude them

anstosser 09-20-2007 10:56 PM

Works fine!!! Thanks!!!


All times are GMT. The time now is 02:56 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.01152 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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