How do I send the parameters via php from one page to the target page?
Visitor clicks on a members name from a page of members and then is presented a page of the threads that member started from a specific forum.
User clicks on page/namelist.php which generates a list usernames that have the 'blah' select from the custom field dropdown, using query:
Generate user list based on value from Custom Field blah
SELECT m.user_id, username, field_value FROM xf_user m LEFT JOIN xf_user_field_value p on p.user_id = m.user_id WHERE field_value = 'blah' ORDER BY username ASC;
Renders this: /page/member-name-list/
Then visitor clicks on one name listedt above and there's a second page that uses the user_id value to generate the second query:
(Enumerate thread list based off user_id from a specific node_id)
SELECT t.thread_id, t.node_id, t.title, t.user_id, t.username from xf_thread AS t WHERE t.user_id = 7 and node_id = 77 GROUP BY t.thread_id ORDER BY last_post_date DESC;
Renders this: /page/members-posts-from-specific-category/
I'm sure there is a much simpler way of doing it but I'm blinded by code getting this far. :/
The only custom attribute in all the above is the defined unique custom field to get a means to sort some members from the regular populace.
Thank you, any help would be most welcome and appreciated.