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.
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:
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.
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.
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?
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.
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.
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.