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.
good eveningweird is the line the other I can not findI have not the line <p class="name"> <osc_item_contact_name php echo ()?> <p>Code: [Select]Part 2 Modify Themes2.1 Modify oc-content/themes/bender/item-sidebar.phpunderCode: [Select] <h2><?php _e("Contact publisher", 'bender'); ?></h2> <p class="name"><?php echo osc_item_contact_name(); ?><p>add this to show phone numberCode: [Select] $phoneuser = osc_item_contact_phone(); if ($phoneuser != "") { ?> <p>Phone: <?php echo $phoneuser; ?></p> <?php } ?>I am not here understands what I do right? I am French
Part 2 Modify Themes2.1 Modify oc-content/themes/bender/item-sidebar.phpunderCode: [Select] <h2><?php _e("Contact publisher", 'bender'); ?></h2> <p class="name"><?php echo osc_item_contact_name(); ?><p>add this to show phone numberCode: [Select] $phoneuser = osc_item_contact_phone(); if ($phoneuser != "") { ?> <p>Phone: <?php echo $phoneuser; ?></p> <?php } ?>
<?php if( osc_item_user_id() != null ) { ?> <p class="name"><?php _e('Name', 'bender') ?>: <a href="<?php echo osc_user_public_profile_url( osc_item_user_id() ); ?>" ><?php echo osc_item_contact_name(); ?></a></p> <?php $phoneuser = osc_item_contact_phone(); if ($phoneuser != "") { ?> <p>Phone: <?php echo $phoneuser; ?></p> <?php } ?>
Hello everyone! I need some help here... I don't know exactly what went wrong, the item sidebar disappears and i get the following error: Parse error: syntax error, unexpected '}' in /oc-content/themes/bender/item-sidebar.php on line 45Any clues??
<?php } ?>
Hi byteGator,I have added the phone number field following the exact steps you have indicated. Everything works fine, i can add the phone number when i post a new ad, but the number does not appear in the sidebar as expected. Also, i get an error (please see attachment) instead of the registered user phone number. I'm using version v 3.2.2 where the instructions and the code in item-sidebar.php are a little bit different from what you have posted. Please can you help me to correct this problem?Thank you.