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-14-2011 12:21 PM

Quote:

Originally Posted by Goatpod (Post 2245822)
Mike, I couldn't find the wrong spelling!


It looks like phpmydatagrid.class.php is repeating the path. Tried to have a look at phpmydatagrid.class.php but it's locked up!

microclassifieds/datagrid/languages/microclassifieds/datagrid/en.php

see letter in black

Goatpod 09-14-2011 12:28 PM

Quote:

Originally Posted by maineGuy72 (Post 2245827)
microclassifieds/datagrid/languages/microclassifieds/datagrid/en.php

see letter in black

Thanks, Mike, noticed it when I was creating the extra directories :) Couldn't find it in classifieds.php though.

maineGuy72 09-14-2011 12:30 PM

Quote:

Originally Posted by Goatpod (Post 2245829)
Thanks, Mike, noticed it when I was creating the extra directories :) Couldn't find it in classifieds.php though.

line 1401

maineGuy72 09-14-2011 12:32 PM

ok on line 1401 remove microclassifieds/datagrid from between ' ' save and upload
should be ok

qpurser 09-14-2011 12:42 PM

Quote:

Originally Posted by maineGuy72 (Post 2245835)
ok on line 1401 remove microclassifieds/datagrid from between ' ' save and upload
should be ok

Yep. This fixed it.

Hey Mike,
you mentioned yesterday you wanted to have a look at your site to check if "written reviews" are created and show up.
Even now with the new classifieds version they still don't show up.
I ran the cron job a couple times manually but they never show up. Both parties wrote a review.
I have the feeling in the cron job there is actually no coding to update the "reviews" but not sure. Not that good with coding stuff

maineGuy72 09-14-2011 12:43 PM

Quote:

Originally Posted by qpurser (Post 2245841)
Yep. This fixed it.

Hey Mike,
you mentioned yesterday you wanted to have a look at your site to check if "written reviews" are created and show up.
Even now with the new classifieds version they still don't show up.
I ran the cron job a couple times manually but they never show up. Both parties wrote a review.
I have the feeling in the cron job there is actually no coding to update the "reviews" but not sure. Not that good with coding stuff

i will look into it this afternoon and get back to you

maineGuy72 09-14-2011 12:51 PM

**update**

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

maineGuy72 09-14-2011 01:00 PM

Quote:

Originally Posted by qpurser (Post 2245841)
Yep. This fixed it.

Hey Mike,
you mentioned yesterday you wanted to have a look at your site to check if "written reviews" are created and show up.
Even now with the new classifieds version they still don't show up.
I ran the cron job a couple times manually but they never show up. Both parties wrote a review.
I have the feeling in the cron job there is actually no coding to update the "reviews" but not sure. Not that good with coding stuff

i did a test sale and everything worked perfectly. see attached images. only thing i can not find is the writeup i left for the buyer and seller. i will try to locate that

Christos Teriakis 09-14-2011 01:10 PM

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

Mike,

Among the issues that has been fixed was:
Code:

phpmydatagrid.class.php

find:
var+$lngPath+=+"";+

replace:
var+$lngPath+=+"microclassifieds/datagrid/";

This is what I did.

Chris

Christos Teriakis 09-14-2011 01:12 PM

Quote:

Originally Posted by qpurser (Post 2245841)
Yep. This fixed it.

Hey Mike,
you mentioned yesterday you wanted to have a look at your site to check if "written reviews" are created and show up.
Even now with the new classifieds version they still don't show up.
I ran the cron job a couple times manually but they never show up. Both parties wrote a review.
I have the feeling in the cron job there is actually no coding to update the "reviews" but not sure. Not that good with coding stuff

I've corrected it, but don't know if it will works for the old reviews. Hopefully yes. Just wait the first cron run, or run manually the cron.

Chris

maineGuy72 09-14-2011 01:19 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245862)
Mike,

Among the issues that has been fixed was:
Code:

phpmydatagrid.class.php

find:
var+$lngPath+=+"";+

replace:
var+$lngPath+=+"microclassifieds/datagrid/";

This is what I did.

Chris

i went through the messages and that was one of the things that was addressed and it that was listed as a fix so i added it to the list.

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

qpurser 09-14-2011 01:35 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245866)
I've corrected it, but don't know if it will works for the old reviews. Hopefully yes. Just wait the first cron run, or run manually the cron.

Chris

Sorry Chris but it doesn't work.

Just did another test sale. Completed the whole transaction. Both users wrote a review.
Ran the cron job a couple times.
The Rating with the stars gets updated and works fine just the "written review" never gets updated or shows up in the user his profile

maineGuy72 09-14-2011 01:42 PM

i just noticed where the write reviews go. i would never have know to look under seller whois to find the reviews.

qpurser 09-14-2011 01:45 PM

Quote:

Originally Posted by maineGuy72 (Post 2245888)
i just noticed where the write reviews go. i would never have know to look under seller whois to find the reviews.

Yep. That is the place to look for.
As I can see you have no written reviews either.

maineGuy72 09-14-2011 03:45 PM

Quote:

Originally Posted by qpurser (Post 2245893)
Yep. That is the place to look for.
As I can see you have no written reviews either.

i checked the dbase and the reviews are there just not getting pulled from dbase and being displayed. this one is a little out of my league chris will have to fix it. i can see where the info is in the product.xml file just dont know VB code well enough to mess with it

wrang 09-14-2011 03:49 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245695)
I'm very sorry but you can't use this module in that domain. I've sold the rights to a Norgerian company for exclusive use this module in their site for all Scandinavian countries. Please note that this restriction approved by the vB.org administrator team, before posting this mod for free here.

Chris

What happend if i use it anyway:confused:

stationar 09-14-2011 04:06 PM

I had to turn off Microclassifieds cleanup cron job because I kept receiving PMs about ads expired.
Also grid doesn't show in "search".

qpurser 09-14-2011 04:11 PM

Quote:

Originally Posted by stationar (Post 2245938)
I had to turn off Microclassifieds cleanup cron job because I kept receiving PMs about ads expired.

In the previous version the cron job was not running properly for everybody.
If you updated to the one that was posted today the cron job is working now and it is just deleting all the expired ads which were not deleted before

Whity 09-14-2011 04:35 PM

Quote:

Yep
When I select a category to show the datagrid I get this error:

Warning: require(microclassifieds/datagrid/languages/microclassifies/datagrid/en.php) [function.require]: failed to open stream: No such file or directory in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

and

Fatal error: require() [function.require]: Failed opening required 'microclassifieds/datagrid/languages/microclassifies/datagrid/en.php' (include_path='.:/usr/lib/php5') in /homepages/30/xxxxxxxxxxx/V4/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Note: replaced the path yo my files with "xxxxxxxx" just for posting reasons here
open classifieds.php

find
PHP Code:

$objGrid -> language('microclassifies/datagrid/languages/'.$vbulletin->options["microclassifieds_grid_langcode"].''); 

replace

PHP Code:

//$objGrid -> language('microclassifies/datagrid/languages/'.$vbulletin->options["microclassifieds_grid_langcode"].''); 


maineGuy72 09-14-2011 04:48 PM

Quote:

Originally Posted by Whity (Post 2245959)
open classifieds.php

find
PHP Code:

$objGrid -> language('microclassifies/datagrid/languages/'.$vbulletin->options["microclassifieds_grid_langcode"].''); 

replace

PHP Code:

//$objGrid -> language('microclassifies/datagrid/languages/'.$vbulletin->options["microclassifieds_grid_langcode"].''); 


this has already been address and the fix posted

stationar 09-14-2011 04:48 PM

Quote:

In the previous version the cron job was not running properly for everybody.
It keeps sending me PMs about same items again and again. And those items were just posted, and not expired.

dai-kun 09-14-2011 05:06 PM

Quote:

Originally Posted by dai-kun (Post 2242709)
1. I get this error when viewing classified categories and when doing advanced search (basically anywhere that uses the grid):

Warning: mysql_query() [function.mysql-query]: Access denied for user 'user'@'localhost' (using password: NO) in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Warning: mysql_query() [function.mysql-query]: Access denied for user 'user'@'localhost' (using password: NO) in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Also on same page I get uncached template microclassifieds_browsegrid

2. On classified homepage, I get uncached template microclassifieds_category_empty

3. On viewing items and add items page, I get uncached template editor_ckeditor

Thanks

Thanks

Still have this problem after upgrading. Thanks

maineGuy72 09-14-2011 05:12 PM

Quote:

Originally Posted by dai-kun (Post 2245974)
Still have this problem after upgrading. Thanks

are you using mysql or mysqli?
someone posted earlier that they changed the vb config file to mysql it worked fine.

Christos Teriakis 09-14-2011 05:25 PM

Quote:

Originally Posted by wrang (Post 2245933)
What happend if i use it anyway:confused:

Most probably they will issue a lawsuit against you. They own the copyright for these 4 countries. So you're against the international laws for illegal use of copyrighted product.

Chris

qpurser 09-14-2011 05:26 PM

Quote:

Originally Posted by maineGuy72 (Post 2245932)
i checked the dbase and the reviews are there just not getting pulled from dbase and being displayed. this one is a little out of my league chris will have to fix it. i can see where the info is in the product.xml file just dont know VB code well enough to mess with it

Not a pro here either.
I am sure Chris can fix the cron job

dai-kun 09-14-2011 05:43 PM

Quote:

Originally Posted by maineGuy72 (Post 2245975)
are you using mysql or mysqli?
someone posted earlier that they changed the vb config file to mysql it worked fine.

Thanks. I changed database type to mysql from mysqli in my config.php file and that fixed it.

fwulfers 09-14-2011 05:53 PM

Fyi, I just upgraded to 5.1.4 and still getting this message whenusing Contact Seller:

Quote:

Invalid recipient username. Please press the back button, enter the correct username and try again.
There was a fix posted before but appearantly this didn't make it to the newest version.

maineGuy72 09-14-2011 06:03 PM

Quote:

Originally Posted by fwulfers (Post 2245988)
Fyi, I just upgraded to 5.1.4 and still getting this message whenusing Contact Seller:



There was a fix posted before but appearantly this didn't make it to the newest version.

i agree this is still an open issue

fwulfers 09-14-2011 06:15 PM

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

I used this classifieds.php file which fixed the search grid when selecting a category. However, I am getting this error when using Advanced Search:

Quote:

Warning: require(microclassifieds/datagrid/languages/microclassifieds/datagrid/en.php) [function.require]: failed to open stream: No such file or directory in [path]/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24

Fatal error: require() [function.require]: Failed opening required 'microclassifieds/datagrid/languages/microclassifieds/datagrid/en.php' (include_path='.:/usr/lib/php') in /home/saabworl/public_html/microclassifieds/datagrid/class/phpmydatagrid.class.php on line 24
Is this this the same problem dai-kun is having? I am using mysql on my site.

maineGuy72 09-14-2011 06:23 PM

Quote:

Originally Posted by fwulfers (Post 2246001)
I used this classifieds.php file which fixed the search grid when selecting a category. However, I am getting this error when using Advanced Search:



Is this this the same problem dai-kun is having? I am using mysql on my site.

no its a double path error try this file

fwulfers 09-14-2011 06:32 PM

Outstanding, that fixed it. Thanks!

warringtonpl 09-14-2011 06:36 PM

Hi there

Thanks again for quick response regarding my last issue. I have noticed that after update the grid can't show polish fonts anymore, please advice. I can't find where to translate the individual and used items on grid as well.

Thanks
Slav

maineGuy72 09-14-2011 06:39 PM

Quote:

Originally Posted by warringtonpl (Post 2246007)
Hi there

Thanks again for quick response regarding my last issue. I have noticed that after update the grid can't show polish fonts anymore, please advice. I can't find where to translate the individual and used items on grid as well.

Thanks
Slav

sorry i cant help you with that one as i have not messed with the language settings
i would suggest going through some of the post regarding languages to see if any of those help

stationar 09-14-2011 07:00 PM

Quote:

grid can't show polish fonts
Use your old language file, or save current in utf8 coding.
Quote:

I can't find where to translate the individual and used items
They are hard coded in classifieds.php

fwulfers 09-14-2011 07:15 PM

This more a design question than a bug fix/report. I have 9 Searchable extra fields. The Advanced Search grid becomes very wide where you have to scroll from left to right to see them all.

Is it possible to move the search fields/headers from the top of the grid to a sidebar on the left and select only certain fields to be displayed in the result grid? Or display all the standard fields in the result grid only and put the Searchable fields in a side bar. I really like the layout they have on cars.com.

iBaker 09-14-2011 09:25 PM

Is there any way I can lose that grid thing and just have the entries in a category listed one after the other?

If the objective of the grid is so users can sort by a field then the way that it is done in the "Who's Online" is just as good OR have I got the benefits of the grid wrong?

I need to go live with Classifieds urgently and the width of the grid is a fixed width making not usable on a wide screen and I wonder what it would be like on a mobile phone...I know Chris is working on a "get screen resolution" function to fix this but is it extra code that's not really needed when the "Who's Online" method is easier...again I may have this completely wrong and I apologise if I have. :o

So is there any way I can just have the entries in a category listed by say date order (newest first) and just leave it at that so I can get my Classifieds working...thanks for any help!

shanef 09-14-2011 10:09 PM

I to am getting 100's of pm's about ads expiring and i read someone fixed it by changing the config.php.

my vb config.pp is set to mysql and not mysqli

or if you dont know how to fix this issue yet can you tell me how to disable the cron job...ty

qpurser 09-14-2011 10:25 PM

Quote:

Originally Posted by shanef (Post 2246070)
I to am getting 100's of pm's about ads expiring and i read someone fixed it by changing the config.php.
my vb config.pp is set to mysql and not mysqli
or if you dont know how to fix this issue yet can you tell me how to disable the cron job...ty

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

shanef 09-14-2011 10:29 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

we i have to do something there are only about 20 classifieds on the board but i am getting hundred of pm's

stationar 09-14-2011 11:24 PM

Quote:

I to am getting 100's of pm's about ads expiring
Me too! I have disabled cron job to stop these messages.


All times are GMT. The time now is 03:18 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.04900 seconds
  • Memory Usage 1,866KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (33)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