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)

hydn 03-28-2010 05:24 PM

How about for each article from the front page article lists (site.com/forum/content.php)?

Like wordpress, joomla, etc

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/external/2010/10/14.jpg


justasiam 03-28-2010 09:28 PM

How is this different than the built-in social system in vb4.xx?

hydn 03-28-2010 10:32 PM

Quote:

Originally Posted by justasiam (Post 2011893)
How is this different than the built-in social system in vb4.xx?

R U kidding or serious question?

justasiam 03-28-2010 11:55 PM

Well, I am using the Social Networking options for many of these sites on my forum and it seems to be working the same as what is advertised here. So yes, it is a serious question.

ximcix 03-29-2010 04:40 PM

Thank you for this mod.
This should be a product/plugin so forums with several styles don't have to edit each one individually

hydn 03-30-2010 09:10 PM

Got all to work except for on the CMS index page ../content.php

ximcix 03-31-2010 06:21 AM

Quote:

Originally Posted by hydn (Post 2013107)
Got all to work except for on the CMS index page ../content.php

I doubt that it will work on the CMS index page since that only displays a summary of your articles. It will appear when viewing the full article.

NolanChart 04-18-2010 11:30 AM

I clicked on your Demo link, but when I get to your forum page, I see no bookmarking options where your screen shot shows they should be. I tried creating an account in your forum, too, just in case that was required...but the bookmark icons just aren't there. I tried your page in both Firefox and Internet Explorer, but no dice.

Peter Lo 04-19-2010 10:43 AM

Can this work for Facebook Group Walls and Facebook Fan Page Walls? Seems like it only works for main account Walls.

ChaibiAlaa 04-19-2010 03:06 PM

Very nice share ! Just add a double &nbsp; before putting the code so that it look very class on your forum and not merged with the border in left.


All times are GMT. The time now is 03:12 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.01116 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
  • (2)bbcode_code_printable
  • (3)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