inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 9, 2015 12:23:01 GMT -8
add the bold:
<img src="http://i40.tinypic.com/x6mp2b.gif"
i couldn't find a way to do it with IMs, but i'll get google plus in a sec.
Edit 1: ok, so there's no clear-cut way (that i can see of) to easily display social networks by distinguishing which ones a member has in their profile. if proboards added a "name" element to it you could do it, but for now it's not possible unless someone else can come up with an idea.
Edit 2: for instant messengers use this:
{foreach $[user.instant_messenger]} {if $[user.instant_messenger.name] == "AIM"} <img src="http://i.imgur.com/3l6zfoL.png" alt="$[user.instant_messenger.name]: $[user.instant_messenger.value]" title="$[user.instant_messenger.name]: $[user.instant_messenger.value]" /> {/if} {if $[user.instant_messenger.name] == "ICQ"} <img src="http://i.imgur.com/NsRlyYl.png" alt="$[user.instant_messenger.name]: $[user.instant_messenger.value]" title="$[user.instant_messenger.name]: $[user.instant_messenger.value]" /> {/if} {if $[user.instant_messenger.name] == "YIM"} <img src="http://i.imgur.com/K49RQBC.png" alt="$[user.instant_messenger.name]: $[user.instant_messenger.value]" title="$[user.instant_messenger.name]: $[user.instant_messenger.value]" /> {/if} {if $[user.instant_messenger.name] == "Skype"} <img src="http://i.imgur.com/GWjjCvv.png" alt="$[user.instant_messenger.name]: $[user.instant_messenger.value]" title="$[user.instant_messenger.name]: $[user.instant_messenger.value]" /> {/if} {/foreach}
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 9, 2015 13:01:54 GMT -8
Aww, almost had it though. Now it shows the facebook symbol for anything (facebook, youtube, twitter).
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 10, 2015 4:16:58 GMT -8
What you are saying, ®i©hie , is that the numbers 1-4 don't work as they should be the titles of the specific social websites? Are there any people you know of that we could tag in here with a possible solution? Thanks a lot helping me this far. EDIT: Social Networks: It seems that if you put in 5 numbers (=with google+?) in the code it does work if you fill them all in. If you only fill in a few of them the link attached is random,...
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 12, 2015 2:15:51 GMT -8
Thinking about a solution, might be to add YouTube, FaceBook, Google+, Twitter, etc. as Custom profile fields? And maybe remove the original 'social websites' from the 'edit profile'?? Is that possible through template modification??
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 12, 2015 9:54:03 GMT -8
Thinking about a solution, might be to add YouTube, FaceBook, Google+, Twitter, etc. as Custom profile fields? And maybe remove the original 'social websites' from the 'edit profile'?? Is that possible through template modification?? yeah that would work, i'll see if i can write up a plugin to remove that section.
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 12, 2015 13:09:45 GMT -8
I just came across this, which I'm certainly gonna use for my forum www.skype.com/en/features/skype-buttons/create-skype-buttons/For example, if I wanted a Skype IM button for my forum that was linked to my Skype name, this would be the HTML: <script type="text/javascript" src="http://www.skypeassets.com/i/scom/js/skype-uri.js"></script>
<div id="SkypeButton_Call_Azayles_1">
<script type="text/javascript">
Skype.ui({
"name": "chat",
"element": "SkypeButton_Call_Azayles_1",
"participants": ["Azayles"]
});
</script>
</div> Just replace every occurrence of Azayles in that code with the value returned by $[user.instant_messenger.value] when the {foreach} loop gets to "Skype"
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 13, 2015 11:08:11 GMT -8
Ok I found a MUCH easier way that using that button! I thought it was a simple case of changing out the username. Boy was I wrong! Use this instead. Change Azayles to a username of your choosing, and change the word "chat" to "call" if you want to initiate a skype call instead of an IM.
<a href="skype:Azayles?chat">Azayles</a> One friggin' line of HTML, instead of a pain in the arse Javascript button that you can only reliable have one of on a page anyway.
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 16, 2015 6:19:19 GMT -8
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 16, 2015 12:49:15 GMT -8
probably not as that's an old V4 code that's obsolete now. but i'm trying my best to write something. if anyone else wants to give it a go be my guest. i'd rather not keep you waiting. Edit: stronktank here ya go: Remove Social Websites Section From Edit Pr....pbp (691 B) i included an option for replacement text to show where the "Social Websites" section was. you can leave it blank to simply remove the section, and have nothing else there, except the IM section. here's an image preview:
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 16, 2015 15:31:51 GMT -8
You're the best, ®i©hie ! Case closed!
|
|
inherit
58740
0
Aug 20, 2024 7:29:21 GMT -8
®i©hie
I'm not very active here anymore thanks to my full-time job. - 12/27/23
14,036
September 2005
soe
|
Post by ®i©hie on Sept 16, 2015 15:35:12 GMT -8
You're the best, ®i©hie ! Case closed! You're Welcome!
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Oct 4, 2015 13:53:29 GMT -8
I've made some interesting headway today in formatting the custom fields on the edit profile page, to not only have the start and end of the URL either side of the input box, but also to include a "test link" text which reads the input box with JQuery - before even saving the settings - and opening the URL in a new tab. Similar to the way the default social media input fields work. it looks like this: If this is of interest, lemme know
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Mar 8, 2016 5:08:04 GMT -8
Azy Very interesting! Sorry for the late response but I have been inactive for a while. Can you post the code? Now the forums uses this as description (takes way more space than in your example) R* Social Club Your Rockstar Social Club ID. (http://socialclub.rockstargames.com/member/ID/) [INSERT FIELD]
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Mar 8, 2016 11:19:03 GMT -8
Azy Very interesting! Sorry for the late response but I have been inactive for a while. Can you post the code? Now the forums uses this as description (takes way more space than in your example) R* Social Club Your Rockstar Social Club ID. (http://socialclub.rockstargames.com/member/ID/) [INSERT FIELD] I hear that! I been a bit myself Been working tirelessly with Teg to get a few different forum projects up and running, and recently begun moving house It's been a lot of fun! I'll see if I can post the code within the next few days or so, whenever I get the chance to get it into an organised and "postable" state
|
|