Requirements
- You must have WoltLab Suite™ Core 5.2, 5.3 or 5.4 installed.
- You must have WoltLab Suite™ Forum 5.2, 5.3 or 5.4 installed.
Configuration
You can specify in the settings of the respective forum whether and under which circumstances the first post of a thread should be sticky. The following options are available for this:
- "Never (entirely disabled)" – it is under no circumstances possible that the first post is sticky in this forum.
- "Make automatically sticky by default" – in this forum every first post will be sticky automatically, as long as this has not been disabled for the corresponding thread.
- "Don't make sticky by default" – in this forum the first posts are not sticky, unless this has been enabled for the corresponding thread.
User group and forum permissions allow you to specify which users can enable or disable stickiness of the first post:
- "Can make first post sticky in their own threads" (general permission)
- "Can make first post sticky" (moderation permission)
To make or no longer make the first post sticky, contrary to the default forum settings, the thread settings must be opened. If making the first post sticky in the corresponding forum has not been disabled and the user has one of the permissions mentioned above, a selection with the following options appears there:
- "Default setting" – the forum setting is applied.
- "Make sticky"
- "Don't make sticky"
This selection is also available when creating a new thread.
Demo
A demo is available in the test forum of Krymo Software.
After purchasing in the Plugin-Store of WoltLab
You can register at Krymo Software and link your created account with your WoltLab account, so that you will be automatically granted access to the product support within few minutes.
-
Version 1.1.3
- Krymonota
- 92.16 kB
- 8 Downloads
Notable Changes
- When using WoltLab Suite™ Forum 5.4, an error message occurred when the sticky first post was marked as "Official".
-
Version 1.1.2
- Krymonota
- 69.63 kB
- 11 Downloads
Notable Changes
- Under certain circumstances the wrong option was pre-selected when creating threads.
-
Version 1.1.1
- Krymonota
- 70.14 kB
- 3 Downloads
Notable Changes
- The selection list has been replaced by radio buttons for usability reasons.
- Accessibility was not guaranteed.
Important note: The templates __threadStickyFirstPostSelection and __enableStickyFirstPostProperty have been updated. If you've made adjustments to these templates, you must check your customized templates for changes and update them if necessary.
-
Version 1.1.0
- Krymonota
- 69.63 kB
- 12 Downloads
Notable Changes
- Previously it was only possible to specify for all threads within certain forums whether the first post should be sticky. As of now, this can also be specified individually for each thread.
- The "Stick first post" checkbox in the forum settings has been changed to a selection with the following options: "Never (entirely disabled)", "Make automatically sticky by default" and "Don't make sticky by default".
- The following user group permissions have been added: "Can make first post sticky in their own threads" (general permission) and "Can make first post sticky" (moderator permission).
- The following forum permissions have been added: "Can make first post sticky in their own threads" (general permission) and "Can make first post sticky" (moderator permission).
- When creating a new thread, the user can now specify whether the first post should be sticky. The following options are available for this: "Default setting", "Make sticky" and "Don't make sticky". This requires that either "Make automatically sticky by default" or "Don't make sticky by default" has been selected for the forum in question. The user must also have one of the newly added permissions. If the user does not have one of these permissions, the first post will either be automatically made sticky or not sticky, depending on the forum settings (equivalent to the "Default setting" option).
- In the thread settings, users with the required permissions are now also shown a selection with the previously mentioned options.
Note: Due to the extensive new features and adjustments, the price for this plugin has been increased. Previously purchased licenses remain valid and include free access to this update.
-
Version 1.0.1
- Krymonota
- 38.91 kB
- 8 Downloads
Notable Changes
- Ads and the ID of subsequent posts weren't displayed on pages where the first post was sticky.
Important note: The template __firstPost has been updated. If you've made adjustments to this template, you must check your customized template for changes and update it if necessary.
-
Version 1.0.0
- Krymonota
- 38.4 kB
- 8 Downloads
Initial release
Customers Who Bought This File Also Bought
-
WoltLab CloudEUR 5.95
-
Community Bot
- UdoZ
- (6)
EUR 9.97 -
WoltLab CloudEUR 2.99
-
WoltLab CloudEUR 19.99
FalPos
Funktioniert das auch mit Umfragen? Also das die Umfrage auf jeder Seite ist ?
Krymonota Author
Das Plugin stellt die Umfrage aus dem ersten Beitrag auch auf den anderen Seiten kompromisslos dar. Darüber hinaus ist die Umfrage auf den anderen Seiten genauso funktionsfähig wie auf der ersten Seite – also keinerlei Einschränkungen seitens des Plugins
Siehe auch hier:
ZeroGravity
Hallo, wie kann ich die Einstellung für alle Foren automatisch aktivieren?
Ist ja etwas umständlich, dass jetzt im nachhinein in allen Foren zu aktivieren.
Krymonota Author
Das funktioniert nur per SQL-Befehl, da leider keine Massenverarbeitung für Foren existiert:
(Die Bedingung boardType = 0 stellt sicher, dass nur Foren und nicht Kategorien oder externe Verweise die Eigenschaft enableStickyFirstPostzugewiesen bekommen.)
Danach muss der Cache im ACP gelöscht werden.
ZeroGravity
Super, dankeschön, das hat geklappt
pimpi
Entweder hab ich's mit den Augen...aber wo kann ich denn einen Beitrag anpinnen? Beim bearbeiten nix, beim markieren nix :-/
Krymonota Author
Momentan lässt sich diese Funktionalität nur einheitlich für einzelne Foren aktivieren, sodass der erste Beitrag in jedem Thema des Forums angepinnt wird. Dafür müssen die entsprechenden Foren bearbeitet und das Häkchen gesetzt werden. Ich habe aber den Bedarf erkannt und arbeite bereits an einer aktualisierten Version des Plugins, womit sich der erste Beitrag auch nur in einzelnen, ausgewählten Themen anpinnen lässt.
pimpi
Ach jetzt check ich das, es lässt sich also gar nicht für jedes Thema steuern? Das wäre enorm hilfreich, um z.B. Ankündigungen & Wichtiges in einem Thema, immer auch auf weiteren Seiten zuerst in den Fokus zu rücken.
Krymonota Author
Ja. Aber daran arbeite ich gerade, also keine Sorge
WoltNet
Ich werde mir das Plugin mal anheften und wenn die Option umgesetzt ist auch kaufen. Vorher hat das leider keinen Sinn für mich. Danke das du daran arbeitest - weiter so!
Krymonota Author
Eine Aktualisierung des Pakets befindet sich nun in der Prüfung durch das WoltLab-Team. Ich habe jedoch die Beschreibung und die Screenshots bereits an die neue Version angepasst, sodass man schon einmal sehen kann, was auf einen zukommen wird
TheRealWanderer
Wird das Plugin auch für 3.1 kommen?
Krymonota Author
Es gab einige Probleme mit der Kompatibilität zu WoltLab Suite™ Forum 5.1. Ich habe vor, das Plugin nochmal ein wenig umzubauen und zu erweitern. Ich werde mir dann nochmal ansehen, ob ich es kompatibel machen kann – versprechen kann und möchte ich aber nichts.
Krymonota Author
Ich habe mich nochmal ein wenig damit befasst und musste feststellen, dass es nach wie vor technische Komplikationen gibt, die nicht auf Anhieb zu lösen waren. Deshalb wird es leider keine Version geben, die zu WoltLab Suite™ Forum 5.1 kompatibel ist. Tut mir leid.
TheRealWanderer
Schade, aber verständlich
PoooMukkel
Zwei Fragen, die nun nach einigen Stunden bei mir und meinen Benutzern aufkamen zu der neuen Funktion:
Krymonota Author
Diese Funktion existiert derzeit noch nicht, aber ich kann den Wunsch nach einer solchen Funktion gut nachvollziehen. Ich werde mir überlegen, wie sich das technisch am besten umsetzen ließe und dann in den kommenden Tagen eine aktualisierte Version des Pakets veröffentlichen.
Der erste Beitrag hatte in der allerersten Version des Plugins eine gesonderte CSS-Klasse, die man ansprechen konnte. Diese Version des Plugins wurde jedoch von WoltLab abgelehnt, sodass das Plugin schließlich gänzlich anders implementiert werden musste und ich als Plugin-Entwickler keine akzeptable Möglichkeit mehr habe, eine gesonderte CSS-Klasse zum ersten Beitrag hinzuzufügen. Durch die Anpassung des Templates threadPostList ist es dennoch möglich, dem ersten Beitrag eine gesonderte CSS-Klasse zuzuweisen. Dafür muss folgende Zeile
<li id="post{@$post->postID}" class="anchorFixedHeader{if $thread->userID && $thread->userID == $post->userID} messageGroupStarter{/if}{if $post->isBestAnswer()} wbbPostBestAnswer{/if}">
durch
<li id="post{@$post->postID}" class="anchorFixedHeader{if $thread->userID && $thread->userID == $post->userID} messageGroupStarter{/if}{if $post->isBestAnswer()} wbbPostBestAnswer{/if}{if $firstPost|isset && $firstPost->postID == $post->postID} wbbStickyFirstPost{/if}">
ersetzt werden.
Dann lässt sich der Container des ersten Beitrags über die CSS-Klasse wbbStickyFirstPost ansprechen und entsprechend optisch gestalten: https://i.imgur.com/08r31Bb.png (externer Link, da in den Kommentaren keine Bilder eingebunden werden können)
Das sieht vielleicht nicht gerade sonderlich schön aus, dürfte jedoch ein guter Ansatz sein.
Edit: Siehe auch hier für eine noch schickere Darstellung.
PoooMukkel
Merkwürdig, warum du direkt per Plugin selbst keine neue CSS-Klasse dafür erstellen durftest.
Den Ansatz mit dem Template und dem Code werde ich mal ausprobieren. Danke dafür!
Krymonota Author
Nun, die ganze Geschichte war dann leider doch etwas komplizierter
Es gibt im Wesentlichen zwei Möglichkeiten, wie ich dieses Plugin hätte umsetzen können. Der erste Weg hätte individuelle CSS-Klassen erlaubt und wird zum Beispiel für die „hilfreichste Antwort“ verwendet. Aber anscheinend ist es nicht gewollt, dass Plugins ebenfalls diese Methode verwenden. Stattdessen musste ich den anderen Weg gehen, der zu solchen Einschränkungen führt und den ich persönlich aufgrund des Ansatzes und des Codes für etwas „hacky“ halte. Das war unter anderem einer der Gründe für den Fehler, den du mir zuvor gemeldet hattest.
PoooMukkel
Danke für die ausführliche Erklärung!
PoooMukkel
Ich spiele gerade etwas mit dem Design. Jetzt überschneidet sich bei manchen Stilen die Pin Nadel rechts oben mit dem Text.
https://pasteboard.co/J6aMG9C.png
Gibt es eine Möglichkeit, den Text an der Pin Nadel vorbeizuführen?
PoooMukkel
Ich habe ein kleines Problem gefunden. Auf der ersten Seite werden ganz normal ganz oben rechts an den Beiträgen die IDs zum Teilen eines Beitrages angezeigt.
https://pasteboard.co/J5SECF3.jpg
Auf den anderen Seiten wird zwar oben jeweils der erste Beitrag des Themas angezeigt, aber die IDs zum Teilen sind nicht mehr da.
https://pasteboard.co/J5SFtl5.jpg
Lassen sie diese IDs vielleicht wieder sichtbar machen?
Krymonota Author
Das ist natürlich nicht gewollt, sondern dürfte ein Fehler sein. Ich setze mich gleich dran und werde dann eine aktualisierte Version veröffentlichen.
PoooMukkel
Das klingt sehr gut! Aber bitte kein Stress!
Krymonota Author
Ich habe eine Aktualisierung veröffentlicht. Die Freischaltung im Plugin-Store von WoltLab steht noch aus.
PoooMukkel
Ist es auch möglich, die Einstellung global für alle Foren direkt zu aktivieren? Das wäre super. Dann könnte man bei Bedarf dies für einzelne Foren deaktivieren.
Krymonota Author
Diese Möglichkeit besteht leider nicht direkt. Du könntest es jedoch per SQL-Befehl in jedem Forum aktivieren:
(Die Bedingung boardType = 0 stellt sicher, dass nur Foren und nicht Kategorien oder externe Verweise die Eigenschaft enableStickyFirstPost zugewiesen bekommen.)
Bei Bedarf könntest du es für einzelne Foren wieder deaktivieren, indem du die entsprechenden Foren im ACP bearbeitest und das Häkchen wieder entfernst.
PoooMukkel
Super. Das reicht doch schon. Dann bräuchte ich das nicht in jedem Forum extra aktivieren. So kann ich dann schauen, wo diese Funktion eventuell keinen Sinn macht und diese wieder deaktivieren.
PoooMukkel
Hat übrigens super funktioniert. Die Funktion ist nun direkt für alle Foren aktiviert.
Aber... Ich musste 1x den Cache leeren, damit das auch so im Forum gegriffen hatte. Erst nach dem Löschen des Caches wird auf jeder Seite im Thema ganz oben der Startpost angezeigt.
tunhj1
how long do you have to wait before you can download after purchase
Krymonota Author
This depends on the payment method you choose. If you buy the plugin in the WoltLab Plugin-Store, I can't give you a concrete answer because the payment is handled by WoltLab GmbH. Usually it takes a few minutes if the payment is done via payment methods like PayPal or SOFORT.
Krymonota Author
Pretty much the same applies to purchases on my website. If the payment method supports instant processing/verification, you can download it a few minutes after making the payment.
tunhj1
Ok, i used paypal about 1 hour ago here on woltlab store.
but still can't download it
Krymonota Author
That's unfortunate, but I can't really help you with that. Depending on your country and your credit card/bank account (if didn't use PayPal balance) it may take 1-3 business days for the payment to be processed. Since WoltLab is legally the seller/your contract partner, you would have to contact WoltLab if the payment doesn't get activated/verified.
Krymonota Author
Ok, it looks like the payment has been processed!
eazY_
Yaih...
Hab drauf gewartet