Welcome On Index

Extensions & Styles for phpBB 3.1.X maintained and supported by Stoker
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Welcome On Index

Post by Stoker »

Thanks Sniper,
I know there is an isue on mobile view but havent had the time to look at it.
Ill try out your template :thumb:
Board rules! No PM support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Welcome On Index

Post by Stoker »

Sniper_E wrote:But I'm not sure how to get the avatar to go away in the upright view. In the 550px or 430px max-width:
The class responsive-hide will do the trick:

Code: Select all

<span class="forum-image responsive-hide">
Board rules! No PM support
User avatar
Sniper_E
BBCoder II
BBCoder II
Posts: 44
Joined: 04 Dec 2011, 06:30
BBCodes: 1
Contact:

Re: Welcome On Index

Post by Sniper_E »

Thanks Stoker! :thumb: That extra class worked fine. But the avatar image went away too fast.

I want to see the avatar on my cell phone when holding phone sideways. And it goes away upright.
So I used the codes on my first post and set the avatar to drop after 430px
I just added a .forum-image class in the responsive stylesheet to do that...

responsive.css

Code: Select all

@media only screen and (max-width: 430px), only screen and (max-device-width: 430px) {
	.section-viewtopic .search-box .inputbox {
		width: 110px;
	}
	.forum-image {
		display: none;
	}
}
Now the avatar drops off at the right time. It's perfect!
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

Re: Welcome On Index

Post by Solidjeuh »

This extension works great, Tried on my test forum :D
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Re: Welcome On Index

Post by Nully »

Hi,
I installed locally your extension.
I created a new folder "fr" in language where I translated in french, it's ok.
Thanks Stoker :D
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Re: Welcome On Index

Post by Nully »

Hello,
in which file can I translate

Code: Select all

{L_WELCOME_TO_MOD}
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Welcome On Index

Post by Stoker »

There is a common file in the language folder
Board rules! No PM support
User avatar
Nully
Donator
Donator
Posts: 258
Joined: 15 Mar 2010, 00:03
BBCodes: 10
Favourite MOD: Radios
Location: France > Bulgaria
Contact:

Re: Welcome On Index

Post by Nully »

Ok, I found it in
\ext\stoker\welcomeonindex\language\fr\welcomeonindex.php
User avatar
Sniper_E
BBCoder II
BBCoder II
Posts: 44
Joined: 04 Dec 2011, 06:30
BBCodes: 1
Contact:

Re: Welcome On Index

Post by Sniper_E »

I installed paul999's ajax_shoutbox extension, his template was named index_body_stat_blocks_before
And I renamed his template to index_body_markforums_before.html just like yours... to get it off the bottom.

His shoutbox showed on the top of the page above your mod. I wanted your mod on the very top of the page.
I renamed your template overall_header_content_before.html to get your mod on top.

You may want to consider changing your template name because, I think, your Welcome! should always be on top.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Welcome On Index

Post by Stoker »

You have a point there sniper. Thanks.
Ill see if I can get it updated this week.

overall_header_content_before.html doesnt this place it on all pages?
Board rules! No PM support
Post Reply