inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Mar 4, 2014 22:42:12 GMT -8
For the plugin located at: www.proboards.com/library/plugins/item/620Allows admins to setup HTML chunks in the plugin settings for universal placement across themes by inserting elements with unique ids in the templates or h/f
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Mar 5, 2014 3:15:09 GMT -8
This is an amazing plugin. I use it on my forum, a friend uses it on hers. My friend is the best example of this. She has twenty different themes for her members. When it's time to update a custom box in the themes, all it takes is going to this plugin and updating an HTML chunk instead of every single theme.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 17:35:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Mar 5, 2014 21:25:05 GMT -8
I LOVE THE NAME. Bravo
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 21, 2014 17:17:50 GMT -8
Been using this for months now! Still no problem! It's perfect!
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Apr 22, 2014 16:58:25 GMT -8
Apparently it needs options, but I'm not sure what options they were talking about
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 17:13:19 GMT -8
I think that soul was "confused" of what the plugin is meant for. It's perfect how it is. If they meant for different skins that's counterintuitive as just don't place the injection in the skin you don't want. It's great as it is. I cannot think of anything new I'd like on it. xD.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 17:35:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 4, 2014 1:17:18 GMT -8
Hideyho hogarth, question for you
I have an idea that is basically the awards plugin but I don't want to use the actual awards plugin because I'm already utilizing that plugin for a different purpose on my site. I'm able to avoid using the awards plugin by using custom profile fields--having one field be an image URL and the second field act as the hover description. The problem I'm running into is that I run out of room in my mini-profile templates because I hit the 500-max variable and if statement when I try to add enough fields to accommodate my site. Right now I can only fit 13 of them in, which isn't nearly enough, before the layout template maxes out, and that also worries me because that means I can no longer add ANYTHING in the future. Ick.
So after that back-story, my question is this: would I be able to bypass the max variables and if statements by putting them into the HTML Injections plugin and then just putting their div id into the layout template? I'm guessing no based on one or both of these reasons 1) Layout templates probably don't work in the plugin and 2) even if the layout templates were in the plugin, they're still "inserted" in the layout template so it'd probably hit the max regardless? Even though I think I know the answer, I still wanted to check because I don't want to use the awards plugin and custom profile fields are failing me soo this is the only alternative I've come up with thus far. xD
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 4, 2014 3:06:24 GMT -8
templates are parsed before plugins even run, so putting any of them in the plugin would just leave them as is in the mini-profile. is it 500 max variables or lines?
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 17:35:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 4, 2014 3:14:58 GMT -8
500 variables, 500 {if} statements, and I think 30 {foreach} loops. It's yelling at me for reaching the 500 variable limit but the {if} statement one isn't far behind. Ideally, I would like to get at least 50 custom profile fields in there (25 entries total since each "entry" requires both a image field and a hover field) but I can't get more than 13 right now, and I dislike maxing it out anyway because the I can't add even a single variable/{if} statement in the future. The awards plugin does exactly what I need, technically, but I'm using it as an inventory system and would prefer to keep this (armor/weapons equipment) separate.
Thank you anyway, I appreciate the response and I'll see if I can brainstorm any other alternative options ^^
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 4, 2014 3:21:13 GMT -8
are you using the if statements to just hide them if they dont contain anything?
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 17:35:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 4, 2014 3:26:22 GMT -8
No the {if} statements specify which mini-profile field I need. Basically like this, except with more than 5:
{if $[user.mini_custom_field.name] == "Weapon 1 Image"}<img style="max-width: 150px; max-height: 50px; overflow: hidden;" src="$[user.mini_custom_field.value]" {/if}{if $[user.mini_custom_field.name] == "Weapon 1 Information"} title="$[user.mini_custom_field.value]">{/if} {if $[user.mini_custom_field.name] == "Weapon 2 Image"}<img style="max-width: 150px; max-height: 50px; overflow: hidden;" src="$[user.mini_custom_field.value]" {/if}{if $[user.mini_custom_field.name] == "Weapon 2 Information"} title="$[user.mini_custom_field.value]">{/if} {if $[user.mini_custom_field.name] == "Weapon 3 Image"}<img style="max-width: 150px; max-height: 50px; overflow: hidden;" src="$[user.mini_custom_field.value]" {/if}{if $[user.mini_custom_field.name] == "Weapon 3 Information"} title="$[user.mini_custom_field.value]">{/if} {if $[user.mini_custom_field.name] == "Weapon 4 Image"}<img style="max-width: 150px; max-height: 50px; overflow: hidden;" src="$[user.mini_custom_field.value]" {/if}{if $[user.mini_custom_field.name] == "Weapon 4 Information"} title="$[user.mini_custom_field.value]">{/if} {if $[user.mini_custom_field.name] == "Weapon 5 Image"}<img style="max-width: 150px; max-height: 50px; overflow: hidden;" src="$[user.mini_custom_field.value]" {/if}{if $[user.mini_custom_field.name] == "Weapon 5 Information"} title="$[user.mini_custom_field.value]">{/if}
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 4, 2014 3:40:33 GMT -8
does it count against the total if you just show them all using a for each loop instead? because I think an h/f code or as a last resort a plugin would be able to do all that work
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 17:35:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 4, 2014 3:46:08 GMT -8
I have, like.. fifty other custom profile fields so if I looped through all of them without distinguishing which I need, it'd be disastrous. =/ I also wouldn't be able to pick which values act as the image and which act as the hover information. I can't even get rid of the excessive {if} statements by throwing them all into a single one separated by "or" statements (||) because I need to pair image 1 with hover 1, image 2 with hover 2, etc.
These are the moments I hate layout templates. xD If there was more room I'd be set but nope. And no way to reduce what I have, I don't think, either, so I don't believe I can just recode what I already have to make more space.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 4, 2014 4:52:45 GMT -8
I have an idea, but give me a day on making it. if it works, you would just have a hidden span with class="reconfigCPF" in your MP template, and use a foreach to list all your custom profile fields inside it. then a plugin where you will choose which profile fields are kept (the rest are removed), and which become images with hover. caveat being you have to get the names exactly right or it will consider them a discard field.
make a thread in requests about it so I will have somewhere to discuss it without cluttering this support thread
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 24, 2024 17:35:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 4, 2014 10:57:31 GMT -8
Dude you freakin' rock! Will do!
|
|