I’m trying to add an Youtube channel to “[tagDiv] social counter” widget. Problem is: the widget URL is relative to user and not to channel and my user have more than 10 channels associated.
The widget send to:
https://www.youtube.com/user/my_username
What I need:
https://www.youtube.com/channel/my_channel
Thank you,
Vitor
Hi,
Unfortunately the plugin was designed to work with users only if you need another approach for this you should get someone to do it for you or you could try do it yourself, you can find the youtube URL here: http://screencast.com/t/djKDKJ5TF
Thanks
I have same problem.
The widget:
https://www.youtube.com/user/my_username
What I need:
https://www.youtube.com/channel/my_channel
I have changed the line which is showed by Lucian.
Old;
‘url’ => “http://www.youtube.com/user/$user_id”,
New;
‘url’ => “http://www.youtube.com/channel/$user_id”,
it still doesnt work. what should i do ? thanks
-
This reply was modified 11 years by
orcn.
This method works
You can find the code in your file manager inside plugins/td-social-counter/shortcode/td-social-counter-010.php
Your above comment states user when it should state channel,
‘url’ => “http://www.youtube.com/channel/add your own channel in here”,
I added the long combination of letters and numbers that appears on the end of my youtube channel URL
Best
Dean
Hello,
This did not work for me and I still have this issue. There must be another piece of code somewhere overwriting td_social_counter_010.php
As Lucian and others have suggested, I changed the code to ‘url’ => “http://www.youtube.com/channel/my_own_channel_code_here”, and the Social Counter is still sending me to “http://www.youtube.com/user/<channel code here” with the error “This channel does not exist”
It is a very stubborn issue. I have cleared by browser cache, used different browsers, my mobile, etc.
Please help! How can I get the social counter to work for YouTube?
(btw…I don’t think youtube assigns youtube.com/user accounts anymore, all are “channels” these days).
SOLUTION…
When updating the URL in the code, you must update both files: http://screencast.com/t/Sqhn96YIPwXi …. Not just the td_social_counter_010.php
like this: http://screencast.com/t/vNRfUF0G
Then it will work