top of page
Writer's pictureBrahma Media, LLC

Grow Your Blog Community

With Wix Blog, you’re not only sharing your voice with the world, you can also grow an active online community. To let readers sign up and become members of your site, add a Members Area from Add Apps in the Editor sidebar.



What can members do?


Members can follow each other, write and reply to comments and get notifications. Each member gets their own personal profile page that they can customize.


Tip:

You can make any member of your blog a writer so they can write posts for your blog. Adding multiple writers is a great way to grow your content.











Here’s how to do it:

  1. Head to your Members Page

  2. Search for the member you want to make a writer

  3. Click on the member’s profile

  4. Click the 3 dot icon ( ⠇) next to the Follow button

  5. Select Set as Writer.

2 views0 comments

Comments


bottom of page
// Import the necessary Wix modules import wixData from 'wix-data'; import wixUsers from 'wix-users'; $w.onReady(function () { // Check if the current user is an admin wixUsers.currentUser.getRoles() .then((roles) => { const isAdmin = roles.some(role => role.name === "admin"); if (!isAdmin) { $w("#submitButton").disable(); $w("#errorMessage").text = "You do not have permission to add athletes."; } }); // Submit button click event with validation $w("#submitButton").onClick(() => { const name = $w("#nameInput").value; const age = Number($w("#ageInput").value); const sport = $w("#sportInput").value; const statistics = $w("#statisticsInput").value; const achievements = $w("#achievementsInput").value; const mediaCoverageLinks = $w("#mediaCoverageLinksInput").value.split(','); const photos = $w("#photosInput").value; const socialMediaLinks = $w("#socialMediaLinksInput").value.split(','); // Validation check if (!name || !age || !sport || !statistics || !achievements || mediaCoverageLinks.length === 0 || !photos || socialMediaLinks.length === 0) { $w("#errorMessage").text = "Please fill in all required fields."; return; } const newAthlete = { name: name, age: age, sport: sport, statistics: statistics, achievements: achievements, mediaCoverageLinks: mediaCoverageLinks, photos: photos, socialMediaLinks: socialMediaLinks }; wixData.insert("Athletes", newAthlete) .then(() => { $w("#successMessage").text = "Athlete added successfully!"; $w("#errorMessage").text = ""; // Clear error message }) .catch((err) => { console.error(err); $w("#errorMessage").text = "There was an error adding the athlete."; }); }); });