![]() |
Social Networking in Postbit (with or without block)
1 Attachment(s)
Hi guys,
This is the first mod/hack i have published on here although i do have other projects in use on my own forums. This mod/hack gives a user the abillity to share their accounts on Twitter/Facebook/MySpace/Bebo/Linkedin/Flickr/Tumblr/Youtube/Vimeo/PSN/XBL which appear in the postbit/postbit legacy. =|= Install =|= =|= Step 1 =|= The first step you will need to go through is creating the custom profile fields for the following: 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 - 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 - 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 - 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 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 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 Title - Tumblr Description - Add a link to your Tumblr account. Field Searchable on Members List - NO Show on Members List - NO Title - Xbox Live ID Description - Enter your Xbox Live id. Field Searchable on Members List - NO Show on Members List - NO Title - Playstation Network ID Description - Enter your Playstation Network id. Field Searchable on Members List - NO Show on Members List - NO Once you have done the above please take a note of the profile field numbers that show under the "name" heading in the admincp, eg; http://img145.imageshack.us/img145/6461/1296160582.png =|= Step 2 =|= The second step is to download one of the attached zip files containing the images and upload them to the root of your forums. The exact URL should be: Code:
www.yoursite.com/yourforum/images/postbit_social/image.png =|= Step 3 =|= We have 2 options here, you can have it with or without the block. Social Networking with Block This option is ONLY available to members that use the Vertical Postbit (postbit_legacy); Open Template - Postibit Templates -> postbit_legacy Find - Code:
{vb:raw post.skypeicon} Add after - Code:
<!--Social Start--><br /><br /> NOTE: Please remember to replace # with the relevant profile field number that you created earlier! With this update you will also need to add all of your relevant profile field numbers to the line of code at the top, if you are not using all of the social accounts then just add the numbers you need and remove the rest. This is the line of code in question: Code:
<vb:if condition="$post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#'] OR $post['field#']"> Social Networking without Block This is available to members who use both the Vertical or Horizontal postbit. Open Template - Postibit Templates -> postbit_legacy or postbit Find - Code:
{vb:raw post.skypeicon} Add after - Code:
<!--Social Start--><br /> And that's it! Screenshots below showing you how it looks in both postbit templates. If you have any questions/issues please post below and i'll be happy to help. Also if you wish to request any other Social Networking sites to be added just post a commment and i'll see what i can do! Hope you enjoy this mod/hack, please make sure you mark as installed! Thanks! Boydy Update Changelog;
For the automatic install product version with no manual edits go here - https://vborg.vbsupport.ru/showthread.php?t=267019 |
Nice little bit of work mate thanks
|
Cheers mate, glad you like it.
|
I like this. Tagged until I get home from work.
|
I Like it Thanks
Be nice to also show in user profile in the contact box |
1 Attachment(s)
Quote:
|
Quote:
Cheers |
Already on it mate, but that's no problem with me if you want to go ahead and look into it first. If you get it sorted before i can then i'll update the mod/hack giving credit to yourself if you like, just let me know.
|
Quote:
Ill get on with the other 9mil jobs i have to do :D Good luck Cheers |
im getting this message when trying to save after entering the profile field number
PHP Code:
<br /><vb:if condition="$post['10']"> <a target ="blank" href="{vb:raw post.10}" do i take out the field# n replace with the number in both spots , or do i just put the number in after field# in 1 spot or both instances ? |
Quote:
Code:
<vb:if condition="$post['field10]"> |
1 Attachment(s)
@Gemma THANK YOU , that did the trick but for some weird reason its displaying above the aim & i wouldnt know why but the fields in admin cp look different . Also they do show up not where i want them to but besides that when i click them , they go to something else like other fields in my profile feeds section so ofcourse no site . i know it has something to do with the picture how the numbers dont match but i dont know how to fix this . sorry man im new at all this .. the number for the fields n in the TP edits are correct for sure though
|
Quote:
Code:
<div class="imlinks"> |
ok i managed to get the field numbers right , alls good works great , I just want to get it to display under my aim . like in my picture its not . im running 4.1.1 IM using the postbit_legacy anyclue i do have it in the right place under it
PHP Code:
Quote:
|
You have placed it in the Right place
Something else must be pushing it like that Paste your Full posbit_legacy and i will look |
1 Attachment(s)
OK THANK YOU , my postbit_needs alot of work that i dont know how to do but w/e
PHP Code:
|
Try this
(BACK UP your old code) Code:
{vb:raw template_hook.postbit_start} |
1 Attachment(s)
that worked perfect for dude thanks for your effort & time thats perfect
Quote:
|
1 Attachment(s)
Anytime
I mixed them in with my Msn Aim etc.. :) Still working on my postbit tho ^_^ Attachment 126237 |
its really nice actually better than having it underneath , thanks again it works flawlessly , also BIG thanks to the creator of this mod . I was waiting for this . i saw they have it for 3.8 but now we have it here thanks to you boydy
Quote:
|
No problem and thanks to AnimeMike for helping others out!
|
First small update is finished. As ever any questions/suggestions please post up and i'll get back to you.
Update 1.01 Changelog;
|
Nice touch Boydy Thanks :)
|
I know this is going to sound like a question, but how do I implement step 1?
Do I "add" or edit using the social bookmarking manager? Thanks in advance :) |
add new , and leave the single line text in there will show by default first choice then use his set up all you have to do is copy paste what he put in the post above one by one , you can also input the whole code but only add the fields you want in your admin cp , like i did youtube,facebook,twitter .. but i still used the whole code in the template if incase i wanted to use it in the future .... when you add the field numbers in the template edit dont add anything to the ones you know youre not using
Quote:
|
nice work..
|
Quote:
Quote:
|
|
Quote:
|
Quote:
|
I haven't had the chance to install for testing yet, but I prefer this to the other one mentioned .. ;)
Just my two cents .. :) Regards, Doug |
1 Attachment(s)
Ok... got it.
I thought I was supposed to be adding in the "social media manager". Found out that it is the "user profile fields" .. I think I got it :D It is almost what I was looking for..... I was hoping that I could do a "Digg this post" etc.. with it. |
It seems a bit high in the postbit, unless that's what you want. It should be under your posts and the current IM services that show.
If you need help on location post your postbit code in here and i'll take a look. Also there are already mods here on vb.org for like/tweet/digg this thread. Such as - https://vborg.vbsupport.ru/showthrea...ght=tweet+post I can't seem to find one for "digg" if you like i can look into this for you if you need it? |
Thank you!
This is what I have edited in the "postbit_legacy" Version 4.1.0 Patch Level 2 Code:
{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> |
Interesting hack .!
I'll check it out later >> Tagged for now .. Thanks for sharing .. |
1 Attachment(s)
Installed & kind of working
4.1.1 Rather then showing up under my avatar... They seem to be going down the side of my avatar. |
Hmm that's a few people with that issue. I'll look into it today.
|
Quote:
Code:
<vb:if condition="$post['userid']"> Code:
<vb:if condition="$post['userid']"> So where wraped in the Code:
$post['userid'] |
Quote:
|
Nice work, Thanx
|
All times are GMT. The time now is 04:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|