vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - vBulletin PhpFoX Integration (https://vborg.vbsupport.ru/showthread.php?t=197384)

Anyoldname 01-14-2009 08:04 PM

Quote:

Update Forums Cache

Go to: Forums & Moderators >> Forum Manager >> Then edit the forum called Main Category. Save that forum without making any changes.

Update Forums Counters

Go to: Maintenance >> Update Counters Then rebuild the following:

Rebuild Thread Information

and

Rebuild Forum Information

Enable Plug-In System

Go to: vBulletin Options >> vBulletin Options >> Plugin/Hook System

Change the setting:

Enable Plugin/Hook System
I definitely did these. Will it hurt if I do them again now?

Ziki 01-15-2009 03:35 AM

I guess no.

Anyoldname 01-15-2009 06:55 AM

Thanks for the reply, I tried them all again, but nothing has changed, still only one user.. Me.
Also, I notice that if I view last post right from the forum index, the thread will still be marked as unread unless I access it by going to the forum, then clicking on the thread title.

Edit: it just updated itself after somebody logged in. Seems to be ok now :)

Anyoldname 01-15-2009 08:41 AM

Sorry, ignore the edit above, I spoke too soon.
I have to do those last installation steps again every time somebody new registers otherwise the forum stats won't pick them up, and they will still only be picked up after they next login.
The issues in post #9 remain with every new user & every new post until I rebuild the forum counters & thread informaion.

hollosch 01-15-2009 10:19 AM

phpfox2 is in alpha - will this add-on be compatible to this new version, when it's stable ?

Ziki 01-15-2009 11:48 AM

No this is only compatible with 1.6.A version for v2 will be made later.

@Anyoldname

Then enable the plugin on forumhome_complete.It should be listed in more info in Readme,

Anyoldname 01-15-2009 01:11 PM

Brilliant, thanks Ziki! The last registered user now shows. However new posts remain marked unread as new unless you access them by first going to the forum, then clicking the thread title. Looks like a cookies problem, but I can't figure out what it could be.

Edit: Although the latest user is showing correctly, the counter still shows only 4 registered members, when there are now 7.

Ziki 01-16-2009 10:24 AM

Well you can replace the entire content of that plugins with this (from the 2.0.3 version) but it is deprecated code but should fix the problem:

Code:

$totalQuery = mysql_query("SELECT COUNT(*) AS count FROM `". App::getT('user') ."`");
$totalFetch = mysql_fetch_array($totalQuery);
$numbermembers = $totalFetch['count'];

$userQuery = mysql_query("SELECT `user`,`id` FROM `". App::getT('user') ."` ORDER BY `signup` DESC");
$userFetch = mysql_fetch_array($userQuery);
$newusername = $userFetch['user'];

$newuserid = $userFetch['id'];

$oSrvLog = &App::getModuleService('Log', 'Log');
$aItem = $oSrvLog->getSiteStat();
$numberregistered = $aItem['online_member'];
$numberguest = ($aItem['online_all']-$aItem['online_member']);
$totalonline = $aItem['online_all'];

Btw what phpfox version are you using?

Anyoldname 01-16-2009 01:03 PM

Great, I'll give that a try. I'm using the latest 2.1.6 phpFox with VB 3.8.0

Many thanks for your help, very much appreciated. :)

Anyoldname 01-16-2009 04:10 PM

Hi, sorry which file to I put this code into?


All times are GMT. The time now is 04:30 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.01145 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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