Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-27 20:18:48

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

[contrib] TXP Tips - request for contributions and authorisation

After the launch of TXP Tips yesterday, I would like to request that TXP community members submit their own code snippets

In addition, I would like to request community members to post below their authority for TXP Tips to reproduce any forum posts that contain code snippets that help build TXP powered sites.

Copyright is retained by the author of the tips and forum posts, and credited on the TXP Tips site next to each tip.

Offline

#2 2008-09-27 20:43:41

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

For the contributed code, which license is used?

Offline

#3 2008-09-27 22:11:24

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

What do you feel would be most appropriate?

Offline

#4 2008-09-28 06:53:19

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

GPLv2 or later… or perhaps ISC

Offline

#5 2008-09-28 07:08:17

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

Hi – is GPL v2 this one? Which one is ISC? Have a link?

Offline

#6 2008-09-28 08:19:24

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

Would be nice to see the amount of snippets in right categories menu, don’t you agree?

Last edited by the_ghost (2008-09-28 08:19:45)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#7 2008-09-28 09:42:56

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

I would agree with Victor on that one. Save you opening up empty categories.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#8 2008-09-28 10:53:48

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

GPL v2.0 or later:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Setting the license to GPL v2.0 or later allows people to use the newer GPL v3.0 license as well. GPL 2 and 3 are not compatible, but by specifying “GNU GPLv2 or later” the user can pick the right version.

ISC:
http://www.opensource.org/licenses/isc-license.txt
http://en.wikipedia.org/wiki/ISC_license
This license is compatible with (I think) all other free licenses and very short and simple to understand.

Offline

#9 2008-09-28 16:57:05

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

@ Stuart/Victor – I will look at the categories later. Have a birthday party for my 10 year old son first :-) Probably tomorrow. Thanks for any input!

@ Ruud – which license would be better? The ISC one? If so, I will put up a notice on the TXP Tips site tomorrow. I don’t really know much about licenses :-(

Offline

#10 2008-09-28 17:00:04

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

BTW – please can we keep this thread on topic – I am requesting contributions and permission to post your forum post code snippets. If you agree (license will either be GPL or ISC) then please post here. For anything else related to TXP Tips, please use the main thread

Offline

#11 2008-09-28 17:16:59

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

@ Stuart/Victor: Category list count implemented, with the aid of cbs_category_list….

Offline

#12 2008-09-28 18:59:58

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [contrib] TXP Tips - request for contributions and authorisation

Officially allow to use my snippets for your site:)

Zem_contact_reborn snippet:

 <txp:zem_contact label=""
to="your@mail.com"
subject="Letter from site www.victorus.net">

 <txp:zem_contact_text
label="Your name:"
name="name"/><br /><br />

 <txp:zem_contact_email
label="Your email:"
name="zemail" /><br /><br />

 <txp:zem_contact_select
label="Topic of email:" 
break="br" 
list=",Adv questions,
Contribution,
Other"
required="yes" name="topic"/>
<br /><br />
 <txp:zem_contact_textarea cols="40" label="Your message:" name="message" /><br /><br />

 <txp:zem_contact_submit label="Send message as fast as possible!" />
 </txp:zem_contact>

Spaces at the beginning are used to avoid textiling when inserting this code into article.

Search form (taken somewhere in this forum):

<form action="<txp:site_url />" method="get">
<div>
	<input id="q" name="q" type="text" value="<txp:page_url type="q" />" /> 
	<input type="submit" value="Найти!" />
</div>
</form>

Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

Board footer

Powered by FluxBB