Event management and custom newsletter in Wordpress - php

I have a Joomla 1.5.26 website in which I publish events and conferences dictated by a company. Those are handled by categories (cities).
Until now, I follow this workflow:
Publish the event (by entering a new registry) or duplicating an
entry (if apply) with a component called Simple Calendar. It creates
in the frontend a page for each event and handle those by categories.
Then, because of the customization of my template, I have to publish an article in the front page with all the information of the current events. Double work.
Last: Go to a system (based in php and connected to my joomla database) that I created to manage the newsletter. I have to write again all the information of the events in a TinyMCE field and then choose in a select box the group of users, by state (I override the jos_user database and added "State" field. I also override the registration page, so users can select their state of origin).
In that system, I also create a page that let me send a newsletter to all the users in jos_user.
What I need:
I need to simplify this Workflow. I want to continue using a CMS (I'm thinking in Wordpress).
I need to migrate all the users registered in Joomla (with it custom field).
I will like to publish the events one time, and have the possibility to send a newsletter of upcoming events or category upcoming events to a specific group of user or to all of them.
What I have tried:
Wordpress + Event Espresso: this solution didn't work for me, cause' it didn't allow me to handle the newsletter as I need.
What I don't need:
A payment system.
Attendee Manager.

You might want to try out this plugin which I have been working for a long time. It's a good plugin to get the work done.

Related

Joomla PHP code

I'm new in using Joomla and i need your help please.
I'm newly working in a company. The company bought a web shop from other company and the web shop is live now.
One button in one of the pages is responsible to place an order and the action for this button is to send an email with all the data about the orders to my company.
Now my task is to develop an API which does the following:
when clicking on that button the information should be handles in certain way and sent to other system which our company have and this system is used by my company to handle the different orders.
My problem is that i can't find the php page that contains the code which is creating these orders email in order to change it.
Is there is any tool or plugin which might help or do you have any idea how to handle this situation?
Hint: I'm not able to get any support from the company who programmed the web shop
It is very hard to tell you what to do when we don't even know which Joomla e-commerce extension you are using. Nevertheless, there are things that you can do to find out which file is doing the actual processing of the order.
However, before even doing that, you will need to define what "order processing" means. Is it when the order is saved to the database? Is it when the order is approved by the payment gateway?
In the first case, you will need to look up for code saving the data to the database (which is likely in the models folder of the extension - it might also be in the controllers), in the latter case, you will need to look up for the code processing the payment (which is likely in the controllers folder or the helpers folder).
Note that some "advanced" e-commerce extensions trigger events when an order is processed that you can use in a plugin in order to do what you want.

Wordpress: Adding relational data to custom post_type

I'm building a Wordpress website for a company that likes to receive job applications from their users, on specific jobs, and I am wondering how to do this.
My idea is to:
Make a custom post_type with jobs
Add a contact form that relates to the current job by id
When in wp-admin, on the related job, then list the job applications with details from the contact form, so my client can contact the job appliers.
My questions are:
How do I add the table of job applications on the post_type=jobs wp-admin-page on the administration page for the current job?
Is it best to add the contact form data as meta_data to the post, or in a seperate MySQL table with relations to the post_id?
You can do one thing.
Create a Custom Post Type "Job".
On front page list all job with the APPLY JOB button.
On clicking the Apply Job button open a pop-up with a form to apply
for jobs.
Job will have a hidden field containing job id, job title.
When user apply save those details in a separate table say
wp_apply_job and a email to the author of job posted.
This is a complex problem, but just what Worpress is good at. It's a CMS, a content management system.
There are multiple architectures you can use. One question is, does the applicant data need to be associated with the jobs, or with the applicant mostly?
You're correct, that you'll need to use CPTs. You can use the native Wordpress admin to manipulate CPTs.
https://codex.wordpress.org/Post_Types
You might need to create a CPT for jobs and for the specific application submitted for each job. I would definitely NOT use the word "job" for the slug. Use something like "myCustomJobCPT". Wordpress slugs are globally scoped namesspaces. If you create a CPT for each submission, you can add data to the post content if you want, or you can add custom fields to the CPT post.
https://codex.wordpress.org/Custom_Fields
If you only associate the data with the user, you can use user_meta for the data, and cross reference that with the CPT type for jobs.
https://codex.wordpress.org/Function_Reference/add_user_meta
Finally, you will want to create a way to output your functionality. You'll want to use either:
https://codex.wordpress.org/Administration_Menus
or Wordpress shortcodes:
https://codex.wordpress.org/Shortcode_API
Remember to encapsulate your functionality in the Wordpress page load by using action hooks. A good one is 'init' for a starting point.
https://codex.wordpress.org/Plugin_API/Action_Reference
Good luck!

Joomla Administrator Plugins?

Is it possible to have Admin Plugins? Or are plugins only for the Site?
What I want is to have a notification system (not email) on the Admin side very much like Facebook. The trigger for such notifications is from the Site.
I've scanned through these events for Plugins and implemented a very simple content plugin (just testing onContentAfterTitle) for Site only.
Questions
Do these events also apply to the Admin side?
Is it possible to have an Admin Plugin that selects notifications from the database and displays them on screen?
Or if you guys can recommend an existing extension, that would be of great help. Thanks
The plugins are available for both side admin and site.
the difference is based on the events used inside the plugin.
for example onContentAfterSave event on the content plugin trigger when an article is saved.
its available in both side when an admin saves articles it trigger, also from site users post articles then also it will trigger.
Some events that are applied only on the site like
onContentPrepare,onContentAfterTitle, onContentBeforeDisplay,onContentAfterDisplay etc
so which event is choose based on that the plugin works!.
The notification plugins you are looking for is what does exactly ? then only we can suggest an event or plugin like its related to article, user or something else.
Hope its make sense..

Is it possible for a Joomla Form plugin to create a table and save form data to that table?

I am working on creating a Joomla based web service that is easy to use. The end goal is to allow customers the ability to manage the site from the front-end with no back-end (administrator) access. To accomplish this task I am using K2 that has existing front-end editing. Then behind the scenes we will provide technical support. Essentially, non-techy customers can easily manage their site, with us managing the tech side of things.
I need to provide a few forms (Contact, Event registration/payment and Donation payment). These forms also require that certain aspects of the forms can be updated via the front-end leveraging K2. (eg. The email address to send form submissions to.) With most forms components this can be done easily from the admin panel, however this is too complicated for non-techy customers and means we would have to provide admin access instead of just front-end. Not a good solution.
I have created a K2 contact Form plugin that will allow a customer to update where the email is sent on submission, when logged into the front-end with correct permissions. So far so good. I chose a plugin to accomplish this so we could leverage the existing front-end editing.
The issue I ran into is how to make my plugin create a table, preferably on install, as well as save form data to that table on successful submission. I'm not sure that this is possible using a plugin and have not found any documentation or sources mentioning how to accomplish this task.
I was hoping someone may be able to confirm either way if this is possible? Any suggestions, comments, etc would be greatly appreciated.
While installing plugin you can create DB tables, Its not a big deal create the SQL file with proper table query and set that inside your XML file.
Also you can create a forms(with many fields) inside your plugin file, But the problem is you should have any components controller and model related to this form submission task. Bcoz form submission you cannot handle inside plugin file, it should required a controller and model files.
So basically your plugin have related components then you can achieve it with form action like below.
<form action="index.php?option=com_yourcomponent&task=your_controller.your_function">
For creating DB table while installing plugin check this link
Hope its helps..

Event Registration

How can I create a site like http://www.eventbrite.com/ in drupal.
If its not possible in drupal what should I probably use.
More specifics --
Users can add their own events, add pricing. Out of that pricing the website can keep a certain % say 5%, when users purchase tickets. The commission can be on per event basis and cannot be changed by users, only admin can do that.
Free events can be also added.
It should also have event management features like artist management, portfolio management.
The event creators should have a profile which can be rated by the users so that they can have profile like system.
Your question is very general, man... I'd use Event, Date, Location, Views and CCK modules. If you want a more specific answer, make your question more specific as well.
Yes, this is possible. Set up a site using Drupal and then try out this module:
http://drupal.org/project/signup This module is designed to help you easily allow users to register for events you create on your site.

Categories