Jump to content

shahed

Clients
  • Posts

    507
  • Joined

  • Last visited

  • Days Won

    1

 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 shahed

  1. Summary of upcoming features for peacock theme ver1.1.8

    Alternative Design for Forum tables, Topic listing and Question listing.

    Could contain: Text

    Could contain: Text, Adult, Male, Man, Person, Face, Head

    Could contain: Text, Person, Face, Head

     

    New animated Unread Badge for Forums/Topics

    peacock-unreadbadge.gif.979afb7c5d6f69d0141bfd3137c9cc6f.gif

     

    New option for making Header Slider as SlideShow

    peacock-autoslide.gif.9881b8de34f2f973397bb16b3be683da.gif

     

    List of all changes and features for upcoming peacock ver1.1.8

    • New settings: Header Slider > Auto slide and Auto slide duration: set peacock slider as slideshow
    • New setting: Header Slider > Open linked slides in new tab
    • New setting: Topics and Posts > Alternative design for Table Forums/Topic Listing: alternative design similar to post style 1 for "Table Forums"
    • New setting: Topics and Posts > Animation badge for new contents: new badge will be display in Forum/Topic listing with animation effect for new contents
    • New setting: Mobile Navigation > Main link 5 (active) > Main link 5 (Style: peacock) > Menu height: set default size for Navigation/User menu in Mobile Navigation
    • Fixed issue regarding custom height for header and slider is active at the same time, caused wrong height in mobile/phone view
    • New animation effect for share buttons in side-bottom position
    • HTML, CSS, JS updates
  2. 14 hours ago, Steph40 said:

    @shahed The mobile menu for small phone can not be scrolled to see all items or even user info bits like mail, notification etc..

    Same issue on you demo site, reduce the height and width of the browser, click the more button, you wont be able to access part of the menu.

    Thank you

    Unfortunately i don't have small enough screen to test and confirm this issue, but i think having option for custom height for those menu in Tablet/Mobile screens should resolve this. so it will be add in next update... for now please use this class in your custom.css and see if this works in small screens.

    @media screen and (max-width: 767px) {
    	.mvn_peacock_moreMenuMobile_container {
    	  height: 460px;
    	  max-height: 460px;
    	}
    }

     

  3. Page Name Navigation is a plugin that basically add a new navigation area at the top of all pages in community, which can be seen by scrolling down by user. idea is based on new feature in peacock Theme and will display information like Page name, Page's associated and important buttons like Share, Create, Submit, Management buttons, Download button, Follow button and ... based on where user is visiting right now and can be accessed at all time. it also display a global navigation menu with drawer style to website, which help user to navigate through the website without the need to get back to the top of the page.

    Demo (with Default theme)

    Features:

    • Display global navigation with sidebar drawer style
    • Page name
    • Page's associated and important buttons like Share, Create, Submit, Management buttons, Download button, Follow button and ...
    • Works with Desktop/Tablet/Phone
    • Stylish design with dozens of options for customizations

     

     

    Please use this topic for support and suggestions 👍

  4. 12 minutes ago, Mascot Insider said:

    I tried the code and the image isn't moving on the iPad sadly.

    I'm testing inline in your website with same code (not with actual iPad, just desktop > tablet mode), and it looks fine:

    Could contain: Glove, Person, Man, Adult, Male, Advertisement, Poster, Child, Boy, Face

     

    Same as my test website and local. but if problem is persist on device itself, it probably caused by "background-attachment: fixed" this CSS property are set for "unset" in tablet mode so it won't zoom-in. it works on desktop test, but it seems have problem in actual iPad device 🤔

    I will look into this 👍

  5. 1 minute ago, Mascot Insider said:

    Ah, no worries. My page is Mascot.Blog! Basically, the Header Displays how I want on Desktop and iPhones but when using an iPad it zooms in! Thanks for your help :).

    Sure,

    If you want to change cover image size for iPad, you can add this code in custom.css // that "300px" can be increased or decreased. 👍

    @media screen and (max-width: 977px) {
    	.mvn_peacock_header_style {
    	  height: 300px;
    	  background-attachment: unset !important;
    	}
    }

     

  6. 9 minutes ago, Mascot Insider said:

    Haha, Prefect I just dicovered it after doing some digging that’s great! OK last question I love the Background Photo Feature it’s the reason I bought his template and the design is pretty cool. On DeskTop it looks Great but on iPad it looks awful.. Oddly enough on iPhone it looks fine to! Any suggesitions on how to fix?

    Could contain: Couch, Furniture, Person, Man, Adult, Male, File, Text, Face, Head

    I'm not sure what you mean about iPad. Header images in iPad? if this is the case it display fine in my test. I should see how it looks like in your website. can you provide me link to this page? here or in personal message will do.

  7. 35 minutes ago, Mascot Insider said:

    Hi, @shahed Nice theme! So I'm having issues with the "Quicklinks" "News, Store, and Gallery" showing up when non of those are coded in the "QuickLink" Format Box. How do I remove them??

    Could contain: Person, Nature, Outdoors, Glove, Clothing, Snow, Mascot, Shoe, Footwear

    Hello,

    This links came from additional links in "Mobile Navigation" // for removing them go to Theme Settings > Mobile Navigation and find "Display Additional links in Quicklinks (in main navigation)" setting. turn this setting OFF.

    This setting will display additional links provided in "mobile navigation" in "main navigation" as well // similar setting exist for main navigation too, so you can display links created for main navigation in mobile navigation as well.

    Could contain: Text

  8. New version of peacock Theme is now available.

     

    What's New in Version 1.1.6  

    • New Feature > Main Header Sticky effect for main header (Active) > Dynamic Page Details (Include 6 sub-settings):
      • Dynamic Page Details is a special area that contain handful information and options about any page users visit across community. based on where is user now in community, contents of this section changes and display Page name, Page icon, Share button, Important buttons like Create topic/Submit reply ..., Management buttons and Follow button. this area appear on scroll down in Desktop view and replace with contents of main navigation. it can be switch between two contents area by scroll up or down.
    • New Setting in Misc > Ability to activate/deactivate hover animation effect for buttons
    • New Settings in Misc > Ability to set custom round/square corners for areas and boxes (3 Settings)
    • Compatibility update for Gallery 4.7.7
    • Various HTML/CSS/JS updates

     

    Most important new feature is Dynamic Page Details, which give additional area to main navigation.

    peacockthemenewpagedeatilsfeature.gif.e9

     

    ezgif-2-f84f0a13a8.gif.8a59b25d110493298e82f254cfed9c5a.gif

  9. New version for this resource has been accepted recently.

    Changelog for 1.1.1

    • Add new option: Category view > Display prefixes
    • Add new option: Category view > Theme: List > Display two item per line
    • Add new option: File view > Simplify submitter links
    • Add new feature: File view now fully support widgets in both Custom theme 1 and 2 via widget manager
    • Fixed bug regarding File view > Custom theme 2 > long titles overlapping the download button
    • Fixed bug regarding File view > Custom theme 2 > container boxes now fit to sides in chrome
    • Fixed bug regarding File view > Custom theme 1 > colliding boxes may break in certain desktop screen resolutions

     

    Most important feature with this update is now both File View themes can accept sidebar widgets. Demo with theme 1.

  10. 1 hour ago, Daniel F said:

    Something like following code should work.

    protected function getAllowedCssClasses()
    {	
    	return array_merge(parent::getAllowedClasses(), ['MVN_infoboxes_container','MVN_infoboxes_container-left'....]);
    }

     

    Thanks Daniel,

    I have created hook for this, but for test there is unexpected template error. here the error after posting in a topic:

    Error: Call to undefined method IPS\Text\cms_hook_Parser::getAllowedClasses() in D:\xampp\htdocs\ips_45\init.php(927) : eval()'d code:20
    Stack trace:
    #0 D:\xampp\htdocs\ips_45\system\Text\Parser.php(574): IPS\Text\infobox_hook_allowedCSSClasses->getAllowedCssClasses()
    #1 D:\xampp\htdocs\ips_45\system\Text\Parser.php(186): IPS\Text\_Parser->_htmlPurifierConfiguration(NULL)
    #2 D:\xampp\htdocs\ips_45\system\Helpers\Form\Editor.php(579): IPS\Text\_Parser->__construct(true, '88b77eab7255e0e...', NULL, 'forums_Forums', true, true, NULL, true, NULL)
    #3 D:\xampp\htdocs\ips_45\system\Helpers\Form\Editor.php(423): IPS\Helpers\Form\_Editor->_getParser()
    #4 D:\xampp\htdocs\ips_45\system\Helpers\Form\FormAbstract.php(167): IPS\Helpers\Form\_Editor->getValue()
    #5 D:\xampp\htdocs\ips_45\system\Helpers\Form\Editor.php(569): IPS\Helpers\Form\_FormAbstract->setValue(true, false)
    #6 D:\xampp\htdocs\ips_45\system\Helpers\Form\FormAbstract.php(147): IPS\Helpers\Form\_Editor->setValue(true)
    #7 D:\xampp\htdocs\ips_45\system\Helpers\Form\Editor.php(212): IPS\Helpers\Form\_FormAbstract->__construct('topic_comment_1...', NULL, true, Array, Object(Closure), NULL, NULL, NULL)
    #8 D:\xampp\htdocs\ips_45\system\Content\Item.php(4977): IPS\Helpers\Form\_Editor->__construct('topic_comment_1...', NULL, true, Array, Object(Closure))
    #9 D:\xampp\htdocs\ips_45\system\Content\Item.php(4654): IPS\Content\_Item->commentFormElements()
    #10 D:\xampp\htdocs\ips_45\system\Theme\Theme.php(885) : eval()'d code(5615): IPS\Content\_Item->commentForm()
    #11 D:\xampp\htdocs\ips_45\system\Theme\SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
    #12 D:\xampp\htdocs\ips_45\applications\forums\modules\front\forums\topic.php(576): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
    #13 D:\xampp\htdocs\ips_45\system\Dispatcher\Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
    #14 D:\xampp\htdocs\ips_45\system\Content\Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #15 D:\xampp\htdocs\ips_45\applications\forums\modules\front\forums\topic.php(39): IPS\Content\_Controller->execute()
    #16 D:\xampp\htdocs\ips_45\system\Dispatcher\Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
    #17 D:\xampp\htdocs\ips_45\index.php(13): IPS\_Dispatcher->run()
    #18 {main}

    It says "undefined method IPS\Text\cms_hook_Parser::getAllowedClasses() " but there is no such cms_hook_Parser in the hook or anywhere else in the app for that matter. here the code in hook:

    //<?php
    
    /* To prevent PHP errors (extending class does not exist) revealing path */
    if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
    {
    	exit;
    }
    
    class infobox_hook_allowedCSSClasses extends _HOOK_CLASS_
    {
    
    
    	/**
    	 * Get allowed CSS classes
    	 *
    	 * @return	array
    	 */
    	protected function getAllowedCssClasses()
    	{	
    		return array_merge(parent::getAllowedClasses(), ['MVN_infoboxes_container','MVN_infoboxes_container-left','MVN_infoboxes_container-right','MVN_infotopic_container','MVN_infoline_container','MVN_infolineP','MVN_infolineV','MVN_infotoggle_container','MVN_infotoggle_title','MVN_infotoggle_content','MVN_infotoggle_openClose','MVN_bquote','MVN_infogb_container','MVN_infogb_thegood','MVN_infogb_thebad','MVN_reviewRate','MVN_secwp-image-cover','MVN_secwp_filter','MVN_imgComparison_container','MVN_imgComparison','MVN_imgComparison_resize','MVN_imgComparison_handle','MVN_columnBTN_half','MVN_columnBTN_third','MVN_spoilerText_BTN']);
    	}
    
    }
  11. 1 hour ago, Daniel F said:

    The instructions to manually add the css classes are unnecessary, you can literally create a hook and programmatically whitelist them. 

    1 hour ago, Daniel F said:

    IPS\Text\Parser::getAllowedCssClasses() can be hooked to add the additional css classes. Would be much user friendlier 🙂

    Thanks Daniel, i wasn't aware of this. is there example for this?

     

    1 hour ago, Daniel F said:

    Also if you're up to suggestions,  I would open all the links in your ACP instructions/descriptions in a new window/tab. It's quite annoying and distracting it if opens in the same window before one e.g. copied the classname.

    Sure and i like it, this shouldn't be a problem.

  12. Legend Editor Buttons is a big package of 15 Editor buttons, can be use in every place in invision website that uses editor. these buttons have their own customization settings so it is possible to change colors, size and other styling options. Legend Editor Buttons is an application and created specially this way to make it possible to upgrade my old resources as CKEditor buttons here along new features and more buttons.

    Live Demo

    Could contain: File, Person, Woman, Adult, Female, Webpage, Page, Text, Face, Car

    Could contain: File, Person, Man, Adult, Male, Page, Text, Poster, Advertisement

    Could contain: Person, Man, Adult, Male, Glove, Clothing, Shoe, Footwear

    Could contain: Page, Text, File, Webpage

    Could contain: File, Webpage, Text

    Could contain: File, Webpage, Page, Text

     

     

    Please use this topic for support and suggestion for the resource.

  13. 19 minutes ago, Sirmadsen said:

    In Category Pages we can choose "List" under Categories Theme. I have a very wide layout so there is a lot of dead space and the page becomes very long when having the default 25 items in downloads. I liked that theme the most due to its clean looks and simple layout. Everything just looks great and prefixes works.

    Would be great to have an option to be able to have two rows but in List theme.

    Will work on it 👍

     

    21 minutes ago, Sirmadsen said:

    Also, bug reports.

    In File Page > Custom View 2, title doesn't seem to have a line break resulting in very long titles overlapping the download button.

    File Page > Custom View 1 breaks when theme is to narrow. It's almost as it goes in to mobile view as soon as the window is not wide enough, but to soon. Maybe a template mistake?

    As you can see from image 1, that is normal view, web browser fully maximized. And in image 2, the browser is windowed but almost full width, so the theme breaks way to early (I use the sidebar option).

    And in default IPS theme it's broken from start with default width values, image 3. Maybe it's supposed to be used without a sidebar? In which case will be a problem for those of us using ads in sidebar.

    Thanks for the report. i will look into these as well.

     

    21 minutes ago, Sirmadsen said:

    Thanks for a great plugin so far, looking forward to updates and further improvements.

    Sure. glad you liked it 👍

  14. 12 hours ago, Sirmadsen said:

    Any plans on adding option to show prefixes on category view?

     

    12 hours ago, Sirmadsen said:

    Let me edit that. Any plans on making prefixes show on all themes and styles maybe via an option?

    Also, any plans on making an option to choose how many items are shown? Since changing "Number of item per line" will make grids have an uneven number.

    Hi, some of themes like List have prefix support. this is because large space they have. adding that in smaller templates like grids ... can be tricky. but in any case i will look into it. 👍

     

    11 hours ago, Sirmadsen said:

    And... I really like the list view. Any chance there could be an option to show that in a row of 2 and/or 3? Having a wide layout would benefit from this.

    Which list view? there are number of variables, so specific could help.

  15. 17 hours ago, Randy Calvert said:

    This was discussed in a different topic.

    Unless the resource is an application or plugin, it would not be supported in marketplace. The suggestion was to attach the file to a forum post. 

    It is a similar case, but not sure how you could sell. if the topic was created in a private Club in IPS clubs, which accessible by users selected by developers this could work. but developers can't create club here. plus if it is not gonna be send in Marketplace so they are not be subject for review. I'm not sure at the end gonna be approve by marketplace moderators.

     

    17 hours ago, Nathan Explosion said:

    Overkill, probably, but this would solve the situation:

    1. Create an application, with a single admin module
    2. Add the zip file as a resource in the application
    3. The admin module could then display instructions on what to do, along with a link to the zip file to allow it to then be downloaded and manually installed by the user

    POC

    (NE) Zip file example 1.0.0.tar 32 kB · 1 download

    plus dev folder

    neappzipfile.zip 11.86 kB · 1 download

     

     

    This solution is more practical. but again it would be manual download and manual install. not sure gonna be approve by Moderators here for marketplace. manual install can be sold all sorts of ways like topics, PM, developer website ... after installable resource being sold in marketplace. so I think question is will IPS approve it. I wish someone from IPS clarify this.

    Nathan solution can actually work, since moderators can install app then download zip file through it and perform review. at the end i really want to know if this is acceptable by marketplace moderators. there is also individual problem for me as I never created apps nor work with them. so I suspect gonna take time which currently I don't have. I always like simplicity of working with plugins in IPS platform, but moving to apps is also inevitable.

  16. Hello,

    Some of my Marketplace resources are received updates as far as IPS ver 4.4, which is gonna be removed soon and out of support entirely by IPS. the most requested and frequently wanted of them is Infobox buttons and by their nature, only can be install like a normal CKEditor plugin, as .zip files... and since .zip files can't be upload in marketplace anymore as of IPS ver 4.5 forward, simply updating this resource is also stopped. I really like to continue support this, specially as of recent I have re-created them from scratch with dozens of new features and settings, but as I said there is no way to send .zip buttons along main plugin and xml file.

    is it possible for IPS to accommodate for such submissions in future? just adding ability to upload additional file for plugins/app in marketplace should do the job. in Theme submission it's possible, so why not for plugin/apps? or maybe there are better way to this? as long as it solve the problem, that would be fine.

    Could contain: Page, Text

  17. 44 minutes ago, Adriano Faria said:

    You should be using your own file storage extension to point to the right files.

    Not sure can be done in plugins. not sure even it is a right approach but I tried to extend  \IPS\core\extensions\core\FileStorage\Theme with hook and add the delete code but didn't work.

    	/**
    	 * Delete all stored files
    	 *
    	 * @return	void
    	 */
    	public function delete()
    	{
    		\IPS\File::get( 'core_Theme', $this->configuration['widget_uploadForm'] )->delete();
    		return parent::delete();
    	}

     

    36 minutes ago, DawPi said:

    So you must convert it into an app. 🙂

    Yes that would be ideal, but it is also time consuming to start over 🙃

  18. I'm working on a plugin that use upload form field in two areas. first there is a plugin setting and with this plugin also comes widget feature that also uses upload form. both works, but in time of uninstall the plugin, the stored files must also be removed from server. now for upload form with plugin setting, I created an uninstall.php with this code:

    if ( isset( \IPS\Settings::i()->plugin_uploadForm ) )
    {
    	\IPS\File::get( 'core_Theme', \IPS\Settings::i()->plugin_uploadForm )->delete();
    }

    this code works and stored file in plugin setting will delete after uninstall. however how can i do the same for widgets?

    I use this for upload form itself in widgets:

    if ( ! empty( $this->out['widget_uploadForm'] ) )
    {
    	$image = \IPS\File::get( 'core_Theme', $this->out['widget_uploadForm'] );
    }
    $form->add( new \IPS\Helpers\Form\Upload('widget_uploadForm', $image, FALSE, array( 'multiple' => false, 'storageExtension' => 'core_Theme', 'image' => true ), null, null, null, 'widget_uploadForm_toggle' ) );

     

×
×
  • Create New...