Jump to content

Saurabh Jain

Clients
  • Posts

    2,536
  • Joined

  • Last visited

6 Followers

Contact Methods

Recent Profile Visitors

44,427 profile views
  1. can any one pl look into this ?
  2. @Nathan Explosion can you pl help
  3. let me explain this is test which is giving error My purpose is that there 6 daily activities - when a user click done it should go into when a user click done i should send the user id who has doen which activity I am using another cpanel to host data this is the code in my page which is not egtting user name and id - thsi is simple page <script> // Replace the below lines with dynamic server-side fetching if supported by your framework const memberId = {expression: "\IPS\Member::loggedIn()->member_id"}; // Replace dynamically in production const memberName = {expression: "\IPS\Member::loggedIn()->name"}; // Replace dynamically in production const getActionsUrl = `https://saurabhjain.in/practice/get_actions.php`; const logActionUrl = `https://saurabhjain.in/practice/log_action.php`; document.addEventListener("DOMContentLoaded", () => { // Debugging: Log the current user details console.log("Logged-in Member ID:", memberId); console.log("Logged-in Member Name:", memberName);
  4. I am using in pages what i want when some one press button done it does to data base https://jainsamaj.vidyasagar.guru/tracker/ I tried this <script> document.addEventListener("DOMContentLoaded", () => { // Fetch logged-in member details using Invision's JavaScript methods const memberId = ips.getSetting('memberID'); // Fetch member ID const userLink = document.getElementById('elUserLink'); // Get the user link element const memberName = userLink ? userLink.textContent.trim() : 'Guest'; // Fetch member name or fallback // Debugging: Log the member details console.log("Logged-in Member ID:", memberId); console.log("Logged-in Member Name:", memberName); // Update DOM with user info const userInfoElement = document.getElementById('user-info'); if (userInfoElement) { userInfoElement.textContent = `Logged-in Member ID: ${memberId}, Name: ${memberName}`; } }); </script> <p id="user-info">Fetching user details...</p> in a test page but ot just said etching user details.
  5. can we get name and id is this correct const memberId = {expression: "\IPS\Member::loggedIn()->member_id"}; // Replace dynamically in production const memberName = {expression: "\IPS\Member::loggedIn()->name"}; // Replace dynamically in production
  6. how to get system variables like member id ... how to get access to the user id I want to test welcome members id in html page
  7. Can we also do Sign in with with invitation community website ? So I can just take user name and user id
  8. I want to have a page with activities And put into new database How to take user session details I want to show documentation to developer who did not know anything about incision board Pl share the link
  9. Can any 1 suggest
  10. Hi everyone, I’m looking for a solution to implement a daily activity tracking system for our community. Here’s the idea: Daily Activities: We want to assign 6 activities to our members each day. Participation Options: Members should be able to submit whether they’ve completed all 6 activities or at least one activity. They should be able to mark the activities they’ve completed for tracking purposes. Tracking Requirements: We want to display stats like: X people completed Activity 1. Y people completed all 6 activities. Track participation on a daily basis and identify how many people consistently complete all activities across consecutive days. Does anyone have suggestions for setting this up within the Invision platform? I’d love to hear about plugins, tools, or creative approaches to achieve this. Looking forward to your ideas and insights. Thanks in advance! 😊
  11. O just upgraded my community and no images loading..... all gallery showing blank
  12. i want to integrate chatbot i also want that i can capture username / display name Has any one did with invision?
×
×
  • Create New...