Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Social Networking in Postbit Popup Details »
Social Networking in Postbit Popup
Mod Version: 0.3, by stoute (Member) stoute is offline
Developer Last Online: Jan 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (1 vote - 4.00 average) Installs: 9
Released: 30 Aug 2012 Last Update: Never Downloads: 27
Not Supported Template Edits Additional Files Re-usable Code Translations  

This is my first posted template modification so be kind...

This will add a users social networks icon and link in the popup menu in postbit when you click on the User's name. The link is only accessible by the user groups you choose.

To install:

Step 1:

Make Custom Profile Fields for each of the four social networks; Twitter, Facebook, Google+, and Youtube.

ACP> User Profile Fields> Add New User Profile Field

Profile Field Type: Single-Line Textbox

Create your profile fields as below. you can leave "default value" blank.



Make one of these for each of the social networks. Once you have created your fields for Twitter, Facebook, Google+, and YouTube continue to step 2.

Step 2:
ACP> User Profile Fields> User Profile Field Manager

Take note of your "field name". Below you will find a screen shot; notice I have labeled the field names A - D. for refrence a = twitter; b = facebook; c = google+; d = youtube



Step 3:

This step adds the links in the postbit popup.

ACP> Styles & Templates> Search in Templates for "memberaction_dropdown"

Links at the TOP:

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Continue to STEP 4

Links at the BOTTOM;


Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and find the next:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Continue to Step 4

Step 4:

Paste this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the red letters to the correct information. X and Y are where you enter the user groups that can view this information. A, B, C, and D need to be replaced this the field names we found in the last step. in the image A = field5, B = field6, C = field7, D = filed13

Step 5:

Upload the extracted zip to your forum root.

Step 6:

This step adds the images to your postbit (you can edit these if you like just make sure you have them in the correct location and the size is 16px x 16px)

ACP> Styles & Templates > Style Manager> [your style]> Template Options> Edit Templates> CSS Templates> additional.css

Paste the below


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 7:

Enjoy



Icon Images

- Twitter
- Facebook
- Google+
- YouTube

Special Thanks to:
Mobo for Edit User link in postbit UserName popup menu
Lycaon @ theadminzone.com for assistance with resolving issue

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements Social Networking in Postbit (with or without block) boydy vBulletin 4.x Template Modifications 55 12 Feb 2012 19:02

Comments
  #2  
Old 30 Aug 2012, 22:26
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Images with the result would be awesome
Reply With Quote
  #3  
Old 30 Aug 2012, 22:53
stoute stoute is offline
 
Join Date: May 2010
Duplicate Post

Last edited by stoute; 30 Aug 2012 at 23:43. Reason: duplicate post please delete
Reply With Quote
  #4  
Old 30 Aug 2012, 23:07
stoute stoute is offline
 
Join Date: May 2010
lol this is the worst... after writing all this up it stopped working on my site. If you have success or fails please let me know so i can see where I went wrong.
Reply With Quote
  #5  
Old 01 Sep 2012, 22:04
stoute stoute is offline
 
Join Date: May 2010
Code has been fixed and is now working again!
Reply With Quote
  #6  
Old 02 Sep 2012, 20:08
stoute stoute is offline
 
Join Date: May 2010
Added "approved" twitter icon...
Reply With Quote
  #7  
Old 14 Sep 2012, 19:05
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
I have this set for registered users and Admins, and the dropdown is viewable for myself and my mods, but I can't view it under a registered user level.

Last edited by It's Damn Real!; 14 Sep 2012 at 19:16.
Reply With Quote
  #8  
Old 14 Sep 2012, 19:58
stoute stoute is offline
 
Join Date: May 2010
can you post your edited version of:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #9  
Old 14 Sep 2012, 20:02
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Yup:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I also tried:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #10  
Old 14 Sep 2012, 20:53
stoute stoute is offline
 
Join Date: May 2010
so the condition will allow the given usergroups to see the social network icons.

what this is basically saying is "if" you are a member of usergroup "x" then you can view the social network icons.

So when you have is set to usergroup 2 then only members of usergroup 2 can view the icons...
When you have it set to usergroup 2 and 5 then only those member groups can see them.

Are you having an issue once you set your usergroup to admin only to see it?
Reply With Quote
  #11  
Old 14 Sep 2012, 21:04
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Usergroup 2 is registered users. Usergroup 6 is admin.

Even if I list it out with five or six groups to cover users, admin, mod, etc. it's still only viewable by an Admin or Mod.
Reply With Quote
  #12  
Old 14 Sep 2012, 21:12
stoute stoute is offline
 
Join Date: May 2010
to make it easy you can delete the main condition and the last </vb:if> and it will allow all your user groups to see the icons.

I don't know if that is what your were trying to acheive or not but thats the simple solution.
Reply With Quote
  #13  
Old 14 Sep 2012, 21:17
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Still doesn't work.
Reply With Quote
  #14  
Old 14 Sep 2012, 22:04
stoute stoute is offline
 
Join Date: May 2010
does the user you're looking at have anything in the custom user fields? If not then it will not show up. It will only show up if the user has added information into the custom user field.
Reply With Quote
  #15  
Old 17 Sep 2012, 13:26
It's Damn Real! It's Damn Real! is offline
 
Join Date: Mar 2011
Yes. I've tested it by having myself and one of my moderators both add information in those fields.

I then log in under a registered account, or use VSa's log in as user plug-in to log into another users' account and none of our social media information is visible to them.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:10.

Layout Options | Width: Wide Color: