Results 1 to 2 of 2

Thread: Need to update cp_ad_pop_total following ads import

  1. #1
    Thread Starter
    Expired Customer selliott's Avatar
    Join Date
    Jun 2017
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need to update cp_ad_pop_total following ads import

    I've imported multiple ads into the classifieds database using All Import Pro, but I have a problem with the view count on the ads. While viewing the listings page, it shows the imported view count correctly...however, once I view an ad, it resets the count to 1. It appears the problem is there must be two places in the database that are saving the view count ('cp_daily_count' inside 'post_meta' and 'cp_ad_pop_total'). Once the ad is viewed, it adds a row to the cp_ad_pop_total table with a new id, postnum, and postcount. Is there a script out there to run that will copy the imported view count over from cp_daily_count to cp_ad_pop_total?

  2. #2
    Thread Starter
    Expired Customer selliott's Avatar
    Join Date
    Jun 2017
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Import function stopped working after wp update to 3.92
    By russky in forum LinkShare Publisher
    Replies: 9
    Last Post: September 23rd, 2014, 10:34 AM
  2. Replies: 2
    Last Post: March 14th, 2014, 12:57 PM
  3. Index on cp_ad_pop_total recommendation
    By jafo232 in forum Report ClassiPress Bugs
    Replies: 0
    Last Post: February 26th, 2014, 05:42 PM
  4. Replies: 2
    Last Post: October 29th, 2013, 02:56 AM
  5. [SOLVED] Import Bug after 1.3 Update
    By rogerlilley in forum Report Clipper Bugs
    Replies: 6
    Last Post: April 27th, 2012, 01:52 PM