-
Posts
170 -
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 Cheshir
-
-
-
Link Bookmarks in blogs does not work adequately, bookmarks in clubs are not provided at all
In blogs you can only add, a second press results in an error, as there is no removal from the bookmarks
-
On 18.10.2017 at 9:36 PM, MarilynWallace said:
Is there any way to change the "Bookmark" and "Remove Bookmark" words to display the fa fa-bookmark and fa fa-bookmark-o icons?
I tried replacing the bookmarkLink template with this:
<span data-controller='bookmark.front.bookmark.link{{if $manage}}(manage.bookmark){{endif}}'> {{if !$item->isBookmarked() }} <a href="{$item->url('bookmark')->csrf()->setQueryString('isButton', $button)}" {{if $button}} class="ipsButton ipsButton_link ipsButton_verySmall "{{endif}} data-action="bookmark" data-ipsDialog data-ipsDialog-size="medium" data-ipsDialog-title="{lang="bookmark_simple"}" data-ipsDialog-remoteSubmit="true" ><div class="ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow ks"><i class="fa fa-bookmark"></i></div></a> {{else}} <a href="{$item->url('removeBookmark')->csrf()}" {{if $button}} data-isButton class="ipsButton ipsButton_link ipsButton_verySmall "{{endif}} data-action="removeBookmark"><div class="ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow ks"><i class="fa fa-bookmark-o"></i></div></a> {{endif}} </span>
But unfortunately, you have to refresh the page between bookmarking and removing bookmarks, or it'll appear as the words again instead of the fa fa icon. I'm not sure if I'm being clear lol.
Template bookmarkLink
Replace
<span class="pulse-i" data-controller='bookmark.front.bookmark.link{{if $manage}}(manage.bookmark){{endif}}'> {{if !$item->isBookmarked() }} <a href="{$item->url('bookmark')->csrf()->setQueryString('isButton', $button)}" {{if !\IPS\Application::load( 'bookmark')->isSimpleMode() }} data-action="bookmark" data-ipsDialog data-ipsDialog-size="medium" data-ipsDialog-title="{lang="bookmark_simple"}" data-ipsDialog-remoteSubmit="true" {{else}}data-action='simpleBookmark' {{endif}} data-ipsTooltip title='{lang="bookmark_i"}'><i class="fa fa-bookmark-o" aria-hidden="true"></i></a> {{else}} <a href="{$item->url('removeBookmark')->csrf()}" data-action="removeBookmark" data-ipsTooltip title='{lang="bookmark_i"}'><i class="fa fa-bookmark" aria-hidden="true"></i></a> {{endif}} </span>
Add Css
/*Pulse*/ .pulse-i { position: relative; display: block; width: 25px; height: 25px; font-size: 1.3em; text-shadow: 0 1px 0 #1f4c76; box-shadow: 0 0 0 0 rgba(90, 153, 220, 0.7), inset 0 1px 0 #ffffff; border-radius: 100%; vertical-align: middle; cursor: pointer; } span.pulse-i a { position: absolute; left: 6px; top: 3px; } .pulse-i:hover { -webkit-animation: pulse-i 1s infinite cubic-bezier(0.6, 0, 0, 1); } .pulse-i[data-controller*=manage] a { left: -7px; top: 0px; } .pulse-i[data-controller*=manage],.pulse-i[data-controller*=manage] a,.pulse-i[data-controller*=manage] a:hover { border: none !important; } @-webkit-keyframes pulse-i { to { box-shadow: 0 0 0 15px rgba(90, 153, 220, 0), inset 0 0 0 #abcbe9; } } span#pulse-i { position: absolute; left: 260px; }
For language keys add
bookmark_bookmark - <i class='fa fa-bookmark-o' aria-hidden='true'></i> bookmark_remove_bookmark - <i class='fa fa-bookmark' aria-hidden='true'></i>
-
For blogs and comments to blogs, the bookmarks do not work correctly.
-
5 hours ago, ipslover said:
Nice app, I bought it yesterday! I just don't like the fact that it's the first app to show when we log into the admin area. I would like to see the dashboard first (like it used to be) but now Classifieds is the first item in the admin menu, above System. Is there a way to change this?
Reorder this
- InvisionHQ, JTHastings and ipslover
- 2
- 1
-
17 minutes ago, onlyME said:
2. That is its style.
Then, lacking a smooth mesh....
Also, you can not specify the size of uploaded images and their cropping to specific sizes
-
12 minutes ago, onlyME said:
1. The ideas are so complex. The main feature of this plugin is getting thumbnails from posts or uploading thumbnails. It's a plugin for Forums so I don't want it's related to other application.
It is very unfortunate, it is much more convenient for people to choose from existing images, simply by clicking on the mouse several times, than uploading a new image (in addition, this reduces the disk space).
7 minutes ago, onlyME said:3. I don't understand.
-
Not enough:
1. The possibility of choosing their images from the Gallary.
2. The ability to specify the display length of the subject (to the size of the blocks do not jump because of the different number of rows in the title).
3. In Gallery mode, not enough show "All".
4. Possibilities in the forced form to force users to select an image.
-
Well, probably there is better to know. Thanks for the help
-
Now I'm writing a plugin with the functionality you'll never use in the application Classified. In a nutshell: there is a group of users for whom no information is available about the user who posted the ad (not available: name, photo, etc., all information which you could use to identify the author of the announcement) are also available able to offer a price. If the user has purchased access to the VIP group, it is available a button to "Offer your price" but the information about the author remains unavailable, while the advertiser does not accept the offer of the user.
For the implementation it is necessary to obtain information:
1. How to eliminate ads from Classifieds site search.
2. How to eliminate ads and ad (answers, questions, reviews, etc.) from the activity feed.
3. How to exclude information about announcements of the activity profile.With the above you can handle, if you disable ContentRouter, but how to do the hook?
Should look like the code that allows you to see information about the author of the ad Only to the user who sent the price to the author and if the author of the ad accepted his offer?
Bookmarks - Support Topic
in Marketplace
Posted
Thank you @Fosters for solving the problem with bookmarking blogs so quickly, but there is one more unpleasant bug.
If add content to Bookmarks, and then immediately delete it from the Bookmarks (same button), and add again, an error occurs.