News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Post Template Mod

Started by jhaagmans, August 17, 2009, 04:42:27 AM

Previous topic - Next topic

SN

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?

Omega_K2

Yeah, an update to SMF 2.0RC3 would be pretty nice to have

TomW


Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Rosenstein

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.

doughboy99

To make this work with RC3 you will need to manually edit ManageBoards.template.php to reflect the changes made

FIND
    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
// 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>';



xufang


KensonPlays

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!

KensonPlays

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.

doughboy99

Both the attached php files appear to be corrupt!

KensonPlays

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.

shaka

anychance of an upgrade for RC5   please  ;D

KensonPlays

Agreed, I would love this mod again :)

4b11l

bump for smf 2.0 please if original author or someone else can modify it to work would be great!

.Vapor

Can you please update this mod to work with 2.0 ?

Thanks, and nice work.

divecall

Please update for RC5 and 2.0

Thank you

studiowi33

#56
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:
input type="checkbox" name="count"
and pasted the code in after that <div>.)

So far, no errors, and it works.
SMF 2.0.2

OCJ

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

Draffi

Please, can somebody update this Mod ?

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

Thanks a lot!

shaka

can someone please update this mod  :-[

Advertisement: