|
uCoz Community Archives Locked file attachment (need help) |
file attachment |
I need to hide file attachment if file type is '.sma' so i thought that I can do this:
Main » Customize design » Appearance of entries Code <?if($ATTACHMENT$)?> <div align="left" class="eAttach">Attachments: $ATTACHMENT$</div><?endif?> ---» Code <?if($ATTACHMENT$)?> <div align="left" class="eAttach"><?if(substr($ATTACHMENT$,-4,4)='.sma')?>Attachments: $ATTACHMENT$</div><?endif?><?endif?> but this disappear all attached files. Then I noticed: Code Attachments: filename.sma(1Kb) but it didn't work again can someone help me to do it? thanks and sorry for my English. |
This isn't related to uCoz, this is related to coding knowledge. We do not
need to teach or explain obvious things. And why are you trying to hide a specific extension? Trying to trick users? They have rights to see what they are downloading or viewing. [... With uCoz since December 2 2007 ...]
|
I have forum for AMXX (cs 1.6 plugins. .sma is code which will be compiled to .amxx) and some people don't want to let people to read code, so we read it, compile and upload like .amxx (compiled). If there is some mistakes we will tell author what can be changed. thanks anyway
|
| |||
| |||