Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by kriskoyk on October 27, 2026, 10:15:22 AM »
I have removed this field, along with the checkbox. I hope its removal doesn't cause any problems.
42
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by MB Themes on October 27, 2026, 10:09:21 AM »
That's the point of that field - let owner/developer to implement it if wanted and there is no need to change database for that.
43
Beta Osclass Theme / Re: Display email on the user profile
« Last post by MB Themes on October 27, 2026, 10:08:21 AM »
Osclas does not have such option, email is usually not shown due to spam risk
44
Beta Osclass Theme / Display email on the user profile
« Last post by kriskoyk on October 26, 2026, 02:37:23 PM »
When posting an ad, there is an option to specify whether or not the user's email address should be displayed. If "yes" is selected, this email should also appear on the user's profile—but how can this be done?
Also, is there any other easy way for the user to choose whether or not the email address used for registration appears on their profile?
45
There is an easier way. In the theme's head.php, change the following:
Code: [Select]
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php echo meta_title(); ?></title>
<meta name="title" content="<?php echo osc_esc_html(meta_title()); ?>" />
<?php if( meta_description() != '' ) { ?><meta name="description" content="<?php echo osc_esc_html(meta_description()); ?>" /><?php } ?>
<?php if( osc_get_canonical() != '' ) { ?><link rel="canonical" href="<?php echo osc_get_canonical(); ?>"/><?php } ?>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 01 Jul 1970 00:00:00 GMT" />
<?php if( !osc_is_search_page() )  { ?>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<?php } ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

With this:

Code: [Select]
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<?php
$current_locale 
= osc_current_user_locale(); 

// Define a secondary dynamic title and description based on the language. The primary language is set via the ADMIN panel. 
if ($current_locale == 'en_US') {
$custom_title = 'domain.com  | xxxxxxx '; 
$custom_desc  = 'Find what you are looking for'; 
} else {
$custom_title = meta_title(); 
$custom_desc  = meta_description(); 
}
?>


<title><?php echo $custom_title; ?></title>
<meta name="title" content="<?php echo osc_esc_html($custom_title); ?>" />

<?php if( !empty($custom_desc) ) { ?>
<meta name="description" content="<?php echo osc_esc_html($custom_desc); ?>" />
<?php } ?>

<?php if( osc_get_canonical() != '' ) { ?><link rel="canonical" href="<?php echo osc_get_canonical(); ?>"/><?php } ?>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 01 Jul 1970 00:00:00 GMT" />
<?php if( !osc_is_search_page() )  { ?>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<?php } ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
46
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by kriskoyk on October 21, 2026, 11:41:17 AM »
Regarding the phone field, you should re-examine it. Neither registered nor unregistered users can enter information into it, as it does not appear anywhere. It is visible only in the administration (ADMIN) area.
47
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by MB Themes on October 20, 2026, 10:45:04 AM »
field for phone number is as follows
Code: [Select]
    <?php if(osc_item_contact_phone() != '' && osc_item_show_phone()) { ?>
      <p class="phone bld"><span><?php _e('Phone', 'sigma'); ?>:</span> <?php echo '<a href="tel:' . osc_item_contact_phone(true) . '">' . osc_item_contact_phone(false) . '</a>'; ?></p>
    <?php } ?>
48
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by kriskoyk on October 16, 2026, 11:31:37 PM »
It’s a field for a phone number. How do I integrate it into the BETA theme?
49
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by MB Themes on October 16, 2026, 03:17:45 PM »
If you mean "other contact", it's open field that may or may not be integrated in theme.
50
General discussion / Re: Product Downloads Are Now Permanent
« Last post by NexCalco on October 16, 2026, 11:51:31 AM »
Great update! This makes managing purchased products much easier.
Pages: 1 ... 3 4 [5] 6 7 ... 10