SOLVED Social Share Buttons?


Goto page Previous  1, 2, 3  Next

Subject: Re: Social Share Buttons?
batman wrote: [View Post]
nos wrote: [View Post]
batman wrote: [View Post]
01_04_2011_21_29_50


What code did you use to get you out there and where you have inserted?

You can put the entire code file breadcrumbs_vt.tpl? :)

I have prosilver_ip ;)


Hya nos.

templates/prosilver_ip/breadcrumbs_vt.tpl insert code before <!-- IF S_SHOW_ICONS --> on line #31



Code: [Download] [Hide] [Select]
<br /><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=ra-4d96115948e7a7c8" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d96115948e7a7c8"></script>
<!-- AddThis Button END -->



Hi!, I have this in my templates/prosilver_ip/breadcrumbs_vt.tpl:

Spoiler: [ Show ]



The Code was insert in line #31 or before <!-- IF S_SHOW_ICONS -->??? :) I don't know...

Profile PM  
Subject: Re: Social Share Buttons?
<!-- IF S_SHOW_ICONS -->
Code: [Download] [Hide] [Select]
<a href="{U_VIEW_OLDER_TOPIC}"><img src="{IMG_LEFT}" alt="{L_VIEW_PREVIOUS_TOPIC}" title="{L_VIEW_PREVIOUS_TOPIC}" /></a>
<a href="{U_RECENT}"><img src="{IMG_RECENT_TOPICS}" alt="{L_RECENT}" title="{L_RECENT}" /></a>
{S_WATCH_TOPIC_IMG}
{S_MARK_AR_IMG}
<!-- IF not S_BOT -->{S_KB_MODE_IMG}<!-- ENDIF -->
<a href="{DOWNLOAD_TOPIC}" title="{L_DOWNLOAD_TOPIC}"><img src="{IMG_FLOPPY}" alt="{L_DOWNLOAD_TOPIC}" title="{L_DOWNLOAD_TOPIC}" /></a>
<!-- IF S_LOGGED_IN --><a href="{U_BOOKMARK_ACTION}"><img src="{IMG_BOOKMARK}" alt="{L_BOOKMARK_ACTION}" title="{L_BOOKMARK_ACTION}" /></a><!-- ENDIF -->
<!-- IF U_TOPIC_VIEWED --><a href="{U_TOPIC_VIEWED}"><img src="{IMG_VIEWED}" alt="{L_TOPIC_VIEWED}" title="{L_TOPIC_VIEWED}" /></a><!-- ENDIF -->
<a href="{U_PRINT}" title="{L_PRINT}"><img src="{IMG_PRINT}" alt="{L_PRINT}" title="{L_PRINT}" /></a>
<a href="{U_TELL}" title="{L_TELL}"><img src="{IMG_EMAIL}" alt="{L_TELL}" title="{L_TELL}" /></a>
<a href="{U_VIEW_NEWER_TOPIC}"><img src="{IMG_RIGHT}" alt="{L_VIEW_NEXT_TOPIC}" title="{L_VIEW_NEXT_TOPIC}" /></a>
<!-- ENDIF -->
<!-- IF S_SHOW_LINKS -->
<a href="{U_PRINT}" title="{L_PRINT}">{L_PRINT}</a> • 
<a href="{U_TELL}" title="{L_TELL}">{L_TELL}</a> • 
<!-- IF S_LOGGED_IN --><a href="{U_BOOKMARK_ACTION}" class="genmed">{L_BOOKMARK_ACTION}</a> • <!-- ENDIF -->
<!-- IF U_TOPIC_VIEWED --><a href="{U_TOPIC_VIEWED}" class="genmed">{L_TOPIC_VIEWED}</a> • <!-- ENDIF -->
{S_WATCH_TOPIC} • 
{U_MARK_ALWAYS_READ} • 
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> • 
<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>
<!-- ENDIF -->
</li>
</ul>

<span class="corners-bottom"><span></span></span></div>
</div>

Profile PM  
Subject: Re: [SOLVED] Social Share Buttons?
Now, I add the code in this correct line:

Spoiler: [ Show ]




And this is the result...:

ha8vf


:( :( :(

Profile PM  
Subject: Re: Social Share Buttons?
Hya nos, remove the 2 </div></div> you will find that the right alignment tags wont work as its set to align left on the server side.

Code: [Download] [Hide] [Select]
<br /><!-- AddThis Button BEGIN -->
<div align="right"><div class="addthis_toolbox addthis_default_style ">
<a href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=ra-4d9afffe4c064667" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
[highlight=#FFFFAA] </div></div>

<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d9afffe4c064667"></script></right>
<!-- AddThis Button END -->

Profile PM  
Subject: Re: Social Share Buttons?
Batman I have now added codetags to two of your posts already ....please use code tags mate!!!

Subject: Re: [SOLVED] Social Share Buttons?
More thanks! :D Now found! :)

Profile PM  
Subject: Re: [SOLVED] Social Share Buttons?
Can I add this in my fork :) ?

Profile PM  
Subject: Re: [SOLVED] Social Share Buttons?
hm .

I´m just wondering .

Strange.

If you open some div tags, they must be closed somewhere, if not, you gonna break the template.

Well, thats what Html knowlage tells me

Subject: Re: Social Share Buttons?
Code: [Download] [Hide] [Select]
[highlight=#FFFFAA] </div></div>
:wink:

Subject: Re: Social Share Buttons?
batman wrote: [View Post]
Hya nos, remove the 2 </div></div> you will find that the right alignment tags wont work as its set to align left on the server side.




?????????

Subject: Re: Social Share Buttons?
stupid of me I did not read that... quite impossible to read the highlight BTW when set to black pearl (looks like censored or something hidden)

Subject: Re: Social Share Buttons?
Joshua203 wrote: [View Post]
stupid of me I did not read that... quite impossible to read the highlight BTW when set to black pearl (looks like censored or something hidden)


That's one of the reasons I never have black templates, can be a bit hard to read.
Its my bad originally though as I should have done a screen shot and highlighted it that way :wink:

Profile PM  
Subject: Re: Social Share Buttons?
a simple code tag would have done the trick :mryellow:
I hope you've noticed the edits and my request to use them :wink:

Subject: Re: Social Share Buttons?
Joshua203 wrote: [View Post]
a simple code tag would have done the trick :mryellow:
I hope you've noticed the edits and my request to use them :wink:


I generally do use them, nos appeared to not understand what I was saying , so I made it as easy as possible to understand, apologies for being human and trying to help someone :roll: :wink:

Profile PM  
Subject: Re: Social Share Buttons?
Hi
I just wanted to say thanks for the code. I'm using the share buttons within the forum; works like a charm.

Thank you!

Profile PM  
Goto page Previous  1, 2, 3  Next

Page 2 of 3


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1005s (PHP: 21% SQL: 79%)
SQL queries: 12 - Debug Off - GZIP Enabled