News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Boilerplates for posts V3.0

Started by Do2, October 28, 2009, 07:10:26 PM

Previous topic - Next topic

Jessica.

Quote from: Shorti25 on June 25, 2011, 06:28:04 PM
it´s not possible for me to emulate
please update for 2.0

thx

what do you mean? you emulated to RC4 and you can't install?
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Shorti25

when the file is uploaded, there´s only a point to install modification - no emulate

if i list all modifications, there´s no possibility to install modification, but a point with advanced to emulate

next try was to change the packege file (delete RC4) and the installation runs, but when i got forwarded

there´s nothing to see about this modification

Do2

Sorry, but I hadn't enough time to update the MOD.

It will take some days to release an update. ;)

Jessica.

for this

Add After   ./Sources/ManagePosts.php   Test failed

there is no "'topics' => array('ModifyTopicSettings', 'admin_forum')," in my ManagePosts.php
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Robert.

What SMF version are you using?

Jessica.

Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Robert.

Hmm can't find that in the mod installer o_O Are you sure you installed the correct package?

Jessica.

Yes. There's only one package for this mod
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Robert.

Hmm, weird, I can't find something that searches for "topics' => array('ModifyTopicSettings', 'admin_forum')," :(

sharks

Does this work with 2.0 final? I suppose not, as it's still at 2.0 RC4. If it's updated, i suggest that the name of this mod be renamed, as it still makes no sense at all! LOL

Jessica.

Quote from: Dr. Deejay on July 02, 2011, 11:45:04 AM
Hmm, weird, I can't find something that searches for "topics' => array('ModifyTopicSettings', 'admin_forum')," :(

neither can I

in Admin.php there is one that is really close, but there's no 'admin_forum'
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

C4G-TK

Quote from: sharks on July 02, 2011, 12:25:36 PM
Does this work with 2.0 final? I suppose not, as it's still at 2.0 RC4. If it's updated, i suggest that the name of this mod be renamed, as it still makes no sense at all! LOL

I have this installed on my 2.0 Final forum.
I emulated the RC4 version.

-img removed-

Jessica.

^then how did you deal with this?

Quote from: Jessica. on July 02, 2011, 10:28:23 AM
for this

Add After   ./Sources/ManagePosts.php   Test failed

there is no "'topics' => array('ModifyTopicSettings', 'admin_forum')," in my ManagePosts.php
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

C4G-TK

I have a lot of mods installed.  I can tell you the following that if this is the second edit of Sources/ManagePosts.php is found here in my file:

$subActions = array(
'posts' => 'ModifyPostSettings',
'bbc' => 'ModifyBBCSettings',
'censor' => 'SetCensor',
'topics' => 'ModifyTopicSettings',
// START Boilerplates for posts
'boiler' => 'ModifyBoilerplatesSettings',
// END Boilerplates for posts
'automerge' => 'ModifyAutoMergePostSettings',
);


On the mod site, it is asking you to look for...  'topics' => 'ModifyTopicSettings',

and not...  'topics' => array('ModifyTopicSettings', 'admin_forum'),


You are trying to do the second edit of Sources/ManagePost.php, right?




look for:
'topics' => 'ModifyTopicSettings',

and then add this after that line:
// START Boilerplates for posts
'boiler' => 'ModifyBoilerplatesSettings',
// END Boilerplates for posts

-img removed-

Jessica.

#134
>_< I knew it would be that line...but I had to make sure :P...thanks

now I have a parse error...

Fatal error: Call to undefined function ModifyBoilerplatesSettings() in /home/jessicat/public_html/forum/Sources/ManagePosts.php on line 100


lines 99-101

// Call the right function for this sub-action.
$subActions[$_REQUEST['sa']]();
}
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

C4G-TK

1) Make sure you've done the other two edits for that file (and the other files).

2) Those lines are fine.  I have those lines exactly as you and I'm not pulling any errors with this mod.

-img removed-

Jessica.

#136
okay I checked the other files and made sure they had the file edits. but when I go to Boilerplates, the settings are from Post Settings. gonna check again -_-

EDIT: Success. got it. thanks for the help
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Jessica.

Suggestion: set up permissions for who could use a certain boilerplate and who can't. example, one can only be used for admins. another can be used by all groups
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Do2

#138
Sorry that it took more time as expected. I'm rewriting the MOD for a better usability.

Quote from: Jessica. on July 03, 2011, 11:23:08 AM
Suggestion: set up permissions for who could use a certain boilerplate and who can't. example, one can only be used for admins. another can be used by all groups

I'll think about it.

Do2

Upcoming features:

       
  • Sortable templates by Drag&Drop!
  • Creating template-groups by Drag&Drop!
  • Individual permissions for each template!
  • No need for unique templates anymore!
  • An easy way of deleting a template!
  • A NEW NAME!

Advertisement: