National Flags

Show On Memerlist Instead of Index Page - National Flags

Show On Memerlist Instead of Index Page

by Exclusive » Fri Nov 23, 2018 11:50 am

I would prefer mine to be shown on the memberlist.php page instead of the index page...?
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

βœ” Best Web Hosting with 99.9% Uptime! | βœ” Buy Cheap Domain Names
User avatar
Exclusive
Registered User
Posts: 676
Joined: Mon Jun 25, 2018 1:33 pm

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Fri Nov 23, 2018 1:59 pm

They are
Capture.PNG
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Show On Memerlist Instead of Index Page

by Exclusive » Sat Nov 24, 2018 4:13 pm

I mean to show like this:

flag.png
flag.png (9.64 KiB) Viewed 102 times

...below the memberlist.php page
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

βœ” Best Web Hosting with 99.9% Uptime! | βœ” Buy Cheap Domain Names
User avatar
Exclusive
Registered User
Posts: 676
Joined: Mon Jun 25, 2018 1:33 pm

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Sun Nov 25, 2018 2:13 am

Why? I am failing to see what the advantage is in having the exact same thing you have on the index page displayed on the memberlist page.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Show On Memerlist Instead of Index Page

by Exclusive » Tue Nov 27, 2018 11:29 am

RMcGirr83 wrote:Why? I am failing to see what the advantage is in having the exact same thing you have on the index page displayed on the memberlist page.
No, I'll prefer it in the memberlist page instead of the index page that's what i mean!
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

βœ” Best Web Hosting with 99.9% Uptime! | βœ” Buy Cheap Domain Names
User avatar
Exclusive
Registered User
Posts: 676
Joined: Mon Jun 25, 2018 1:33 pm

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Tue Nov 27, 2018 12:40 pm

Not easily achieved as there aren't any template events in the code to inject the html.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Show On Memerlist Instead of Index Page

by Exclusive » Thu Nov 29, 2018 6:45 pm

OK. I would have loved that!
Use Search Button to get Instant Results | Follow Forum Rules
Avoid Spams in the forum to prevent banning the offending account. | ⟿ Visit My Awesome phpBB Forum! ⬳

βœ” Best Web Hosting with 99.9% Uptime! | βœ” Buy Cheap Domain Names
User avatar
Exclusive
Registered User
Posts: 676
Joined: Mon Jun 25, 2018 1:33 pm

Re: Show On Memerlist Instead of Index Page

by 3Di » Thu Nov 29, 2018 6:52 pm

RMcGirr83 wrote:Not easily achieved as there aren't any template events in the code to inject the html.
You can tell me where you do want an event created there in the memberlist_body, if not already done here

https://github.com/phpbb/phpbb/pull/5458

I will add it to my PR.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Fri Nov 30, 2018 1:02 pm

Not sure where you have them already. At the top or at the bottom or both I guess.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Show On Memerlist Instead of Index Page

by 3Di » Sat Dec 01, 2018 12:55 am

RMcGirr83 wrote:Not sure where you have them already. At the top or at the bottom or both I guess.
https://github.com/phpbb/phpbb/pull/545 ... df6167a8a1
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Sat Dec 01, 2018 12:06 pm

πŸ‘
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Show On Memerlist Instead of Index Page

by bammerli » Wed Feb 26, 2025 8:47 am

As a beginner, I don't understand much of the solution offered here, so I'm just asking something stupid.
All flags are displayed to me in all places where they should be displayed, it's just about the flag overview, which is standard in the index of the forum at the bottom

I have the following code in the memberlist_body.html

Code: Select all

<div class="action-bar bar-bottom">
	<div class="pagination">
		{TOTAL_USERS}
		<!-- IF .pagination -->
			<!-- INCLUDE pagination.html -->
		<!-- ELSE -->
			 &bull; {PAGE_NUMBER}
		<!-- ENDIF -->
	</div>
</div>

{% EVENT memberlist_body_page_footer_before %}

{% if S_FLAGS %}
	{% INCLUDE '@rmcgirr83_nationalflags/index_flags.html' %}
{% endif %}


<!-- IF S_IN_SEARCH_POPUP -->
	<!-- INCLUDE simple_footer.html -->
<!-- ELSE -->
	<!-- INCLUDE jumpbox.html -->
	<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->
The content is missing, I just don't understand what and from where. Shouldn't everything be in the index_flags.html?. Maybe someone can help, it would look great in the member list.

I work with phpbb3 and PHP version 8.3.16

sry, my english is too bad, google translate was allowed

thanks for your time
Attachments
Screenshot.png
bammerli
Registered User
Posts: 20
Joined: Thu Feb 13, 2025 8:04 am

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Wed Feb 26, 2025 12:51 pm

Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Show On Memerlist Instead of Index Page

by bammerli » Wed Feb 26, 2025 2:39 pm

Perfect!!
With the new version 2.4.2 it works perfectly.
Thanks to the instructions for updating this extension, there were no user input errors, all flags as they were ;)

I thank for yours help. I'm really relieved ;)
Would it now be possible to allow the user to hide this field? Maybe like expandable forums on the main page?

Came to mind spontaneously when I had the final result in front of me ;)
If that's not possible, my world won't end, it would just be the icing on the cake for me

Greetings
bammerli
Registered User
Posts: 20
Joined: Thu Feb 13, 2025 8:04 am

Re: Show On Memerlist Instead of Index Page

by RMcGirr83 » Wed Feb 26, 2025 11:42 pm

Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr