Right to left postbit

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

Right to left postbit

Post by aaronnz220 » Sat Jul 26, 2014 7:05 am

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 » Sat Jul 26, 2014 2:06 pm

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 » Sat Jul 26, 2014 9:16 pm

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: 3473
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: Right to left postbit

Post by bonelifer » Sat Jul 26, 2014 11:08 pm

From the ext.php file:

namespace tatiana5\profile_side_switcher

So create /ext/tatiana5/profile_side_switcher

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

User avatar
Dr.Death
QA Team
Posts: 363
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Re: Right to left postbit

Post by Dr.Death » Sun Jul 27, 2014 8:14 am

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 » Mon Jul 28, 2014 4:23 am

Did that but when I go to the extensions manager it doesn't show up.

User avatar
david63
Registered User
Posts: 16415
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Right to left postbit

Post by david63 » Mon Jul 28, 2014 5:54 am

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3473
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: Right to left postbit

Post by bonelifer » Mon Jul 28, 2014 8:47 am

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
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

User avatar
david63
Registered User
Posts: 16415
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Right to left postbit

Post by david63 » Mon Jul 28, 2014 9:26 am

... 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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Lumpy Burgertushie
Registered User
Posts: 66575
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Right to left postbit

Post by Lumpy Burgertushie » Mon Jul 28, 2014 1:53 pm

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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3473
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: Right to left postbit

Post by bonelifer » Mon Jul 28, 2014 1:54 pm

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

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: Right to left postbit

Post by PayBas » Mon Jul 28, 2014 1:59 pm

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: 66575
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Right to left postbit

Post by Lumpy Burgertushie » Mon Jul 28, 2014 2:14 pm

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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: Right to left postbit

Post by PayBas » Mon Jul 28, 2014 2:21 pm

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: 16415
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Right to left postbit

Post by david63 » Mon Jul 28, 2014 2:25 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Locked

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