Jump to content

newbie LAC

Members
  • Posts

    5,244
  • Joined

  • Days Won

    40

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by newbie LAC

  1. Hello, I just updated the forum to the latest version. I need some time to debug. Please wait.
  2. Hello, Ad related with css selector(s). I don't know what's "customer metrics". If you want clicks counter I can add. Inbuilt advertisiment system + css selectors + phpquery selectors 1. Define css selector. You can use firebug for this. 2. Define position 3. Go to ACP - System - Advertisements - Add advert - Fill all fields as you want - Show the advertisement. Check CSS selector. - Custom CSS and position. CSS selector .test. Position. Select position. See above screenshot. You can use support topic if you have any questions or problems. - Selector .cForumList - Position Insert advert after the chosen element(s) Result Define selector Firebug + phpquery selectors. Each post content code looks like <div data-role="commentContent" itemprop="text" class="ipsType_normal ipsType_richText ipsContained" data-controller="core.front.core.lightboxedImages"> <p> 0000000000000000000000000000 </p> </div> I used div[data-role="commentContent"] But ad show in each post. I need restrict that. I used div[data-role="commentContent"]:eq(0) 0 is 1st post Now ad show in 1st post. But I want show ad in 3 post also. I added separate by comma div[data-role="commentContent"]:eq(2) 2 is 3rd post. Total selector div[data-role="commentContent"]:eq(0), div[data-role="commentContent"]:eq(2) Position. I want add ad inside post content before text. I selected Insert advert inside the chosen element(s), at the start Put your code in HTML code field -> Define css selector -> Select position. Add ad after 1 and 3 posts - Selector article.cPost:eq(0), article.cPost:eq(2) - Position Insert advert after the chosen element(s)
  3. Hello, 1. Topic start date desc 2. RSS include topics only (first post content) without replies/reviews
  4. Hello, I have separate custom plugin made by request. Ad show inside the post above the text.
  5. Hello, Yes. No. In the top/bottom block looks like as in sidebar. It's not good. I restricted area. If you want test open xml file (or after install open plugins/nb40recenttopicsposts/widgets/nbRecentTopicsPosts.php) Find /* Only for sidebar */ if ($this->orientation != 'vertical') { return ''; } Change to /* Only for sidebar */ if ($this->orientation != 'vertical') { // return ''; }
  6. Hello, I can't reproduce. Have you installed latest version of plugin?
  7. Hello, Fixed in v1.0.9. I need 5-10 minutes to update the file.
  8. Open xml file 'selector' => '.cAuthorPane_photo + li + li', 'type' => 'add_after', and 'selector' => '.cAuthorPane_photo + li', 'type' => 'add_after', change to 'selector' => '.cAuthorPane_info', 'type' => 'add_inside_end',
  9. Hello, Used "read" permissions. Show me forum permissions.
  10. Hello, I updated the plugin. Please PM me. I'll send you new plugin for testing.
  11. Try to add css into widget plugins/nb40recenttopicsposts/widgets/nbRecentTopicsPosts.php /* Return */ return $this->output($topics, $posts, $selectedTab, $tabs, $firstTab, $this->configuration, $this->uniqueKey, $widgetTitle); change to $css .= <<<CSS <style> .ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem.ipsDataItem_unread .ipsDataItem_title:before { content: '\\f111'; font-family: 'FontAwesome'; font-size: 9px; margin-right: 3px; } </style> CSS; /* Return */ return $this->output($topics, $posts, $selectedTab, $tabs, $firstTab, $this->configuration, $this->uniqueKey, $widgetTitle) . $css;
  12. It's depends of image dimensions. Initially it was assumed that the image would be with a thumbnail. First. Counter works fine. <a href="/uploads/monthly_2016_05/front.jpg.3ddeee05b785503c34702bfaccfd2d0c.jpg" class="ipsAttachLink ipsAttachLink_image" data-ipslightbox="" data-ipslightbox-group="g25055"> <img data-fileid="219" src="/uploads/monthly_2016_05/front.jpg.3ddeee05b785503c34702bfaccfd2d0c.jpg" class="ipsImage ipsImage_thumbnailed" alt="front.jpg"> </a> Second. Counter doesn't work. Maximum image dimensions to save is unlimited. <a href="/uploads/monthly_2016_05/front.jpg.e40cf5808640f6cacfce8d514b85b64c.jpg" title="Enlarge image" data-ipslightbox="" data-ipslightbox-group="g24668"> <img alt="front.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="218" src="/uploads/monthly_2016_05/Front.jpg.e40cf5808640f6cacfce8d514b85b64c.jpg" style="width:631px;height:631px;"> </a> Third. Image with custom link. Yours code. Counter doesn't work. <a href="https://www.yandex.ru/" rel="external nofollow noopener noreferrer" target="_blank"> <img alt="raspinovka.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="783" data-unique="v7rpkriu8" src="http://goldsrc.ru/uploads/monthly_2016_05/raspinovka.jpg.cbf885dc01c5ceb463e1940dc89c2c23.jpg"> </a> I need some time to implement all the variants.
  13. You can edit template or css Example with css .ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem.ipsDataItem_unread .ipsDataItem_title:before { content: '\f111'; font-family: 'FontAwesome'; font-size: 9px; margin-right: 3px; } Result 1. http://fortawesome.github.io/Font-Awesome/icon/circle/ You need Unicode: f111
  14. Hello, Widgets do not depend on the chosen theme. 1 widget for all themes. In this case 5 skins = 5 pickers, 10 skins = 10 pickers etc
  15. See examples if I selected #121212 http://ipsfocus.net/4x/ Skin Engraved Looks good Skin Brave Unread and read looks the same Skin Uniform Looks bad
  16. I think no. There are many skins with different colors. Dark, light, red, green etc. One 'Highlight Unread' color for all will not look good
  17. Hello, You can change css selector. See example "Show icons above avatar" https://invisionpower.com/forums/topic/416464-nb40-secondary-group-icons/?do=findComment&comment=2594222
  18. Hello again. I checked and topic/post have indicator. It's css class ipsDataItem_unread See screenshot I added into custom.css .ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem { background: #00ff00; } .ipsWidget[data-blockid*="_nbRecentTopicsPosts_"] li.ipsDataItem.ipsDataItem_unread { background: #ff4000; } Result
  19. Hello, I'll add "unread indicator" in next release.
  20. Run sql query UPDATE `core_widgets` SET `embeddable`=1, `restrict`='["sidebar","cms"]' WHERE `key`='nbRecentForumImagesAttaches'; If your tables have prefix don't forget add it That allow you select widget from menu when you create block with type "plugin"
×
×
  • Create New...