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)
-   -   Show Thread Enhancements - Submit threads, blogs, articles to facebook, twitter, myspace and others - addtoany (https://vborg.vbsupport.ru/showthread.php?t=235702)

yospeck 08-24-2010 12:02 PM

I'm having no problems with the Blog or Forum sharing, but when I try to share a CMS Article it forwards it to Facebook with the same default:

<Name of Board>
http://www.urlofboard.co.uk

This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ .


How do I get it to pick up the Metatags and Title of a CMS article?

Other than this, it's a great great mod.

morrow 08-25-2010 05:37 PM

As a side note, I like your skin. Where can I find that one?

cyberlooser 09-25-2010 10:11 AM

how can i use with any posts?
can i put the code in the postbit template?

adeel80 09-26-2010 01:31 PM

Thank you for sharing. Marked as installed

WhiskeyOSS 10-01-2010 10:06 PM

Added to our forums... Very nice mod

HUSSEINDAWOOD 10-20-2010 10:39 PM

Thank you I did it in my site..

roetetoet 10-23-2010 02:17 AM

added to my site, really nice ! Thank you

Noerenberg 10-27-2010 06:22 AM

Quote:

Originally Posted by TrailRecon (Post 1981095)
That is a great idea!

I added it to the article pages!

Here is a DEMO: CLICK HERE

If you wanna do it this same way...


Go to the "vbcms_content_article_page" template

Find:
Code:

<vb:if condition="$comment_block">
                        <div class="article_rating_container">
                                    <a href="{vb:raw page_url}#comments"  rel="nofollow">{vb:raw comment_count} <vb:if condition="$comment_count == '1'">{vb:rawphrase comment}<vb:else />{vb:rawphrase comments}</vb:if></a>
                                <img src="{vb:raw vboptions.bburl}/{vb:stylevar imgdir_misc}/comment.png" alt="{vb:rawphrase comments}" border="0" />
                        </div>
                      </vb:if>
                </div>



And below that </div> tag add the button code:
Code:

<a class="a2a_dd" href="http://www.addtoany.com/share_save"><img src="http://static.addtoany.com/buttons/share_save_171_16.png" width="171" height="16" border="0" alt="Share/Bookmark"/></a><script type="text/javascript">a2a_show_title=1;a2a_num_services=14;</script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>


Just did some testing on my site but in a bunch of configurations it appears to be trouble free



https://vborg.vbsupport.ru/attachmen...1&d=1266026639



Hi, it work not in vb 4.0.8 hat i have to do?

Gene Steinberg 10-27-2010 03:17 PM

The powers that be messed with the styles, so it kills this mod unless a modified method is devised to insert the bar.

Peace,
Gene

Outbackmark 10-31-2010 01:05 PM

Works fine for me on 4.08 and I have added it to my PhotoPlog Pro gallery as well.
To add it to PhotoPlog edit the photoplog_view_file template
Find
Code:

<tr id="photoplogfilerating_submit">
        <td class="vbmenu_option" title="nohilite" align="center"><input type="submit" class="button" value="{vb:phrase photoplog_vote_now}" /></td>
</tr>
</table>
</form>
</div>

Add the code below the div tag, the share icons will appear just above the information area.


All times are GMT. The time now is 08:34 PM.

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.01065 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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