vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Mary's Classifieds (https://vborg.vbsupport.ru/showthread.php?t=267194)

maineGuy72 09-15-2011 12:04 AM

the cron is scheduled to run every 10 mins so it is possible to get more than one PM per ad

shanef 09-15-2011 01:16 AM

Quote:

Originally Posted by stationar (Post 2246098)
Me too! I have disabled cron job to stop these messages.

lol well atleast its pm's not emails

stationar 09-15-2011 02:07 AM

PM said that the ad was deleted, but in fact, the ad is still active. What exactly the cron job does?

stationar 09-15-2011 02:10 AM

Another issue: I can't set ads to be premium. I check the box, but the item doesn't show as premium, and in database "premium" field is set to "0". Is this a bug, or it has to be enabled somewhere else?

stationar 09-15-2011 02:55 AM

I think, in microclassifieds_cron.php line 194 should be:

$timenow = time() - $grace_period; (currently $timenow = time() + $grace_period; )

Otherwise, it will try to delete ads that have not ended yet.

Christos Teriakis 09-15-2011 05:42 AM

Quote:

Originally Posted by maineGuy72 (Post 2245847)
**update**

if you download and install v 5.1.4. download this file and replace it with the classifieds.php in the zip file

What has this file in difference Mike?

maineGuy72 09-15-2011 10:59 AM

Quote:

Originally Posted by ChrisTERiS (Post 2246202)
What has this file in difference Mike?

both lines 1401 and 1619 should have the microclassifieds/datagrid removed from between the ' '
should look like this
$objGrid -> language(' '.$vbulletin->options["microclassifieds_grid_langcode"].'');

fwulfers 09-15-2011 11:52 AM

Same thing for me with the PMs and had to disable the cron job as there were 100s of PMs. What's the best way to fix this?

maineGuy72 09-15-2011 12:28 PM

Quote:

Originally Posted by fwulfers (Post 2246285)
Same thing for me with the PMs and had to disable the cron job as there were 100s of PMs. What's the best way to fix this?

Try using that file chris uploaded for me to change the expiration date of all the ads.

https://vborg.vbsupport.ru/showpost....&postcount=944

just remember to change the value to the number of days that you want before it expires

fwulfers 09-15-2011 01:16 PM

Thanks Mike and Chris, that seems to have worked with the expiration dates. I must have missed that post.

Christos Teriakis 09-15-2011 01:19 PM

Quote:

Originally Posted by maineGuy72 (Post 2246267)
both lines 1401 and 1619 should have the microclassifieds/datagrid removed from between the ' '
should look like this
$objGrid -> language(' '.$vbulletin->options["microclassifieds_grid_langcode"].'');

Its better to let it as it was and not change the phpmydatagrid.class.php That was which caused the problem. The path were in both files. phpmydatagrid.class.php is a third part file which can be update and loose anything, while in classifieds.php should be always there.

Chris

Christos Teriakis 09-15-2011 01:20 PM

Quote:

Originally Posted by qpurser (Post 2246076)
As I mentioned I got those PM's also but those were all from ads who actually expired but never got deleted because of the con job not running properly. Now it is fixed of course all those expired are getting deleted and those PM's are normal.

If you feel you want to disable the cron job for now just go to:
Scheduled tasks -> scheduled task manager -> look for "microCLASSIFIEDS Cleanup" and disable it by selecting "disable" from the drop-down box

Note when you do this it will disable all tasks it is running and not just the ones with the PM's

Please try importing the attached file and check if reviews appear in user profile.

Chris

qpurser 09-15-2011 01:57 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246300)
Please try importing the attached file and check if reviews appear in user profile.

Chris

Sorry. They don't

Here are the files you requested in your PM. I had to add the .txt extensions otherwise the files arenot accepted for upload.

Christos Teriakis 09-15-2011 03:34 PM

Quote:

Originally Posted by qpurser (Post 2246313)
Sorry. They don't

Here are the files you requested in your PM. I had to add the .txt extensions otherwise the files arenot accepted for upload.

What's the link of your site? Does a guest has access to classifieds?

Chris

qpurser 09-15-2011 03:50 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246365)
What's the link of your site? Does a guest has access to classifieds?

Chris

PM'd you with the credentials

Christos Teriakis 09-15-2011 04:30 PM

Quote:

Originally Posted by qpurser (Post 2246376)
PM'd you with the credentials

Well, combining the details of the data that you sent me with the user details (userid) that I seen in your site, the "Buyer Whois", is correctly not showing the reviews, as even if the seller has reviewed the Buyer, the Buyer hasn't reviewed the seller yet. So the review is hidden till the expiration of time that you've setup for allowing reviews. eg 10 days after the sell date.

Chris

qpurser 09-15-2011 04:36 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246393)
Well, combining the details of the data that you sent me with the user details (userid) that I seen in your site, the "Buyer Whois", is correctly not showing the reviews, as even if the seller has reviewed the Buyer, the Buyer hasn't reviewed the seller yet. So the review is hidden till the expiration of time that you've setup for allowing reviews. eg 10 days after the sell date.

Chris

I did test sales and BOTH have been doing reviews. There might be some old ones where there was only one side reviews.

Here is a screenshot from the DB:

maineGuy72 09-15-2011 04:48 PM

i have the seller and buyer reviews and i have nothing
here is what the dbase looks like for the microclassifieds_order table

qpurser 09-15-2011 04:50 PM

Quote:

Originally Posted by maineGuy72 (Post 2246402)
i have the seller and buyer reviews and i have nothing
here is what the dbase looks like for the microclassifieds_order table

Yep.
Just edited my previous posting with a screenshot also.
Looks like yours

Christos Teriakis 09-15-2011 04:57 PM

Quote:

Originally Posted by qpurser (Post 2246403)
Yep.
Just edited my previous posting with a screenshot also.
Looks like yours

Just in case that there is a typo that I can't see right now, I removed a conditional check, to hide the message "There are no......". If it's a typo it will shows the reviews, or nothing.
Please import the attached file.

Chris

qpurser 09-15-2011 05:14 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246405)
Just in case that there is a typo that I can't see right now, I removed a conditional check, to hide the message "There are no......". If it's a typo it will shows the reviews, or nothing.
Please import the attached file.

Chris

I imported the new one and I can see the text "No reviews etc..." is gone.
Did a test sale again. Both parties reviewed.
Ran the cron job.
From the moment a ran the cron job the "star rating" gets updated but still nothing in the "written reviews" just besides the no review text is gone.

Chris,
I think it is a cron job issue. Maybe there is nothing in there that actually updates those "whois review" stuff in the members profile?

Christos Teriakis 09-15-2011 05:17 PM

Quote:

Originally Posted by qpurser (Post 2246413)
I imported the new one and I can see the text "No reviews etc..." is gone.
Did a test sale again. Both parties reviewed.
Ran the cron job.
From the moment a ran the cron job the "star rating" gets updated but still nothing in the "written reviews" just besides the no review text is gone.

Chris,
I think it is a cron job issue. Maybe there is nothing in there that actually updates those "whois review" stuff in the members profile?

No... something is wrong with code. As long as showrating =1 and buyerid or sellerid = userid they must appear there. I'll check it tomorrow morning. Now is too late for debugging. Needs clear mind.

Chris

maineGuy72 09-15-2011 05:31 PM

any word on the PM issue?

qpurser 09-15-2011 05:32 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246415)
No... something is wrong with code. As long as showrating =1 and buyerid or sellerid = userid they must appear there. I'll check it tomorrow morning. Now is too late for debugging. Needs clear mind.

Chris

Really appreciate this Chris.
This is the only one thing missing from your excellent mod

murekhalir 09-15-2011 05:33 PM

Looking for something similiar but has more features catered to a niche -- do you take freelance jobs?

Drop me a line.

Christos Teriakis 09-15-2011 06:09 PM

Quote:

Originally Posted by maineGuy72 (Post 2246423)
any word on the PM issue?

??? I've corrected something in PMs, in the cron file, which means automatic emails. What's the issue that you're talking about Mike?

Chris

maineGuy72 09-15-2011 06:27 PM

When you click on contact seller or place bid it sends 2 or more PMs the first goes to the seller and the other ones goto people watching the ad. the one to seller works fine the one to the people watching errors out. this is the one i talked with you about before. see error message below

shanef 09-16-2011 12:12 AM

Quote:

Originally Posted by maineGuy72 (Post 2246423)
any word on the PM issue?



I uploaded and ran the mike.php and changed all my ads to 30 days but i am still getting numerous pm's

vb50kgpoo 09-16-2011 05:20 AM

Quote:

Originally Posted by ChrisTERiS (Post 2245699)
Upload this file to your forum directory. Login to your site (fronend) with your admin account. Change the URL to point to ...../mike.php

This file will update all Ads (except Auctions) to expire in 3650 days. If you want to change this value edit the mike.php file and edit the variable $days = at the top.

Chris

Chris, is this to change the max number of days from 15 to something else?
I can not find the number of days setting in admin

Halfhidden 09-16-2011 08:17 AM

Can I just say thanks for all your work and the latest bug fix. This is undoubtedly one of the most important mods Vbulletin has seen for some time.

qpurser 09-16-2011 10:41 AM

Quote:

Originally Posted by Pengzhu (Post 2246564)
How to use premium classified feature?
I ticked premium option and clicked approve, but the Ad is not showing up in the box of premium classified.
Is this a bug?

Did you upgrade to the latest version Chris posted a couple days ago?
I did and it works fine for me. They all show up now in the Premium section

RC-Central 09-16-2011 01:04 PM

Are you able to sell downloadable items with this mod?? I have instructional videos that I sell and I would like to add them to my site for download. I just need to make sure it is only able to be downloaded 1 time per sale and not more.

Christos Teriakis 09-16-2011 01:46 PM

Quote:

Originally Posted by maineGuy72 (Post 2246446)
When you click on contact seller or place bid it sends 2 or more PMs the first goes to the seller and the other ones goto people watching the ad. the one to seller works fine the one to the people watching errors out. this is the one i talked with you about before. see error message below

Hello Mike,

As I don't have any installation with this version to check it, please do it for me. I did some changes in Bids, Contact Seller and Email to Friend.

Chris

Christos Teriakis 09-16-2011 01:50 PM

Quote:

Originally Posted by RC-Central (Post 2246734)
Are you able to sell downloadable items with this mod?? I have instructional videos that I sell and I would like to add them to my site for download. I just need to make sure it is only able to be downloaded 1 time per sale and not more.

No sorry. Why you don't try microCART? It fits the best for your needs.

Chris

Christos Teriakis 09-16-2011 01:51 PM

Quote:

Originally Posted by Halfhidden (Post 2246669)
Can I just say thanks for all your work and the latest bug fix. This is undoubtedly one of the most important mods Vbulletin has seen for some time.

Any "Thanks" is always welcome :-)

Chris

RC-Central 09-16-2011 01:58 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246753)
No sorry. Why you don't try microCART? It fits the best for your needs.

Chris

I get all kinds of errors when using microcart and I am not a coder so I can not tell what I need to do in order to fix it.. :(

Christos Teriakis 09-16-2011 02:07 PM

Quote:

Originally Posted by qpurser (Post 2246424)
Really appreciate this Chris.
This is the only one thing missing from your excellent mod

Try with this file. I found a typo.

Chris

Christos Teriakis 09-16-2011 02:11 PM

Quote:

Originally Posted by RC-Central (Post 2246759)
I get all kinds of errors when using microcart and I am not a coder so I can not tell what I need to do in order to fix it.. :(

PM me some of these errors, and tomorrow morning I'll give a look.

Chris

qpurser 09-16-2011 02:20 PM

Quote:

Originally Posted by ChrisTERiS (Post 2246762)
Try with this file. I found a typo.

Chris

Not working yet.
I just imported the xml you just provided and checked the "override" option
Did a test sale again.
Both reviewed
ran cron jobs
Still get the "As for the moment, nobody reviewed him/her as Seller." in the users profile

Christos Teriakis 09-16-2011 02:28 PM

Quote:

Originally Posted by qpurser (Post 2246768)
Not working yet.
I just imported the xml you just provided and checked the "override" option
Did a test sale again.
Both reviewed
ran cron jobs
Still get the "As for the moment, nobody reviewed him/her as Seller." in the users profile

I assume that:
1.- You're not getting any database errors
2.- That "Value as Buyer" and "Value as Seller" at the top are not zero.
Ok?
Also Seller reviews appear or not?

Chris


All times are GMT. The time now is 12:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03170 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete