• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Random media no longer shown ..

#1
.. after upgrade to 1.0.5a

Already switched off add-ons, checked with default style, rebuilt thumbnails ..

I've also checked this thread in the resolved bugs section

https://xenforo.com/community/threads/random-media-block-only-appears-randomly.96920/

and did the things suggested there.

Nothing helped so far. Random media in the media block on the forum index page does not show images.

Anything else I need to do after the 1.0.5.a upgrade or things I can check ?

Thanks
 

Chris D

XenForo developer
Staff member
#2
Some changes were made in XFMG 1.0.5 relating to the random media block, though everything should have been made "ok" during the upgrade.

First, could you check to make sure there are no errors listed in your Server Error Log in the Admin CP?

If there are none, please go to Admin CP > Tools > Cron Entries and run this Cron Entry: "Build XenForo Media Gallery Random Media Cache"

Let me know if that solves the problem.
 

Chris D

XenForo developer
Staff member
#4
It's new in XFMG 1.0.5. It shouldn't have needed to be run manually, so please do let us know if it goes wrong again.
 
#5
Hmm .. the images shown were always the same. Now I've executed the cron entry again and the images do not show any longer. Additional attempts to run the script did not help either. Thanks for further suggestions.
 
#6
I think I am up to something. It seems to depend on the category selected in the XFMG settings for random/new media blocks.
I do have a lot of categories and sub-categories. And I want to have random images from all categories. Thus I selected the highest main category.
The block with random images only shows up when one of the most recent categories is selected directly in the XFMG settings.
Could it be that sub-categories are not taken into account at the moment ?
 

Chris D

XenForo developer
Staff member
#7
And I want to have random images from all categories. Thus I selected the highest main category.
If you only select one category, only images from that category will be shown.

If you want to show images from the child categories, you need to select the child categories as well, or, at least, the specific child categories you want to show images from.
 
#8
Counted them while selecting. Around 125. ( "Select all categories" setting would be appreciated :) )But it was worth it. Now it seems to work. I got random images from all categories.
 
#9
What might cause the random media gallery bar on the front page to stop operating? Ours is usually right above the notices area and it just disappeared!
 

Chris D

XenForo developer
Staff member
#10
Is it enabled and does it have categories selected in the options?

Admin CP > Applications > Gallery Options > Block Options
 
#11
All are checked except Show Gallery Statistics Block.

How do I know it's enabled? And I'm wondering if this happened because a friend did the latest upgrade? Another friend added a widget for the bar, IIRC.
 

Chris D

XenForo developer
Staff member
#12
If it's set to show in the sidebar and you have widget framework enabled then that is why: widget framework overwrites the content of the sidebar.
 

Chris D

XenForo developer
Staff member
#17
It might be easier if I can log in and take a look for you.

If you submit a ticket from your customer area with your admin CP log in, I will take a look.

I'm sure there's likely a quick solution.