Right to left postbit

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Get Involved
aaronnz220
Registered User
Posts: 10
Joined: Sat Jul 26, 2014 6:27 am

Right to left postbit

Post by aaronnz220 »

So with the new 3.1 how does one change the postbit from right to left?
Profo
Registered User
Posts: 34
Joined: Wed May 13, 2009 1:51 pm

Re: Right to left postbit

Post by Profo »

You can choose:

A style: plosirvel
An extension (Github): Profile Side Switcher
aaronnz220
Registered User
Posts: 10
Joined: Sat Jul 26, 2014 6:27 am

Re: Right to left postbit

Post by aaronnz220 »

For the extension where does it go in ext? Usually with the exts it goes like this

ext/name/extention

There's no instructions
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3626
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: Right to left postbit

Post by bonelifer »

From the ext.php file:

namespace tatiana5\profile_side_switcher

So create /ext/tatiana5/profile_side_switcher

Remember case matters.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
Dr.Death
Registered User
Posts: 400
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany

Re: Right to left postbit

Post by Dr.Death »

Some extension have no ext.php (it's not required anymore)

Have a look at the composer.json file:

"name": "vendorname/extensionname",

so you have to put this extension to:

/ext/vendorname/extensionname
Doc.
aaronnz220
Registered User
Posts: 10
Joined: Sat Jul 26, 2014 6:27 am

Re: Right to left postbit

Post by aaronnz220 »

Did that but when I go to the extensions manager it doesn't show up.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Right to left postbit

Post by david63 »

My guess would be that the underscores are causing the problem with it not showing up.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3626
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: Right to left postbit

Post by bonelifer »

The vendor name has to be the same and must obey the ORIGINAL case of the name. ie tatiana5, not Tatiana5.

This is what I used and it worked:

Code: Select all

/ext/tatiana5/profile_side_switcher
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Right to left postbit

Post by david63 »

... but underscores are not allowed in folder/namespace names - so there will always be a possibility of errors due to that.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Right to left postbit

Post by Lumpy Burgertushie »

david63 wrote:... but underscores are not allowed in folder/namespace names - so there will always be a possibility of errors due to that.
not allowed where? in phpbb? certainly that is not true in general for file/folder names. underscores are usually the preferred way to handle what would normally be a space.

spaces are not allowed in file/folder names anywhere but in windows.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3626
Joined: Wed Oct 27, 2004 11:35 pm
Name: William

Re: Right to left postbit

Post by bonelifer »

Lumpy please be aware we are talking about phpBB 3.1.x, not Olympus.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

phpBB Modders is looking for developers! If you have phpBB experience and want to join us, click here!
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: Right to left postbit

Post by PayBas »

https://wiki.phpbb.com/Developing_Extensions
<vendor> is the author or group of authors of the extension. Note that vendor and extension directory names may ONLY contain numbers and letters. Underscores, dashes, and other characters are NOT permitted. It is perfectly fine to have an extension named iamanextension.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Right to left postbit

Post by Lumpy Burgertushie »

got it, hence why I asked if it was about phpbb ( didn't mention 3.1 but that is what I meant)
sorry for stepping in. I haven't spent any time looking at 3.1 yet.

curious if the underscore is not allowed , why did it work for the poster above?



thanks,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: Right to left postbit

Post by PayBas »

Lumpy Burgertushie wrote:curious if the underscore is not allowed , why did it work for the poster above?
His problem is most likely not related to the underscore issue. We just stated it for future reference and the extension author, so that it will be changed (it won't be validated and accepted into the DB if it isn't changed).

Using underscores in extensions tends to mess with the updated template system (such as using namespace paths with INCLUDEJS). Afaik, it shouldn't actually prevent the ext from showing up and being installed (although this might change).
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Right to left postbit

Post by david63 »

Lumpy Burgertushie wrote:curious if the underscore is not allowed , why did it work for the poster above
From what i have picked up along the way I think that the underscore will work sometimes but there are some sets of circumstances (no idea what) where, when using Symfony, it causes things to "break" therefore safer to not use them.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here

Return to “[3.1.x] Styles Support & Discussion”