nuovoutente
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Activity Plus] Only YouTube videosHi WPMU DEV,
thanks for your answer.
I tried the code you pasted above and it’s ok, but i found some problems.I did a test: I clicked on the video, I pasted the URL of a Vimeo video and it gave me error. OK. But under the error gave me the opportunity to “add video” and then added it anyway.
I would like to apply this restriction even when you simply paste the URL of a video / link without clicking on the “Video” button (under “What’s new, so to understand). The code pasted above does not work in this case.
I hope I explained myself …
Hi domnik!
Where do I paste this code? Is it okay if I paste it in single.php?Another question:
XXX is the new custom field that i’ve created before
YYY is the value of this custom field, right?
Example:
XXX = hobby (category)
YYY = technology (value)So, in “if” code i insert for example a link visible only to those who chose “technology” as value of custom field “hobby”, while in “else” code I post only a text message informing users that the link is not visible to those who do not have these “technology” as value of custom field “hobby”, right?
I need to make other changes to the code to get what I want?
Gabriel i’ve sent you an email few seconds ago! ??
Hi Gabriel,
i’m sure i’ve pasted the code in the correct functions.php. I’ve tried also with other wordpress themes (No one has the child theme) and with other hosting provider.Thanks for the support, Gabriel!
I’ve replaced the code in theme’s functions.php with the new code, but i don’t see no popup and i haven’t yet awarding points.Just to be sure:
I paste the code in functions.php
I paste in a post or a custom page the <div> code to subscribe youtube channel.
Login on Youtube with my Google / YouTube’s account in a browser page.
I make the login with my account on my wordpress site in another browser page.
I go to the post or page of my site, subscribe the youtube channel with my google account and don’t award any points on my account mycred / wordpress.
I don’t really know where is the mistake.I’ve tried also to paste the code in functions.php of another wordpress themes, but nothing has changed.
Is there any configuration I need to do in the wordpress mycred’s panel between hooks, addons and general settings?
I’m so sorry to bother you!
Hey Gabriel,
thanks a lot for the code!
I’ve updated the function.php with the code and i’ve added the <div> code in a page, obviously replacing the correct youtube id channel.
It’s ok, but i don’t award points. I’ve tried with admin account and with normal user account, but in either case i haven’t awarding points.
I use the latest version of plugin.
Maybe I miss something else?Exactly what I need. Is there a solution?
I don’t know yet, because at the moment it’s just an idea.
Maybe you could advise me how is much easier if i include the button myself or through a plugin. If the plugin is the right answer, please i ask you to recommend me one which including a feature that allows buddypress users to add a link of their youtube channel from their bp profile. Every user must have their youtube subscriber button and every user must award points for each youtube subscription.