https://www.icyphoenix.com/viewtopic.php?f=28&t=6597 ----------------------------------- Lopalong Thu 22 Oct, 2009 00:23 Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- This forces whatever text / questions one may want the user to HAVE to read and or edit / add to etc, etc whenever they post a NEW topic. [size=18][color=red]Just what this and every other support forum could do with.[/color][/size] :twisted: Package Icy Phoenix Modifications File $Id: Posting-Template-Install-en.txt Tested Version for Icy Phoenix: 1.3.0.* Author: eviL3 (Igor Wiedler) Copyright (c) eviL3 Email: evil@phpbbmodders.net Web: http://phpbbmodders.net License http://opensource.org/licenses/gpl-license.php GNU Public License Extra credits for this MOD: Modified for Icy Phoenix by Lopalong. 28th September 2009 Title: Posting-Template Description: [b]Let's the admin specify a posting template on per-forum basis.[/b] Configuration location: ACP > Forum > Management > General Forum Settings Files To Edit: 4 posting.php, adm/admin_forums.php language/lang_english/lang_admin.php, templates/common/acp/forum_edit_body.tpl Included Files: 0 Included Folders: 0 Disclaimer: There is no guarantee that there are no security problems within the MOD. Comments: WARNING - WARNING - WARNING: Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD [hr] [b]Download: [/b] [url=http://icyphoenix.com/viewtopic.php?p=46376#p46376]IP-Posting_Template.zip [img]http://www.icyphoenix.com/files/images/3531/acp_1256163590_773943.png[/img] [img]http://www.icyphoenix.com/files/images/3531/new_topic.png[/img] [b]NOTE:[/b] These instructions are exactly the same for IP v27 with the exceptions that IP v27 has spaces where IP v.1.3 doesn't. ;) Eg: IP 27 -> if ( $mode == 'newtopic' ) - IP 1.3 -> if ($mode == 'newtopic') etc. You also may find things like IP 27 -> {L_POSTING_TPL}
and where IP v 1.3 will have -> {L_POSTING_TPL}
{ [b]So go for keywords with IP 27 rather than strings when you can't find something.[/b] :P ----------------------------------- Mighty Gorgon Thu 22 Oct, 2009 08:47 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Nice shot... I like this, and I think other users will love this feature. I have always been uncertain about adding this or not in default Icy Phoenix... if I ever come to finish what I'm doing with current forums table I may consider adding this mod, otherwise I won't, just because currently forums table is read every single page, and I don't like to charge that table with extra text field. For the same reason I striped out the rules. Maybe an option would be to add this text template to the rules table, so we will automatically avoid extra charge. Are you willing to have a try Lopalong? It should not be tough... you just need to move the field to another table and change SQL requests accordingly. P.S.: just for the records... I have removed current [b]admin_forums.php[/b] from Icy Phoenix and I will update only [b]admin_forums_extend.php[/b] which is better coded... P.P.S.: Please remove [b]thumbs.db[/b] from the zip file as it is not needed... and disable thumbnails creation in your windows from Explorer => Folder Options. P.P.P.S.: I have implemented a plugin system in Icy Phoenix, and I'm sure you will like it... as soon as I have finished to edit all files and I have an alpha release I'll show you how it works. ----------------------------------- portalpez Thu 22 Oct, 2009 10:42 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Thanks you very much Lopalong, it is very useful for me. Work with icy 1.0.27? I read that this Is active only on starting a new topic? isn't it? Or is active in post reply too? Thanks!!! ----------------------------------- Lopalong Thu 22 Oct, 2009 12:00 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- @ portalpez. I've updated the instructions to include what to look out for with IP v27 ;) @ MG No thanks mate, to any of it. :( That MOD has been sitting on my pc for over a month, and I thought I'd make it available before it got deleted in the next clean up I do and have forgotten what it was for, or whether it was a leftover WIP. You should also consider that before you decide to add it as a default option to Icy Phoenix - Is it necessary for the running of the forum, and more importantly will EVERYONE want it or use it? If not, then maybe it's better as an add on. Because imho, IP has too many things now, that most people don't want or use. But that's just my opinion maybe because I don't use it. :? ----------------------------------- Mighty Gorgon Thu 22 Oct, 2009 12:37 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Well... you know that I agree on the fact that Icy Phoenix has too many things in it, but I'm working hard in optimizing the code again to make extra options switchable and not impacting overall performances. I have reached a good level of integration now, and I have set some features to be globally switched on or off easily. It is 2 years now that I'm only adding features if they do not add extra charge to common pages, if you check a plain installation on some pages only 2 SQL requests are performed, and in next version even some requests from cache have been optimized to have only one global request instead of having multiple ones. It is hard to explain all the new modifications, but I'm really picky about this matter and this time I am almost satisfied with the results, and I'm expecting to show the benefits on this site when I have finished all the edits... only then I will try to expose in a more structured manner what's new and what has been improved. ----------------------------------- Lopalong Thu 22 Oct, 2009 15:12 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- [quote user="Mighty Gorgon" post="45241"] It is hard to explain all the new modifications, but I'm really picky about this matter and this time I am almost satisfied with the results, and I'm expecting to show the benefits on this site when I have finished all the edits... only then I will try to expose in a more structured manner what's new and what has been improved.[/quote] MG, maybe you can improve the template system to where all themes go to their own template/folder and not have the mishmash of some themes are nested - some are not. It was getting to be a pain here with all the questions and explanations to questions about how to install the different themes to different locations, overwriting cfg files or not and all the rest of it that is totally unnecessary with the new global default files system. They don't take up any more room by being in their own folders, and would create a lot less confusion if they were all the same in where to upload them to and how to install them. :P Upload to the template folder -> go to ACP > install style! Too Easy! But I really do think that you need to consider changing it from the awkward way it is done now. :censored: ----------------------------------- spydie Thu 22 Oct, 2009 15:35 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- I second this Lopa. It really can be a pain in the a.. if you got to sort out first , is it a mg theme or is´nt it. every template in it´s own folder and sorted ----------------------------------- Yros Thu 22 Oct, 2009 22:23 Re: Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- IMHO, That's a really good mod' which easily can be add as a default option. As if it mainly will used only on rules forums ( or when a user have to present himself to each others, etc ... ). Personally, when I saw this mod', my brain illuminated directly and I hadn't to think a lot about it on how to use it on my board ^^ It's seriously very useful =) So THANKS Lopalong ^^ @ MG : hmmm Global switches on many things ? Really interesting and, once it will be upped, I think it really be very useful. I can't wait to see it =D ( IMHO, Maybe everything like " Topic Rating ", " Thanks ", ... and other secondary things should be added as add-ons for make each user able to perform the most fitting board to each case. ) ----------------------------------- Informpro Fri 23 Oct, 2009 09:01 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Great mod, very useful (presentations forums, pub etç ...) I think it have to be included in IP. @ MG > Global switches ? I think it's the better things that can be in IP ----------------------------------- portalpez Fri 23 Oct, 2009 18:44 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Thanks you very much... working in my forum 1.0.27.... :mrgreen: ----------------------------------- Chaotic Fri 23 Oct, 2009 21:47 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Fantastic MOD, Lopalong! 8) ----------------------------------- xmenfile Sat 02 Jan, 2010 15:43 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Hi Download is missing. can anyone help me, re upload the package? Thank you, xmenfile ----------------------------------- TuningBEB2008 Sat 02 Jan, 2010 23:01 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- [quote user="xmenfile" post="46953"]Hi Download is missing. can anyone help me, re upload the package? Thank you, xmenfile[/quote] See this post: http://www.icyphoenix.com/viewtopic.php?p=46376#p46376 IP-Posting_Template.zip Greetings... ----------------------------------- xmenfile Sun 03 Jan, 2010 15:03 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- sorry i missed that, somehow i kept looking for "Force Text" . I appreciate for your directed link, I have to try it today. Thank you TuningBEB2008 xmenfile ----------------------------------- Lopalong Mon 11 Jan, 2010 11:18 Re: Modification - Posting Template (Force Text Into The First Post In A New Thread) ----------------------------------- Download Link has been changed. :wink: