vForums Support > vForums :: Report a Bug :: Resolved Bugs :: > Mini profile Bugs..3

Mini profile Bugs..3 - Posted By Dreg[Bot] (dregondrahl) on 9th Jan 08 at 2:34am
hehhe, ermm

Custom Stars

Once set, they don't go away!, for example, if i go to the admins group, add a custom star and then save, if i check my profile, they are there, but if i go back and switch them back to the red stars and check the profile, the custom image is still there.


MemberGroup Drop Down
If a Staff Member is given full power he apparently can't change his own member group.. bug? or the way you planed it ?


Mini Profile Template Suggestions

If a person makes a row to contain two possible values like warning and custom-tile, how about an "or" thing so if its either or both it will both be in that same row?

<td class="window2" align="center">{if:warning}{warning}{/if:warning}
{if:custom_title}{custom_title}{/if:custom_title}
</td>


Also, Additional options are a bit of a problem if say we want the name of the field in bold and the value in normal..so something like this would be better?

{if:additional_info}<tr>
<td class="window2">
{additional_info: <b>{additional_text}</b>:{additional_value}</td></tr><tr><td class="window2"><b>}
</td>
</tr>
{/if:additional_info}




http://samus.virtualforums.co.uk/action/view_profile/user/dregondrahl/

Re: Mini profile Bugs..3 - Posted By Ross (admin) on 9th Jan 08 at 9:37am
Quote:
MemberGroup Drop Down
If a Staff Member is given full power he apparently can't change his own member group.. bug? or the way you planed it ?


Feature, not bug. It's designed that way to prevent members from changing their own powers. So they cannot change their member group or change the powers of their own group.

Re: Mini profile Bugs..3 - Posted By Ross (admin) on 9th Jan 08 at 9:52am
Quote:
Once set, they don't go away!, for example, if i go to the admins group, add a custom star and then save, if i check my profile, they are there, but if i go back and switch them back to the red stars and check the profile, the custom image is still there.


They'd go away if you emptied their URL box {Wink} But I've fixed it now anyway.

Quote:
If a person makes a row to contain two possible values like warning and custom-tile, how about an "or" thing so if its either or both it will both be in that same row?


Could you not do something like:

Code:
 
  1. {if:warning}
  2. <tr><td class="window2">
  3. {warning}
  4. {if:custom_title}
  5. <br />{custom_title}
  6. {/if:custom_title}
  7. </td></tr>
  8. {/if:warning}
  9. {ifnot:warning}{if:custom_title}
  10. <tr><td class="window2">
  11. {custom_title}
  12. </td></tr>
  13. {/if:custom_title}{/ifnot:warning}
 

Re: Mini profile Bugs..3 - Posted By Dreg[Bot] (dregondrahl) on 9th Jan 08 at 5:11pm
 


They'd go away if you emptied their URL box {Wink} But I've fixed it now anyway.


I tried that before it didn't workie, now it does tho {Cheesy}


 

Could you not do something like:

Code:
 
  1. {if:warning}
  2. <tr><td class="window2">
  3. {warning}
  4. {if:custom_title}
  5. <br />{custom_title}
  6. {/if:custom_title}
  7. </td></tr>
  8. {/if:warning}
  9. {ifnot:warning}{if:custom_title}
  10. <tr><td class="window2">
  11. {custom_title}
  12. </td></tr>
  13. {/if:custom_title}{/ifnot:warning}
 


{ifnot:warning}{/ifnot:warning} does not workie XD

Re: Mini profile Bugs..3 - Posted By Ross (admin) on 9th Jan 08 at 6:12pm
 
 


They'd go away if you emptied their URL box {Wink} But I've fixed it now anyway.


I tried that before it didn't workie, now it does tho {Cheesy}


 

Could you not do something like:

Code:
 
  1. {if:warning}
  2. <tr><td class="window2">
  3. {warning}
  4. {if:custom_title}
  5. <br />{custom_title}
  6. {/if:custom_title}
  7. </td></tr>
  8. {/if:warning}
  9. {ifnot:warning}{if:custom_title}
  10. <tr><td class="window2">
  11. {custom_title}
  12. </td></tr>
  13. {/if:custom_title}{/ifnot:warning}
 


{ifnot:warning}{/ifnot:warning} does not workie XD


Ah, I see the problem. There was nothing between the {ifnot:warning}{/ifnot:warning} because the custom title tags had already removed it and it wouldn't accept an empty string. I've fixed that now so they should show up OK.


And for your other point earlier about additional info:

<b>{additional_info:</td></tr><tr><td class="window2"><b>::</b> }

That part in red/underlined (basically anything after the colon) will be the seperator and be used between Field Name and Field Value.

Re: Mini profile Bugs..3 - Posted By Dreg[Bot] (dregondrahl) on 9th Jan 08 at 6:23pm
YAY! Smiley