BGH_
Forum Replies Created
-
Forum: Plugins
In reply to: [Open Graph and Twitter Card Tags] Warning after update a postSame here, could this be fixed in any way?
Thanks in advance, and for the plugin!
Happy New Year,
Regards.
Forum: Plugins
In reply to: [Social] Wrong permalinkFOUND THE WAY TO FIX IT! BACKUP FIRST AND EDIT AT YOUR OWN RISK
After struggling a lot, finally, I found a workaround, or somehow. On
social/lib/social/service.phplook for line 297, and you should do this:Find:
case '{url}': $url = social_get_shortlink($post->ID); if (empty($url)) { $url = home_url('?p='.$post->ID); } $url = apply_filters('social_broadcast_permalink', $url, $post, $this); $content = esc_url_raw($url); break;Replace to:
case '{url}': $url = social_get_shortlink($post->ID); if (empty($url)) { $url = get_permalink($post->ID); } $url = apply_filters('social_broadcast_permalink', $url, $post, $this); $content = esc_url_raw($url); break;This way Twitter will still use the shortlink (site.com/?p=2223), but Facebook will broadcast your own permalink on the Facebook wall :D.
Issue marked as resolved!
Forum: Plugins
In reply to: [Social] Having different broadcast formats for Facebook and Twitter?Thank you for your answer, Alex!
On which file should I add the filters, if you don’t mind me asking? Or where can I add the code from the gists?
Thanks again,
Regards!
Forum: Plugins
In reply to: [Social] Comments only showing two replies?That looks pretty nice, indeed!
I might end up editing mine on localhost, as I don’t want to break anything on my live site, or at least not for the moment xD.
Glad you got it working in the end 🙂
Regards.
Forum: Plugins
In reply to: [Social] Wrong permalinkI’m thinking in the following workaround: trying not to use
{url}token when broadcasting. That way it should broadcast to Facebook (in this case) without a link, so when it is succesfully broadcasted, then I’ll edit the post on Facebook adding the link by myself.It’s not pretty, and I’m not so sure if this would solve the issue, but it should be no harm to try.
Will report back with the result.
EDIT: Tried and no luck. It always paste the link on Facebook when you’re about to broadcast your post, even without
{url}token set :/. I suppose this can be modified inside the files of the plugin, but I’m not really sure where to edit it.Forum: Plugins
In reply to: [Social] Comments only showing two replies?It seems to work, but you’ll need to re-do your CSS stylesheet to adapt it to your theme (it’s on
plugins/social/assets/comments.css, if I’m not mistaken). You can use Firebug, or the developer tool from Google Chrome (pressing F12), to guide yourself in the process. It’s quite handy to do it that way, because it will preview your edits in real time. Sadly, this happens with a lot of plugins which add their custom CSS with a design set by default, but hopefully, one can edit that if posible.The trouble comes when you’re trying to use another comment system or plugin, with Social being enabled. Social doesn’t seem to work in this situation, so you’ll have to choose between Social or Disqus, in your case. You can see a similar issue in another thread I opened but with the Comments Evolved plugin, here.
Hope this helps.
Forum: Plugins
In reply to: [Social] Facebook comment daves in database?No, you will not lose them. They get stored in the database.
Forum: Plugins
In reply to: [Social] Facebook comment daves in database?*Duplicated post. Please erase*
Forum: Plugins
In reply to: [Social] Comments only showing two replies?Please, comment on your result! If Disqus can pull up comments from FB or Twitter, then I’m all over it, so your feedback would be helpful. But I don’t think it will :/…
Forum: Plugins
In reply to: [Social] Won't connect to Facebook acctI had the same problem and dunno how I managed to solve it (used the cang luo edit), but the update doesn’t fix the only thing that’s holding me back from using this plugin. The comments imported from Facebook, doesn’t show a content and the poster name is called “Anonymous”. The likes seem to work well, though, showing the Facebook name (and a link to it), and the text “liked this on Facebook”.
It’s odd that with the likes works well, but not with the proper comments. Is there any way to fix this? Plugins and uploads directories are writable, and I authorized mailchimp on my profile, too. I can share the debug_log.txt, if needed.
Thanks in advance!
Regards
Forum: Plugins
In reply to: [Social] Wrong permalinkWithout this stuff sorted out, this plugin is rather futile at this current state.
Uninstalling this, as I post.
Will re-install, when this get a better, proper update to work.
Regards.
Forum: Plugins
In reply to: [Social] {content} doesn't workWithout this stuff sorted out, and not even showing the author’s Facebook name (didn’t had the chance to try with Twitter), showing ‘Anonymous’ as author name, this plugin is rather futile at this current state.
Uninstalling this, as I post this.
Will re-install, when this get a better, proper update to work.
Regards.
Forum: Fixing WordPress
In reply to: Re-order the assets loadOk, tried the above, but it didn’t work, I think the problem is on the final array which this is something I made up before testing to see if I understood the way it works.
Any help with this, please?
Thanks in advance!
Regards.
Forum: Fixing WordPress
In reply to: Trying to display each comment numberFound the solution myself. Just modified the code on the initial post by adding
<?php $i = 0; ?>above thewp_list_commentsfunction. And then modified the custom_comments function and added the following:function custom_comments($comment, $args, $depth) { global $SMTheme, $i; $i++;I was messing around with
<?php foreach ($comments as $comment) : ?>, but it is not necessary after WordPress 3+ versions.This article enlightened me on the path to solution: http://www.zubair.info/blog/2010/11/13/adding-numbers-to-your-wordpress-comments.html
Hope this is useful for everyone struggling with this problem!
Best regards.
Forum: Fixing WordPress
In reply to: Empty page last page generated by paginationTried it, but it didn’t work, as unfortunately, that part in my loop file is a bit hard coded, and I can’t figure it out how to implement it. Tried a myriad of ways but it always ended on: 1) giving the classic copyright error from SMThemes (which I didn’t alter) and not showing any posts at all not even the admin bar of the top, or 2) always printing the same posts from page 1 to the last page.
This is basically the modified file: http://pastebin.com/LVVNi3V7
Thanks for all your help, Marius!
Regards.