Forums

Front end Admin Pages (12 posts)

  1. solar_monster
    Member
    Posted 1 year ago #

    Hi everyone,

    I'm developing my new site Solar Monster, and I want to essentially bring the admin into the front end.

    I know that it is all called by hooks and filters etc, so in theory I can't see it being TOO complicated.

    I have a lot of custom pages and functions going on in the admin section so I'm not sure if a plugin solution would be any good for my needs (if there is a plugin).

    Does anyone know any advances hooks or function calls that can start pointing me in the correct direction of pulling in admin menus and pages. To begin with I'd like to pull in a pre existing page, such as profile.php.

    Any help or suggestions would be greatly appreciated.

    Regards
    Aaron
    Solar Monster Ltd

  2. dains
    Member
    Posted 10 months ago #

    Hi, I've a project to do front-end admin too and have got some author-level functions semi-out of the back end.

    If you're still watching this thread, let's compare notes on our progress. My developer should be done with the prototypes by this weekend so this is a great time for it.

  3. jayhal
    Member
    Posted 9 months ago #

    Im working on a project that requires similar funcionality, wondering if there's any direction you can give?

  4. jayhal
    Member
    Posted 9 months ago #

    Im working on a project that requires similar functionality, wondering if there's any direction you can give?

  5. dains
    Member
    Posted 9 months ago #

    Hi Jazzercisin, we had to shift some features back to another phase, so I don't have a lot of progress to report right now. Sorry!

  6. WPsites
    Member
    Posted 9 months ago #

    I've done this in the past.

    In the end I implemented an iframe on the front end of the website that referenced the admin interface. So the websites branding is there on the front end, then on the admin I used jQuery to hide certain menus etc and add in some extra options/buttons. Just make sure you implement some security in there to restrict what can be looked at in the admin interface just in case someone turns off JavaScript or knows what they are doing and tries to access other admin functionality.

    The bad thing about hacking into the admin interface using jQuery is it relies on certain ID's or classes, if WordPress do any front end changes that modify these elements you'll need to update your plugin to hook into the new elements.

  7. dains
    Member
    Posted 9 months ago #

    Hi WPsites, using a popin of some type is an approach I'd considered. I was thinking of using the CSS override to customize the Admin interface per role, or possibly commission a project to customize the Admin interface entirely so that I could guarantee the user would only see the right controls for their needs.

    But re security, doesn't WP check permissions when you access the Admin interface, even via Jquery?

  8. WPsites
    Member
    Posted 9 months ago #

    Yes WordPress does take care of most of the security. Normal users can't modify the theme or view other administrator level sections etc. Opening up the admin interface just makes me nervous though. A contributor seemed to be able to look at other peoples content (even unpublished I think) and in my situation I didn't want that. So I restricted each contributor to only have 1 piece of content and that piece of content is the only content they can view/edit.

    I could have used just CSS to modify the admin interface but I wanted to do more than just hide a few elements or change the alignment a little. I wanted to add extra helpful information split the post creation process into two stages. First step being title, wysiwyg and a couple of custom meta boxes for website url and email address. Second step being category selection, tags and featured image.

  9. WPsites
    Member
    Posted 9 months ago #

    Dains: if you let me know what your personal or business website is I'll give you the url of the website in question so you can take a look.

  10. dains
    Member
    Posted 9 months ago #

    That's an excellent point about contributors and up being able to see other's content in the Admin interface. They get the entire Posts and Pages list, don't they.

    Sure I'll give you a link to my company site (under development still, oh well), but not on this forum. Too many spammers here and on BP.org, and I've already had a hack on a locked up, secured, under development Joomla site.

    If you're the UK WPsites, I can use your WP Development form to send you my info. I see a twitter WPsites too so if that's you, I can send it that way as well.

  11. WPsites
    Member
    Posted 9 months ago #

    Yes all of those.

    You would think wordpress.org would allow you to pm.

  12. dains
    Member
    Posted 9 months ago #

    Had the same thought :) I'll use your WP Development form. Thanks for the offer!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.