Jump to content

Adriano Faria

Clients
  • Posts

    31,873
  • Joined

  • Days Won

    475

 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 Adriano Faria

  1. It happens that the plugin hasn't any HTTP hardcoded in the template. It uses the IPS functions and CSS to display flags. Template: <ul class='ipsList_inline'> {{foreach $languages as $id => $lang }} <li> {{$url = \IPS\Http\Url::internal( 'app=core&module=system&controller=language&id='.$id, 'front' )->csrf();}} <a data-ipsTooltip data-ipsTooltip-label=" {$lang->title}" href='{$url}'><i class='{$lang->get__icon()}'></i></a> </li> {{endforeach}} </ul> Function: /** * Get Icon * * @return string * @note Works on Unix systems. Partial support for Windows systems. */ public function get__icon() { return "ipsFlag ipsFlag-{$this->getCountry()}"; } CSS (which is default from IPS): /* Normal */ .ipsFlag { width: 16px; height: 16px; background: url("{resource="flags16.png" app="core" location="global"}") no-repeat; display: inline-block; vertical-align:text-top; line-height:16px; } .ipsFlag.ipsFlag-ad{background-position:0 -352px;} .ipsFlag.ipsFlag-ae{background-position:0 -368px;} .ipsFlag.ipsFlag-af{background-position:0 -384px;} ... ... ... That's all. No HTTP or HTTP anywhere.
  2. What's New in Version 1.0.3.1: Fix: Prize image when you're editing a prize Btw @JTHastings, there's a setting that will not allow to add image to the raffle description:
  3. It is a widget. It uses the cache. Your board is far from being a large board. Let me test in a real big board. EDIT: I'm without ACP access in the board I mentioned. I will have to wait for the admin to reply my message. I'll post here.
  4. Laggy? What's that?
  5. Yes, you can: If the raffle/giveaway already has participants, then you can't. I can reproduce the -200 error. Will take a look.
  6. Ok, I’ll try to reproduce it. If it’s a issue, will be fixed.
  7. It is like that because you have only one prize. If you have more than 3, a link will show up to view all prizes and will appear just like participants.
  8. I just tested and it works fine: Waiting for more details.
  9. Can you please show a screenshot? Not sure what you mean. You added images to the raffle description. There’s a place to add prizes. Ok, it seems you got that. So are you saying you can’t delete the attachments by simply clicking in the trash can in the images?
  10. Yes, if it's free then equal chances are a good thing. Only in Raffles you are able to allow more tickets per member.
  11. I don't see relation with the plugin. The plugin doesn't do anything related to tabs like Forums, Gallery, etc. Have you tested on default theme? Disable the plugin and reload the page (club) and try to see if it works.
  12. You can’t. They will need to create an account
  13. I *believe* it works but can’t be sure as I don’t have this version to test, so unfortunately you better not take the risk.
  14. New version will recognize all APPs that their content items/containers can be followed + all Pages databases (previous version uses only Articles):
  15. Hi Roger. Send a PM with ACP access and I’ll do it for you.
  16. I wouldn't say it is a theme issue. That's the default template: {{if member.member_id and member.group['g_create_clubs']}} <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=core&module=clubs&controller=directory&do=create" seoTemplate="clubs_list"}" data-ipsDialog data-ipsDialog-title="{lang="create_club"}">{lang="create_club"}</a> {{endif}} then I add the other button: {{if member.isAdmin()}} <a class="ipsSpacer_top ipsButton ipsButton_medium ipsButton_negative ipsButton_fullWidth" href="{url="app=core&module=clubs&controller=directory&do=banMembers" seoTemplate="clubs_ban"}">{lang="clubsenhancementsBannedMembers"}</a> {{endif}} There's no UL/LI there, so I don't think I can use something "right" there.
  17. It appears right in the default theme: It is a hook. I'll add a template for the next version, then you can modify it the way you want.
  18. I’ll try to reproduce.
  19. That happens because you removed the forum but didn't removed it from the plugin settings, thus it keeps being added as a "valid" forum. I'll add a check for the forum ID.
  20. This will require the plugin to be converted to app. I'll try to make it during the weekend.
  21. I will remove or fix the plays in next version. There’s no leaderboard in Study mode since no game/result is recorded.
  22. No, sorry, not really. Anyway, if I'm getting this right, you have something similar in the STUDY mode. I won't add same in Graded mode, sorry.
  23. I'll make some research and will post here.
  24. Explanation is already there. Only in Study mode. Graded don't.
  25. You already have this in the quiz results. Not sure what you mean.
×
×
  • Create New...