View Full Version : Mini Mods - [Mod-Mall] Google +1 - Googles 'like' equivilent
nitra1000
06-01-2011, 10:00 PM
Already using this modification? Nominate it for Mod of the Month! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=2202773&type=1)
What +1 Does
+1 is basicly Googles answer to Facebooks Like button, it's just been released so there will be alot of hype and movement over it in the coming days.
What This Mod Does
This mod inserts the javascript before your header making the script load faster, all you then have to do is insert a small tag where ever you want the button to show up
Some template hooks (http://mod-mall.com/topic/29-vbulletin-plus-one-positions/) (automaticly installed without template edits)
Guest on/off
Usergroup on/off
Choose style of plus button
Allow users to disable
Installation
Installation documents can be found in the zip file attached (two steps - install XML, change settings) and online (http://modifications.mod-mall.com/VB-Plusone.html)
Releases
V1.0 - Initial Release
V1.5 - Rewrote installation documents, added troubleshooting
To Do List
+1 individual posts
Style checks
Hooks for blogs
Hooks for CMS
Notes
I will support this modification but not +1...
I have nothing to do with Google
Like it? Nominate it for Mod of the Month! (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=2202773&type=1)
theoutlawed
06-02-2011, 06:39 PM
great mod for something that just came out today. works 100% fine and installed in minutes. i put it in SHOWTHREAD instead so it is in line with the Facebook "Like" button and now they can battle it out for internet forum domination!!
thanks nitra1000
nitra1000
06-02-2011, 06:40 PM
great mod for something that just came out today. works 100% fine and installed in minutes. i put it in SHOWTHREAD instead so it is in line with the Facebook "Like" button and now they can battle it out for internet forum domination!!
thanks nitra1000
No proble, this will be one of the hook locations in the future releases :)
Hornstar
06-02-2011, 09:28 PM
Nice work on the fast release :)
Special Pages
06-02-2011, 10:45 PM
This is the best! Yay Google!
Last_Zero
06-02-2011, 11:46 PM
Amazing Thanks Mate
I Got This https://vborg.vbsupport.ru/external/2011/06/5.gif Any Idea ?
Zachery
06-03-2011, 12:04 AM
Can guests view your forums?
Dr.osamA
06-03-2011, 01:39 AM
Excellent
installed undertest
thank you bro
keep it up
frostbolt
06-03-2011, 02:46 AM
yea i installed it also but the thread view ones are showing the red image posted above
nitra1000
06-03-2011, 06:35 AM
Amazing Thanks Mate
I Got This https://vborg.vbsupport.ru/external/2011/06/5.gif Any Idea ?
Happens from time to time nothing to do with the mod, think its just googles servers feeling the strain
zelnik
06-03-2011, 06:41 AM
Does anyone know of the advantages of running the +1 like button?
Will Google start ranking sites/urls/threads/posts higher than a rival if it has more "likes" ?
Thanks
Hoffi
06-03-2011, 07:21 AM
Yes, Google will do this. Sometimes.
leeman
06-03-2011, 07:54 AM
Worked flawlessly.
Thnx
*Installed*
leeman
06-03-2011, 07:55 AM
Amazing Thanks Mate
I Got This https://vborg.vbsupport.ru/external/2011/06/5.gif Any Idea ?
I get that AFTER I have pressed the button ...
So ... I think it's a "you have already pressed me" image .... ish ....
nitra1000
06-03-2011, 08:10 AM
I get that AFTER I have pressed the button ...
So ... I think it's a "you have already pressed me" image .... ish ....
I don't think it is, it could be something to do with permissions or server load... it did it to me for about 15 minutes after I filled in the permissions pop up... then it went away...
When it's working it looks like a facebook type thing with your name and a counter of how many others have done it.
glen290
06-03-2011, 10:58 AM
Intalled, very fast work,quick question for you, on the second screenshot, how did you get the +1 button at the top of the forum page ?
chrisbjax
06-03-2011, 11:09 AM
I did the same thing that outlawed did, and it works great up in the corner, however, I seem to be getting red exclamations when I attempt to +1 something. I just assume its something on the google side this early.
Great find! :D
great mod for something that just came out today. works 100% fine and installed in minutes. i put it in SHOWTHREAD instead so it is in line with the Facebook "Like" button and now they can battle it out for internet forum domination!!
thanks nitra1000
nitra1000
06-03-2011, 12:40 PM
Intalled, very fast work,quick question for you, on the second screenshot, how did you get the +1 button at the top of the forum page ?
It's a hook location in the advanced version, for the basic I'll update the template edits tonight.
Last_Zero
06-03-2011, 01:01 PM
No Its Problem From Google Coz I Saw It In All My Friends Forums
nitra1000
06-03-2011, 02:10 PM
No Its Problem From Google Coz I Saw It In All My Friends Forums
Thanks updated the description accordingly.
strudinox
06-03-2011, 08:06 PM
Nice mod! [installed]
Where would I put the code to get it to show up on CMS articles?
nitra1000
06-04-2011, 03:03 PM
Nice mod! [installed]
Where would I put the code to get it to show up on CMS articles?
I don't have the CMS installed, so hopefully someone else will post with a location (or pm me if you can give me access to a test/dev install)
p.s updated with forumhome locations, will do blog locations later on today/tommorow
Stefanus
06-04-2011, 07:19 PM
Button (http://code.google.com/apis/+1button/#plusonetag-parameters)
Standard with count
<g:plusone size="standard" count="true"></g:plusone>
kether1
06-04-2011, 08:36 PM
Doesn't seem to work if you have facebook connect disabled. :( Will only show on forum home. When facebook connect is enabled, it shows above the threads as expected.
nitra1000
06-04-2011, 10:01 PM
Doesn't seem to work if you have facebook connect disabled. :( Will only show on forum home. When facebook connect is enabled, it shows above the threads as expected.
Had to use a facebook hook for the threads, you can insert it manually if you follow the manual template edits.
kether1
06-04-2011, 11:05 PM
Had to use a facebook hook for the threads, you can insert it manually if you follow the manual template edits.
Would love to use this, but don't want to manually edit templates. Too much of a hassle when upgrading. If you ever decide to make it work without a manual template edit - I will install and nominate!
thanks,
Kether
(subscribed to this thread...)
nitra1000
06-05-2011, 02:42 PM
Would love to use this, but don't want to manually edit templates. Too much of a hassle when upgrading. If you ever decide to make it work without a manual template edit - I will install and nominate!
thanks,
Kether
(subscribed to this thread...)
I'll take a look at alternative hooks tonight
kether1
06-05-2011, 03:01 PM
I'll take a look at alternative hooks tonight
Excellent. Thank you for your efforts.
Juggernaut
06-05-2011, 08:27 PM
For some reason the exclamation mark only appears in the threads, it doesn't seem to appear in the blogs. This happens all the time. Also in the threads, there is no box next to the +one image to display how many times the thread has been liked.
nitra1000
06-05-2011, 08:38 PM
For some reason the exclamation mark only appears in the threads, it doesn't seem to appear in the blogs. This happens all the time. Also in the threads, there is no box next to the +one image to display how many times the thread has been liked.
Can you pm me a link so I can take a look :)
nitra1000
06-05-2011, 08:44 PM
New template edits/image added (for showing them under the avatar/user fields (think it's the best place yet)
New auto place will be coming soon, but more than likely tommorow not tonight.
strudinox
06-06-2011, 05:26 AM
Just an update, I managed to get this working perfectly on CMS articles:
In the template vbcms_content_article_page find:
<vb:if condition="$show['fb_likebutton']">
<div>{vb:raw fblikebutton}</div>
</vb:if>
Add Below:
<div style="text-align: right; width:100%; height:27px;"><g:plusone></g:plusone></div>
Click for Demo (http://www.gnd-tech.com/content/686)
nitra1000
06-06-2011, 12:07 PM
Just an update, I managed to get this working perfectly on CMS articles:
In the template vbcms_content_article_page find:
<vb:if condition="$show['fb_likebutton']">
<div>{vb:raw fblikebutton}</div>
</vb:if>
Add Below:
<div style="text-align: right; width:100%; height:27px;"><g:plusone></g:plusone></div>
Click for Demo (http://www.gnd-tech.com/content/686)
Thanks for the info will add it to the manual template section (and credit you)
nitra1000
06-07-2011, 09:15 PM
Updated hooks for forums...
Posts and other forum pages are pretty much done...
Still to do
- CMS
- Blogs
- Profile and other pages that get forgot..
Taurus1
06-09-2011, 02:42 AM
What is supposed to be here?
129893
Thanks.
Taurus1
06-09-2011, 02:49 AM
Hi there, after upgrading I get this at the top:
Parse error: syntax error, unexpected ')', expecting ']' in /home/thebull/public_html/forums/includes/class_postbit.php(340) : eval()'d code on line 333
Please advise? I had to disable it.
nitra1000
06-09-2011, 07:12 AM
Hi there, after upgrading I get this at the top:
Parse error: syntax error, unexpected ')', expecting ']' in /home/thebull/public_html/forums/includes/class_postbit.php(340) : eval()'d code on line 333
Please advise? I had to disable it.
Which one are you trying to use? and if possible can you send me a screenshot of your settings.
Edit: Should be fixed missde a square braket off the advanced version. Redownload and install
Taurus1
06-11-2011, 03:05 AM
Which one are you trying to use? and if possible can you send me a screenshot of your settings.
Edit: Should be fixed missde a square braket off the advanced version. Redownload and install
Thanks, but still the same. Went back to the previous version, and it is fine.
nitra1000
06-11-2011, 06:55 AM
Should be okay now, for some reason xml didn't update..
akvaryumforum
06-11-2011, 08:29 PM
Adding a language option will be good for non-english forums.
nitra1000
06-12-2011, 01:16 PM
Adding a language option will be good for non-english forums.
Thanks for the suggestion will build it into the next update.
haddad
06-12-2011, 05:05 PM
Hi
i try to install on 4.1.4 but when import xlm "product-plusone_vbulletin.xlm" from admincp, this message
No file uploaded and no local file found.
help plz
thx
nitra1000
06-13-2011, 07:04 AM
Hi
i try to install on 4.1.4 but when import xlm "product-plusone_vbulletin.xlm" from admincp, this message
No file uploaded and no local file found.
help plz
thx
Can you import any xml modification?
slinky
06-13-2011, 04:39 PM
Has anyone been able to get this to work on a non-vbseo forum? I can't get it to work on any of my stock forums that have the same URLs as they do here on VB 3 (I'm using VB 4 without changing the URL.)
nitra1000
06-13-2011, 05:03 PM
Mmm what are your typical forum urls?
slinky
06-13-2011, 06:16 PM
Mmm what are your typical forum urls?
As I said, the same URLs as are produced by stock vB 3 as are on vb.org. There is no thread subject in the url like vbseo and as introduced in vb 4.
haddad
06-13-2011, 08:59 PM
By FTP XML ok but nothing appear anyway i find this and it works ! :)
http://vineshbalan.blogspot.com/2011/06/add-google-1-to-your-blog.html
DevOne5555
06-14-2011, 11:46 PM
Is there a way to control which forums the +1 button does or does not display in? For example, I have vbseo likes turned off in private forums used by site staff and in some other sections where I have content that isn't relevant and/or I don't want indexed.
davehalo1
06-15-2011, 11:58 AM
Sorry if I'm been a bit dense here, but I cant find how to import the xml.
I have uploaded it in to the admincp directory but the I can see the Plus One Script in my VBulletin Options.
I am using version 4.1.2
Can you please advise?
Thanks,
Dave.
Samhayne-STS
06-15-2011, 02:46 PM
davehalo1,
Check out https://www.vbulletin.com/docs/html/main/import_product for instructions on installing a product. You need to add it.
davehalo1
06-16-2011, 07:38 AM
Hi Sam,
Great, thank you very much for your help.
davehalo1
06-16-2011, 07:54 AM
Thanks Sam, got it installed now.
nickizzle
06-17-2011, 07:17 AM
Amazing Thanks Mate
I Got This https://vborg.vbsupport.ru/external/2011/06/5.gif Any Idea ?
I discovered this is to do with the rel canonical tag.
Basically, go into the head tags (I put it in SHOWTHREAD so in my case it was there) and find the following:
<link rel="canonical" href="{vb:raw thread_url}" />
CHANGE TO
<link rel="canonical" href="http://www.YOURWEBSITEFORUMLOCATION.com/{vb:raw thread_url}" />
Include the absolute path to your forum (eg. www.yoursite.com/forums/
nitra1000
06-17-2011, 10:44 AM
I discovered this is to do with the rel canonical tag.
Basically, go into the head tags (I put it in SHOWTHREAD so in my case it was there) and find the following:
<link rel="canonical" href="{vb:raw thread_url}" />
CHANGE TO
<link rel="canonical" href="http://www.YOURWEBSITEFORUMLOCATION.com/{vb:raw thread_url}" />
Include the absolute path to your forum (eg. www.yoursite.com/forums/
Interesting i'll look into doing this in the xml
Raw-Raven.co.nz
06-18-2011, 02:46 PM
Hello,
Can you point out to me how I can add the facebook like button next to the
google 1+ button.
Thanks.
Fix from vbulletin.com >> https://www.vbulletin.com/forum/showthread.php/381791-Google-1-Button-Problems?p=2175458&viewfull=1#post2175458
nitra1000
06-22-2011, 12:21 PM
Fix from vbulletin.com >> https://www.vbulletin.com/forum/showthread.php/381791-Google-1-Button-Problems?p=2175458&viewfull=1#post2175458
Thanks have booked time to write in this fix either into the product itself or into the instructions
nitra1000
06-23-2011, 11:56 PM
Moved installation documents to the zip file, and added how to fix for show threads.
Greight
06-24-2011, 08:39 AM
I applied the change to SHOWTHREAD template, but still I receive the error in posts. Any idea on how to fix it in posts?
BTW after update and customizing the SHOWTHREAD template, when I set the option for +1 to be shown in threads nothing happens.
nitra1000
06-24-2011, 09:43 AM
I applied the change to SHOWTHREAD template, but still I receive the error in posts. Any idea on how to fix it in posts?
BTW after update and customizing the SHOWTHREAD template, when I set the option for +1 to be shown in threads nothing happens.
Can you pm me your forum so I can see.
nitra1000
06-27-2011, 09:07 AM
Seems to be working fine on your website, was it one of your settings?
Apolo.
06-28-2011, 03:34 AM
Hi,
I'm not currently using this mod, but I would like to use it provided it solves these two issues I'm currently facing on one of my forums:
Issue #1
For Google +1, these are all different links:
domain.com
www.domain.com
domain.com/index.php
www.domain.com/index.php
So no matter they are in fact the same page, you can add +1 to each of them and Google will treat them as 4 different pages for their +1 count.
For Facebook, these are the same links:
domain.com/index.php
www.domain.com/index.php
So the Likes count will be the same either case.
But if you remove the "index.php" at the end, Facebook will treat them as different pages.
Issue #2
When your thread has more than one page, Both Google +1 and Facebook will treat them as different pages. I know in this case they are really different pages, but it would be nice if both Google +1 and Facebook Likes would count for the whole thread, as it is a single topic either way.
Thank you!! :)
emperatour
06-30-2011, 09:44 AM
Doesn't seem to work if you have facebook connect disabled. :( Will only show on forum home. When facebook connect is enabled, it shows above the threads as expected.Had to use a facebook hook for the threads, you can insert it manually if you follow the manual template edits.
Everything in the template edits manual (http://mod-mall.com/topic/29-vbulletin-plus-one-positions/) is either related to postbit or forumhome.
Could you please tell me what should be inserted to where in order to have the button above threads?
nitra1000
06-30-2011, 04:33 PM
Look for the where it mentions facebook in the SHOWTHREADS template and add after it ...
<div style="text-align: right; width:100%; height:27px;"><g:plusone></g:plusone></div>
It's untested but should work.
nitra1000
06-30-2011, 04:36 PM
Sorry I don't own Google so can't fix either of these for you, but look at your source and see if this is in your templates...
<link rel="canonical" href="{vb:raw vboptions.bburl}/{vb:raw thread_url}" />
I think Plus One respects this tag so should figure out that two pages are infact the same if this is setup correctly.
Hi,
I'm not currently using this mod, but I would like to use it provided it solves these two issues I'm currently facing on one of my forums:
Issue #1
For Google +1, these are all different links:
domain.com
www.domain.com
domain.com/index.php
www.domain.com/index.php
So no matter they are in fact the same page, you can add +1 to each of them and Google will treat them as 4 different pages for their +1 count.
For Facebook, these are the same links:
domain.com/index.php
www.domain.com/index.php
So the Likes count will be the same either case.
But if you remove the "index.php" at the end, Facebook will treat them as different pages.
Issue #2
When your thread has more than one page, Both Google +1 and Facebook will treat them as different pages. I know in this case they are really different pages, but it would be nice if both Google +1 and Facebook Likes would count for the whole thread, as it is a single topic either way.
Thank you!! :)
emperatour
07-01-2011, 03:33 AM
Look for the where it mentions facebook in the SHOWTHREADS template and add after it ...
<div style="text-align: right; width:100%; height:27px;"><g:plusone></g:plusone></div>
It's untested but should work.
Thank you for your answer.
To have a 20px button in the same line with thread title, I added the following:
<g:plusone size="medium"></g:plusone>
After
<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>
Works like a charm :cool:
nitra1000
07-01-2011, 11:18 AM
Thank you for your answer.
To have a 20px button in the same line with thread title, I added the following:
<g:plusone size="medium"></g:plusone>
After
<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>
Works like a charm :cool:
Have you got a website so people can take a look? and okay if I quote you for others that want to do this? :up:
Taurus1
07-02-2011, 09:40 AM
How can I add the google button here:
130634
Thanks!
emperatour
07-03-2011, 08:31 AM
Have you got a website so people can take a look? and okay if I quote you for others that want to do this? :up:
Our website is in Persian language (right-to-left) however, you make take a look at the English style through this link (http://www.handheldusers.com/forum/t13028.html?langid=1) or the attachment.
And sure, you can quote me for others. ;)
nitra1000
07-04-2011, 11:36 AM
Thanks will put it on the instructions tonight.
DISLEX
07-07-2011, 06:46 AM
How can I add the google button here:
130634
Thanks!
I would like to know this also!
Rahstyles
07-07-2011, 01:36 PM
Thegoogle 1 mod dissapeard after posting another thread..
look here
http://www.rahstyles.com/forum
Rahstyles
07-07-2011, 01:54 PM
Also... since i have a fix forum like vborg.. try quation a message... it overlaps the button
Skedoozy
07-13-2011, 07:28 PM
Hows the individual post +1's coming along?
oddmud
07-14-2011, 02:55 PM
It's conflicting with something, when I turn it on, the quick reply doesn't load fully.
I can't run this mod.
galerio
07-15-2011, 02:44 PM
ATTENTION: this mod adds a footer link to website author in every page.
I think you should tell it in forst post and let users decide to delete it or not.
nitra1000
07-15-2011, 03:16 PM
ATTENTION: this mod adds a footer link to website author in every page.
I think you should tell it in forst post and let users decide to delete it or not.
For my time and effort I put it in it's very much a given for free vBulletin modifications.
If you dont like it you have the option to pm me for permission to remove it
oddmud
08-17-2011, 10:37 PM
I found this to be a great little addition, except each time it's activated it conflicts with something in the new CK Editor, and the quick reply box will not open properly.
Has anyone else reported this issue?
nitra1000
08-20-2011, 06:34 PM
I found this to be a great little addition, except each time it's activated it conflicts with something in the new CK Editor, and the quick reply box will not open properly.
Has anyone else reported this issue?
Your the only one I'm afraid..
Are you using the most up to date version?
Is it only a certain position or option that does it?
Are there any options that stop it happening?
Link to website...
You haven't given me an awful lot of information to go on :(
oddmud
08-20-2011, 09:25 PM
Your the only one I'm afraid..
Are you using the most up to date version?
Is it only a certain position or option that does it?
Are there any options that stop it happening?
Link to website...
You haven't given me an awful lot of information to go on :(
Well there's a link in my sig, thought that would be good enough.
http://www.goaliecrease.net/forums/
I've only got it running on the /forums/ page now. Now the issue I have with firefox is it sometimes stops the loading of the entire page. Not every time, but some times, and as soon as I disable the plug in, no more issues loading the page. It might have something to do with the new firefox 6, which has issues of it's own.
ProFifaLeagues
08-21-2011, 03:24 AM
Having the Same issues with the Mod enabled some pages will only half load up Again using Firefox 6.
When disabled then the pages load fully right away.
oddmud
09-30-2011, 02:32 PM
Having the Same issues with the Mod enabled some pages will only half load up Again using Firefox 6.
When disabled then the pages load fully right away.
They don't seem to care.
weexto
11-09-2011, 08:07 PM
hello, I have a little problem ... for some time, when I click on a counter remains at zero
Which may be the problem?
nitra1000
11-09-2011, 08:33 PM
Will look into the problems, sorry I missed them for so long.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.