In China, tipping is now accepted by tourist guides and bus drivers. Hotel porters will usually happily accept a tip.
Tipping is still not accepted in most restaurants and hotels, although it is common in the top-class hotels and restaurants. So ask the guide whether a tip is necessary and how much. Sometimes it may be part of the ritual that any gift or tip will, at first, be firmly rejected.