Forum Activity for @michael

michael
@michael
07/14/15 08:52:11PM
7,832 posts

File Upload limit, php.ini


Installation and Configuration

Wasn't thinking of the logs in the ACP, but rather the servers logs. Are you able to check them?

On my dev server here, when I login via FTP, or SSH they are found next to the public root folder,

so I have:
/public_html/(Jamroom is here)
/logs/access.log
/logs/error.log

That shows the errors and access as reported by apache.
michael
@michael
07/14/15 08:39:20PM
7,832 posts

profile forums?


Using Jamroom

nope, these are the fourms for "The Jamroom Network"
https://www.jamroom.net/the-jamroom-network/forum

These are the forums for "UltraJam"
https://www.jamroom.net/ultrajam/forum

If you only want to have one forum for the entire site, you can setup a profile in its own quota and make it so that its the only quota allowed to have a forum, like

"Friends of the Mountain Dulcimer" have done here:
http://fotmd.com/forums/forum
michael
@michael
07/14/15 08:36:29PM
7,832 posts

Sharethis bug?


Using Jamroom

http://support.sharethis.com/customer/en/portal/questions/11643334-drupal-facebook-share-error

http://support.sharethis.com/customer/en/portal/questions/11658879-facebook-button-not-showing-images-first-time

They don't seam to think it is a problem.

What we did find though, thanks to @drhurd, is if you have
og:image:width and og:image:height
meta tags on the page then the crawler can render the image immediately.
michael
@michael
07/14/15 02:52:57AM
7,832 posts

Combined Videos Category Search


Design and Skin Customization

gary.moncrieff:....What I am having trouble with is the category search. How does one get a combined list of categories across Video and Youtube and list them so there is no duplicates....

That's what that code above does. It filters the list of categories so there are no duplicates.
michael
@michael
07/14/15 02:48:42AM
7,832 posts

Error: Offsite media downloads are blocked


Installation and Configuration

It looks like the function fails if the $_SERVER['HTTP_REFERER'] is not set.

I've managed to get round it by setting it if its not set, in:
/data/config/config.php
if(!isset($_SERVER['HTTP_REFERER'])){
  $_SERVER['HTTP_REFERER'] = 'your-domain-here.com';
}
Along with ALLOW_ALL_DOMAINS allows it to work, but I'm wondering if its that secure for a reason. I'm surprised your application isn't sending the HTTP_REFERRER along, that would be the better way to handle it. This way works though.
michael
@michael
07/14/15 02:25:04AM
7,832 posts

File Upload limit, php.ini


Installation and Configuration

Sounds like the file is being uploaded to the /tmp directory fine, then failing when being moved into the /data directory

Nothing in the servers error logs like "user can not write to /data ....." or 'does not have permission....'
michael
@michael
07/13/15 01:32:09AM
7,832 posts

HTML Tags Being Removed


Design and Skin Customization

Can see where this is happening, haven't figured out why its not doing as expected though.
michael
@michael
07/13/15 01:10:30AM
7,832 posts

Combined Videos Category Search


Design and Skin Customization

Try this one, it works:
{capture name="row_template" assign="template"}
    {literal}
        {foreach $_items as $item}
             {$_cats[$item["`$item.seamless_module_prefix`_category"]] = $item["`$item.seamless_module_prefix`_category"]}
        {/foreach}

        {foreach $_cats as $cat}
          {$cat}<br>
        {/foreach}

    {/literal}
{/capture}

OUTPUT:
{jrSeamless_list modules="jrVideo,jrYouTube" template=$template limit=500}

The only limitation is that it will only get all the categories that exist within the scope of the LIMIT, so limit 500 will get all the categories in the first 500. Not great, but hopefully acceptable.

The next option would be to create a custom function that queries the datastores individually to get all the options, then combines them. Little bit more fiddley but then you know you'll get what you need.
michael
@michael
07/13/15 12:47:23AM
7,832 posts

Combined Videos Category Search


Design and Skin Customization

It should be working:
{jrSeamless_list modules="jrVideo,jrYouTube" template="video_category2.tpl" limit=500}

in video_category2.tpl
{foreach $_items as $item}
    {$_cats[$item['category'] = $item['category']}
{/foreach}

{foreach $_cats as $cat}
  {$cat}<br>
{/foreach}
michael
@michael
07/13/15 12:41:10AM
7,832 posts

Imported Accounts not active


Genosis

The batch edit tool provides its functionality for all modules with a datastore. So to use it on profiles go to:
ACP -> PROFILES -> USER PROFILES -> TOOLS -> BATCH EDIT ITEMS

check:
* profile_active
* profile_name

Then EDIT SELECTED

Change the "profile_active" to 1 will make it active.

You don't really even need to check 'profile_name' if your just wanting to set all profiles to active, but if there is no image and no name it makes it harder to understand who your making active.
  511