Is there any way to remove the left-column in Stripe Customer Portal? - iframe

I'd like to integrate the Customer Portal in an iframe, so my customers could manage their invoicing from my website.
Is there any way to remove the left column of the customer portal (with the brand logo, and a text)?

I do not think you can customize it to remove a portion of the portal like you suggest. A portal session is the entry point to the portal and none of the customizable settings, https://stripe.com/docs/customer-management/configure-portal#customize-the-portal controls that. However, you can control the look of the portal to match your branding here, https://stripe.com/docs/customer-management/configure-portal#branding.

Related

Hide few wordpress dashboard option from client

I have just developed a wordpress site for a client. The client wants full access but I dont want to give him access to all the work which I have done (plugins, techniques, themes options etc). How can I give a customized dashboard access to the client with hidden plugins and theme menu items.
Thanks
If you want GUI based approach and not want to handle it via functions, using the Members plugin could help
I think you would prefer to go with a plugin rather than pieces of code. You can achieve the same by using a plugin called Adminimize
Admins can activate/deactivate every part of the menu and even parts of the sub-menu. Meta fields can be administered separately for posts and pages. Certain parts of the write menu can be deactivated separately for admins or non-admins. The header of the backend is minimized and optimized to give you more space and the structure of the menu gets changed to make it more logical – this can all be done per user so each role and their resulting users can have his own settings.
I hope the above information worked for you.

Is it possible to have a non-standard page in the admin area?

Client has a database table that is not a part of their wordpress environment but is alongside their other WP Tables (multiple departments access it). They'd like to use the wordpress admin interface to access a form so they can add content to this non-wordpress table (some other department pulls data from it).
Scenario:
The user logs into their WP Admin area
They click the link "Bob's Crab Shack" link from the left nav bar
They fill out the form and click save
The other department would have their own CRUD UI (not my concern).
Is this possible? If so, any guides or tutorials on how to set this up? Wordpress (PHP) isn't my primary coding language.
Wordpress isn't a language ;-)
Is this possible?
Sure, this isn't that hard to do.
Create an admin page: Normal menu page or a Submenu page.
Create the HTML form and PHP submit-logic.
Because all DB tables are in the same DB you can use $wpdb for DB processing (does al the heavy lifting for you), more info here.
Regards, Bjorn

Hiding some Sharepoint elements from ribbon only for Read Only (non admins) with custom css

I am trying to make some page corrections only for some groups of site ins Sharepoint. I can check admin user in master page with SPSecurityTrimmedControl, but how can I insert custom css into master page only for let's say Read Only users? If I am trying like this:
<SharePoint:SPSecurityTrimmedControl PermissionsString="ViewPages" runat="server">
Css adds up not only for Read Only users but for Admin user as well. Is there any chances to split .css by groups? Thank you
This requirement might best be handled using audience targeting.
You can put the CSS into a Script Editor (or even an old Content Editor) web part and add it to the page. Then click the "Edit Web Part" option in the corner of the web part to make the web part properties panel appear. At the bottom of that panel, in the "Advanced" section, there's a field where you can enter "Target Audiences."
In the Target Audiences field, enter the names of any groups for whom you want the CSS to appear.
That web part will only be visible to members of the specified groups, regardless of their permissions on the site.
Note: The only real downside to this approach is that it only applies to specific pages where you add the web part and apply the audience targeting; it won't apply to all pages as if added to the masterpage of the site.

Searching users and showing user records in Plone

I want to implement search functionality in plone. Search depending on users , users email. Want to display user full details.
Is there any existing add on which I can use (or) I have to write my own code.
Plone does not do "users by content" by default.
User objects are not registered as content
Thus, the standard Plone search functionality does not cover users
If you wish to make users visible for everyone and searchable
There is add-on http://pypi.python.org/pypi/Products.remember/ which will turn users to content items and this serve some niche use cases
Alternatively, you can write your own search box view like Users/Group page in Site setup does
If you need members to be public on your site I would suggest take a look on Products.remember. It will also give you the ability to extend user records through Archetypes content subsystem and make them subject to workflow menu (have different states for members like disabled, registered, etc.)
http://collective-docs.readthedocs.org/en/latest/content/archetypes/index.html

Admin/Customer Roles (ASP.NET)

I'm currently working on a website that is for a restaurant. I have created everything I need to but I'm confused on one part:
I have created two roles: Admin and Customer. I have a page that displays a menu.
My main problem is, how would I display this page to the customer as a simple menu page, and how would I display this page to the admin where he would be able to edit the items within the database?
Would I need to create two different pages, one for a standard customer and one for the admin, or could it be done through the sitemap, where a link (the edit menu page) is visible/invisible based on the user who is signed in? (How would I accomplish that?)
You can write your custom code for this, as you have yourself created two roles. you can use the following steps
1) Create form authentication ticket for your roles on login and add it so that you'll be able to authenticate user/roles and write authentication rules in web.config.
2) either create two different page for admin and customer or you can use single page that renders differently based on the role, if you creates a single page make sure you should hide secure admin menu items at server side itself so that it will not be rendered and thus no change can be made at client side for security reason or just add items based on roles dynamically always.
Let me know if you need more details.

Resources