![]() |
New posts icon 1 Attachment(s) Not sure if this is a bug or by design. The new post / last post arrow icon on the far right side of showcat page does not change between nonewpost.gif and lastpost.gif to indicate which categories have had new ads listed since my last visit. This function worked in previous PP licenses I've had and I see the function is still included in pp-inc.php around line #1619 but my previous installs were all integrated with vBulletin so I'm not sure if this is supposed to work on a stand alone install of classifieds or if a forum is used to track viewed ads. |
They do change one has yellow arrow one does not. at least they work for me when I test |
That's what I thought but neither my temporary unaltered test install or my modified live version have ever changed from the grayed out arrow. I just checked reef talk and viper alley and neither of them show any yellow arrows either and it's been a little while since I visited either. It's not a big deal but I'm also not convinced it's working correctly, at least as a stand-alone install. |
well I will double check but the code is right here Code: Content visible to verified customers only. |
The code you posted is an exact match to what I've downloaded, I've checked that display new post indicator is set to yes and that yes is actually entered in the database for displaynew in the settings table. I have also double checked that both nonewposts.gif and lastpost.gif are on my server and that the images are correct. I have tried uploading as one user and then logging back in as another and I have also emptied the laston table... but still no yellow arrow from my posts or from my users posts. It doesn't affect the use of the classifieds but it would be nice to have as things get busier. |
To actually place a last on entry for a category in the laston table you need to view a category. |
I've replaced the nonewpost.gif with one with a red arrow and kept the lastpost.gif yellow arrow as is. That will at least add a bit of colour to the icon for now and if it starts working for me at some point in the future I will still have a new post indicator. |
yeah I will keep doing testing but I am unaware of any change. The way it works is how I outlined. If you visit your gallery and never enter a category it will not work. The code has not changed and it seems to work for me but I need to use multiple browsers etc to make sure all logins are separate and I have seen it work. |
I never thought of the multiple browsers to test with. I'll check that out this evening. |
Not a problem if I find anything I will comment in this thread. |
Fresh install of 4.21 with a build date of Oct 26 and new posts indicator still does not work. Works fine in gallery version of script. |
The code is exactly the same as the gallery product for that feature in fact the only code difference between the products is a variable name. My test site works so maybe some more info about your install. Are you sure you actually have set the option is display new post indicator in admin settings? |
Quote:
|
Your looking at the catrow function in pp-inc.php and you will see it is exactly the same except for the variables $isonphoto and $isonproduct. All the code does is load an alternate icon. |
I'm sure it is the same but there is something different in the process. No worries. I will find it now that I have a current benchmark to reference. |
The code is exactly the same of that I am sure it is all handled by the catrow function. It works for me I would need to see your database as you need to look for issues with what dates are there. I mean as long as the last product in a category has a date larger than the laston time that a user has recorded for a category they visit then $isonproduct is active and you will see the new product indicator. The code is very easy to follow and there are no coding errors. Take note you actually have to view a category or product in a category because your laston time is recorded. ;) That is where I would check in the laston table the dates of the laston times for a user in a category. |
I am not seeing a yellow arrow either ... under Index Options, Display new products indicator on index? = Yes But no yellow arrow has displayed. Let me know what I can do to allow the yellow arrow to indicate a new post. thx |
My suggestion would be to actually see what is on the laston table. The yellow icon is only going to show for a category where your laston time is before the actual lastproduct of the uploaded ad in that category. |
Laston table works just fine. The error is in PP-inc around line 1616 or so including in the last build of 4.21. Mary... in pp-inc change the following line Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
wow good catch I looked the code up and down but guess I should have put on the reading glasses. ;) Very tiny typo but that would do it. |
| All times are GMT -5. The time now is 12:28 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0