vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Social Networking in Posbit AND Profile (Twitter, Facebook, Google+, Linkedin, +more) (https://vborg.vbsupport.ru/showthread.php?t=267019)

boydy 07-17-2011 10:00 PM

Social Networking in Posbit AND Profile (Twitter, Facebook, Google+, Linkedin, +more)
 
1 Attachment(s)
History:
  • 1.0.1 - Initial Release
  • 1.0.2 - Added social networking to Profile with additional options and many other minor changes.
  • 1.0.3 - Fixed a bug with the postbit settings and added a new setting.
Hi guys,

This was initially a template modification i created, i decided to make things much easier for people to compile it all into this product,

What is Social Networking in Postbit & Profile:

Well the name pretty much gives it away! This mod will add social networking icons for 10 social websites into both the vertical and horizontal postbit and now in a users profile with features like:
  • Option to turn Modification on/off.
  • Option to enable icons with or without a block.
  • Option to turn profile block on/off.
  • Option on location of profile block.
  • 2x Icon sets 16x16 and 24x24.
  • Mouseover and Mouseout animation.
  • etc.
-INSTALLATION-

-STEP 1-
Goto admincp -> User Profile Fields -> Add new User Profile Field and add the following fields:

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

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

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

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

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

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

Title - Tumblr
Description - Add a link to your Tumblr account.
Field Searchable on Members List - NO
Show on Members List - NO

Profile Field Type - Single-Line Text Box
Title - Flickr
Description - Add a link to your Flickr account.
Field Searchable on Members List - NO
Show on Members List - NO

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

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

Once you have created the profiled fields, take a note of the field numbers.

Note: If you do not want to use all of these websites then just add the fields of the websites that you do want to use.

-STEP 2-

Download the attached zip file, extract the files, open the UPLOAD folder and choose which icon set you wish to use, the options are 16x16 or 24x24 icons. Once you have decided, FTP the images folder to the root of your forums.

-Step 3-
Goto admincp -> Plugins & Products -> Manage Products -> Add/Import Product and upload the install file (product-socialpostbit.xml).

-Step 4-

Goto admincp -> Options -> [Boydy]Social Networking in Postbit. Now you must decide how you want to configure the mod, you can see examples of with/without block in the screenshots below. Next all you need to do is input all of the relevant profile field numbers and that's it! If you do not wish to use some of the websites included just leave the setting blank or set to 0.

And that's it! Screenshots below of the icon sets, admincp settings and the mod itself. Credit for the icons goes to sawb.What's new in version 1.0.2:
  • Social networking block now added to profile.
  • Option to enable/disable profile block.
  • Option on location of profile block. (TOP, MIDDLE, BOTTOM)
  • Some minor code and template changes from original release.
  • Added version checking to the mod.
  • etc.
What's new in version 1.0.3:
  • Fixed bug with postbit setting.
  • Added new setting for enabling/disabling the postbit only.
  • etc.
I do have some other idea's on how to further extend this modification which you'll see in a future update. If you are upgrading please remember to ALLOW OVERWRITE.

If you install this and For future updates and support please remember to mark as installed!

I've had a lot of PM's requesting my Paypal to donate so i have now set it up on here, feel free to donate if you like although please do not feel you have to :)

All donations are greatly appreciated :)

boydy 07-18-2011 10:12 AM

Reserved.

BadgerDog 07-18-2011 10:20 AM

If we've installed your old method, can we simply install this one and use the same field ID's that already exist from the old one, for this one?

Thanks ... :)

Regards,
Doug

boydy 07-18-2011 10:24 AM

Quote:

Originally Posted by BadgerDog (Post 2221873)
If we've installed your old method, can we simply install this one and use the same field ID's that already exist from the old one, for this one?

Thanks ... :)

Regards,
Doug

Yes mate, just make sure you select the relevant template (postbit or postbit_legacy) and then select revert so you do not end up with duplicates. Or if you have other modifications in your postbit do not revert, instead go in and manually remove the code from my previous mod.

Cheers!

BadgerDog 07-18-2011 10:26 AM

Quote:

Originally Posted by boydy (Post 2221875)
Yes mate, just make sure you select the relevant template (postbit or postbit_legacy) and then select revert so you do not end up with duplicates. Or if you have other modifications in your postbit do not revert, instead go in and manually remove the code from my previous mod.

Cheers!

I will simply "remove" the old template edits, then save the template, to accomplish the same thing .. thanks .. :)

Regards,
Doug

BadgerDog 07-18-2011 10:32 AM

Just to confirm upload locations .... ;)

You want your uploaded folders to be placed in the root of the forum, instead of within the /images folder? :confused:

Regards,
Doug

boydy 07-18-2011 10:33 AM

Yup, no problem :)

EDIT: Yup, go into the relevant icon size folder that you want and then upload the images folder to the root of your forums.

BadgerDog 07-18-2011 10:48 AM

1 Attachment(s)
Installed on 4.1.3 with thanks ... :)

A few things as compared to the old way ...

1. Any chance of getting a C/R linefeed at the start of the box? It appears right under our link to a member's classifieds and it's really difficult to click on that with your box up so close. Also, cosmetically, it appears crowded.

2. Are the icons supposed to be stacked on top of each other like that within the box? In the old method, the icons were side by side, with and without the box? :confused:

3. Is there any place we can control the color of the background for your box? It's a little dark for us...

Appreciate your efforts ... nice work ... :up:

Regards,
Doug

boydy 07-18-2011 10:57 AM

Quote:

Originally Posted by BadgerDog (Post 2221888)
Installed on 4.1.3 with thanks ... :)

A few things as compared to the old way ...

1. Any chance of getting a C/R linefeed at the start of the box? It appears right under our link to a member's classifieds and it's really difficult to click on that with your box up so close. Also, cosmetically, it appears crowded.

2. Are the icons supposed to be stacked on top of each other like that within the box? In the old method, the icons were side by side, with and without the box? :confused:

3. Is there any place we can control the color of the background for your box? It's a little dark for us...

Appreciate your efforts ... nice work ... :up:

Regards,
Doug

1 - open the template postbit_social and edit the following line:

Code:

<div id="thread_info" class="thread_info block" style="margin-top:5px;">

Change margin-top:5px; to what you want it to be.

2 - There is a linebreak in after myspace in the same template as above, this is based on having the 10 icons, if you are only using those 2 in the screenshots search for and remove <br />

3 - It uses the forum styles colour scheme mate.

BadgerDog 07-18-2011 11:11 AM

1 Attachment(s)
Quote:

Originally Posted by boydy (Post 2221892)
2 - There is a linebreak in after myspace in the same template as above, this is based on having the 10 icons, if you are only using those 2 in the screenshots search for and remove <br />

Fixed margin at top with your recommended patch ... thanks ... :)

For clarity, are you saying that with 3 or more icons, the mod will start lining them up side-by-side, but with only two, they will always appear stacked under each other? :confused:

Just my opinion, but I think that's a waste of space for two? Is it difficult to always have then start lining up side by side, regardless of how many folks use?

By the way, we currently have 6 sites for use in out profiles...

Thanks ... :)

Regards,
Doug


All times are GMT. The time now is 05:57 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.01408 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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