• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[Product] XenFans.com - Popular Content

  • Thread starter Thread starter Floris
  • Start date Start date
Status
Not open for further replies.
Having an issue with this. The "most liked" posts function seems to work fine, but the "most viewed threads" and "threads most replied to" and "most popular users" are not. It only appears to be pulling the most viewed and most replied to threads from May 19, 2009 (our launch date). Then the most popular users are only users that signed up on May 19, 2009. We have over 5 million posts and 11,000 users so not sure why it would only pull from those days. Any suggestions on how to get this to work? Here is the link:

http://www.the-mainboard.com/popular
 
Mhm, interesting. Thanks for reporting. And at this point I do not have a solution for you.
 
Follow the installation instructions, upload the files before you import the .xml
And make sure the XenFans directory is within library/
 
Floris, is there a way to get the 'boxes' shifted around? In other words, I'm trying to have the posts with the 'most views' on the left taking up the entire column, the one with the 'most comments' on the top right and the one with the most 'likes' at the bottom right.

Is this possible?
 
Not in the current version. But we're testing with a new version where it's somewhat possible to tell where a box should go (top / bottom , left / right).

You could of course edit the template of the plugin and manually move the boxes around by rewriting the html/css. Though that's more complex.
 
What about this error?

Code:
Division by zero
 
XenForo_Application::handlePhpError() in XenFans/Popular/Model/Popular.php at line 167
XenFans_Popular_Model_Popular->getMostPopularUsers() in XenFans/Popular/ControllerPublic/Index.php at line 25
XenFans_Popular_ControllerPublic_Index->actionIndex() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/rockoids/public_html/forum/index.php at line 13

Answers?
 
What about this error?

Code:
Division by zero
 
XenForo_Application::handlePhpError() in XenFans/Popular/Model/Popular.php at line 167
XenFans_Popular_Model_Popular->getMostPopularUsers() in XenFans/Popular/ControllerPublic/Index.php at line 25
XenFans_Popular_ControllerPublic_Index->actionIndex() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/rockoids/public_html/forum/index.php at line 13

Answers?

If you get the division by zero error, you simply don't have enough users, enough posts, enough likes and enough trophies. Make some content, and rebuild your caches and run the cron entries to rebuild counters. This add-on is meant for active web sites.
 
I've the same error and I have a lot of content and users, caches & counters have been rebuilt

Using 1.1 and migrated from VB3


Screen%20Shot%202011-11-23%20at%2010.40.13%20AM.png


Code:
Server Error
 
Division by zero
 
XenForo_Application::handlePhpError() in XenFans/Popular/Model/Popular.php at line 167
XenFans_Popular_Model_Popular->getMostPopularUsers() in XenFans/Popular/ControllerPublic/Index.php at line 25
XenFans_Popular_ControllerPublic_Index->actionIndex() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/mydomain/public_html/xenforotest/index.php at line 13
 
Has content been liked?
Do you have trophies? And have users received trophies?
 
It can't find it, so it's not there. The files are not uploaded to the right directory. Can you show an expanded tree overview of the uploaded files?
 
I've loved to see BBCode filtered out of the excerpts. Other than that, great job! We're using it on our project's site along with a few of your other addons.
 
Status
Not open for further replies.
Top Bottom