inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Nov 29, 2015 16:50:17 GMT -8
Brian : I am looking back in the information about the plugin, and I can't seem to find where it shows how to put custom fields into the mini-profiles. I saw it when I originally put them in there, but for some reason I can't find it now. The information is in there, right? Or am I going blind? It's in the User Variables tab of the installation window. In the Javascript portion of the plugin you'd use the text between the brackets to reference the custom field. So you put it into the Javascript area? I have been attempting to put it into the HTML area, I think. No wonder why it's not working.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Nov 29, 2015 17:02:18 GMT -8
It's in the User Variables tab of the installation window. In the Javascript portion of the plugin you'd use the text between the brackets to reference the custom field. So you put it into the Javascript area? I have been attempting to put it into the HTML area, I think. No wonder why it's not working. You can put it in either. You just need to type it differently depending on which section of the plugin you're adding them to just like every other variable that's listed.
|
|
inherit
194230
0
Nov 21, 2015 5:56:42 GMT -8
Alan Vende
4,215
May 2013
l1o2u3i4s5
|
Post by Alan Vende on Nov 29, 2015 17:17:59 GMT -8
So you put it into the Javascript area? I have been attempting to put it into the HTML area, I think. No wonder why it's not working. You can put it in either. You just need to type it differently depending on which section of the plugin you're adding them to just like every other variable that's listed. I think I finally have it working. I put it into the HTML area and it looks like it's correct because it's outputting the correct information. Thank you so much for your help, Brian.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Dec 1, 2015 10:31:19 GMT -8
Hi, Brian. This is only a curiosity question. I'm using a slightly modified Example 3 for a couple of our Members. If they make a post and someone likes it, I get this: Notice the likes this on the bottom right? It normally has just the word Likes and its count: The "likes this" goes away after a simple refresh, but I was only curious as if you know why it does that. It's no big deal to me, I can live with it - just curious is all. Thank you!
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Dec 1, 2015 10:49:19 GMT -8
Hi, Brian . This is only a curiosity question. I'm using a slightly modified Example 3 for a couple of our Members. If they make a post and someone likes it, I get this: Notice the likes this on the bottom right? It normally has just the word Likes and its count: The "likes this" goes away after a simple refresh, but I was only curious as if you know why it does that. It's no big deal to me, I can live with it - just curious is all. Thank you! If you gave it the class likes it's probably being targeted by the Javascript that updates the likes in the head of the post since that's also the class it uses, in which case you can rename the class of the element the likes are contained in inside your mini-profile to something else.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Dec 1, 2015 10:50:53 GMT -8
Ahhh, okay. That makes much sense. Thank you kindly, good sir!
|
|
inherit
133210
0
May 9, 2024 20:06:42 GMT -8
Rabdom
82
November 2008
kcx
|
Post by Rabdom on Dec 15, 2015 20:56:25 GMT -8
Question: Is it possible to put places for links in the mini profiles here (i.e. for character profiles) that also look organized?
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Dec 16, 2015 10:13:11 GMT -8
Question: Is it possible to put places for links in the mini profiles here (i.e. for character profiles) that also look organized? Since you're building the HTML from the ground up in the plugin it's possible to do just about anything with it. If you want to use custom fields to accomplish that you can do that as well.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 23, 2024 4:19:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 23, 2015 4:01:23 GMT -8
Hi BrianIve added a custom profile field but it wont display for some reason just the variable appears. The field name is favouritemovie and part of the HTML showing what ive done is below moviecenter.boards.net/thread/36/merry-christmas-happy-new-year?page=1&scrollTo=139<div class="info"> <span class="float-right">$[user.gender.image]</span> Posts: $[user.posts] <br /> Likes: $[user.likes] <br /> <div class="location">Location: $[user.location]</div> <br /> <div class="favouritemovie">Favourite Movie: $[user.FavouriteMovie]</div><br /> <div class="online"><img src="http://i.imgur.com/YyNLx.gif"></div> </div> <div class="offline">Last Online: $[user.last_online]</div> <br /> Thanks Dave
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Dec 23, 2015 9:59:17 GMT -8
Dave B: Your variable name needs to be lowercase for it to work.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 23, 2024 4:19:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 23, 2015 10:41:05 GMT -8
Dave B : Your variable name needs to be lowercase for it to work.
Thanks Brian
Hope you have a nice Christmas and New Year.
Dave
|
|
Former Member
inherit
guest@proboards.com
209496
0
Nov 23, 2024 4:19:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 23, 2015 13:42:17 GMT -8
Uhm Brian I was trying this out to see what i can do with it but for some reason it gives me this error "Error1:"mp-info-holder" element not found in this theme's Mini-Profile layout templates, Custom mini-profile could not be added. Click icon for more info." I did what all of the directions said & still pops up.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Dec 23, 2015 13:52:07 GMT -8
Uhm Brian I was trying this out to see what i can do with it but for some reason it gives me this error "Error1:"mp-info-holder" element not found in this theme's Mini-Profile layout templates, Custom mini-profile could not be added. Click icon for more info." I did what all of the directions said & still pops up. What forum is this on?
|
|
Former Member
inherit
guest@proboards.com
209496
0
Nov 23, 2024 4:19:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 23, 2015 14:06:59 GMT -8
Brian Sorry its on vTwisted1x.com but i forgot how to make forum viewable for guests.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Dec 23, 2015 14:09:07 GMT -8
Brian Sorry its on vTwisted1x.com but i forgot how to make forum viewable for guests. It looks like you're missing a closing </div> tag before this line in Themes > Layout Templates > Mini-Profile:
|
|