Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mike

Pages: [1] 2
1
Geo Location Redirection / Re: Intesting plugin
« on: March 23, 2018, 02:41:46 AM »
@orisa

your question is really nice. but this script will not work for subdomain.

If you will check popular sites like : https://craigslist.co.in/ then this will redirect to city wise but if you will go with citywise subdomain of this site. then it will stay on same city subdomain not redirect to others.


2
Message plugin is work on mobile theme or not ??

I think message plugin will not work with mobile plugin.. i am also using mobile theme for my site.. and some plugins are not working..

3
I need my website homepage sections to be increase for each category apart from the premium and latest listings sections currently on my homepage. I installed veronika theme and I need someone to help me out. Thanks as await your response.

Try below code and change CATEGORY_ID from your original category id like 1,2,3,4,....

Quote
<?php osc_query_item("category=<CATEGORY_ID>");
if( osc_count_custom_items() == 0) { ?>
    <p class="empty"><?php _e('No Listings', 'modern') ; ?></p>
<?php } else { ?>
    <table border="0" cellspacing="0">
         <tbody>
            <?php $class = "even"; ?>
            <?php while ( osc_has_custom_items() ) { ?>
             <tr class="<?php echo $class. (osc_item_is_premium()?" premium":"") ; ?>">
                    <?php if( osc_images_enabled_at_items() ) { ?>
                     <td class="photo">
                        <?php if( osc_count_item_resources() ) { ?>
                            <a href="<?php echo osc_item_url() ; ?>">
                                <img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="75" height="56" title="<?php echo osc_item_title(); ?>" alt="<?php echo osc_item_title(); ?>" />
                            </a>
                        <?php } else { ?>
                            <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" alt="" title=""/>
                        <?php } ?>
                     </td>
                    <?php } ?>
                     <td class="text">
                         <h3><a href="<?php echo osc_item_url() ; ?>"><?php echo osc_item_title() ; ?></a></h3>
                         <p><strong><?php if( osc_price_enabled_at_items() ) { echo osc_item_formated_price() ; ?> - <?php } echo osc_item_city(); ?> (<?php echo osc_item_region();?>) - <?php echo osc_format_date(osc_item_pub_date()); ?></strong></p>
                         <p><?php echo osc_highlight( strip_tags( osc_item_description() ) ) ; ?></p>
                     </td>                                       
                 </tr>
                <?php $class = ($class == 'even') ? 'odd' : 'even' ; ?>
            <?php } ?>
        </tbody>
    </table>
<?php }; ?>

I tried this code for bender and zara theme and its work well.

I hope it will work on your site

4
you will check your header.php or head.php then edit that meta title in php and put that manual words or use some code. if  you have knowledge thats good otherwise talk to Rackons live Support they will provide you best teamviewr/ Anydesk support and solve your issue .

5
Other Questions Related to Osclass / Re: Cannot Install Theme !!
« on: February 18, 2018, 08:52:11 AM »
please unzip your theme zip in your desktop then check may be in that theme zip folder they have provide you plugin with that theme. so in that zip has two folder , 1 for theme, and 2nd for plugins. so you just again zip only theme folder then try to upload . then check your theme.

6
Other Questions Related to Osclass / Re: Fake Traffic on Website
« on: February 18, 2018, 08:39:32 AM »
Hi

I have one website online based on osclass, in awstate traffic shows approx. 25000 visitors per day but actual traffic is around 300 visitors per day. My hosting company says my website is consuming too much resources therefore i must go for higher hosting plan.

I think my website is getting fake traffic i do not know what the problem is this.

Can someone suggest me solution to be integrated on .htaccess file

Thank you.

So you need captcha plugin for your site, may be your site have spamer or bots. so robots.txt file and captcha plugin for stop thats type of spamer or bots. its not original visitors on your site. and not to gain any benefit from thats type of visitors

7
Other / Re: I need to add a coupon /discount link from mysite
« on: February 03, 2018, 07:18:27 AM »
@robert

You need to buy Make Offer Plugin  for
Quote
consumers come  to my site and  claim offers from the seller.

but for 2nd requirement, its really good we will do work on that:
Quote
Only a buyer with a coupon will get discount.I should be able  to activate to a specific seller.

8
Suggestions / Re: Possibility of follow users and sellers
« on: January 23, 2018, 03:46:59 AM »
Its just simple code for put the item sold . so plugin can not make for that.

And we tried for followers also but its function not working. so we are trying for that.

9
Suggestions / Re: Possibility of follow users and sellers
« on: January 22, 2018, 09:52:04 AM »
@jancor

Quote
You need to query tables t_item, t_item_veronika, restrict results on logged in user and sum rows where i_sold = 1

like below :

Quote
select count(v.i_sold) from prefix_t_item i, prefix_t_item_veronika v where i.pk_i_id = v.fk_i_item_id and i.fk_i_user_id = ' . osc_logged_user_id() . '

its for item sold

10
Suggestions / Re: Possibility of follow users and sellers
« on: January 22, 2018, 09:45:39 AM »
@jancor ,

I have some solution for that, if you agree then you will use it.

Item for sold, and item for sale may be it will be do easily. but i am not confirm for other 2 options.

11
General Discussions / Re: Redundant Hostnames error
« on: January 01, 2018, 01:38:20 AM »
you are receiving the redundant hostname notification it means that Google Analytics is tracking your domain www.example.com and example.com independently. This means that your pages will be split across two URLs even if they provide the same content.

For example, considering the URL of this post, Google Analytics would be tracking these 2 as a different page.
www.example.co/redundant-hostnames-google-analytics
example.co/redundant-hostnames-google-analytics
You can prevent this by consolidating both domains into one.

Before proceeding, you have to decide if you preferred to show your domain with or without WWW. There are a few technical differences but in general, it is only a matter of personal preference.



Step 1: Quick Fix for Redundant Hostnames With a Filter in Google Analytics

Redundant Hostnames in Google Analytics
To fix the notification "redundant hostnames" in Google Analytics:

a) Go to the admin section.
b) Click on Filters on the 3rd column VIEW, then click the red button +Add Filter.
c) Enter "Consolidate hostnames" as name and select Custom for filter type
d) From the radio button list select Search and replace (you might need to scroll a little).how-to-fix-the-redundant-hostname-error-in-google-analytics
e) Configure the filter depending on how you want your hostname to appear.
Converting WWW to non-www
Filter Field: Hostname
Search String: ^www\.
Replace String: leave it empty
Converting non-www to WWW
Filter Field: Hostname
Search String: ^yourdomain\.com$
Replace String: www.yourdomain.com

 f) Save your filter and continue to the next part (You can click verify this filter before saving to have a quick glance of how it will work)
This will solve the redundant hostname in Google Analytics, however, your site will still have 2 separate URLs for each page, so I recommend you to follow the second step.


Step 2: Fix Redundant Hostnames With 301 Redirects COPY LINK

This part of the guide is more technical. The following configuration files are sensitive so it is important to make a backup before making any changes. If you can't locate your files or you don't fell comfortable editing them ask your web developer or hosting provider, they should be able to help you without a problem.

Note: Creating these redirections will also help search engine bots to crawl your website more efficiently.

Fix Redundant Hostnames for Apache Server - .Htaccess
To access your .htaccess file, you should go to the root directory in your Cpanel "yourdomain.com/cpanel". Sometimes you have to check "show hidden files".

Once you locate the file add the following lines at the bottom.

Redirect WWW to Non-Www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
Redirect Non-Www to WWW
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
Fix Redundant Hostnames for Nginx
Nginx is a little more complex than the htaccess. Once you locate the configuration file add the following lines:

Redirect WWW to Non-Www
server {
  server_name www.example.com;
  rewrite ^/(.*)$ http://example.com/$1 permanent;
}
Redirect Non-Www to WWW
server {
  server_name example.com;
  rewrite ^/(.*)$ http://www.example.com/$1 permanent;
}
Fix Redundant Hostnames With WordPress/PHP
If for any reason you can't access your configuration files you can use PHP, this is less efficient than the other two.

Redirect WWW to Non-Www
 <?php
    if ($_SERVER&#91;'HTTP_HOST'&#93; == 'www.example.com'){
       header("Location: http://example.com".$_SERVER&#91;'REQUEST_URI'&#93;);
    }
?>
Redirect Non-Www to WWW
<?php
   if ($_SERVER&#91;'HTTP_HOST'&#93; != 'www.example.com'){
      header("Location: http://www.example.com".$_SERVER&#91;'REQUEST_URI'&#93;);
   }
?>
Step 3: What to Do After Consolidating Your Hostnames COPY LINK

Independently from the method you used, once you have made the necessary changes, go to your Google Analytics click in the redundant hostname notification and click on the blue text "Check Again"

Google Analytics Notifications Check Again - redundant hostnames

This will change the status to pending verification

Google Analytics Notification Pending Verification - redundant hostnames
And after GA confirms that everything it's ok the notification will change to resolved.

Google Analytics Notifications Resolved - redundant hostnames

12
@muratbora  - I really like your idea.

Rackons Team please create this type of plugin then i will buy for my Site. I really excited for this plugin , and please develop soon .

When you will complete then please inform me .

13
Others / Re: placing a banner in footer section
« on: December 06, 2017, 05:59:43 AM »
Put this code :

<img src="http://bigmarket.co.tz/oc-content/themes/veronika/images/bigmaket_banner.png"/>

@robert

its correct and working ,

and just basic knowledge of html so i dont think so that no one knows this coding. its very simple.

14
thanks for quick reply, i will try to follow your steps.

and let me tell you.

15
I am new on this forum, so please can you tell me , how to install osclass theme with my old database ?

I have already website with osclass but i want to change my domain with new theme. but same old database.

so please help me.

Pages: [1] 2