inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Jul 30, 2013 6:11:11 GMT -8
|
|
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 30, 2013 7:25:10 GMT -8
IFs dont work at all. I dont have any of that written in
|
|
inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on Jul 30, 2013 8:13:16 GMT -8
are you still planning on it
|
|
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 30, 2013 8:25:21 GMT -8
eventually.. but Im not as smart as Tim
|
|
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 Aug 17, 2013 2:58:13 GMT -8
v1.1.0 submitted to library
{if}{/if} support
|
|
inherit
20332
0
Jul 3, 2024 14:49:17 GMT -8
Vu1canF0rce
729
February 2004
daviper
|
Post by Vu1canF0rce on Aug 23, 2013 22:47:48 GMT -8
Wormopolis, excellent job with this plugin; it comes in very handy. I do, however, have a question I hope you can help me out with. I am a mild programmer and understand the gist of IF statements but I was wondering if you could explain the context as they apply to your plugin. I use the following example to post my question. With and without the IF statement I am still able to pull the custom profile field (CPF) data without oddity or error. {if $[field_spelllist]} magic spells: $[field_spelllist]<br> {/if} magic spells: test1, test2, test3 vs. magic spells: $[field_spelllist] magic spells: test1, test2, test3I tested this with each of the CPF " Type" options and the applicable ones returned multiple results as intended with and with the IF statement. Thank you very much and again I love this plugin! Andrew EDITEDI think I'm moreover looking to do a "not equal to", "is null", or an "else/if" statement if the user has not populated input whilst knowing that PB will not natively display a CPF if the user hasn't inserted info. However, with some programming magic it's possible to tweak the end-result query or plugin. I tried the following 2 options and know that the first one is self-defeating and the second didn't yield a value. {if !$[field_test]} nothing! {/if} {if $[field_test] == ""} nothing! {else} $[field_test] {/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 Aug 25, 2013 18:09:05 GMT -8
yeah I dont have any else statements worked in there. its basically to check for true or false that the variable exists. there is no comparision stuff like the templates have.. mainly because Im not as smart as Tim.
if the custom field doesnt exist in the users profile
then
{if $[custom_field]}
will return a false and should NOT put what is between if statements. if you are nesting if statements, that might cause an issue as well because I used greedy regexp.
in your example up there, it showed the spell list stuff both ways because spell list was a field it found values in. if it didnt find values, then it shouldnt have put anything.
I havent worked out how to do else statements yet.
|
|
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 Aug 30, 2013 4:45:30 GMT -8
Ill try and get {else} working this weekend
|
|
inherit
robo10000@gmail.com
199272
0
Sept 1, 2013 8:37:04 GMT -8
ttooaammoonn
1
September 2013
ttooaammoonn
|
Post by ttooaammoonn on Sept 1, 2013 8:28:26 GMT -8
Nevermind! My co-admin figured it out.
|
|
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 Sept 1, 2013 8:46:27 GMT -8
Nevermind! My co-admin figured it out. I never even saw you had an issue...
|
|
inherit
192640
0
Sept 24, 2013 21:27:04 GMT -8
daytimepirate
7
April 2013
daytimepirate
|
Post by daytimepirate on Sept 2, 2013 17:59:54 GMT -8
Hello there! I apologize for troubling you over this... But I'm having a strange issue with the plugin, I hope I can explain this in a way that it makes sense actually...
The plugin worked perfectly for awhile, and well, it just stopped all of a sudden? Filling out the custom fields no longer puts them in the extra tab. So I tried it on another site, and it works perfectly still... I'm a bit amateurish when it comes to HTML, so I'm sort of working on this with a friend, and we're both a bit confused on what happened. I've tried uninstalling and reinstalling the plugin, and remaking the custom fields... The names line up, just, nothing on the one site...
|
|
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 Sept 2, 2013 18:02:42 GMT -8
you didnt give me a whole lot to go on there...
|
|
inherit
192640
0
Sept 24, 2013 21:27:04 GMT -8
daytimepirate
7
April 2013
daytimepirate
|
Post by daytimepirate on Sept 2, 2013 18:06:18 GMT -8
I'm sorry, I'm bad at explaining things...
Like $[field_personality] is in the HTML field, and then when you go to edit your profile, and under Personality, you fill it out and hit save, it never shows up in the custom tab like it usually does?
|
|
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 Sept 2, 2013 18:16:46 GMT -8
so start from the beginning. you had this code working at one point. then you added some new fields. what fields did you add? do ALL the fields now cease to relocate?
maybe a URL to a profile if its open to guests?
|
|
inherit
192640
0
Sept 24, 2013 21:27:04 GMT -8
daytimepirate
7
April 2013
daytimepirate
|
Post by daytimepirate on Sept 2, 2013 18:28:58 GMT -8
Yes, it was working fine, and she wanted to fix the name of the field $[field_icon] to $[field_iconurl] and then they all stopped relocating. Which didn't really seem like it would be an issue, so I think maybe its something else?
Here is a link to the profile we were trying it on, I could paste more of the code if that would help?
|
|