Okay... Not only did you post this on the completely wrong board, you double posted within an 11 minute span when you could've just as easily edited. People will reply when they can, and asking repeatedly for people to "respond soon" isn't going to change that we're not online 24 hours a day. I'm giving you a double warning for this. Please start paying more attention to the rules you claimed to have read, or you will be banned.
As for your question, I'm not sure where you got the idea what sharing your friend code could get you banned. Friend codes can be entered into your profile to display for others - you just need to edit them in yourself in the appropriate text fields. If you want to display your friend codes on trainer cards you make via the Trainer Card Maker, then all you have to do is type it in when prompted during the card making process.
If an email address is set to public view, you can view a poster's email address in their profile, found by clicking their name. How this relates to your question about friend IDs I'm not quite sure, tho.
Feel free to ask more questions, but please don't needlessly spam it =/