Avoid Sending Email when User Post New Listing - osclass

I am new to OSClass, right now when user publish a listing an email has been sent to user's email id, in which user can activate that listing, admin can also activate that listing.
But I want that only admin should have control to activate the listing, so if somehow I can control that if I skip that step of sending email to user's email account.
Is there any solution?
Regards.

You can remove the email sending removing the hooks.
Edit your oc-load.php file and add this lines:
osc_remove_hook('hook_email_new_item_non_register_user', 'fn_email_new_item_non_register_user');
osc_remove_hook('hook_email_item_validation_non_register_user', 'fn_email_item_validation_non_register_user');
osc_remove_hook('hook_email_item_validation', 'fn_email_item_validation');
If you doubts of hooks you can take a look at http://doc.osclass.org/Hooks
you can create a plugin for this and this way you don't modify the osclass core files, you can check how here http://doc.osclass.org/How_to_create_a_plugin

Related

Manually approving the account in shopify after registration

Whenever the user register on my Shopify website i want that account to be disabled until admin enable it from back-end panel. Currently when user is registered, his account is enabled by default.
Have searched various forums even tried Shopify support but still no luck.
There are two options. why you are not putting "request membership" sign up form instead of sign in form (disable from here)? You could use the contact page for that if you wanted. Then you get an email when they fill that out. You would create the account (just copy and paste the info) and email them an invitation. They click the link in the invite to make the password. (I think it will be a tedious task for you)
Otherwise, let them create the account, but hide the pages with the Locksmith app. Then after you approve them you would apply a "tag" to the customer account so they can see the pages and products locked with Locksmith.

Deleting buddypress account without deleting user

I've recently started using Buddypress in conjunction with a plugin called memberpress on a site, and am running into a problem:
Basically, if you're logged in to the site, as the Admin for example, and you go to the buddypress profile page link, you're automatically set up with a buddypress membership/profile and listed in the member directory.
I don't want everyone who logs into the site to just automatically/accidentally become a buddypress member and to be listed in the directory.
So I need to A)know how to delete the buddypress membership when that occurs without deleting the user and their ability to log into the site and B)better yet, stop buddypress from automatically assigning membership without purposeful signup.
Any insight would be helpful, thanks!
Buddy press works not connection but using the user table for users profiles. It means if you delete user or buddy press profile both result same delete both.
It might possible
Case 1 hide buddy press profile from public by deregister profile for the user
Case 2 hide user from member directory only.

Is there any way to allow admin to edit the user password in Orchard CMS?

Is there an extension i can use to allow the admin to edit the user password in orchard? Because, when i go to Settings>Users>Edit User, i have options only to change the user name, email or roles?
And if no there are no extensions in the gallery, any suggestions how to custom do it?
Thank you in advance.
I have used the Change Password module from Gallery. It lets you change passwords to every user and show a new tab in the Users category.

Notification on new user sign up

In Shopify, is it possible to receive an email notification when a new user signs up (just like I get a notification when an order is placed)?
I have checked under Settings > Notifications but could not find anything. If this is not a default option provided by Shopify, is it possible to implement this using any app?
You can create a webhook to send a notification to a particular URL when the Customer creation event gets fired. Go to your Shopify admin, click on Settings, then on Notifications, scroll down and click on Create a webhook. Once the popup shows, from the dropdown, choose Customer creation Event, JSON or XML format and the url where you want to recieve the notification.
Once you have this setup, look for a webservice which reads webhooks and converts them into an email. Zapier would be a good nominee.

Sitecore ECM : Message preview gives wrong output

I have a Multi Site system, version 6.5 with ECM 1.3. E-mails are sent using SSL/TLS over port 587, all connections are running and tested and I am able to send test-mails.
When creating a new Newsletter in my ECM and then going to the Message Preview, I do not see the (empty) layout of the newsletter, but instead Sitecore displays the home page of the website itsself?! This issue occurs for every template except the HTML Message. When sending the Newsletter as a test mail, I receive an e-mail with more or less the layout of the website, as shown in the preview.
Any ideas?
Best regards,
Hessel
Make sure that the Newsletter Branch (i.e.$name under Branches >> Branch Newsletter) and Email Message Root (i.e. Email Message root under Branches >> Branch Newsletter >> $name) have been assigned the Custom Newsletter Template.
Check Email Message Root by clicking this on the Ribbon (You might already know this but .....)
Select the Email Message Root in the tree.
In the Ribbon click Presentation >> Layout >> Details and the Layout Details dialog box should give you the info.
Simultaneously also check the content and presentation binding is in place and relevant renderings like Set Page Title, Basic Newsletter Title&Text and Basic Newsletter Header are in place.
Check in Custom Newsletter branch template the layout details of $name item.
Make sure for the default device your Custom Newsletter Layout is set and also these type of controls are set in their respective placeholders.
Process Personalization Tokens (sublayout) & Custom NewsLetter TitleAndText in email-content (placeholder).
Set Page Title in Html-title(placeholder).
Once these settings are configured correctly, try creating a new item from that branch and hopefully the preview should work.
Let us know how you get along and if the above was of any help.
In some cases this might be a security issue, when we try to preview a message for recipient (! not the context user !) who doesn’t have permission to read the message.
Try to set CheckReceiverRights setting value to true in Sitecore.EmailCampaign.config file. In case, it is security issue, you will be alerted in the preview window.