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)

warringtonpl 09-12-2011 04:03 PM

Hi there

First of all the script is great and i love it. However i would like to make some changes for my forum as i don't need all what is provided by the script. For example is there any way to turn the auction off i don't really need it as i said? I have noticed as well that a lot people on my forum want to give a things to someone for free so i was wondering if it would be possible to make it working. At the moment the script is not allow price 0 to be posted so they can't give anything for free.

Thanks
Slav

k6rikko 09-12-2011 05:39 PM

Hi again :) was trying the charaset change in the php but doesnt work too. Language want change <.< was testing both character sets UTF-8 / Windows .... . Any change to change the language manual ? I mean where can i change the english words by hand ? Anyone knows the template file or however ? Its very important for me, have many thanks @ all

Greets Rikko:rolleyes:

|Jordan| 09-12-2011 06:41 PM

Where can i disable specific classified types? (i only want one type to be used).

Also, can i edit a classified type? There's a bunch of fields i dont want visible.

stationar 09-13-2011 12:19 AM

Quote:

Originally Posted by k6rikko (Post 2244976)
Any change to change the language manual ?

From own experience, language change steps:

1. Copy folder "languages" from "microclassifieds/datagrid" to forum root.

2. Open phpmydatagrid.class.php in microclassifieds/datagrid/class, find "var $sqlcharset" and assign a charset value there. This is for datagrid only.

3. In AdminCP>>Microclassifieds>>General Options change "Grid Interface Language" to your own language (the file must be present in languages folder from step 1)

3. Go to "Languages and Phrases" and translate all phrases. (some phrases are listed twice, so you want to translate both)

VBUsers 09-13-2011 05:44 AM

can members convert money into points and use points to buy stuff on the site instead of $ directly?

Christos Teriakis 09-13-2011 06:26 AM

Hello,

I was out of home for some days. You can address any complain to my ...daughter who wanted some short vacations:D Difficult to say "No" to her, as most fathers to their daughters, I want to believe:rolleyes:

Mike, could you please update that file with the bugs so I can work on these bugs today?

Chris

vb50kgpoo 09-13-2011 12:33 PM

When I go to the classifieds.php page, I get page errors;

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 8 Sep 2011 06:30:21 UTC

Message: Object doesn't support this property or method
Line: 482
Char: 473
Code: 0
URI: http://www.domain.tld/microclassifie...es/jqueryUI.js

Can you advise?
:confused:

maineGuy72 09-13-2011 12:45 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245180)
Hello,


Mike, could you please update that file with the bugs so I can work on these bugs today?

Chris

this is the most current list of unfixed bugs and fixes that need to be added. there is a lot of requests for changes or how to's but no other issues i see. if yo have questions PM me

Christos Teriakis 09-13-2011 01:20 PM

Quote:

Originally Posted by maineGuy72 (Post 2245308)
this is the most current list of unfixed bugs and fixes that need to be added. there is a lot of requests for changes or how to's but no other issues i see. if yo have questions PM me

Thank you very much Mike. Really appreciate your help. By the way, I've upload in the main post manual for Datagrid, for those who want to make any changes.

Chris

qpurser 09-13-2011 01:37 PM

Hey Chris,
of course you deserved a couple days vacation!!!
I just guess a couple of us were freaking out where you are..lol

Anyways I posted a couple issues but to make it easier for you let me put them together here:
  • When an item is sold and both members write a review the review never shows up. The rating seems to work.
  • Carousel is not working even when activated in the CP
  • Something I need: Some members give away items for free. Van we have the option to set the price to zero?

Thanks again for your hard work
Michael

Christos Teriakis 09-13-2011 01:59 PM

Quote:

Originally Posted by qpurser (Post 2245331)
Hey Chris,
of course you deserved a couple days vacation!!!

The problem is that my daughter was caring to have ....free vacations, as she is already 31yo. But you know "Daddy is paying....":D

Quote:

Originally Posted by qpurser (Post 2245331)
I just guess a couple of us were freaking out where you are..lol

Too old to say that I'm young, ....too young for RIP :D

Quote:

Originally Posted by qpurser (Post 2245331)
Anyways I posted a couple issues but to make it easier for you let me put them together here:
  • When an item is sold and both members write a review the review never shows up. The rating seems to work.

  • Check if the cronjob is working. Reviews are activating with the help of the cron job when the time frame for review has expired, or before it if both sides has post review.

    Quote:

    Originally Posted by qpurser (Post 2245331)
  • Carousel is not working even when activated in the CP

  • Maybe there is a conflist with other jquery library. Can't you see anything, or you can see the photos one below the other? In this case the carousel stylesheet is missing or didn't load.

    Quote:

    Originally Posted by qpurser (Post 2245331)
  • Something I need: Some members give away items for free. Van we have the option to set the price to zero?

An easy way to do this is to modify the microclassifieds_addedit_item template. Find and remove:
Code:

  if(!isNaN(document.forms["vbform"].price.value) == 0) {
      alert('{vb:var vbphrase.microclassifieds_error_price_number}');
      return false;
  }else if(document.forms["vbform"].price.value ==0){
      alert("{vb:var vbphrase.microclassifieds_error_price_zero}");
      return false;
  }

Its nearly on the top of the template, around line 10. Removing it the price can be left 0.

Chris

Thanks again for your hard work
Michael[/QUOTE]

Christos Teriakis 09-13-2011 02:02 PM

Quote:

Originally Posted by Antique-Swords (Post 2245305)
When I go to the classifieds.php page, I get page errors;

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 8 Sep 2011 06:30:21 UTC

Message: Object doesn't support this property or method
Line: 482
Char: 473
Code: 0
URI: http://www.domain.tld/microclassifie...es/jqueryUI.js

Can you advise?
:confused:

Give us a link to your page, or copy and paste the content of line 482 (Right click on the page to see the code).

Chris

qpurser 09-13-2011 02:07 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245341)
Check if the cronjob is working. Reviews are activating with the help of the cron job when the time frame for review has expired, or before it if both sides has post review.

We can see you are back..Replies within minutes!!!!

How do I check if the cron job is working?

maineGuy72 09-13-2011 02:19 PM

Quote:

Originally Posted by qpurser (Post 2245331)
Hey Chris,
of course you deserved a couple days vacation!!!
I just guess a couple of us were freaking out where you are..lol

Anyways I posted a couple issues but to make it easier for you let me put them together here:
  • When an item is sold and both members write a review the review never shows up. The rating seems to work.
  • Carousel is not working even when activated in the CP
  • Something I need: Some members give away items for free. Van we have the option to set the price to zero?
Thanks again for your hard work
Michael

i thought i answered you a few pages back about the 0 price. maybe i am the one getting old

Christos Teriakis 09-13-2011 02:22 PM

Quote:

Originally Posted by qpurser (Post 2245347)
We can see you are back..Replies within minutes!!!!

How do I check if the cron job is working?

This is support that you need to ask at vB.com:D. Goto to admincp-> Scheduled Task-> Schedule Task Manager. Find the task "microCLASSIFIEDS Cleanup". There is a button "Run now". Clicked it. Wait to see "done" or if any error message appears. If it's done, check the reviews.

Chris

qpurser 09-13-2011 02:30 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245351)
This is support that you need to ask at vB.com:D. Goto to admincp-> Scheduled Task-> Schedule Task Manager. Find the task "microCLASSIFIEDS Cleanup". There is a button "Run now". Clicked it. Wait to see "done" or if any error message appears. If it's done, check the reviews.

Chris

I did this and got the message:
Fatal error: Call to a member function query_first() on a non-object in /home/tcmasorg/public_html/forums/includes/cron/microclassifieds_cron.php on line 345

Line 345 in my cron.php says:
$sqluser = $db->query_first("SELECT username FROM ".TABLE_PREFIX."user WHERE userid=$userid LIMIT 1");

maineGuy72 09-13-2011 02:58 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245351)
This is support that you need to ask at vB.com:D. Goto to admincp-> Scheduled Task-> Schedule Task Manager. Find the task "microCLASSIFIEDS Cleanup". There is a button "Run now". Clicked it. Wait to see "done" or if any error message appears. If it's done, check the reviews.

Chris

i ran it and i get nothing. i checked the logs for that cron and it was blank

maineGuy72 09-13-2011 03:07 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245351)
This is support that you need to ask at vB.com:D. Goto to admincp-> Scheduled Task-> Schedule Task Manager. Find the task "microCLASSIFIEDS Cleanup". There is a button "Run now". Clicked it. Wait to see "done" or if any error message appears. If it's done, check the reviews.

Chris

i ran it after comment out the msg_body line and it deleted all my ads

qpurser 09-13-2011 03:15 PM

Quote:

Originally Posted by maineGuy72 (Post 2245365)
i ran it after comment out the msg_body line and it deleted all my ads

I didn't comment out anything but now I am getting several PM's saying my ad expired and was deleted

maineGuy72 09-13-2011 03:17 PM

Quote:

Originally Posted by qpurser (Post 2245369)
I didn't comment out anything but now I am getting several PM's saying my ad expired and was deleted

check your classifieds and hope you have a recent backup

maineGuy72 09-13-2011 03:18 PM

I HIGHLY recommend everyone disables the cron and backup your database until this is resolved

qpurser 09-13-2011 03:19 PM

Quote:

Originally Posted by maineGuy72 (Post 2245370)
check your classifieds and hope you have a recent backup

We are running a test server and it is not that important for now.

Just wondering why I get the error message when running the cron job and why it doesn't update my reviews. Nothing shows up

maineGuy72 09-13-2011 03:27 PM

there is a bunch of people running it on there live server (like me) so its important that dont run it

qpurser 09-13-2011 03:37 PM

Quote:

Originally Posted by maineGuy72 (Post 2245376)
there is a bunch of people running it on there live server (like me) so its important that dont run it

Sorry about that.
I didn't mean it in a bad way and probably came over the wrong way.

I thought you were replying to me because I was getting those error messages.

Michael

maineGuy72 09-13-2011 03:39 PM

oh no it didnt come come across bad i just want people to get the point. the last thing we need it a bunch of upset people posting that they are pissed cause all of their ads are gone. lucky me i had a backup 2 days ago

duketxboy 09-13-2011 03:53 PM

Quote:

Originally Posted by maineGuy72 (Post 2245385)
oh no it didnt come come across bad i just want people to get the point. the last thing we need it a bunch of upset people posting that they are pissed cause all of their ads are gone. lucky me i had a backup 2 days ago

lmk when it's safe to downloaded the updated version:D:(

maineGuy72 09-13-2011 03:55 PM

Quote:

Originally Posted by duketxboy (Post 2245399)
lmk when it's safe to downloaded the updated version:D:(

as long as you disable the scheduled task you should be fine. i am sure chris will have it fixed shortly

qpurser 09-13-2011 04:06 PM

Quote:

Originally Posted by maineGuy72 (Post 2245385)
oh no it didnt come come across bad i just want people to get the point. the last thing we need it a bunch of upset people posting that they are pissed cause all of their ads are gone. lucky me i had a backup 2 days ago

Hey Mike,
on a side note:

On your site do the "reviews" show up in the users profile?

maineGuy72 09-13-2011 04:19 PM

Quote:

Originally Posted by qpurser (Post 2245409)
Hey Mike,
on a side note:

On your site do the "reviews" show up in the users profile?

to be honest i havent tried them yet. later this afternoon i will check it out

shanef 09-13-2011 04:25 PM

Quote:

Originally Posted by shanef (Post 2242388)
i have it set for Max Concurrent Active Ads 50 and currently a user has only about 7 but she is now getting the message

You're trying to add a new ad, or to activate an old one, but this is not permitting from your usergroup's settings. Please contact administrator to ask how you can upgrade, or deactivate, delete, mark as sold another Ad to free up your space.

any help would be great ty

Christos Teriakis 09-13-2011 04:26 PM

Quote:

Originally Posted by qpurser (Post 2245357)
I did this and got the message:
Fatal error: Call to a member function query_first() on a non-object in /home/tcmasorg/public_html/forums/includes/cron/microclassifieds_cron.php on line 345

Line 345 in my cron.php says:
$sqluser = $db->query_first("SELECT username FROM ".TABLE_PREFIX."user WHERE userid=$userid LIMIT 1");

Please use the attached file. In some cases I let $db-> while in cronjobs needs the full $vbulletin->db

Chris

Christos Teriakis 09-13-2011 04:29 PM

Quote:

Originally Posted by qpurser (Post 2245369)
I didn't comment out anything but now I am getting several PM's saying my ad expired and was deleted

If it deleted any Ads, be sure that these ads was to be deleted before. But never do something if you don't know what you're doing. Which line did you deleted?

Chris

Christos Teriakis 09-13-2011 04:32 PM

Quote:

Originally Posted by shanef (Post 2245421)
any help would be great ty

This point is something that I've checked many times for my own use and it works. I also checked when someone belongs to different usergroups so to check and get the maximum allowed.

Chris

shanef 09-13-2011 04:33 PM

so you dont have any ideas or suggestion then?

Christos Teriakis 09-13-2011 04:34 PM

Quote:

Originally Posted by maineGuy72 (Post 2245402)
as long as you disable the scheduled task you should be fine. i am sure chris will have it fixed shortly

there is no reason to deactivate the tasks. If there is an error in a cronjob it just dosen't works or works partial (as in this case).

Chris

qpurser 09-13-2011 04:34 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245422)
Please use the attached file. In some cases I let $db-> while in cronjobs needs the full $vbulletin->db

Chris

Thanks Chris.
This one doesn't give this error anymore but there was another error in it I fixed:

On line 247 there was a missing bracket
It should be like this:
$msg_body .= $classified["title"];
The bracket behind title" was missing

Now if you can solve the issue with the reviews not showing up I think I will be all set and give you some peace..lol

maineGuy72 09-13-2011 04:34 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245426)
If it deleted any Ads, be sure that these ads was to be deleted before. But never do something if you don't know what you're doing. Which line did you deleted?

Chris

i didnt delete a line i commented out line 345

Code:

$msg_body .= ''.$itemtitle.''
this is only a message line and should have no effect on deletion

Christos Teriakis 09-13-2011 04:37 PM

Quote:

Originally Posted by shanef (Post 2245429)
so you dont have any ideas or suggestion then?

Double check the usergroup permissions. Sometimes we're seeing 5 thinking that is 50. Also there is a possibility the value of 50 to be messed. If she has 7 concurent ads, change her usergroup permissions to 8 and check if it works. If yes then set again 50.
Check if this user has pending to activate ads. They also count towards.

Chris

qpurser 09-13-2011 04:41 PM

Quote:

Originally Posted by ChrisTERiS (Post 2245430)
there is no reason to deactivate the tasks. If there is an error in a cronjob it just dosen't works or works partial (as in this case).

Chris

Yep. I think you are right.
My cron.php didn't work properly until you gave me the fixed one.
Now it is working properly and it just deletes the ones who expired or were sold which didn't happen before

Just my guess

maineGuy72 09-13-2011 04:44 PM

my apologize chris for over reacting. it appears that upgrading for 4 to 5 the item end date didnt translate well. the system seems to think that all my ads are set to expire when they are really fine. i will have to manually edit all the items to a new end date

sorry again for jumping to conclusions.


All times are GMT. The time now is 09:28 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.02634 seconds
  • Memory Usage 1,859KB
  • 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
  • (32)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