Jump to content

Unlucky

Members
  • Posts

    1,887
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Unlucky

  1. Followed intructions and get this errror

    ParseError: syntax error, unexpected ' ' (T_STRING), expecting ',' or ')' (0)
    #0 /home/badhabi5/public_html/applications/cms/sources/Blocks/Block.php(301): IPS\_Theme::runProcessFunction('class class_con...', 'content_templat...')
    #1 /home/badhabi5/public_html/system/Widget/Widget.php(234): IPS\cms\Blocks\_Block->getTemplate(Array, '73e3c499f6553ca...', NULL)
    #2 /home/badhabi5/public_html/system/Content/Widget.php(409): IPS\_Widget->output(Array, '73e3c499f6553ca...')
    #3 /home/badhabi5/public_html/applications/cms/modules/front/pages/builder.php(112): IPS\Content\_Widget->render()
    #4 /home/badhabi5/public_html/system/Dispatcher/Controller.php(85): IPS\cms\modules\front\pages\_builder->previewBlock()
    #5 [internal function]: IPS\Dispatcher\_Controller->execute()
    #6 /home/badhabi5/public_html/init.php(460) : eval()'d code(14): call_user_func_array('parent::execute', Array)
    #7 /home/badhabi5/public_html/applications/core/modules/front/system/widgets.php(38): IPS\Dispatcher\hook26->execute()
    #8 /home/badhabi5/public_html/system/Dispatcher/Dispatcher.php(146): IPS\core\modules\front\system\_widgets->execute()
    #9 /home/badhabi5/public_html/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

  2. Hi,

    Im trying to create a block in IP pages for hot topics with more than 50 posts to show in it

    But I am completely stuck

    I am not sure what to put in the ticker itself and tried this without success

    <li>nt_pages_block1</li>

    and I am unsure if I need to edit the content by adding <li>...</li> at the beginning and ending of the this? I did try this and it hung the site

    Any pointers much appreciated

     

     

    {{if !empty( $topics ) }}
        <h3 class='ipsWidget_title ipsType_reset'>{$title}</h3>

        {{if $orientation == 'vertical'}}
            <div class='ipsPad_half ipsWidget_inner'>
                <ul class='ipsDataList ipsDataList_reducedSpacing'>
                    {{foreach $topics as $topic}}
                        <li class='ipsDataItem{{if $topic->unread()}} ipsDataItem_unread{{endif}}{{if $topic->hidden()}} ipsModerated{{endif}}'>
                            <div class='ipsDataItem_icon ipsPos_top'>
                                {template="userPhoto" group="global" app="core" params="$topic->author(), 'tiny'"}
                            </div>
                            <div class='ipsDataItem_main cWidgetComments'>
                                <div class="ipsCommentCount ipsPos_right {{if ( $topic->posts - 1 ) === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="replies_number" pluralize="$topic->posts - 1"}'>{expression="\IPS\Member::loggedIn()->language()->formatNumber( $topic->posts - 1 )"}</div>
                                
                                <div class='ipsType_break ipsContained'>
                                    {{if $topic->mapped('featured') || $topic->hidden() === -1 || $topic->hidden() === 1}}
                                        {{if $topic->hidden() === -1}}
                                            <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$topic->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span>
                                        {{elseif $topic->hidden() === 1}}
                                            <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span>
                                        {{endif}}
                                        {{if $topic->mapped('featured')}}
                                            <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span>
                                        {{endif}}
                                    {{endif}}                            
                                    <a href="{$topic->url()->setQueryString( 'do', 'getNewComment' )}" title='{lang="view_this_topic" sprintf="$topic->title"}' class='ipsDataItem_title'>{$topic->title}</a>
                                </div>
                                <p class='ipsType_reset ipsType_medium ipsType_blendLinks ipsContained'>
                                    <span>{lang="byline_nodate" htmlsprintf="$topic->author()->link()"}</span><br>
                                    <span class='ipsType_light'>{lang="topic_started_date" htmlsprintf="\IPS\DateTime::ts( $topic->mapped('date') )->html()"}</span>
                                </p>
                            </div>
                        </li>
                    {{endforeach}}
                </ul>
            </div>
        {{else}}
            <div class='ipsWidget_inner'>
                <ul class='ipsDataList'>
                    {{foreach $topics as $topic}}
                        {template="row" group="global" app="forums" location="front" params="NULL, NULL, $topic, FALSE"}
                    {{endforeach}}
                </ul>
            </div>
        {{endif}}
    {{endif}}
     
     

     

  3. Hi,

    I really like this well done.

    One suggestion / feature request is to help users use the site as easy as possible.

    It would be really good if you could hyperlink the photos and text instead of just the titles.

    From a userability report I read somewhere this is why the daily mail for example do this and was one of the reasons they were once (no idea about now) the number 1 online newspaper in the UK

    IE this is how they do it - http://www.dailymail.co.uk/home/index.html

    Express do the same - https://www.express.co.uk/

    Infact looks like daily mail do photos and long titles where express also do the text which is the preferential option.

    I think if this can be done you have a killer app for any community as it really does look lovely, it would just be good for people who read online newspapers to have the same functionality and remove any confusion

  4. Ive just bought super blocks which supports the standard IPS apps including IPpages but none of my other applications

    These other applications have rss feeds configured

    I wondered if I could use this to pull back in those feeds to a  IPpages database and then use the super block application to present them on my homepage

    Does this sound achieveable?

  5. 5 minutes ago, opentype said:

    I don’t know. I can look at it in your ACP, but the block filters (in this case event categories) shouldn’t cause any problems. SuperBlocks is just styling. It takes whatever entries the the Pages blocks provide. Does it show if you assign the stock template, not the SuperBlocks template?

    Weird no it doesnt

    but if i use the calendar wigit on the page instead that works fine.

    https://www.walkingfootball.com/superblocks/

    Very strang

    BTW what is the background color as I would like to match my other wigets to your background color

    thanks

  6. Hi,

    Re the latest posts on here https://www.opentype.space/superblocks/

    If the post does not have a photo - is there a way to show a default photo instead (or another app / plugin that can achieve this?

    So we can have the sidebar and this app on the homepage as per above shot?

    Thanks in advance

     

     

    On 5/1/2018 at 10:52 AM, opentype said:

    Let me explain it visually. ? You can add it all full-width columns. 

    superblocks2.thumb.png.8f412cacd8286375ae82f2795395a5e2.png

    superblocks.thumb.png.7797243f7635a7ec993aa7f3831f9ec0.png

     

     

  7. 42 minutes ago, newbie LAC said:

    Do you mean the page like Leagues page but only with archived leagues?

    Yes it would be easier to admin. Once a league has completed it goes to an archive page

    So the main league page only shows live running leagues like on the front end of the site

     

  8. Hi,

    I think we are going to buy this and want some advice please

    Walking Football is a growing sport and there are currently several organisations trying to become the NGB for the sport.

    Different organisations have different rules in place and players have different opinions to which is the best rules and organisations etc.

    I want to create a review database where I can achieve the following - so which is the best option / mode for me to use - 1,2 or 3?

    I want to list a rule such as

    The 3 touch rule

    I then want to assign to that rule star ratings for for thing such as

    1 - Refereeabilty

    2 - Safety Rating

    3 - Playability

    And I want each rule to be available for all of the members to select their rating and also post their views about it

    Would I be correct in thinking mode 3 is best?

    Thanks in advance

  9. Hi,

    I am after a tournament app for our football website and have been pointed to this one.

    Does it support a knock out tournament with a display structure similar to this:

    http://fulltime-league.thefa.com/ProcessPublicSelect.do?psSelectedSeason=749480530&amp;psSelectedDivision=228929647&amp;psSelectedCompetition=753941861&amp;psSelectedLeague=446451974

    from the dropdown select the DWFL Challenge Cup to see the layout

  10. Hi,

    Just noticed when a league appears on the archive page the table disappears from view even though the widget is still present

    https://www.walkingfootball.com/football/archive/

    Also have a feature request

    When a league is complete and archived would it be possible to  have it listed in an archive section in the ACP aswell, which would mean it is alot cleaner to admin the live leagues without having the whole list of live and archived leagues all on one admin page?

    Thanks

×
×
  • Create New...