![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||
Social Networking in Postbit Popup
![]() Developer Last Online: Jan 2016 ![]() ![]() ![]()
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:
Continue to STEP 4 Links at the BOTTOM; Find:
and find the next:
Continue to Step 4 Step 4: Paste this:
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
Step 7: Enjoy Icon Images ![]() ![]() ![]() ![]() 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
No members have liked this post.
|
![]() |
||||
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
|
|||
|
|||
Images with the result would be awesome
![]() No members have liked this post.
|
#3
|
|||
|
|||
Duplicate Post
No members have liked this post.
Last edited by stoute; 30 Aug 2012 at 23:43. Reason: duplicate post please delete |
#4
|
|||
|
|||
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.
No members have liked this post.
|
#5
|
|||
|
|||
Code has been fixed and is now working again!
__________________
Green Tie Hosting - Honest Web Hosting, Design, and Maintenance. No members have liked this post.
|
#6
|
|||
|
|||
Added "approved" twitter icon...
__________________
Green Tie Hosting - Honest Web Hosting, Design, and Maintenance. No members have liked this post.
|
#7
|
|||
|
|||
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.
No members have liked this post.
Last edited by It's Damn Real!; 14 Sep 2012 at 19:16. |
#8
|
||||
|
||||
can you post your edited version of:
__________________
Green Tie Hosting - Honest Web Hosting, Design, and Maintenance. No members have liked this post.
|
#9
|
||||||||
|
||||||||
Yup:
I also tried:
No members have liked this post.
|
#10
|
|||
|
|||
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?
__________________
Green Tie Hosting - Honest Web Hosting, Design, and Maintenance. No members have liked this post.
|
#11
|
|||
|
|||
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. No members have liked this post.
|
#12
|
|||
|
|||
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.
__________________
Green Tie Hosting - Honest Web Hosting, Design, and Maintenance. No members have liked this post.
|
#13
|
|||
|
|||
Still doesn't work.
No members have liked this post.
|
#14
|
|||
|
|||
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.
__________________
Green Tie Hosting - Honest Web Hosting, Design, and Maintenance. No members have liked this post.
|
#15
|
|||
|
|||
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. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 09:30.