So you're still on phpBB 3.1.5 ?John connor wrote: ↑Mon Jun 11, 2018 9:14 pm I have been using this from day one. I couldn't live without it. I have audio played to a banned account and set my footer items with this code. I'm scared to update though as I don't want anything to break. I do use parameter template vars I think it's called as well.
CUSTOMCODE_PARAM_
marttiphpbb_customcode.query.
PARAMETERNAME
to lowercase parametername
.Ok, so you are not using this extension because version pre-2.0.0 dioesn't work together with phpBB 3.1.6+.John connor wrote: ↑Mon Jun 11, 2018 9:45 pm No, I'm on 3.2.2 and just use the extension in my FTP. It has no GUI in the Extensions tab. I modify the code manually through the FTP. However, I'm very code stupid so I have no idea what you just said there. You were the one to help me use my footer and banned audio code. The banned audio code apparently needed that parameter template code extension.
Ah, and that's where I'll wait. So far what I have now works great.
These template events are not yet supported. Only these at the moment:roepertje wrote: ↑Wed Feb 13, 2019 1:51 pm I installed and enabled Group Template Variables and Custom Code
How to
hide avatar for guest and members without an avatar
and
show avatar for members in group 9 "members with avatar"
What I did so far:
Events:
viewtopic_body_avatar_before and viewtopic_body_avatar_after
memberlist_view_content_prepend and memberlist_view_rank_avatar_before
I added above events to customcode_directory.php
I created html files in styles/all/template/event and changed the event-name and changed the name of the file. (copy from overall_header_content_before.html)
In the ACP:
viewtopic_body_avatar_before:
{%- if marttiphpbb_grouptempvars.9 -%}
viewtopic_body_avatar_AFTER
{%- endif -%}
It does not work. Maybe I misunderstood something?
I followed exactly your tutorial, but my code seems not to work for groups.Galixte de EzCom wrote: ↑Wed Feb 13, 2019 4:44 pm I explain to add new event here: http://www.ezcom-fr.com/viewtopic.php?p=1501#p1501. You can translate my post by using the “Traduire en” menu to select “ENGLISH” then by clicking on the “Traduire en” link.