Jump to content

Community

Andy_M

+Clients
  • Content Count

    23
  • Joined

  • Last visited

About Andy_M

  • Rank
    New Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. In case it's useful, here's a modified article template that I use that displays article pictures side by side on a wider screen, and then stacks them under each other on mobile. Seems to work well across all email clients I've tried. <!--[if (gte mso 9)|(IE)]> <table width="600" align="center" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <![endif]--> <table class="container" width="100%" cellpadding="0" cellspacing="0"> <tr> <td style="text-align: center; vertical-align: top; font-size: 0;"> {{foreach $items as $pos => $item}} <!--[if (gte mso 9)|(IE)]> <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"> <tr> <td> <![endif]--> <div style="width: 300px; display: inline-block; vertical-align: top;"> <table width="100%" cellpadding="20"> <tr> <td style="font-size: 15px;"> {{if isset( $params['image_data'] ) && $params['image_data']['field']}} {{$imageField = $params['image_data']['field'];}} {{$image = $item->$imageField ? \IPS\File::get( $params['image_data']['extension'], $item->$imageField )->url : null;}} {{elseif $item instanceof \IPS\downloads\File}} {{$image = $item->primary_screenshot_thumb->url;}} {{elseif $item instanceof \IPS\gallery\Album\Item}} {{$image = $item->shareImage();}} {{endif}} {{if $image !== null}} <a href="{$item->url()}"> <img src="{$image}" width="300" height="175" style="width:100%;height:175px;max-width:300px;" alt="{$item->mapped( 'title' )}" title="{$item->mapped( 'title' )}"> </a> <br> {{endif}} <div style='display:inline-block;'> {{if !( $item instanceof \IPS\gallery\Image )}} <a href="{$item->url()}"><strong>{$item->mapped( 'title' )}</strong></a> <br> {{endif}} {{if $params['show_author']}} {$item->author()->name} | {datetime="$item->mapped( 'date' )" dateonly="true"} <br> {{endif}} {{if $params['show_content']}} <div style='display:inline-block;'> {{if $params['max_chars'] > 0}} {{$content = \strip_tags( $item->content() );}} {truncate="$content" length="$params['max_chars']"} {{else}} {$item->content()|raw} {{endif}} </div> {{endif}} {{if isset( $params['show_views'] ) && $params['show_views']}} {$item->mapped( 'views' )} views {{endif}} {{if isset( $params['show_comments'] ) && $params['show_comments']}} {$item->mapped( 'num_comments' )} comments {{endif}} </div> </td> </tr> </table> </div> <!--[if (gte mso 9)|(IE)]> </td><td> <![endif]--> {{endforeach}} </td> </tr> </table> <!--[if (gte mso 9)|(IE)]> </td> </tr> </table> <![endif]-->
  2. Hi there - any more thoughts on this? Thanks
  3. Yes, that was after uninstalling - the uninstall process seemed to complete successfully in the ACP.
  4. Hi there - when I try to uninstall this app I am no longer able to access my community with the error: [[Template core/front/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] In the system logs I can see: IPS\Db\Exception::1146 SELECT id FROM `notices_dismissed` WHERE member_id=2 Table 'i282549.notices_dismissed' doesn't exist #0 /var/www/html/i282549/system/Db/Select.php(378): IPS\_Db->preparedQuery('/*IPS\\notices\\_...', Array, true) #1 /var/www/html/i282549/system/Db/Select.php(440): IPS\Db\_Select->runQuery() #2 [internal function]: IPS\Db\_Select->rewind() #3 /var/www/html/i282549/applications/notices/sources/Notice/Notice.php(501): iterator_to_array(Object(IPS\Db\Select)) #4 /var/www/html/i282549/system/Theme/Theme.php(824) : eval()'d code(6117): IPS\notices\_Notice::getMatchingNotices(Object(IPS\Member), 'topbar') #5 /var/www/html/i282549/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->globalTemplate('AlgoMe Communit...', '\n<section class...', Array) #6 /var/www/html/i282549/system/Dispatcher/Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #7 /var/www/html/i282549/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish() #8 /var/www/html/i282549/system/Dispatcher/Front.php(574): IPS\Dispatcher\_Standard->finish() #9 /var/www/html/i282549/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Front->finish() #10 /var/www/html/i282549/index.php(13): IPS\_Dispatcher->run() #11 {main} Thankfully the site came back up when I reinstalled the plugin. Can you let me know how to resolve this so it can be removed successfully? Thanks
    A powerful application for engaging members via email, with good support and regular updates. A little expensive, but worth it for professional boards.
    A great idea, but the styling needs a bit of polish, so I ended up working with activity streams to get something similar but more attractive.
    Looks great and works well
    Useful, effective and reliable 👍
    This works fantastically and makes a great difference to the look and feel of the community experience when there are a lot of external links such as ours.
  5. Perfect, thanks for the speedy responses.
  6. Thanks @Adriano Faria! Quite right - I disabled and re-enabled the permissions and the first 2 are working fine now. Any idea on the registration form field position, or is that expected behaviour?
  7. Hi @Adriano Faria - I've installed the app but am having a couple of problems: 1) The invitation tab has not been added to the Account Settings screen. NB When I create a new invite from the Create+ menu (which seems to work as intended), it takes me to the settings page which displays as below (replacing the Overview tab), but I am unable to access this any other way 2) The invite icon has not been added to the user bar 3) The invitation code is showing up on the wrong place in the registration screen (I saw that you made a recent fix for this and can confirm that I'm running the latest version). I've tried uninstalling and reinstalling to no avail. There does not appear to be anything in the ACP System or Error logs related to this. Please can you suggest what the problem is? Thanks, Andy
  8. It would be a manual decision - I'm picturing an additional flag against an item alongside feature/pin/etc.
  9. As activity streams become a key part of more sites (it is now our home page) it would be useful to have the ability to hide particular items so that they don't appear on it. For example, if I bulk create a number of events, I could hide all but the most relevant so as not to flood the feed for everyone.
×
×
  • Create New...