Jump to content

opentype

Clients
  • Posts

    9,933
  • Joined

  • Last visited

  • Days Won

    137

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by opentype

  1. You need to be more specific or link an example. What’s the error message? Is the file not being generated? 404? Permission denied? …? In general, the support is global. It should work everywhere or not at all.
  2. This code … $recordClass::getItemsWithPermission( array(array('category_id=?',$record->container()->id), … Results in “Column 'category_id' in where clause is ambiguous” in developer mode. How can I make the call unambiguous? I haven’t found anything about using aliases in such a call with getItemsWithPermission and prepared statements. (Manually adding the column name works of course, but I am not sure that’s the cleanest and recommended solution.)
  3. It’s regular text characters, so you can’t easily prevent it. Disallow it in your rules and apply sanctions if users use it anyway.
  4. Yes. The styling library working in the background expects HTML and treats < and > as parts of tags, even when they are part of the PHP template tags. I deliberately didn’t post a specific example, because I was hoping there could be a general solution, not just a work-around for a specific case I would post. Just to be clear: the code works. It’s the dynamic styling that breaks, making coding in the ACP unnecessarily difficult.
  5. Testing … Text directly after video.
  6. Sometimes I have to use use mathematical operators within template tags in templates, e.g. {{ … > … ;}} But this kills the HTML styling for parts of the template or even the rest of the template, making it hard to navigate the document, spot errors and it also kills the automatic code indentation. Is there any way around that?
  7. When working with theme templates, there is a Revert button. When we click it, we get a warning and we can safely restore the stock template. When working with Pages templates (Pages → Templates) a Revert button exists in the same spot, yet, behaves completely different. It actually DELETES the template, even without warning, potentially making the entire template set unusable with no way to add the missing template back to the template set. To replicate: create a Pages database template (e.g. Record template) edit a template (e.g. Record → Record) it actually shows a delete button now and the template is marked with an orange “C” instead of a green “I” (what do those stand for by the way?) now leave the template section and come back now the same template will be shown with a red M and the “revert” button appears, calling an “?do=delete“ action. To sum up the bug report: The Revert button should get the correct label “Delete” and and a warning dialog explaining that deleting a template could permanently damage a template set. Feature request: Having an actual Revert button for a template in a template set would be welcome. I can create an entire template set at any time. Why can’t I revert a modified template back to the unmodified state, just as with theme templates?
  8. Do you have the Pages app? It would allow you to create a custom homepage where guests would see a welcome message. Alternatively, it might be better to not remove app access entirely, so that guests don’t instantly run into an error page. You can also give access to the forum app for example, but not actually have them see any posts through the permissions of each forum.
  9. Since some in this topic are probably in the EU, I add this relevant information:
  10. That’s exactly how it works. Just paste the URL from YouTube or Vimeo and it will embed. Example: If you really want to deal with the embed code, you can’t just post the code into the editor, as the editor doesn’t process HTML in the text mode. You would need to switch to the source code mode.
  11. I see. Yeah, for a download that even guests can use, I am not surprised the numbers don’t match. People can share the download link button or the the download URLs directly, so it wouldn’t actually create a page view.
  12. Yeah, millions of online shops have that very same problem. They do a simple calculation based on one parameter, but parcel services have multiple parameters and limits. 3 of item A and 5 of item B might coincidentally fit in a certain box (and so a combined flat fee for multiple items and even different products makes perfect sense), but add one more of item A and you end up with a completely different box range and a completely different price. To solve that, the shopping system would need to be able to know which boxes you have and virtually fill them in advance based on sizes and weight limits and even chose multiple packages in some cases. Only very sophisticated and usually custom(!) shop systems will be able to replicate the necessary logic. Our normal shops will have to work with a mixed calculation unfortunately.
  13. You can just post the image URL, like https://someserver.com/theimage.jpg
  14. Would be much easier to judge this with more details/context or on the original website. Without that, it’s just guessing. If the two values don’t match, which one is suspicious? Are the views too low? Maybe that’s indicating a caching problem? Or are the downloads too high? That would be a different story. Is it a free download or paid? That would make a difference. Is it one file only with that problem or multiple files? And so on …
  15. My suggestion would be to copy the entire template into a coding editor. They can select an HTML tag from start to finish so you don’t have to figure it out yourself.
  16. I’ve seen that before. I just wanted to post the URLs but the sites are closed now. So much for that experiment. 😜
  17. That comparison doesn’t work at all. A license isn’t a warranty. Software isn’t a physical product, nor is extending a license (with defined digital services) similar to buying a completely new product. From a purely practical perspective, what you are asking for is bad idea. Third-party products are built on top of the IPS platform. You need to keep them synced or things will break sooner or later. I just pushed an update last week for one my plugins after IPS made a change in IPS 4.6.9. My update reacts to this change and resolves the created conflict. But if your license is expired and you stay on an older version, it would in fact be the plugin update that would break the product. Long story short: Either keep everything updated or pause all the updates for some time. It’s one of the two. You can’t expect to stay on older versions indefinitely and still keep getting updates for it. The Marketplace is way too small to accommodate the necessary “branched development”.
  18. I keep trying but every (closed) club is like starting a new community from scratch and I never get clubs busy enough. I don’t use the open clubs. That doesn’t make much sense to me because it goes against the club concept of joining a club first. Paid clubs would be an interesting concept once we can have Pages databases in clubs. That would open up lots of options like paid online courses.
  19. A Pages database works as an FAQ database out of the box. It doesn’t need a certain template. What else do you have in mind on top of the stock functionality? If you describe it, we could probably make some suggestions.
  20. Yes, it’s normal. See this recent topic about spammers creating such accounts. https://invisioncommunity.com/forums/topic/462206-spam-defense-tuning/
  21. Well, there is no setting for it. You would have to mess with the theme template if that’s worth it to you. The template is called “customerInformation”. In it, you will find two DIVs with the class name “ipsGrid_span6”. You would have to switch their order.
  22. What do you mean by category? In a forum, you can certainly pin multiple topics. Do you mean a different spot?
  23. You can also easily create a custom version of almost any widget using Pages custom blocks. Custom templates are part of that and it wouldn’t require plugins or theme changes. You just need to be aware that those blocks are being cached, which can be problematic when live data such as online users are meant to be shown.
  24. I have this for years on multiple communities. It doesn’t make a difference. Those spammers will just use every registration form they find. They aren’t evaluating their chances of placing links first.
×
×
  • Create New...