Order Complete

const refCode = localStorage.getItem(“pending_referral”); fetch(“http://127.0.0.1:8000/auth/signup”, { method: “POST”, headers: { “Content-Type”: “application/json” }, body: JSON.stringify({ name, email, password, referral_code: refCode }) }); localStorage.removeItem(“pending_referral”);Continue reading

Redirect for old PG profile pages to new PG profile pages

/** * Redirect old peoplegroups.org ASPX URLs * – groupdetails.aspx?peid=X → /people_groups/PG00000X * – All other .aspx files → homepage */ add_action(‘init’, function() { // Check if this is a request for any .aspx file if (isset($_SERVER[‘REQUEST_URI’]) && strpos($_SERVER[‘REQUEST_URI’], ‘.aspx’)…Continue reading

Redirect for OLD pg.org site links – PG profile

/** * Redirect old peoplegroups.org URLs with query strings to new format * Example: groupdetails.aspx?peid=47185 → /people_groups/PG047185 */ // Check if this is a request for groupdetails.aspx if (isset($_SERVER[‘REQUEST_URI’]) && strpos($_SERVER[‘REQUEST_URI’], ‘/explore/groupdetails.aspx’) !== false) { // Check if peid parameter…Continue reading

Lovable – Header HTML (copy)

LOGIN REGISTRATION THE PFSA About Us Our Story Our Team Partners Community News & Updates Success Stories Testimonials FAQ Connect Contact Us Careers Press & Media MEMBERSHIP Membership Types Scout Membership Club Membership Student Membership Benefits Network Access Industry Events…Continue reading