Dynamic Join Group Button HELP
hello So heres my idea proposal.
on http://spotskenya.com i am doing featured spot reviews and these are basically blog posts the groups (spots) are the community side of the blog post.
So i want to have a JOIN SPOT (group) button on the blog post see http://spotskenya.com/double-touch-supermarket/ for an example.
The problem is that it each join group thing is user specific and so my initial idea only works on my main admin user.
heres what nicola surgested
you shoud add a redirect for yoursite.com/groups/group-name/user-join
and in the user-join page
make a script that adds the logged in user to the group
and redirect the page after executing the script
to the group home page
I am just not able to to this sorta coding so if there is any really simply explained solution or answer then that would be ace..
Westy_: can i as what is probably a simple question… how can i dynamically have a join group button on my main blog posts that dynamically makes the correct ids for the user
[23:25] nicolagreco: ahah
[23:25] nicolagreco: seems simple
[23:26] nicolagreco: anyway not impossible
[23:27] nicolagreco: a bit hard
[23:27] Westy_: because i realised that they are not just static they are user specific
[23:27] Westy_: i tried on http://spotskenya.com/double-touch-supermarket/
[23:28] nicolagreco: you should create a new new redirect match like
[23:28] Westy_: and the http://spotskenya.com/spots/double-touch-supermarket/join?_wpnonce=1171a39a13 url is user specific
[23:28] nicolagreco: http://spotskenya.com/double-touch-supermarket/join
[23:28] nicolagreco: no wait
[23:29] nicolagreco: Westy_: you shoud add a redirect for yoursite.com/groups/group-name/user-join
[23:29] nicolagreco: and in the user-join page
[23:29] nicolagreco: make a script that adds the logged in user to the group
[23:30] nicolagreco: and redirect the page after executing the script
[23:30] nicolagreco: to the group home page
[23:30] Westy_: oh gosh sounds great but i really wouldnt know where to start
- The topic ‘Dynamic Join Group Button HELP’ is closed to new replies.