vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Sharebar - Sidebarslider #2 (https://vborg.vbsupport.ru/showthread.php?t=281202)

Kraxell 04-05-2012 10:00 PM

Sharebar - Sidebarslider #2
 
1 Attachment(s)
Hello,

another way to integrate a sharebar in your forum is follow:

Go to https://socialmediatabs.com
-> Code Generator (Get Code)
-> Make the 3 steps
-> Check your mails

After some minutes you get a mail with login-data and standart-code.

Now you can access https://socialmediatabs.com/members/dashboard and choose your site. There you can take some options for layout.

Now you get a code like this:

HTML Code:

<!-- SocialMediaTabs.com START -->
<script type="text/javascript">
      var smtabs_id = "1.0@*****@net/a//1865";
</script>
<script type="text/javascript" src="http://cdn.socialmediatabs.com/loader/loader.1.0.min.js"></script>
<!-- SocialMediaTabs.com STOP -->

Open template "footer" and paste the code at the begin.

Save & Finish!

Very simple but i think it look very good.

Live-Demo: http://pic-place.de | http://allround-board.net

If you like it, rate & nominate it.

For support push install!

Krusty1231 04-06-2012 03:49 PM

Very elegant. Easy install. Thanks!

Hareth 04-06-2012 03:55 PM

Thank You,
Great Work .. Installed

Emeralda 04-06-2012 04:51 PM

Rawr, that's great, brings lots of elegance compared to other modifications like this~

croportal 04-06-2012 07:54 PM

really nice, thanks :)

Kraxell 04-06-2012 08:03 PM

Dont forget to install :)

BF777 04-07-2012 10:54 AM

Great mod.

doctorsexy 04-07-2012 01:46 PM

Smashin

Emeralda 04-07-2012 07:09 PM

What bits of code should I add if I wanted to allow turning this off? As in, using the custom profile fields. There are couple people who don't really like it or still use 1024x768 resolution >.<

Gemma 04-07-2012 08:34 PM

Quote:

Originally Posted by Emeralda (Post 2317817)
What bits of code should I add if I wanted to allow turning this off? As in, using the custom profile fields. There are couple people who don't really like it or still use 1024x768 resolution >.<

Create a profile field (probably a single-selction radio button with default set will work best) and take a note of the profilefield number then wrap your code like this; changing the X to the profilefield number.
Code:

<vb:if condition="$bbuserinfo[fieldX] == 'yes'">
Script or code here
</vb:if>



All times are GMT. The time now is 05:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01207 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete