Re: New major version of Osclass released - v8
« Reply #30 on: March 09, 2022, 08:07:03 AM »
If else osc_is_web_user_logged_in() ...

Thanks for reply .. I have checked in item.php there is report listing..
but where i have to write this code  - here is code

<div id="report" class="noselect">
          <a href="#" onclick="return false;">
            <i class="fas fa-exclamation-circle"></i>
            <?php _e('Report listing', 'delta'); ?>
          </a>

          <div class="cont-wrap">
            <div class="cont">
              <a id="item_spam" class="reports" href="<?php echo osc_item_link_spam() ; ?>" rel="nofollow"><?php _e('Spam', 'delta') ; ?></a>
              <a id="item_bad_category" class="reports" href="<?php echo osc_item_link_bad_category() ; ?>" rel="nofollow"><?php _e('Misclassified', 'delta') ; ?></a>
              <a id="item_repeated" class="reports" href="<?php echo osc_item_link_repeated() ; ?>" rel="nofollow"><?php _e('Duplicated', 'delta') ; ?></a>
              <a id="item_expired" class="reports" href="<?php echo osc_item_link_expired() ; ?>" rel="nofollow"><?php _e('Expired', 'delta') ; ?></a>
              <a id="item_offensive" class="reports" href="<?php echo osc_item_link_offensive() ; ?>" rel="nofollow"><?php _e('Offensive', 'delta') ; ?></a>
            </div>
          </div>
        </div>
« Last Edit: March 09, 2022, 08:09:26 AM by Sanjay Srivastava »

*

MB Themes

Re: New major version of Osclass released - v8
« Reply #31 on: March 09, 2022, 08:22:07 AM »
@Sanjay
Something like.
Code: [Select]
<div id="report" class="noselect">
  <a href="#" onclick="return false;">
    <i class="fas fa-exclamation-circle"></i>
    <?php _e('Report listing''delta'); ?>
  </a>

  <div class="cont-wrap">
    <div class="cont">
      <?php if(!osc_is_web_user_logged_in()) { ?>
        <em><?php _e('You must be logged in to report listing''delta'); ?></em>
      <?php } else { ?>
        <a id="item_spam" class="reports" href="<?php echo osc_item_link_spam() ; ?>" rel="nofollow"><?php _e('Spam''delta') ; ?></a>
        <a id="item_bad_category" class="reports" href="<?php echo osc_item_link_bad_category() ; ?>" rel="nofollow"><?php _e('Misclassified''delta') ; ?></a>
        <a id="item_repeated" class="reports" href="<?php echo osc_item_link_repeated() ; ?>" rel="nofollow"><?php _e('Duplicated''delta') ; ?></a>
        <a id="item_expired" class="reports" href="<?php echo osc_item_link_expired() ; ?>" rel="nofollow"><?php _e('Expired''delta') ; ?></a>
        <a id="item_offensive" class="reports" href="<?php echo osc_item_link_offensive() ; ?>" rel="nofollow"><?php _e('Offensive''delta') ; ?></a>
      <?php ?>
    </div>
  </div>
</div>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: New major version of Osclass released - v8
« Reply #32 on: March 09, 2022, 08:49:23 AM »
Thanks for your help. Its working ..  :) :) :)

Re: New major version of Osclass released - v8
« Reply #33 on: March 09, 2022, 09:18:38 AM »
One more thing can i know who report the product?

*

MB Themes

Re: New major version of Osclass released - v8
« Reply #34 on: March 09, 2022, 10:01:42 AM »
Sorry did not get your question
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: New major version of Osclass released - v8
« Reply #35 on: March 10, 2022, 08:18:12 AM »
means - If any user visit any product and click on "Report Listing" for spam or duplicate or ... . So can i know the user details that who is reporting information about product ..

As Person "A" has a Product "X" and Person "B"  (registered user) click on Report Listing -Spam . Then can i know Person "B" is reporting for that Product "X"



Thanks

*

MB Themes

Re: New major version of Osclass released - v8
« Reply #36 on: March 10, 2022, 03:14:24 PM »
Osclass does not store reported contact details.
I think it is not needed at all.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: New major version of Osclass released - v8
« Reply #37 on: March 11, 2022, 05:33:36 AM »
Ok.. and many thanks for your Previous Help..

*

MB Themes

Re: New major version of Osclass released - v8
« Reply #38 on: March 11, 2022, 07:28:48 AM »
@Sanjay
Welcome ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Lopetoms

  • *****
  • 253 posts
  • HOla como estan
Re: New major version of Osclass released - v8
« Reply #39 on: May 12, 2022, 07:11:50 PM »
hello i need help now intalled OSCLASS 8.0.2 and when change name CATEGORY no is SAVED why?
hostoki.com

*

MB Themes

Re: New major version of Osclass released - v8
« Reply #40 on: May 12, 2022, 07:31:01 PM »
Please create own topic, there is no reason to post such questions into anouncement topic.
Also you have not added any details, error log, query log, steps for reproduction, php version, db version...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots