Google +1 Topics

Started by SMFHacks.com Team, June 13, 2011, 08:24:46 PM

Previous topic - Next topic

SMFHacks.com Team

Link to Mod

Google +1 Topics

Adds an icon on the start of each topic for Google +1

Works for SMF 2.0.x and SMF 1.1.x
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

piers38

Brilliant mod thank you.
hxxp:askfaq.org/ [nonactive]

DrBermant

Very nice mod. Thank you.

This is how it integrates with the Share this Mod when both are applied:

http://www.abodybeautiful.com/forum/index.php/topic,11.0.html

Share this Mod:
http://custom.simplemachines.org/mods/index.php?mod=2111

The Share this Mod required a hand code fix due to conflicts with the mod Anti Spam Links used on this forum we are posting on.

http://custom.simplemachines.org/mods/index.php?mod=2404

Your mod works fine without any fixes or changes. I am a soon to be retired Plastic Surgeon and not skillful enough in coding to understand the refinements behind the mods, but thought the experiences of its implementation might be of interest. I also do not mind stimulating cross mod cooperation and mutual improvements.

Thank you for your addition. It works flawlessly from what I have seen on my site.

Michael Bermant, M.D.
Board Certified
American Board Plastic Surgery
Plastic Surgery Encyclopedia
A Body Beautiful Plastic Surgery Forum

vbgamer45

Thanks you have a nice site. What mod is the creating the digg/twitter/google buzz icons in the top right corner.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

tabletsdroid

Nice website DrBermant.

I can't get this mod to work, every time I click the +1 to register a point it goes red with a 0 - my google profile is public.
Are you Looking Forward To it?

Bugo

What about W3C Validation after installing this mod (in topics)?

vbgamer45

Quote from: Bugo on June 20, 2011, 02:37:00 AM
What about W3C Validation after installing this mod (in topics)?
Should be ok?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

kenboldt

Is there any way to limit which boards the button will show up on?  For example, I have a couple boards that are private and limited to a select few people.  There is no need for the button to be on these boards. 

vbgamer45

Not at the moment. Currently it shows on all boards. Would either need to add admin option to choose which boards to show it on.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

briggz5d

This mod works only on the core / Default theme i assume since it refused to work on my theme after successfully installing and turning on the settings.

I posted a code snippet once and it displayed - cant seem to remember where on what i posted.
A work around would be appreciated.

ChaosEnergy

Just installed version 1.0 when I saw 1.1 announced in admin center
so installed 1.1

now i get +1 in first and second post, but not all, like enabled
Chaos Empire ®

vbgamer45

It should just be in the very post of each topic.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

clothahump

Any chance of moving it above the "Like" button I have installed and maybe just a little bigger?

petlv

Hello,

I am trying to change the language of the Google +1button to Bulgarian but everytime when I place the new code for Bulgarian from the Google website:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
  {lang: 'bg'}
</script>


over your code in the googleplusone.XML file in the Mod
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

I got a message on my site that there is a syntax error (' or ; ). However, I have not deleted or added anything to your code, just replaced the second code with the first one. Can you advise me how to make it work?

vbgamer45

Replace

{lang: 'bg'}

with

{lang: \'bg\'}

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

petlv

That worked! Thank you so much  :)

vbgamer45

Quote from: petlv on August 02, 2011, 04:15:14 PM
That worked! Thank you so much  :)
Glad you got it working.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bob Mueller

Couple of questions:

This mod should work out-of-the-box, right? Install it, and it runs? No permission changes, database refreshes or anything like that? Should it appear on existing posts and everything?

I've looked at existing posts, and it's not showing up. I've tried a new post on my test board (not viewable by guests) and I can't see it there. Adblock is set to green-light my entire domain, so that shouldn't be it, either.

Running SMF 2.0.1 and Core theme.
Mods:
RSS Feed Poster    3.0.2a     
Pretty URLs    1.0RC5.1
6 Custom buttons / tabs with Sub Menus (4)    0.5
Google Analytics Code    1.4
Welcome Topic Mod    2.1
Google +1 Topics    1.0
Stop Spammer    2.3.9
RSS Feeder    1.1.5
SimplePortal    2.3.3
Ad Managment    3.0.1
Simple Twitter    1.0 
--
Bob M.

Sometimes it takes therapy to put the past behind you. Other times, it takes a 20 gallon trash bag and a couple of cinder blocks.

vbgamer45

Should work out of the box. Only appears in the very first post of each topic.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bob Mueller

Meant to say existing threads. I understand that it only shows on one post.

But can you see it? Pick a thread. http://mwf.ravensbeak.com/forum/index.php?action=forum

Willing to PM you a login to see the admin side if you think that will help. Scratching my head here.
--
Bob M.

Sometimes it takes therapy to put the past behind you. Other times, it takes a 20 gallon trash bag and a couple of cinder blocks.

vbgamer45

Using core theme for 2.0 looks like you need to apply the theme edit to your core theme in the display.template.php check the mod site for manual install details for this mod and use that code in your theme's display.template.php file.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Bob Mueller

Ah, interesting. For some reason, even though the Package Manager says it installed correctly, it didn't modify /Themes/core/Display.template.php at all.

It did however modify /Themes/default/Display.template.php.

Edit: We figured it out at about the same time. I'll make the manual edits and let you know.
--
Bob M.

Sometimes it takes therapy to put the past behind you. Other times, it takes a 20 gallon trash bag and a couple of cinder blocks.

Bob Mueller

Yup, that was it. Thanks for your usual quick response!
--
Bob M.

Sometimes it takes therapy to put the past behind you. Other times, it takes a 20 gallon trash bag and a couple of cinder blocks.

vbgamer45

No problem glad you were able to get it to work on your theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skylined

Great mod.

As it has already been requested, it would be great if you add the option to select in which boards the button should appear.


Taken from Google +1 FAQ
When you add the +1 button to a page, Google assumes that you want that page to be publicly available and visible in Google Search results. As a result, we may fetch and show that page even if it is disallowed in robots.txt.

vbgamer45

Good idea will look into adding a board setting in the future.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skylined

Have you added that in your last update?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Skylined


Morphies

Help!

I've installed this on www.bkksys.co.uk [nofollow] but not seeing the +1 image.

Any clues please?

Version 1.1.16

vbgamer45

Does not look like the install took I do not see it on the theme or any code loaded on the page for it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

marcosbr

It's on the list of updated today!
Nothing in life is absolute. We are always learning... Did you know that?
https://amigosdaeletronica.com.br

vbgamer45

I moved it to the archived list. No longer in use
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

marcosbr

Nothing in life is absolute. We are always learning... Did you know that?
https://amigosdaeletronica.com.br

Advertisement: