PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Bug Reports (http://www.photopost.com/forum/reviewpost-bug-reports/)
-   -   ReviewPost vba cmps module no longer updating after upgrade (http://www.photopost.com/forum/reviewpost-bug-reports/145332-reviewpost-vba-cmps-module-no-longer-updating-after-upgrade.html)

KenDude February 18th, 2011 07:43 AM

ReviewPost vba cmps module no longer updating after upgrade
 
Chuck,
I sent you an email on this one, but in case you didn't get it, here's the problem:

As you know I recently upgraded both my Classifieds section and my ReviewPost to the latest builds. I've run across something that I think was broken in that upgrade but I'm not sure how to fix it.

If you go to my Home page at Planet-9 Home and scroll down you'll see 2 vbadvanced blocks, one for recent articles (reviewpost driven) and one for recent classifieds (classifieds driven).

The one for the classifieds works and shows the latest classified ads.

The one for articles (Reviews) however is now over a month out of date. If you visit the Articles (ReviewPost) section of my website at Main Index - Articles and look there, the latest articles(reviews) do show up correctly on that page.

Any idea why the vbadvanced block is no longer functioning correctly for Reviews? I haven't changed any files or code or anything related to that block.

I compared inc_reviews.php between the version I am using and the version that came in 5.1 and here is the only difference I could find:

My Version says:
$thumbtag = "{$rpdata_dir}/{$pcat}/thumbs/{$product}";

Version 5.1 says:
$thumbtag = "{$rppath}/data/{$pcat}/thumbs/{$product}";

So I made the change to my file to reflect the 5.1 difference.

That had no effect, it is still not showing the most recent articles. Any idea why??

(Update since yesterday - yesterday 2 new articles were posted in ReviewPost on the site, and one of them shows up in the vba block on the home page but the other doesn't - as well as the 2 that were still missing previously - so it isn't completely broken, but it isn't working right either) :)

KenDude February 18th, 2011 07:48 AM

Nope, one of 2 new ones didn't show because there as no thumbnail image for the article, I just added that for the original author and bam it showed up on the home page too in the vba cmps block, so it "appears" to be working again for some reason but I have no idea why it skipped 2 articles (both of which show up in the reviewpost home page and both of which have thumbnails)

I'm going to try editing and saving the 2 articles not showing up to see if that will force them to show up on the home page in the vba block...

KenDude February 18th, 2011 07:53 AM

Nope, editing the missing articles and saving them did not make them show up in the vba cmps block... very strange...

Chuck S February 18th, 2011 08:51 AM

Ken whatever blocks your using on your CMS are not supported by our company as it is not our downloaded code released by us. You would need to look at your custom block query and code to see why things are not pulled.

KenDude February 18th, 2011 08:58 AM

Chuck,
Actually all the block does is call inc_reviews.php from within a shell there's no code involved in the vba module other than calling the file, here is the "code" for the module:

Code:

Content visible to verified customers only.

Chuck S February 18th, 2011 09:15 AM

Okay but the block you are speaking of was not written for the CMS which could be your issue also the supported block only shows approved products and the sort is however the block is set up to sort.

You would have to test out the query and see what results are pulled and most likely modify things to work with the cms.


All times are GMT -5. The time now is 11:27 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97