cipf added css to hide parts of user profil when fipf see them

This commit is contained in:
asus
2024-03-31 23:38:04 +02:00
parent 0a30bca907
commit 75205571fe
6 changed files with 80 additions and 5 deletions

View File

@@ -59,18 +59,18 @@ function format_user_info($query, $current_user, $user_id, $if_empty = '') {
* return author page url
*
*/
if ($query === '__author_page__') {
if ($query === '__author_page_url__') {
$output = get_author_posts_url($user_id);
return \CUSTER\return_result($output);
}
/*
* if is special query __user_post__
* if is special query __user_post_url__
* return author page url
*
*/
if ($query === '__user_post__') {
if ($query === '__user_post_url__') {
$output = \CUSTER\find_user_post_url($user_id);
return \CUSTER\return_result($output);
}