Imagin I created a page in Xenforo -> Nodes and named it memberBusinessCard.
And made an add-on and named it getBussinessCard. This add-on will give a user_id and send it to another service and give the card info for the member.
This is the add-on callback:
I need for example If anybody opened page http://forum.com/pages/memberBusinessCard?user_id=15
Then I give the query string by anyway example "$_GET['user_id']" and send it to add-on ad param.
How can I do it?
And made an add-on and named it getBussinessCard. This add-on will give a user_id and send it to another service and give the card info for the member.
This is the add-on callback:
Code:
<xf:callback class="getBussinessCard\getBussinessCard" method="getJsonData" params="[$_GET['user_id']]"></xf:callback>
I need for example If anybody opened page http://forum.com/pages/memberBusinessCard?user_id=15
Then I give the query string by anyway example "$_GET['user_id']" and send it to add-on ad param.
How can I do it?