Managing and Using Plugins
Once you've installed plugins, you need to know how to manage them effectively. This guide covers everything from activation to uninstallation in simple, non-technical terms.
Plugin States Explained
Think of plugins like light switches - they can be in different states:
🔵 Inactive (Installed but Off)
- What it means: Plugin files are in your system but features are not available
- Like: Having an app on your phone but not running it
- Uses: Keep plugins ready but not active until you need them
🟢 Active (Running)
- What it means: Plugin is running and all features are available
- Like: Having an app open and using it
- Uses: The plugin's features are accessible to users
⚪ Not Installed
- What it means: Plugin is not in your system at all
- Like: An app you haven't downloaded yet
- Uses: Before you upload/install a plugin
Accessing Plugin Management
Step 1: Log Into Admin Dashboard
- Open your web browser
- Go to your Talawa-Admin URL
- Log in with administrator credentials
Step 2: Navigate to Plugins
- Click Plugin Store in the sidebar
- Select Manage
- You'll see the Plugin Management page
Activating Plugins
Activation enables a plugin's features for all users across web, mobile, and API (if applicable).
How to Activate a Plugin
- In the Plugin Management modal, click the Activate button next to the desired plugin.
- The activation process begins:
- Plugin features are registered
- Database connections are established
- Extensions are loaded
- Services are started
- Once complete, the button changes to Deactivate.
- New features immediately appear in the appropriate places:
- Menu items (sidebar, app menu)
- Widgets (dashboard, app screens)
- API endpoints and webhooks (if applicable)
Where Features Appear
Admin Dashboard:
- Sidebar menu items
- New tabs or sections
- Tools in existing pages
Mobile App:
- New screens in the app menu
- Additional widgets
API:
- New GraphQL data
- Webhooks
- Background services
Using Active Plugins
Accessing Plugin Features
Admin Dashboard
New Pages/Screens:
- Check the sidebar menu for new items
- Look for plugin-specific sections
Dashboard Widgets:
- New widgets appear on your dashboard
- Some may need configuration
- Click to interact or view details
Tools & Features:
- Look for new buttons or options in existing pages
- Check for new tabs in data views
- Hover over icons for tooltips
Mobile App
New Menu Items:
- Open the app menu
- Look for "Plugins" section
- Tap to access plugin features
Injected Widgets & Components:
- Plugin features may appear in any part of the app.
- Injectors can be used to add widgets, screens, or enhance existing components throughout the app.
- Examples include new screens, custom widgets, or additional functionality in any UI area.
Configuring Plugin Settings
Many plugins have settings you can customize.
Accessing Settings
- Go to Admin Panel → Plugin Settings
- Find the plugin
- Adjust settings as needed
Common Settings
API Keys:
- For plugins that connect to external services
- Example: Payment gateway credentials
Display Options:
- How plugin features appear
- Color schemes, layouts
Permissions:
- Who can access plugin features
- User role restrictions
Behavior:
- How the plugin operates
- Automation settings, triggers
Deactivating Plugins
Deactivation temporarily turns off a plugin without removing it. Think of it as putting an app to sleep.
How to Deactivate
Deactivation works just like activation and uses the same Plugin Management modal:
- In the Plugin Management modal, click the Deactivate button next to the active plugin.
- The deactivation process begins:
- Plugin features are removed from the interface
- Services are stopped
- Plugin data is kept intact
- The button changes back to Activate.
- You can reactivate the plugin at any time using the same modal.
What Happens When Deactivated
Immediately:
- Features disappear from interface
- Menu items are removed
- Widgets stop showing
- Services stop running
What's Preserved:
- Plugin files remain installed
- Plugin data is kept
- Settings are saved
- Can reactivate anytime
Uninstalling Plugins
Uninstalling completely removes a plugin from your system. This is permanent!
Before You Uninstall
** Important Considerations**:
- Data Loss: Plugin data will be deleted
- Dependencies: Other features might rely on this plugin
- No Undo: You'll need to reinstall to get it back
- Backup: Consider backing up if you might need the data
When to Uninstall
- Never Using: Plugin serves no purpose
- Free Space: Need to reduce server/app size
- Replacing: Installing a better alternative
- Issues: Plugin is causing persistent problems
How to Uninstall
Step 1: Deactivate First
Must be deactivated before uninstalling:
- If active, click Deactivate
- Wait for deactivation to complete
- Status changes to Inactive
Step 2: Click Uninstall
- Find the inactive plugin
- Click Uninstall
- A serious warning appears:
⚠️ Uninstall Plugin?
Are you sure you want to uninstall Plugin?
This action will permanently remove the plugin and all its data. This action cannot be undone.
[Cancel] [Uninstall Permanently]
Step 3: Confirm Uninstallation
- Click Uninstall Permanently
Step 4: Uninstallation Process
⏳ Uninstalling plugin...
⏳ Removing files...
⏳ Dropping database tables...
⏳ Cleaning up connections...
⏳ Removing configuration...
✅ Plugin uninstalled successfully
What Gets Removed
- All plugin files
- Database tables and data
- Settings and configuration
- Menu items and routes
- Background services
Uninstalling Mobile Plugins
Mobile plugins work differently:
Can't Fully Remove Without Rebuild:
- Plugin code is bundled in the app
- Can deactivate to hide features
- Full removal requires rebuilding app
Recommended Approach:
- Deactivate the plugin in admin dashboard
- Features hide from all mobile apps
- If you must remove completely, contact technical team to rebuild app without the plugin
Plugin Management Best Practices
Activation Strategy
Start Small:
- Activate one plugin at a time
- Test thoroughly before adding more
- Ensure each works as expected
Monitor Performance:
- Watch app speed after activation
- Check server resource usage
- Disable plugins that slow things down
User Training:
- Train users on new features
- Provide documentation
- Announce new plugins to members
Troubleshooting Common Issues
Plugin Not Working After Activation
Symptoms: Activated but features don't appear
Solutions:
- Refresh: Hard refresh browser (Ctrl+Shift+R or Cmd+Shift+R)
- Clear Cache: Clear browser cache and cookies
- Check Permissions: Ensure you have rights to access features
- Reactivate: Deactivate, wait 10 seconds, reactivate
- Check Logs: Review error logs in admin dashboard
Features Disappeared Suddenly
Symptoms: Working plugin stops showing features
Solutions:
- Check Status: Plugin might have auto-deactivated
- Error State: Look for error indicators
- Dependencies: Check if required services are running
- Reactivate: Try deactivating and reactivating
- Contact Support: If issue persists
Mobile Plugin Not Syncing
Symptoms: Dashboard changes don't reflect in mobile app
Solutions:
- Wait: Changes can take 1-2 minutes to sync
- Restart App: Close and reopen mobile app
- Check Connection: Ensure mobile has internet
- Verify Activation: Confirm plugin is active in dashboard
- App Version: Ensure mobile app has the plugin bundled
Can't Deactivate Plugin
Symptoms: Deactivate button doesn't work or errors occur
Solutions:
- Dependencies: Another plugin might depend on it
- Running Processes: Wait for background tasks to complete
- Force Deactivate: Contact technical team if stuck
- System Restart: Restart Talawa services (technical team)
Uninstall Stuck or Failed
Symptoms: Uninstall process hangs or shows errors
Solutions:
- Deactivate First: Must be inactive before uninstalling
- Active Connections: Close all admin dashboard tabs
- Database Lock: Wait and try again
- Manual Cleanup: Contact technical team for manual removal
- Check Logs: Review error messages for specific issues
Understanding Plugin Impact
What Happens When You Activate
Immediately:
- New features appear
- Services start running
Behind the Scenes:
- Plugin code is loaded
- API endpoints are registered
- Webhooks become active
- Background jobs may start
What Happens When You Deactivate
Immediately:
- Features disappear
- Services stop
- Webhooks inactive
What Stays:
- Data is preserved
- Settings remain
- Files stay on server
What Happens When You Uninstall
Completely Removed:
- All files deleted
- Data erased
- Settings gone
- Database tables dropped
Cannot Be Undone:
- Must reinstall from scratch
- Data cannot be recovered
- Settings must be reconfigured
Plugin Lifecycle Summary
┌─────────────────────────────────────────────────────┐
│ │
│ 1. NOT INSTALLED │
│ └─► Upload ZIP ──────────────┐ │
│ │ │
│ 2. UPLOADED │ │
│ └─► Install ───────────┐ │ │
│ │ │ │
│ 3. INACTIVE (Installed) │ │ │
│ ├─► Activate ─────┐ │ │ │
│ └─► Uninstall ────┘ │ │ │
│ │ │ │ │
│ 4. ACTIVE (Running) │ │ │ │
│ └─► Deactivate ──┘ │ │ │
│ │ │ │ │
│ 5. UNINSTALLED │ │ │ │
│ (Removed) ◄──────┴─────┴─────┘ │
│ │
└─────────────────────────────────────────────────────┘
Actions:
• Upload → Install: Add plugin to system
• Activate: Enable features
• Deactivate: Disable features (reversible)
• Uninstall: Remove completely (permanent)
Need Help?
Quick Help
Q: How many plugins can I activate?
A: As many as you need! But start with a few and add more gradually.
Q: Will deactivating a plugin delete my data?
A: No! Deactivation keeps all data. Only uninstalling deletes data.
Q: Do mobile users need to update their app when I activate a plugin?
A: Only if the plugin is new and wasn't bundled. Activating/deactivating existing plugins happens instantly.
Q: How do I know if a plugin is causing problems?
A: Deactivate plugins one by one to isolate the issue.
Get Support
- Community Forum: community.talawa.io
- Email Support: support@talawa.io
- Bug Reports: GitHub Issues
- Documentation: docs.talawa.io
Happy plugin managing! 🎉
Remember: Start small, test thoroughly, and always backup before making major changes.