View Single Post
Old 06-15-2021, 06:38 PM  
harpreetxi
Confirmed User
 
Industry Role:
Join Date: Nov 2009
Location: Internet
Posts: 289
Quote:
Originally Posted by sarettah View Post
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.
__________________
skype: h.4rpreet
harpreetxi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote