2k11 und Kommentare vom Autor

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

Mattsches Lösung für zumindest diese eine Variable halte ich für pragmatisch und simpel, ich denke das könnte man schon gut einbasteln.
Stimmt! Jetzt habe ich das "// <--- NEU!!" in der query erst entdeckt... (- vor allem da wir auf pragmatisch und simpel stehen ;-) )
Hast du, Mattsches, nicht sowieso gerade die ID in 2.0 mit eingepflegt? (mir war so als ob ich sowas in den commits gelesen hätte)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

:!: Mattsches, willst du das nicht in die master (für upcoming 1.7.1) und in 2.0 committen?
Ich habe es gerade ausprobiert und es klappt wie gewünscht!
Dann müsste man nur noch suchen welches Template die comments_by_author bereitstellt und alle für das self... ändern. :)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2k11 und Kommentare vom Autor

Post by garvinhicking »

Timbalu wrote::!: Mattsches, willst du das nicht in die master (für upcoming 1.7.1) und in 2.0 committen?
Ich habe es gerade ausprobiert und es klappt wie gewünscht!
Dann müsste man nur noch suchen welches Template die comments_by_author bereitstellt und alle für das self... ändern. :)
In der 1.7 release gibts keine comments_by_author.tpl die diese Variable abfragt...?! Wäre also dafür gar nicht relevant?

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2k11 und Kommentare vom Autor

Post by garvinhicking »

Japp, hast Du dir die Datei mal angeschaut? :)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

Ja - denn ich habe ja getestet! ;-) und deshalb schrieb ich auch "...und alle für das self... ändern." Das wäre ja eine Kleinigkeit und würde eine Verbesserung bringen, auch wenn wohl kaum jemand diesen Kniff wirklich nutzt! :) (Dein Einwand würde auch für 2.0 gelten!)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2k11 und Kommentare vom Autor

Post by garvinhicking »

Timbalu wrote:Ja - denn ich habe ja getestet! ;-) und deshalb schrieb ich auch "...und alle für das self... ändern." Das wäre ja eine Kleinigkeit und würde eine Verbesserung bringen, auch wenn wohl kaum jemand diesen Kniff wirklich nutzt! :) (Dein Einwand würde auch für 2.0 gelten!)
In der Datei kommt kein "self" vor...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

Eben! Das ist Bedingung für mattsches commit, siehe 1.Teil!
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

Re: 2k11 und Kommentare vom Autor

Post by mattsches »

Also, ich habe gerade die Änderungen in der functions_comments.inc.php und in der 2k11/comments_by_author.tpl im 2.0-Branch und im master gepusht.

Für alle anderen Templates macht das erstmal keinen Unterschied, die können wir dann nach und nach anpassen, oder?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2k11 und Kommentare vom Autor

Post by garvinhicking »

Ich Depp. :-) Verstanden! :-)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

:)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: 2k11 und Kommentare vom Autor

Post by yellowled »

mattsches wrote:Für alle anderen Templates macht das erstmal keinen Unterschied, die können wir dann nach und nach anpassen, oder?

Code: Select all

matthias at yl-mba in ~/GitHub
$ find Serendipity -name comments_by_author.tpl
Serendipity/templates/2k11/comments_by_author.tpl
Serendipity/templates/default/comments_by_author.tpl
matthias at yl-mba in ~/GitHub
$ find additional_themes -name comments_by_author.tpl
matthias at yl-mba in ~/GitHub
Ich glaube, das wird nicht sooo lange dauern. :)

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 2k11 und Kommentare vom Autor

Post by Timbalu »

Es wäre doch komisch, wenn jetzt das /default/comments_by_author.tpl auf irgendetwas warten müsste... so jedenfalls verstehe ich diesen hint... :wink: (gerade auch weil es das fallback tpl ist)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply