![]() |
Social Networking in Postbit Popup
1 Attachment(s)
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. https://vborg.vbsupport.ru/ 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 https://vborg.vbsupport.ru/ Step 3: This step adds the links in the postbit popup. ACP> Styles & Templates> Search in Templates for "memberaction_dropdown" Links at the TOP: http://greenromproject.com/a/completed-top.png Find: Code:
<ul class="popupbody popuphover memberaction_body"> Links at the BOTTOM; https://vborg.vbsupport.ru/ Find: Code:
<vb:if condition="$show['emaillink']"> Code:
</vb:if> Step 4: Paste this: Code:
<!-- Social Networking --> 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 Code:
<!-- Social Networking in Postbit Popup --> Enjoy https://vborg.vbsupport.ru/ Icon Images http://greenromproject.com/images/si...up/twitter.png - Twitter http://greenromproject.com/images/si...p/facebook.png - Facebook http://greenromproject.com/images/si...googleplus.png - Google+ http://greenromproject.com/images/si...up/youtube.png - YouTube Special Thanks to: Mobo for Edit User link in postbit UserName popup menu Lycaon @ theadminzone.com for assistance with resolving issue |
Images with the result would be awesome :)
|
Duplicate Post
|
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.
|
Code has been fixed and is now working again!
|
Added "approved" twitter icon...
|
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.
|
can you post your edited version of:
Code:
<!-- Social Networking --> |
Yup:
Code:
<!-- Social Networking --> Code:
<!-- Social Networking --> |
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? |
All times are GMT. The time now is 12:19 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:
|