[ABD] Template Events Locations (for extension developers)

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [RC] Template Events Locations (for developers)

Post by Oyabun1 »

And a pull request for 3.1.5. ;)
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
martti
Registered User
Posts: 854
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [RC] Template Events Locations (for developers)

Post by martti »

Oyabun1 wrote:And a pull request for 3.1.5. ;)
Ok, merged. Great.
shep1965
Registered User
Posts: 31
Joined: Wed Jul 01, 2015 6:37 am

Re: [RC] Template Events Locations (for developers)

Post by shep1965 »

Hi

Im trying to get my adserver invocation code into certain locations and figured this would be great for that
I uploaded and enabled the extension, but it isn't showing up in ACP/extensions?

Tony
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4692
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Template Events Locations (for developers)

Post by HiFiKabin »

There are no settings in Extensions

Image
image post

click the link and the events are inserted

Image
image post
User avatar
SiteSplat
Registered User
Posts: 82
Joined: Sun Sep 07, 2014 7:17 pm
Contact:

Re: [RC] Template Events Locations (for developers)

Post by SiteSplat »

just dropping by to say this has been really useful for quick reference while building styles and extensions.

Good idea indeed. Shouldn't be hard to maintain either.

Cheers!
Dave
User avatar
gn#36
Translator
Posts: 194
Joined: Fri Oct 13, 2006 1:16 pm
Contact:

Re: [RC] Template Events Locations (for developers)

Post by gn#36 »

Nice extension. May I suggest to add a packagist entry? This will ease installation of the extension for development purposes. It is really easy to do - you basically only need to give it the github link and your almost done.

One can then simply add "marttiphpbb/templateevents": "dev-master" in the require-dev section of the composer.json of the development forum and install the current version of the extension using composer.
German Support Team Member • http://www.phpbb.deMy Extensions in the CDBMy Extensions on Github • Contact with caos is inavoidable but no catastrophy if you keep an overview.
TWEagle
Registered User
Posts: 304
Joined: Sat Dec 10, 2005 2:50 pm
Contact:

Re: [RC] Template Events Locations (for developers)

Post by TWEagle »

is it possible to let only admins see those event locations and not the users self?
Image
User avatar
martti
Registered User
Posts: 854
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [RC] Template Events Locations (for developers)

Post by martti »

The_White_Eagle wrote:is it possible to let only admins see those event locations and not the users self?
Only admins can see the template locations.
User avatar
martti
Registered User
Posts: 854
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [RC] Template Events Locations (for developers)

Post by martti »

gn#36 wrote:Nice extension. May I suggest to add a packagist entry? This will ease installation of the extension for development purposes. It is really easy to do - you basically only need to give it the github link and your almost done.

One can then simply add "marttiphpbb/templateevents": "dev-master" in the require-dev section of the composer.json of the development forum and install the current version of the extension using composer.
From phpBB version 3.1 one is not supposed to modify the core.
If you really like to use composer, you can add the github repository as the source. Plus, you should set the ext directory as destination. Otherwise the code would go to the vendor directory.
User avatar
gn#36
Translator
Posts: 194
Joined: Fri Oct 13, 2006 1:16 pm
Contact:

Re: [RC] Template Events Locations (for developers)

Post by gn#36 »

Why would that be a reason not to add it to packagist? I am not asking you to add it to your own phpBB. Besides, it is not necessary to change the phpBB composer.json to install extensions to it and I don't intend to do so.

You can also create a separate composer.json, which, if it depends on the composer installer package as well, can install extensions to the correct directory automatically. You can even download phpBB itself using composer AND put the extensions in the correct spot without ever touching the phpBB composer.json. Here I have posted an example that could be used. It goes into the folder above phpBB and will install a phpBB to a folder called "community", including several extensions.
German Support Team Member • http://www.phpbb.deMy Extensions in the CDBMy Extensions on Github • Contact with caos is inavoidable but no catastrophy if you keep an overview.
User avatar
martti
Registered User
Posts: 854
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [RC] Template Events Locations (for developers)

Post by martti »

Ok, this is the first time I add something to packagist. I hope it went alright:
https://packagist.org/packages/marttiph ... lateevents
User avatar
gn#36
Translator
Posts: 194
Joined: Fri Oct 13, 2006 1:16 pm
Contact:

Re: [RC] Template Events Locations (for developers)

Post by gn#36 »

Perfect! Thank you very much!
German Support Team Member • http://www.phpbb.deMy Extensions in the CDBMy Extensions on Github • Contact with caos is inavoidable but no catastrophy if you keep an overview.
User avatar
Sniper_E
Registered User
Posts: 811
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [RC] Template Events Locations (for developers)

Post by Sniper_E »

I grabbed this when you first came out with it martti. Great Idea/Good Job Man!
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
User avatar
3Di
Former Team Member
Posts: 15635
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [RC] Template Events Locations (for developers)

Post by 3Di »

@martti

Are you still on this?
It would be nice to see this extension auto-updating those events somehow. :)

Regards.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Looking for a specific feature or alternative option?
User avatar
martti
Registered User
Posts: 854
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [RC] Template Events Locations (for developers)

Post by martti »

I've just added the template events for 3.1.7
Post Reply

Return to “Abandoned Extensions”