Jump to content

BomAle

Members
  • Posts

    817
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Posts posted by BomAle

  1. I would add a motivation/encourage any "not active clients" on invisioncommunity, include also "old contributors" to consider this suggestion like a opportunity to take into action to create a "micro" community and permise scalability for future.

  2. Hello,

    I am interested to start a new project but I would adopt one of my two license which contains Forums, Blogs, Commerce, Downloads (85$ price for renew) but before renew I would only pay for Commerce and Pages app (50$ for renew)

    I have asked before to support/sales team but they confirm it is not possible at this stage.

    I suppose this is interesting for improve license scope and support new initiative, make it flexible please.

    Thanks for your attention, good job Alessandro.

    spacer.png

  3. I suggest to edit the plugin file \applications\core\dev\ckeditor\plugins\ipsautolink\plugin.js like following code:

    CKEDITOR.plugins.add( 'ipsautolink', {
    	init: function( editor ) {
    		editor.widgets.add( 'ipsembedded', {
    			inline: false, //WHY NOT INLINE?????
    			upcast: function( element ) {
    				if ( ( element.name == 'div' && element.hasClass( 'ipsEmbeddedVideo' ) ) || ( element.name == 'iframe' && !_.isUndefined( element.attributes['data-embedcontent'] ) ) ) {
    					return true;
    				}
    			},
    			//+++ADDED http://origin-docs.ckeditor.com/ckeditor4/docs/?print=/api/CKEDITOR.plugins.widget.definition#property-styleToAllowedContentRules
    			styleableElements: 'div(ipsEmbeddedVideo); iframe{data-embedcontent}'
    			//add data function for control align style ,data:function(){}
    		});
    		ips.utils.emoji.getEmoji(function(emoji){
    			new CKEDITOR.plugins.ipsautolink( editor, emoji );
    		});
    	},
    	//+++ADDED 
    	afterInit: function ( editor ) {
    		function setupAlignCommand (value) {
    			var command = editor.getCommand('justify' + value);
    			if (command) {
    				if (value in { right:1,left:1,center:1 }) {
    					command.on('exec', function (event) {
    						var widget = getSelectedWidget(editor);
    						if (widget && widget.name === 'ipsembedded') {
    							widget.setData({ 'align': value });
    							event.cancel();
    						}
    					});
    				}
    				command.on('refresh', function (event) {
    					var widget = getSelectedWidget(editor),
    						allowed = { left:1,center:1,right:1 },
    						align;
    
    					if (widget) {
    						align = widget.data.align;
    						/*if ( enabled === undefined )
    							enabled = editor.filter.checkFeature( editor.widgets.registered.ipsembedded.features.align );
    
    						if ( !enabled )
    							this.setState( CKEDITOR.TRISTATE_DISABLED );
    						else {*/
    						this.setState(
    							( align == value ) ? (
    								CKEDITOR.TRISTATE_ON
    							) : (
    								( value in allowed ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
    							)
    						);
    						//}
    
    						event.cancel();
    					}
    				});
    			}
    		}
    
    		function getSelectedWidget (editor) {
    			var widget = editor.widgets.focused;
    			if (widget && widget.name === 'ipsembedded') {
    				return widget;
    			}
    			return null;
    		}
    
    		setupAlignCommand('left');
    		setupAlignCommand('right');
    		setupAlignCommand('center');
    	}
    } );

    I don't test it

  4. I would report a feedback with alignment of internal link rich embed

    Currently there is not a possibility to align the block inside ckeditor, I think this should be a option to align it but the default "justify" ckeditor widget don't catch iframe block because javascript code remove the parent paragraphs <p> (CKEDITOR.plugins._replaceLinkWithEmbed) and the only allowed content alignable is

    	this.allowedContent = {
    		'caption div h1 h2 h3 h4 h5 h6 p pre td th li': {
    		// Do not add elements, but only text-align style if element is validated by other rule.
    		propertiesOnly: true,
    		styles: this.cssClassName ? null : 'text-align',
    		classes: this.cssClassName || null
    	}
    };
    
    // In enter mode BR we need to allow here for div, because when non other
    // feature allows div justify is the only plugin that uses it.
    if ( editor.config.enterMode == CKEDITOR.ENTER_BR )
    	this.allowedContent.div = true;

    \applications\core\dev\ckeditor\plugins\justify\plugin.js

    I tried to submit a ticket into invisionpower.zendesk support for report it but the reply about "In order to assist you with the issue, you'll need to reactivate the application"

    An example below

     

    paragraph right

    paragraph right

  5. $settings = ['it' => 12, 'en' => 1];
    foreach ( $settings as $k => $v )
    {
    	if( $this->member->skin !== $v AND \strtolower( \substr( $this->member->language()->short, 0, 2 ) ) === $k )
    	{
    		$this->member->skin = $v;
    
    		if( $this->member->member_id )
    		{
    			$this->member->save();
    		}
    
    		return NULL;
    	}
    }
    return call_user_func_array( 'parent::getTheme', func_get_args() );

    this will work for sure (return NULL prevent resetting to default theme see system/Theme/Theme.php:284)

    1FyW5wY.png

  6. $settings = ['it' => 12, 'en' => 1];
    foreach ( $settings as $k => $v )
    {
    	if( $this->member->skin !== $v AND \strtolower( \substr( $this->member->language()->short, 0, 2 ) ) === $k )
    	{
    		$this->member->skin = $v;
    
    		if( $this->member->member_id )
    		{
    			$this->member->save();
    		}
    	}
    }
    return call_user_func_array( 'parent::getTheme', func_get_args() );

    but this code is valid only if you overload \IPS\Session\Front::getTheme

    With switchTheme the theme is set only for current location, with getTheme overload you can set it permanently only once occur preventing more call or redirection (like a silent code that automatically cover default IPS code and your needs)

     

  7. This is also what I want for mention taxonomy not only a group but also a "members interested" and link a page like myweb.site/list/besthelpers with a hashtag where there are some content and a list of members inside it (as club dashboard and stream discover)

    #besthelpers

    because tag a group is not flexible as a club/s or a open page where are listed, some list could be closed/protected/private or based by invite/request (MORE RELEVANT compared open system)

    when use a hashtag the framework create a new taxonomy, where the author is inserted on the list and the content attached into.

    example

    #link instagram

    #link twitter

    and facebook...

    z7xAgwB.png

    spacer.png

  8. 55 minutes ago, SC36DC said:

    Jim Carrey Chance GIF

    Sounds like you know you're way around the IPS system. Do you make tutorial videos? You would really be helping so many people to putting together videos explaining and showing how to do things. Thanks for replying.

    take a look

  9.  

    • Italian Films (myweb.site/index/italian-films) child of Films and Italian taxonomy
    • content filter: forum cats[1,2,3], clubs [1,2], tags['film'], topic [33,35],
    • people interested: member [1,2,3], groups[15], pfields [1 in it],
    • following notification based on last update or change history
    • summary/stats:
    • last update (cached page with task background for scan each X time)
    • suggestion insert
    • semantic schema json-ld with link to structured data markup helper
    • external sources, advertising purpose...
    Quote

    https://en.m.wikipedia.org/wiki/Entity–attribute–value_model

    The major benefit to a central objects table is that, by having a supporting table of object synonyms and keywords, one can provide a standard Google-like search mechanism across the entire system where the user can find information about any object of interest without having to first specify the category that it belongs to.

     
     

    For primitive beings like us, life seems to have only one single purpose: gaining time. And it is going through time that seems to be also the only real purpose of each of the cells in our bodies. To achieve that aim, the mass of the cells that make up earthworms and human beings has only two solutions. Be immortal, or to reproduce. If its habitat is not sufficiently favorable or nurturing, the cell will choose immortality. In other words, self-sufficiency and self-management. On the other hand, if the habitat is favorable, they will choose to reproduce. That way, when they die, they hand down essential information and knowledge to the next cell. Which hands it down to the next cell and so on.

    Thus knowledge and learning are handed down through time. Morgan Freeman (Lucy 2014)
  10. The idea is also make a way for users to improve such network with itself contribution:

    1. flag content as related to others (partecipating and responsible for success of community, not as facebook and other social "passing the buck")

    2. new and old content is a old concept, I want a better strategy for a future where there is a "order of things" (history relevance) where all content transform (a better communication tool for "humannes", social posting syncronization where community interact with others like "who tell about us"... promoting content bring our content outside but do you know who tell about you around web? i would know if outside I have a some friend we want know)

     

  11. WJ8xaRK.png

    1y8cR0J.png

    hzsV172.png

    Hello I would suggest a improvement for categories and tags introducing  taxonomy concept:

    1. assign a basic structure, not a simple tree but a network model

    Quote

    A network taxonomy organizes content into both hierarchical and associative categories. Categories can be linked to any other categories. And relationships among items can have different meanings, including semantic ones.

    2. extending it on posting new content

    3. custom fields relationship useful for feedback/survey

    4. define upsell, alternative, raccomanded content

    5. multiple author/group for single posts/comment (relationship with other members share same/similar content)

    This could improve the understanding of the order of things inside the community with some schema visualization and a genuine growth of it

    Benefits: increase findability of content, great addition to Zapier @Matt, multilingual community thank you for it

    Quote

    some articles:

    https://www.uxbooth.com/articles/introduction-to-taxonomies/

    https://uxdesign.cc/hierarchical-taxonomy-ux-designs-secret-weapon-9510eb91a4d

    https://www.seoptimer.com/blog/website-taxonomy/

    https://invisioncommunity.com/search/?&q=Taxonomy

    Gig1ZjL.png

  12. by clicking outside the popup even if off the screen the popup must close.
    If it were not so, you can send me the site where the problem occurs in private, so I can identify and correct it.

×
×
  • Create New...