Advertisement:

Author Topic: Post Template Mod  (Read 45553 times)

Offline SN

  • Jr. Member
  • **
  • Posts: 399
  • Gender: Male
  • ยป To Dare is To Do
    • SpursNetwork - Tottenham Hotspurs Fansite
Re: Post Template Mod
« Reply #40 on: March 24, 2010, 05:18:13 AM »
didn't realise there was a mod like this! I really need this would make mine and my staff job 100x easier.

any chance of a update for RC 3?

Offline Omega_K2

  • Newbie
  • *
  • Posts: 2
Re: Post Template Mod
« Reply #41 on: March 29, 2010, 09:17:00 AM »
Yeah, an update to SMF 2.0RC3 would be pretty nice to have

Offline TomW

  • Jr. Member
  • **
  • Posts: 294
  • Gender: Male
Re: Post Template Mod
« Reply #42 on: May 20, 2010, 03:22:26 PM »
Ditto that !

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,070
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • SID Giessen
Re: Post Template Mod
« Reply #43 on: May 20, 2010, 03:58:38 PM »
Please update to RC3
I worked with:
SMF 2 in German

Shop:
SID Giessen

Offline Rosenstein

  • Semi-Newbie
  • *
  • Posts: 11
  • Gender: Male
Re: Post Template Mod
« Reply #44 on: June 15, 2010, 09:24:24 AM »
I would love to see update.
Original author was Last Active: 25 January 2010
But the guy who updated it to RC2 is still active.

Offline doughboy99

  • Semi-Newbie
  • *
  • Posts: 98
Re: Post Template Mod
« Reply #45 on: September 09, 2010, 09:21:24 AM »
To make this work with RC3 you will need to manually edit ManageBoards.template.php to reflect the changes made

FIND
Code: [Select]
    echo '
                    <div id="count_posts_div">
                        <dl class="settings">
                            <dt>
                                <strong>', $txt['mboards_count_posts'], ':</strong><br />
                                <span class="smalltext">', $txt['mboards_count_posts_desc'], '</span><br />
                            </dt>
                            <dd>
                                <input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="input_check" />
                            </dd>
                        </dl>
                    </div>';

AND ADD AFTER
Code: [Select]
// Text area for Post Template Mod
 echo '
                  <div id="post_template_mod_div">
                  <dl class="settings">
                        <dt>
                                  <strong>', $txt['post_template_title'], '</strong><br />
                                <span class="smalltext">', $txt['post_template_description'], '</span><br />
                        </dt>
                        <dd>
                                <textarea name="post_template" rows="5" cols="35" style="width: 100%">'.
                                          $context['board']['post_template'] .
                                '</textarea>
                        </dd>
                  </dl>
                  </div>';


Offline xufang

  • Semi-Newbie
  • *
  • Posts: 10
Re: Post Template Mod
« Reply #46 on: September 09, 2010, 10:03:34 AM »
cool,very nice  ;)

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,306
    • @Kenson_Plays on Twitter
Re: Post Template Mod
« Reply #47 on: September 09, 2010, 10:14:48 AM »
awesome! i will install this and do manual edit! thanks! i saw a phpBB forum promotion site and a few boards have pre-defined text, this will come in handy somewhere on my site! bookmarked!

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,306
    • @Kenson_Plays on Twitter
Re: Post Template Mod
« Reply #48 on: September 09, 2010, 11:22:57 AM »
I installed, Subs-Boards.php and ManageBoards.template.php both failed. Here are a couple screenshots of what it looks like modifying a board. Two files also attached.

Offline doughboy99

  • Semi-Newbie
  • *
  • Posts: 98
Re: Post Template Mod
« Reply #49 on: September 09, 2010, 02:41:46 PM »
Both the attached php files appear to be corrupt!

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,306
    • @Kenson_Plays on Twitter
Re: Post Template Mod
« Reply #50 on: November 03, 2010, 10:49:31 AM »
When will this have support for RC4? I am waiting until my main modifications (the important ones) have RC4 support before I upgrade. This is holding me back.

Offline shaka

  • Semi-Newbie
  • *
  • Posts: 66
Re: Post Template Mod
« Reply #51 on: May 20, 2011, 04:44:48 PM »
anychance of an upgrade for RC5   please  ;D

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,306
    • @Kenson_Plays on Twitter
Re: Post Template Mod
« Reply #52 on: May 20, 2011, 08:09:49 PM »
Agreed, I would love this mod again :)

Offline 4b11l

  • Jr. Member
  • **
  • Posts: 355
Re: Post Template Mod
« Reply #53 on: June 16, 2011, 06:17:00 PM »
bump for smf 2.0 please if original author or someone else can modify it to work would be great!

Offline .Vapor

  • Jr. Member
  • **
  • Posts: 205
  • Gender: Male
  • PC gamer
    • Team Isolation
Re: Post Template Mod
« Reply #54 on: June 24, 2011, 07:58:46 AM »
Can you please update this mod to work with 2.0 ?

Thanks, and nice work.

Offline divecall

  • Jr. Member
  • **
  • Posts: 142
Re: Post Template Mod
« Reply #55 on: July 25, 2011, 03:57:34 PM »
Please update for RC5 and 2.0

Thank you

Offline studiowi33

  • Jr. Member
  • **
  • Posts: 221
Re: Post Template Mod
« Reply #56 on: August 15, 2011, 02:33:43 PM »
Can anyone figure out what to alter so that I can use this mod?

I'm using 2.0 final and everything installs except the one edit in ManageBoards.template.php. The code has changed substantially enough to prevent me from modifying the code myself.

Any insight is appreciated.

-s.w

EDIT: I went ahead and installed this and I manually edited the ManageBoards.template.php simply by pasting the 'Add after' code in what seemed to be the correct place. (I searched for:
Code: [Select]
input type="checkbox" name="count"and pasted the code in after that <div>.)

So far, no errors, and it works.
« Last Edit: August 15, 2011, 03:21:25 PM by studiowi33 »
SMF 2.0.2

Offline OCJ

  • Full Member
  • ***
  • Posts: 494
  • Gender: Male
Re: Post Template Mod
« Reply #57 on: August 16, 2011, 01:45:46 PM »
On SMF 2.0 final
I used the above topic manual edit (ManageBoards.template.php) then went to the admin section for the boards.
The setting was there but when I entered the template text and tried to save it gave an error message 'Hacking attempt', and does not save the post template text ...

Pity, it would've been a nice mod to have.
Andy

Offline Draffi

  • Jr. Member
  • **
  • Posts: 268
Re: Post Template Mod
« Reply #58 on: September 08, 2011, 04:30:46 PM »
Please, can somebody update this Mod ?

(if somebody have, or can do this for some money, please contact me with PM).

Thanks a lot!

Offline shaka

  • Semi-Newbie
  • *
  • Posts: 66
Re: Post Template Mod
« Reply #59 on: November 09, 2011, 08:56:43 PM »
can someone please update this mod  :-[