Quote:
Originally Posted by sarettah
If I am reading your code correctly and the cam record from the api is in $rr[$first_cam] then this should work:
Instead of this:
<a href="<? echo str_replace('track=default', 'track='.$track.'', $rr[$first_cam]-> chat_room_url_revshare); ?>"
You would use this:
<a href="<? echo 'https://mywhitelabel.com/' . $rr[$first_cam]->username . '/?track=' . $track; ?>" target="_blank">
Replace mywhitelabel.com with the domain you are using for your whitelabel. For example, I have a whitelabel at camfoxes.net so I would end up with <a href="<echo 'https://www.camfoxes.net/' . $rr[$first_cam]->username . '/?track=' . $track; ?>"
If we had the model named 'sasha_ursx' then the url coming out of there would be https://www.camfoxes.net/sasha_ursx/.
That make sense?
.
|
Very thank you buddy, worked perfectly.