Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#247988 - 01/16/12 04:43 PM Adding Google+ Code to Forum
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
Greetings -

I have social networking buttons at the bottom of all my posts. You can see them here for example -

http://forums.bellaonline.com/ubbthreads.php/topics/431034/Weight_Milestone_Signs#Post431034

I'm trying to add a Google Plus button into that line. I'm editing post_side.tpl. However the Google Plus code involves a left squiggle bracket. That then is not passed through the regular UBB interpretation.

How do I get the left squiggle bracket to be ignored by UBB so it can be active in the final webpage?

Lisa
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#247989 - 01/16/12 04:48 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
I played with the Google+ options and found an option that didn't use the { - I'd still be interested in how to do it though.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
#247992 - 01/16/12 05:33 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Hi Lisa,
Google gave me this code...

Code:
<g:plusone size="small"></g:plusone>


It works smile I haven't seen anything that needed curly braces.
_________________________
Using version :: 7.5.6
Top
#247993 - 01/16/12 05:44 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
Stan Offline

old hand
Registered: 06/05/06
Posts: 709
I have it in the top left of www.clubadventist.com feel free to like it smile
Top
#247994 - 01/16/12 05:49 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Ahh sorry Lisa, were you talking about this bit...?

Code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">  {lang: 'en-GB'} </script>


I keep that in my HTML Includes Header Insert.
_________________________
Using version :: 7.5.6
Top
#247996 - 01/16/12 06:25 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
if you want a left 'squiggle' in any .tpl file

you do {ldelim}

right 'squiggle' --> {rdelim}

just an fyi wink

addionally, you can just surround the code with

{literal}
crazy code with { and } here
{/literal}

instead smile
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#248001 - 01/16/12 08:58 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
I go with the literal code when I need it
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#248002 - 01/16/12 09:34 PM Re: Adding Google+ Code to Forum [Re: BellaOnline]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
Ah, Literal sounds perfect! Thanks so much, I'll remember that for the future!
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image