Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Thanks for reply, I have already changed these things.

And website running properly.


I want to know how to change internal links.


for example I have 20 articles.

and in 1 article we write


Also Read: https://ownpetz.com/blog/article/10-amazing-desert-animals-that-survive-without-water-b3220


Also Read: https://ownpetz.com/blog/article/10-animals-whose-ears-cannot-be-seen-b2431


This above display in articles (inside articles)


Is there any option to change ownpetz text to ownlisto??


I talked to support team they said

easiest way is to run replace on given table in mysql and replace old values to new values - if you have static references in articles


how to do this??
22
Beta Osclass Theme / Re: Enable the "Continue" button in the category selection
« Last post by kriskoyk on October 30, 2026, 07:02:07 PM »
It was very simple and was resolved easily!
23
Beta Osclass Theme / Re: Required location fields
« Last post by kriskoyk on October 30, 2026, 06:58:52 PM »
The problem was definitively resolved by removing the add-on, which—for some unknown reason—made entering the location optional.
24
Beta Osclass Theme / Re: Display email on the user profile
« Last post by kriskoyk on October 30, 2026, 06:51:25 PM »
Following your instructions, the issue was resolved; now, if the user wishes, their email appears on their profile.
25
Report bug / [Bug Report - PHP 8.x] Chain of Warnings and broken redirect when delet
« Last post by Alealto1 on October 30, 2026, 05:34:36 PM »
Hi OsclassPoint team,

I would like to report a PHP 8.x bug chain that occurs in oc-admin when deleting a listing (action=delete or bulk_actions=delete_all) if the item ID no longer exists in the database (for example, when double-clicking the "Delete" button in the confirmation modal or refreshing/re-submitting the delete request).

Code: [Select]
Warning: Undefined array key "s_secret" in /oc-admin/items.php on line 191
Warning: Undefined array key "pk_i_id" in /oc-admin/items.php on line 191
Warning: Undefined array key "s_secret" in /oc-includes/osclass/ItemActions.php on line 1383
Warning: Undefined array key "s_title" in /oc-includes/osclass/ItemActions.php on line 1388
Warning: Undefined array key "b_active" in /oc-includes/osclass/model/Item.php on line 1327
Warning: Cannot modify header information - headers already sent by (output started at /oc-includes/osclass/utils.php:2758) in /oc-includes/osclass/core/Cookie.php on line 155
Warning: Cannot modify header information - headers already sent by (output started at /oc-includes/osclass/utils.php:2758) in /oc-includes/osclass/utils.php on line 2772

Thank you for your great work maintaining Osclass!
26
General discussion / Re: How to rewrite the Canonical link?
« Last post by MB Themes on October 30, 2026, 03:33:15 PM »
not really, check few examples about filters, you can condition it and fine-tune.
'index.php?file=agewarning%2Fwarning.php&page=custom' is plugin ajax call
27
General discussion / Re: How to rewrite the Canonical link?
« Last post by Lucky on October 30, 2026, 10:20:59 AM »
Here it is:
https://docs.osclass-classifieds.com/filters-i119
@MB Themes So in your very short answer you mean I need to add this line:

osc_add_filter('canonical_url', 'https://mysite.com/');

to functions.php?

Then I have 2 questions:

1. Which functions.php file? The one in my theme, oc-content/themes/epsilon/functions.php, or another one?

2. Can I replace 'https://mysite.com/' with a variable for my homepage or will that variable also contain the additional 'index.php?file=agewarning%2Fwarning.php&page=custom'? If so, what's the variable name for my homepage?

Thanks.
28
Beta Osclass Theme / Re: Display email on the user profile
« Last post by MB Themes on October 30, 2026, 09:50:13 AM »
- add new column to user table (b_show_email, b_show_phone)
- user_edit/edited/_completed hooks to propagate changes to db
- get value from db and update theme
- add checkbox to user form so user can choose
29
Report bug / Re: Function curl_close() is deprecated
« Last post by MB Themes on October 30, 2026, 09:49:04 AM »
Yes it's pretty annoying as that function was used in each curl.
30
Usually you setup redirects - but in way that oldurl.xyz/a/b/c/d leads to newurl.xyz/a/b/c/d
Update bing & google console.
And hope you get rank & seo back soon.

From osclass point of view, update of config.php should be sufficient, but review also t_preference table to be 100% sure
Pages: 1 2 [3] 4 5 ... 10