News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Disable Template Eval

Started by SMF Customization Team, August 09, 2009, 01:39:17 PM

Previous topic - Next topic

Arantor

I've repackaged it - just about to upload to the mod site. It's now version 1.1 featuring the new languages (no need to update if you're not added lang support)
Holder of controversial views, all of which my own.


TheListener

Installed the mod.

No errors on install.

Parse error: syntax error, unexpected T_VARIABLE in /Themes/default/languages/Help.english.php on line 634

Attachment supplied

Arantor

This is actually an error in the PM attachments mod not ending its line correctly.

It isn't a bug in the Disable Template Eval mod at all. I have flagged it in the appropriate topic.

In the interim, find this line:
$helptxt['pmattachments_remove_all'] = 'This will remove all PM Attachments from and sent to all members, including yourself.  Should be used as a last resort.<br /><br />Some scenario\'s that may warrant a need for you to do this, are as follows:<br />If you just don\'t have the space on your server for these files anymore.  If you plan on starting fresh and/or want to reduce or increase the size for the PM Attachments Directory, or change the directory and you don\'t want any files in this directory before you make any changes.  If many users are abusing the use of PM Attachments on your server, and many other reasons for this as well.'

And add a ; to the end.
Holder of controversial views, all of which my own.


TheListener


villasg


Arantor

Updated for 2.0 RC2 support.
Holder of controversial views, all of which my own.


tyty1234

It looks like this mod is now a feature in RC2. :D



It's the same right?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Arantor

Indeed it is, though the mod is still fine for the Charter release (which doesn't have this feature in it)
Holder of controversial views, all of which my own.


~DS~

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Norv

This mod doesn't need an update to SMF 2.0 RC3, since in RC3 (and RC2 it seems) the feature it provides is a default feature. This note was added to the mod description.

Is there any particular reason why it should be used on RC3, then?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

~DS~

Quote from: Norv on March 09, 2010, 04:17:21 PM
This mod doesn't need an update to SMF 2.0 RC3, since in RC3 (and RC2 it seems) the feature it provides is a default feature. This note was added to the mod description.
Great thank you. So this mod is no longer needed after all expect for SMF 1
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Norv

For SMF 1.1.11, the mod should work. (there is no such feature in SMF 1.1.x)
For 2.0 RC3 at least, as I see it, it is no longer needed.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

gbsothere

No "Link To Mod" on the first post, so off I go to find it...

That's right; make the Grandpappy work for it.     :D
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Norv

Oh, that's odd. Sorry about that!
Please find it here: http://custom.simplemachines.org/mods/index.php?mod=2054

I will look into why that happened.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

gbsothere

Quote from: Norv on March 09, 2010, 04:24:32 PM
Oh, that's odd. Sorry about that!
Please find it here: http://custom.simplemachines.org/mods/index.php?mod=2054

I will look into why that happened.



Thanks, Norv!  (Those long trips wear me out.)   ;)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Arantor

Quote from: Norv on March 09, 2010, 04:24:32 PM
Oh, that's odd. Sorry about that!
Please find it here: http://custom.simplemachines.org/mods/index.php?mod=2054

I will look into why that happened.

Because at the time I originally wrote this I was using my fuller variant of mod page which didn't have the link at the top (since it's added just into the post as regular text)

As to why it won't be updated, no, as of RC2 Public (note, not Charter, which is why I got it tagged with RC2 since the menu option wasn't in the Charter Preview) it's an option in Server Settings anyway.

I didn't expect it to be added into RC2 Public so I didn't worry about leaving it tagged RC2 though.
Holder of controversial views, all of which my own.


Norv

Quote from: Arantor on March 09, 2010, 04:28:59 PM
Quote from: Norv on March 09, 2010, 04:24:32 PM
Oh, that's odd. Sorry about that!
Please find it here: http://custom.simplemachines.org/mods/index.php?mod=2054

I will look into why that happened.
Because at the time I originally wrote this I was using my fuller variant of mod page which didn't have the link at the top (since it's added just into the post as regular text)
I don't know what you mean, can you please elaborate?

Quote from: Arantor on March 09, 2010, 04:28:59 PM
As to why it won't be updated, no, as of RC2 Public (note, not Charter, which is why I got it tagged with RC2 since the menu option wasn't in the Charter Preview) it's an option in Server Settings anyway.
That's what was said before, if I understand correctly.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Arantor

Norv: I originally wrote this mod, and at the time I had a template I used for all my mods, an example of which is http://custom.simplemachines.org/mods/index.php?mod=1920

I used to just copy/paste the formatted version from the mod page to the mod thread so they were consistent, which also means removing the Link To Mod that would normally be added on mod approval.

On mod approval, whatever text is on the mod page, prepended with the mod link, is thrown at createPost to create the mod's thread. At that point it's a totally regular thread, so I just overwrote that with the template I used to use, which also meant losing the link at the top, because there was one in the template anyway.

When this was transferred to Cust Team last September, SiNaN edited the post and mod page to remove my boilerplate text with the links to the mod thread and mod etc (as well as the donate to me link) but for whatever reason forgot to add the link back at the top of the page.
Holder of controversial views, all of which my own.


gbsothere

Only 1 tick box, Feature Config (1.1.11)?  (Check)

Thanks, guys!   Johny B is gone and he and I, try as we might, never could figure out why his ColorizePost was throwing so many occurrences of forum errors (and he did try) so I just got used to emptying about 20 pages of the same error every day. 

If this works, I'll just "turn it off".   :)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Arantor

gbsothere: Yup, only one box. But it'll show you *exactly* where the error is.
Holder of controversial views, all of which my own.


Advertisement: