illuminate ☀️

illuminate ☀️ [Paid] 2.3.2

No permission to buy ($45.00)
Yes, the themes were updated last week for 2.3.3.

My users love this theme.

Unfortunately, this theme does not work for Elastic Search and custom search suggestions.

It works on the default XF version, but as soon as the user selects this theme, the function no longer suggests.

Looks like this is also reported in other @Ehren themes as well...


As such, I had to disable it as an customer option.
 
It works on the default XF version, but as soon as the user selects this theme, the function no longer suggests.

To fix this, under Page_Container in the theme, replace the "can Search()" block with the native Xenforo code.

Code:
<xf:if is="$xf.visitor.canSearch()">
                            <a href="{{ link('search') }}"
                                class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--search"
                                data-xf-click="menu"
                                data-xf-key="{{ phrase('shortcut.search_menu')|for_attr }}"
                                aria-label="{{ phrase('search')|for_attr }}"
                                aria-expanded="false"
                                aria-haspopup="true"
                                title="{{ phrase('search')|for_attr }}">
                                <i aria-hidden="true"></i>
                                <span class="p-navgroup-linkText">{{ phrase('search') }}</span>
                            </a>
                            <div class="menu menu--structural menu--wide" data-menu="menu" aria-hidden="true">
                                <form action="{{ link('search/search') }}" method="post"
                                    class="menu-content"
                                    data-xf-init="quick-search">

                                    <h3 class="menu-header">{{ phrase('search') }}</h3>
                                    <!--[XF:search_menu:above_input]-->
                                    <div class="menu-row">
                                        <xf:if is="$searchConstraints">
                                            <div class="inputGroup inputGroup--joined">
                                                <xf:textbox name="keywords"
                                                    data-xf-init="{{ $xf.searchAutoComplete ? 'search-auto-complete' : '' }}"
                                                    data-acurl="{{ link('search/auto-complete') }}"
                                                    placeholder="{{ phrase('search...') }}"
                                                    aria-label="{{ phrase('search') }}"
                                                    data-menu-autofocus="true" />
                                                <xf:select name="constraints"
                                                    class="js-quickSearch-constraint"
                                                    aria-label="{{ phrase('search_within') }}">

                                                    <xf:option value="">{{ phrase('everywhere') }}</xf:option>
                                                    <xf:foreach loop="$searchConstraints" key="$constraintName" value="$constraint">
                                                        <xf:option value="{$constraint|json}">{$constraintName}</xf:option>
                                                    </xf:foreach>
                                                </xf:select>
                                            </div>
                                        <xf:else />
                                            <xf:textbox name="keywords"
                                                data-xf-init="{{ $xf.searchAutoComplete ? 'search-auto-complete' : '' }}"
                                                data-acurl="{{ link('search/auto-complete') }}"
                                                placeholder="{{ phrase('search...') }}"
                                                aria-label="{{ phrase('search') }}"
                                                data-menu-autofocus="true" />
                                        </xf:if>
                                    </div>

                                    <!--[XF:search_menu:above_title_only]-->
                                    <div class="menu-row">
                                        <xf:checkbox standalone="true">
                                            <xf:option name="c[title_only]">
                                                <xf:label>
                                                    {{ phrase('search_titles_only') }}

                                                    <xf:if is="$xf.options.enableTagging">
                                                    <span tabindex="0" role="button"
                                                        data-xf-init="tooltip" data-trigger="hover focus click" title="{{ phrase('tags_will_also_be_searched')|for_attr }}">

                                                        <xf:fa icon="far fa-question-circle" class="u-muted u-smaller"
                                                            title="{{ phrase('note')|for_attr }}" />
                                                    </span>
                                                    </xf:if>
                                                </xf:label>
                                            </xf:option>
                                        </xf:checkbox>
                                    </div>
                                    <!--[XF:search_menu:above_member]-->
                                    <div class="menu-row">
                                        <div class="inputGroup">
                                            <span class="inputGroup-text" id="ctrl_search_menu_by_member">{{ phrase('by:') }}</span>
                                            <input type="text" class="input" name="c[users]" data-xf-init="auto-complete" placeholder="{{ phrase('member')|for_attr }}" aria-labelledby="ctrl_search_menu_by_member" />
                                        </div>
                                    </div>
                                    <div class="menu-footer">
                                    <span class="menu-footer-controls">
                                        <xf:button type="submit" class="button--primary" icon="search" />
                                        <xf:button type="submit" name="from_search_menu">{{ phrase('advanced_search...') }}</xf:button>
                                    </span>
                                    </div>

                                    <xf:csrf />
                                </form>
                            </div>
                        </xf:if>
 
Does anyone have their post counts not showing in the postbit w/ this style? I have it checked in settings and its working on my other style, so I don't "think" its a plugin conflict or similar. Any thoughts?

I tried turning on reaction score and that works fine.
 
The post count is working fine on the demo board. This code is untouched in the theme, so double check to make sure the setting is actually enabled.

Screenshot 2025-03-22 at 9.31.55 pm.webp
 
Back
Top Bottom