PDA

View Full Version : Miscellaneous Hacks - Social-Bar in CMS-articles step-by-step


Kraxell
02-07-2012, 11:00 PM
This is a userwish.

With this little modification you can add a sharebar in your articles.

1. Go to Addthis.com and get a code (you can register for analyse in future but you dont must do it)
2. You get a code like this:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<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>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-YOUR-ID"></script>
<!-- AddThis Button END -->

3. Go to template vbcms_content_article_page
4. Find <div class="fullwidth">
<vb:if condition="$show['fb_likebutton']">
<div>{vb:raw fblikebutton}</div>

5. Add below:
<b />
Your Addthis-Code

Now it must look like:

<div class="fullwidth">
<vb:if condition="$show['fb_likebutton']">
<div>{vb:raw fblikebutton}</div>
<br />
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<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>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-YOUR-ID"></script>
<!-- AddThis Button END -->
</vb:if>

If you like it, rate, install and nominate it :)

DirtyJones
02-08-2012, 04:56 PM
Aweome!!

TalkVirginia
02-09-2012, 06:56 PM
Thanks! Nice work!

Kraxell
02-10-2012, 09:00 AM
Your welcome :)

magrabe
02-11-2012, 05:14 PM
nice

How do we add to the Forums

TalkVirginia
02-11-2012, 05:47 PM
Your welcome :)

Dude, I just took a look at your site. You need English translation on there. ;)

Kraxell
02-12-2012, 09:42 AM
Its a german website for german people :)


How do we add to the Forums


Where exactly?

magrabe
02-12-2012, 11:22 AM
Its a german website for german people :)




Where exactly?

In the final content of the Post
https://vborg.vbsupport.ru/external/2012/02/30.jpg

and forum home

https://vborg.vbsupport.ru/external/2012/02/31.jpg

thax

Kraxell
02-12-2012, 11:51 AM
Take a look at this:
https://vborg.vbsupport.ru/showthread.php?t=259176

magrabe
02-12-2012, 01:00 PM
Thax

BoardWizard
07-10-2012, 02:14 PM
this didnt work

Kraxell
07-10-2012, 02:43 PM
It works ;)

BoardWizard
07-17-2012, 12:40 PM
any ideas why this didnt work for me? i did everything the instructions said

Toorak Times
07-22-2012, 12:36 PM
Excellent, thanks

Kraxell
07-24-2012, 02:32 PM
@BoardWizard
Without any message about your problem i cant help you. Any error or something?