SimplePortal

Customization => Blocks and Modifications => Topic started by: homer09001 on October 20, 2009, 06:42:48 PM

Title: SP Quick Edit V1.0
Post by: homer09001 on October 20, 2009, 06:42:48 PM
SP Quick Edit

This mod will put a Modify icon at the top of Simple Portal custom Pages that when clicked will take you to the admin panel edit page for that specific page.

(http://images.dth-scripts.com/Script_Images/edit.JPG)

This mod was made to make it quicker and easier to edit pages within Simple Portal.

V1.1 Planned Features:

I have thought about adding an edit link for all blocks, but i personally think that this would clutter the portal up with too many edit buttons, if enough people would like this in V1.1 i will implement it.

Please post any issues you may have with this mod in this post Thanks.
Title: Re: SP Quick Edit
Post by: Eliana Tamerin on October 20, 2009, 07:18:40 PM
What mod?
Title: Re: SP Quick Edit
Post by: ccbtimewiz on October 20, 2009, 10:03:47 PM
What mod?
Title: Re: SP Quick Edit
Post by: 130860 on October 20, 2009, 10:49:01 PM
looks pretty useful, of course if we had a download link it will be even better.

greetings!
Title: Re: SP Quick Edit
Post by: homer09001 on October 21, 2009, 05:41:09 AM
Sorry, was going to link to the download on the SMF Mod site.

V1.0 is now attached to the first post.
Title: Re: SP Quick Edit V1.0
Post by: Norv on October 21, 2009, 08:32:18 PM
Thank you for this! It's a nice idea and a handy little tool! :)
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on October 22, 2009, 04:10:39 AM
Thank you for this! It's a nice idea and a handy little tool! :)
Yeah i made it as i found it a bit tedious going all through the admin panel to make small changes.

i might add it to all blocks for the next release depending on the results of the poll
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on December 27, 2009, 08:16:51 PM
Will be looking at making V1.1 in the next week or 2, keep an eye out for any updates.
Title: Re: SP Quick Edit V1.0
Post by: Nathaniel on December 29, 2009, 11:51:06 PM
Moved to the Blocks and Modifications board.
Title: Re: SP Quick Edit V1.0
Post by: kcmartz on April 18, 2010, 06:47:56 PM
Thanks, downloading!
EDIT:
What version of SMF is this for?
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on April 18, 2010, 07:24:08 PM
it should work with all versions, its been a while since i wrote it, but it only modifies SP files and not SMF.
Title: Re: SP Quick Edit V1.0
Post by: kcmartz on April 18, 2010, 07:35:19 PM
I tried with my default SMF 2.0RC3, and it didn't install, RC2 either, tried 1.2 and it did.

also, I 'reverted' and the image won't show up anymore
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on April 18, 2010, 07:38:57 PM
i'll take a look at it tomorrow im off to bed shortly.
Title: Re: SP Quick Edit V1.0
Post by: kcmartz on April 18, 2010, 07:57:09 PM
Ok. If you want you could update this information into first post so others know.
Title: Re: SP Quick Edit V1.0
Post by: johncccccc on April 21, 2010, 04:51:17 PM
Very good convenient idea

Is there a way you can put the edit button inside the body instead of the title?
I rarely use the title, I almost always check off "no body" and "no title"
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on April 21, 2010, 05:18:29 PM
Is there a way you can put the edit button inside the body instead of the title?
I rarely use the title, I almost always check off "no body" and "no title"

I shall add an option so you can choose between them.

just installing fresh copies of SMF 2 RC3 and 1.1.11 to my server and will install SP then i shall begin rewriting this mod.
Title: Re: SP Quick Edit V1.0
Post by: johncccccc on April 21, 2010, 05:23:44 PM
Oh and before you do that

Your could add the button to BBC blocks too, if only admins can see them, its not too bad anyway.
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on April 21, 2010, 05:29:26 PM
Oh and before you do that

Your could add the button to BBC blocks too, if only admins can see them, its not too bad anyway.

Im not sure what you mean, add an edit button to the BBC Block? why when the point of the button is to take you to the page editor, why would you need an edit button on that page?
Title: Re: SP Quick Edit V1.0
Post by: johncccccc on April 21, 2010, 06:20:51 PM
Oh and before you do that

Your could add the button to BBC blocks too, if only admins can see them, its not too bad anyway.

Im not sure what you mean, add an edit button to the BBC Block? why when the point of the button is to take you to the page editor, why would you need an edit button on that page?

I mean a edit button on the BBC blocks, so we can easily edit those too
Title: Re: SP Quick Edit V1.0
Post by: homer09001 on April 21, 2010, 06:22:08 PM
Ahh right got ya, i shall have a look, at the moment i'm having issues with permissions.
Title: Re: SP Quick Edit V1.0
Post by: johncccccc on April 21, 2010, 08:08:36 PM
Ahh right got ya, i shall have a look, at the moment i'm having issues with permissions.

For SMF 2.x Your permissions files would be;

Sources/ManagePermissions.php


         'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
                        'your_action' => array (false, ', 'action, 'action'), or " ; " if at end.

Sources/Subs.php
   $context['allow_pm'] = allowedTo('pm_read');
        $context['AddYourPermission'] = allowedTo('your_action');


Hope that helps you :)
Title: Re: SP Quick Edit V1.0
Post by: player.samp on April 29, 2014, 08:51:07 AM
I know this thread is very old, but I think it's really useful and I would like to use it.

Does anyone know the SMF version I need to download this? I have been trying to guess few versions already and nothing worked yet... :/
Title: Re: SP Quick Edit V1.0
Post by: phantomm on April 29, 2014, 11:31:13 AM
You need to emulate SMF 2.0 RC1.2 (take a look inside package-info.xml).

But you can also check out this package => http://simpleportal.net/index.php?topic=12381
Title: Re: SP Quick Edit V1.0
Post by: player.samp on April 29, 2014, 03:22:09 PM
This package is for editing pages and your package is for editing blocks. :P

Anyway, I have already your mod of quick blocks editing. It's very useful, thanks. :)

I have successfully installed this package thanks to you, but unfortunately it seems like it doesn't work because there is no change. :/ I see no option for a quick edit for the pages I have. :/
Title: Re: SP Quick Edit V1.0
Post by: phantomm on April 29, 2014, 04:43:35 PM
ah my mistake ::)

Since author of this package isn't active lately I'll update my mod with this function in few minutes :)
SimplePortal 2.3.8 © 2008-2024, SimplePortal