![]() |
No... those tags don't go between the iframe tag... re-read the instructions, the meta tags go in the headerinclude template.
|
i did but it does not work
plzzzzzzzzzzz help me i need the full code, step by step |
The iframe method is very limited.
Follow the instructions above and it should show an image just fine. |
Quote:
|
1 Attachment(s)
|
Honestly I can't make much sense of that... I visited your site and I see you use the regular postbit template, not postbit_legacy- did you place the code in postbit?
|
i use postbit_legacy not postbit
and No i did not place the code in postbitcould i have ur E-mail ? |
Quote:
No, I would prefer to keep helping (best I can) via the forum and not e-mail, sorry. |
it is okay,
so i use a modified template Yes i'll try what you said.. |
Same for the original postbit legacy
plz help ! |
Original postbit_legacy
PHP Code:
|
Agathadaimon ,
i reset the template so i have the original one already, i need the original template with modification and btw, that is not the original template |
so no one can do it..
|
Quote:
|
I don't know, I've never had nor used vbSEO- is there an alternate variable you can use maybe?
|
Hmmm. It still posts the "Like" thread to the members FB profile. But it just posts exactly what the url is which is defined in the mod instructions. I don't know anything about writing variables. I just have vbSEO relative .html URLS defined in the rewrite instructions. They rewrite as http://www.mysite.com/forum/topic-name.html
|
3. Click the Connect tab
----------------- Connect tab seems to be gone on facebook, was there when i added this to my other forum a week ago. EDIT: im guessing step 3 is now 3. Click the Website tab |
Quote:
|
Confirmed, does NOT work properly with Zoints SEO. The button is there and you can push it, but on facebook it leaves out the thread URL and does not create the actual page on facebook.
|
Anyone have a live demo of this running on vb 3.8 right now? Thanks!
|
I've been testing the Like button today. One suggestion so far is that anyone using the opengraph meta tags consider using the value "article" instead of "website" for the og:type tag. I noticed that when using website, every time a page was liked, it would create a Facebook fan page for that particular thread, as if it was its own website. I didn't want to end up with thousands of fan pages being created, as I read that others were banned for using the website tag outside of their homepage. I'm not sure if there are other functional differences, but that is one to consider if you have a lot of threads on your forum.
|
I've actually had to (temporarily I hope) remove this mod from my threads because there is a bug with Internet Explorer that causes the page to be blank and reload in the browser with a different url.
http://blog.facesharp.com/2010/10/05...ing-analytics/ It's causing some serious issues with Analytics, SEO, etc... This particular link mentions it's IE6 an the XFBML implementation but it has also been reported with the iframe and newer ie versions. When I checked my google logs sure enough this was happening at my site too. |
Quote:
http://www.searchmarketingman.com/20...utton-bug.html How can I duplicate the blank page issue? The mod appears to be working for me (I am only using the Like button, not the comment box app). The link appears on Facebook and correctly directs to the correct forum page. According to the searchmarketingman page, you can force Google/Yahoo/etc not to index the fragment pages. That seems to resolve the issue for me. My question is, were else would someone find a link to the fragment/duplicate page? From facebook? Obviously, I don't want people finding blank pages, but it's not clear to me how they find them. Incidentally, his page says iframe works correctly at the bottom, but I don't like it as much since it doesn't give the comment box. |
Quote:
|
I don't know how to replicate it but when I looked at google analytics there werre dozens, maybe hundreds of those "fragment" URLs and if I followed those URLs sure enough I got the blank page... This means some people were also getting blank pages- now none of my members complained so maybe it was random visitors... I don't know.To be safe I removed all Facebook elements from my threads but I kept the like button on my homepage.
As a backup I did implement the channel url fix. It involves making a new blank HTML file with the 1 line of code mentioned on the page that describes the fix, then adding extra code to the facebook code... i wont know if its working until a few days go by and i don't see anymore fragment urls. in the mean time i added the share button from www.addthis.com which has facebook, twitter, and 200+ other sites to share with, but a custom javascript so shouln't be affected by this bug, |
Quote:
channelUrl: 'http://example.com/channel.html' to the relevant location in the fb.js file that is downloaded for this mod? If not, where do you implement the Fb.init code otherwise? Quote:
|
I never tried the Wibiya bar so I can't compare but addthis seems fast (faster than facebook's button would load infact) and I've had no complaints. I just don't like it as much because it opens the facebook post in a new tab instead of a small pop-up window like the real facebook like button does.
As for the fix- in the .js file: Add a comma to the end of the "xfbml" line and add the following line below it: Code:
channelUrl:'http://www.yoursite.com/channel.html' And make a channel.html file in your web root wirh only this line in it: Code:
<script src="http://connect.facebook.net/en_US/all.js"></script> |
Quote:
I'm testing the addthis button now, too. It doesn't seem to format as nicely where I want it to the left of the edit/quote buttons. It also doesn't allow for comments with the "Like" button and the share utility is cumbersome and somewhat of a duplication of what I have in the vBulletin Bookmarks bar. It looks like Addthis uses the same FB application. |
It certainly allows comments for me... when I click on Facebook on Add This it opens a new tab with a box that says "What's on your mind" with the image I set in the meta tags added by this mod. Whatever I type in that box is the 'comment" and it puts it on my wall with the comment and link.
|
Quote:
Before I used the one with the Facebook Like on the left side, followed by tweet, followed by the share utility. The Like part will only "Like" a thread when I use it, it doesn't pop up a mouse-over comment box like this mod does. You could still go to the Share section and pop up the Facebook sharer app that's the same as the others, of course. I like the hover comment box on the "Like" button of this mod and it plays nicer with the postbit legacy template in terms of formatting than Addthis does. I hope they fix the bug soon. I'm going to test it for a couple weeks then go live if I don't see any other issues. Perhaps just the Google/Yahoo exclusions and the url channel will suffice. By the way you can see mine live at www.car-seat.org without registration. For now, you do have to select the "Facebook Test" style from the style selector to see the mod and Addthis. |
I see you have the like button on every post- does it link back to the whole thread or just the single post?
|
Quote:
http://www.car-seat.org/showthread.php?p=1464875 Also, if you Like a post, it only applies to that post and not any of the other posts in the thread. For that reason, I opted to make it more apparent rather than limit it to the first post. Also, the comment box appeared to be somehow tied to posts before I removed it. If I was in hybrid view and clicked on a post and left a comment in the box below the thread, I could not view the comments if I clicked the threaded link to another post in the thread. Given that it could be hard to find comments so that any questions would be unlikely to be answered, I decided to remove it. Plus, we allow unregistered members to post (via moderation) questions in some forums. For another forum format, it seems like it was a very nice way to allow visitors to leave a comment. Oh, I do like how the opengraph image setting forces the Facebook Sharer app to use the forum logo, rather than a random image from the page. That was annoying some users when they posted photos and the sharer would grab them and slap them on FB. |
1 Attachment(s)
I use this mod with a slight modification as my requirement is to show the LIKE button in front of the thread title for a selected forum instead of the individual post.
Managed this by adding the codes to display the like button in the threadbits template. Complete the steps given up to editing the headerinclude template. After editing the headerinclude templete follow these instructions : Template to edit : threadbits Find : Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> Code:
<!--- facebook Like button -------> Thats it. It shows the FB Like button as follows : Attachment 123206 |
This mod is not compatible with vbSEO. You will get an error every time. In order for the app to work, you must make coding changes which are available at vbSEO forums.
|
I just went live with this mod. I did end up limiting it to the first post. I didn't realize that first post wasn't ONLY the very first post, but at least in hybrid view, it is the first post on the page you are viewing even if it isn't the first post in the thread, which is nice. It worked fine on all posts, but the resizing could take a while on a long thread and was a little annoying. Anyone head about the facebook bug issue? Is it resolved or is there any other fix aside from the custom channel mod?
|
Quote:
|
Thank you, works great!
But how to change language of this text: "Be the first of your friends to like this" and like button ? |
Facebook plugins/like.php has been the top referrer (outside of search engines) for a few months now. Great mod!
|
Quote:
I run the latest vbseo on 3.8.5 and this mod works fine for me- https://vborg.vbsupport.ru/showthrea...03#post2152203 |
Nevermind got it to work. I put the fb.js file in forum root instead of site root.
How can I change the font color of "Be the first of your friends to like this." |
All times are GMT. The time now is 01:37 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|