Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
paste your icons (User/phone/email -all obaut 22x22px) in images folder of your theme
<div id="sidebar"> <div id="contact"> <p style="clear: left;"> <img src="<?php echo osc_current_web_theme_url('images/user.png') ; ?>" alt="" title="User Profile" style="float:left; margin-right:4px; margin-top:-4px;"> <?php _e("User Profile: ", 'modern') ; ?><a href="<?php echo osc_user_public_profile_url( osc_item_user_id() ); ?>" ><?php echo osc_item_contact_name(); ?></a> </p> <p style="clear: left;"> <img src="<?php echo osc_current_web_theme_url('images/phone.png') ; ?>" alt="" title="Phone" style="float:left; margin-right:4px; margin-top:0px;"> <?php _e("Phone: ", 'modern') ; ?> <?php echo osc_user_phone(); ?> </p> <p style="clear: left;"> <img src="<?php echo osc_current_web_theme_url('images/email.png') ; ?>" alt="" title="eMail" style="float:left; margin-right:4px; margin-top:0px;"> <?php _e("eMail: ", 'modern') ; ?> <?php echo osc_user_email(); ?> </p> <br/> </div> </div>
put the code in item.php, line about -184, before <div id="contact"> <h2><?php _e("Contact publisher", 'modern') ; ?></h2>
<p class="name"><?php _e('Name', 'modern') ?>: <a href="<?php echo osc_user_public_profile_url( osc_item_user_id() ); ?>" ><?php echo osc_item_contact_name(); ?></a></p>and replace it with this code:<p class="name"><?php _e('published by', 'modern') ?>: <?php echo osc_item_contact_name(); ?></p>
<?php if ( osc_user_phone() != '' ) { ?> <p class="phone"><?php _e("Tel", 'modern'); ?>.: <?php echo osc_user_phone() ; ?></p> <?php } ?>and take this code away
<?php View::newInstance()->_exportVariableToView('user', User::newInstance()->findByPrimaryKey(osc_item_user_id())); ?>