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 - Social Networking in Postbit (with or without block) (https://vborg.vbsupport.ru/showthread.php?t=257924)

RK KINGKONG 07-15-2011 07:20 PM

hey bud first and foremost thanks for this mod , however with the new up and coming Google +1 How can we go about adding such to the postbit like the others . thanking you in advance KingKong

Gemma 07-15-2011 10:40 PM

1 Attachment(s)
Quote:

Originally Posted by RK KINGKONG (Post 2220960)
hey bud first and foremost thanks for this mod , however with the new up and coming Google +1 How can we go about adding such to the postbit like the others . thanking you in advance KingKong

Just make a profile field

Profile Field Type - Single-Line Text Box
Title - Google +1
Description - Add a link to your Google +1 profile.
Field Searchable on Members List - NO
Show on Members List - NO

Then add this to your postbit or postbit_legacy under the last social networking icon you added

Code:

<vb:if condition="$post['field#']">
<a target ="blank" href="{vb:raw post.field#}"><img src="link_to_your_google+1_image" onmouseover="this.src='link_to_your_google+1_image_a.png'" onmouseout="this.src='link_to_your_google+1_image.png'" alt="Visit {vb:raw post.username}'s Google +1 Page" /></a>
</vb:if>

You'll need to replace this link_to_your_google+1_image.png and link_to_your_google+1_image_a.png with links to whichever Google +1 image you decide to use. And change the # to correspond with the field number

boydy 07-16-2011 07:44 PM

Just updated the modification there, this is all new code and images, i will be providing support again for anyone that needs it and if you have any suggestions for future updates, feel free to post them here.

Update Changelog;
  • Added mouseover/mouseout animation.
  • Added new websites and icons (Google+, Linkedin, Flickr, Tumblr, PSN and XBL.)
  • Included PSN and XBL options.
  • Added option of using a block in Vertical postbit with a title.
  • Modified code for both postbits making things much tidier.
Note: New screenshots and images uploaded, this is effectivley a new modification, i've removed all previous images and code.

Please remember to mark the modification as installed for Support and future updates.

boydy 07-17-2011 04:05 PM

Decided i'll be releasing a new version shortly which will be a fully automated install. I'll post here when i'm done.

boydy 07-18-2011 10:01 AM

Product is now available - https://vborg.vbsupport.ru/showthread.php?t=267019

tidus78 02-12-2012 07:02 PM

Some users view social icon some other no,data are correctly placed any idea?


All times are GMT. The time now is 08:35 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.01047 seconds
  • Memory Usage 1,728KB
  • 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_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
  • (6)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