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)

Christos Teriakis 09-18-2011 07:51 AM

Quote:

Originally Posted by mgcom (Post 2247419)
not sure if it has been mentioned or getting worked on but on the 2nd page of submitting a thumbnail the thumbnail cropper does not work, in fact no images are displaying with the ads, i've even uploaded 60X60 images and still nothing.

Do i need to chmod some folder or something ?

Yes. The following directories must be cmod 777:
microclassifieds/photos/
microclassifieds/photos/thumbs/
microclassifieds/photos/tmp/
microclassifieds/files/ (for attachments)

Chris

hsoen 09-18-2011 08:12 AM

Quote:

Originally Posted by ChrisTERiS (Post 2247426)
Yes. The following directories must be cmod 777:
microclassifieds/photos/
microclassifieds/photos/thumbs/
microclassifieds/photos/tmp/
microclassifieds/files/ (for attachments)

Chris

Hi Chris,

Sorry to ask you a basic question.

May I know where do the classified product images uploaded by users stored? Is it in vbulletin mysql database (for image attachments)? or Is it in microclassifieds/files/ (for attachments), i.e. forum file directory?

Christos Teriakis 09-18-2011 10:19 AM

Quote:

Originally Posted by hsoen (Post 2247430)
Hi Chris,

Sorry to ask you a basic question.

May I know where do the classified product images uploaded by users stored? Is it in vbulletin mysql database (for image attachments)? or Is it in microclassifieds/files/ (for attachments), i.e. forum file directory?

All uploads (photos and attachments) are storing in the web space, ignoring your vB settings.

Chris

RC-Central 09-18-2011 11:31 AM

PM sent.

qpurser 09-18-2011 12:27 PM

Morning Chris,
The newest version rocks and almost everything is solved now.

I just found something with the "datagrid"
** I looked up the datagrid manual and it says in the manual to have the datagrid using the whole width of the screen you have to set this: $objGrid -> liquidTable = false;
I changed it in your phpmydatagrid.class.php from false to true but that didn't change anything.

**For some reason the "condition" text (new/used) doesn't show up in the datagrid.
This is the code you have from the latest classifieds.php:

$objGrid-> FormatColumn("newused","".$vbphrase["microclassifieds_condition"]."", "5", "30", 1, "80", "center", "select:1_".$vbulletin->options["microclassifieds_new_item"].":2_".$vbulletin->options["microclassifieds_used_item"]."");
$arrConditions = array("['adtype']==3" => "['buynow']",
"['adtype']!=3" => "['price']"

** If you look in the screenshot below the datagrid. It shows my "body" background I am using in the site instead of just the plain white background.

vb50kgpoo 09-18-2011 12:56 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247404)
You can't resolve this problem as there is not problem. You're trying to do something that the program is not supporting. Similar to ask the program to prepare a cup of coffee.

If you still count it as a problem, just uninstall it.

Chris

??????????????????????? ouch !!!!!!!!!!!!!!!!!!!!!!!!!!

Chris
It is a problem, but say it is not and to tell me to uninstall it........!
If it is not an issue with the add-on, then tell me what I am doing wrong?!
If I can not set 3 different max. days for the 3 options, why allow me to do this in admin (user permissions)?
If I have made a problem, tell me what I have done!
Can anyone else help, please?

Again
I have 3 options; "For Sale", "Wanted", "Auction"

Problem 1;
When I click to make / post a classified, I always get the "For Sale" option showing in the classified form, even when I click "Auction" (from the drop down menu that appears when I click to post a classified). Though the correct max. number of days shows.

Problem 2;
I have different max. days set for each of the 3 options. If I change the pull down menu on the classified posting form from, say, "Auction" to "Wanted", the max. days for Auctions remains, even though the max. days for "Wanted" is different. A user then thinks they can enter the wrong max. number of days.

Anyone? https://vborg.vbsupport.ru/images/smilies/frown.gif

Christos Teriakis 09-18-2011 05:29 PM

Quote:

Originally Posted by qpurser (Post 2247497)
Morning Chris,
The newest version rocks and almost everything is solved now.

I just found something with the "datagrid"
** I looked up the datagrid manual and it says in the manual to have the datagrid using the whole width of the screen you have to set this: $objGrid -> liquidTable = false;
I changed it in your phpmydatagrid.class.php from false to true but that didn't change anything.

Wrong. linguidTable must be true and below you need to setup the width. eg width = '100%'. But the problem is not there. You need to set the width of every column ($objGrid-> FormatColumn). It's the value before the aligment. The problem is that this version supports only fixed width. To be honest, I've a version which support related width (eg 20 means 20% and not 20px as this one), but as I've paid the author to make this custom work for me (also make column title clickables for changing ordering and removed the arrows on the left), I will include this updated version only with my PRO version.

Quote:

Originally Posted by qpurser (Post 2247497)
**For some reason the "condition" text (new/used) doesn't show up in the datagrid.
This is the code you have from the latest classifieds.php:

$objGrid-> FormatColumn("newused","".$vbphrase["microclassifieds_condition"]."", "5", "30", 1, "80", "center", "select:1_".$vbulletin->options["microclassifieds_new_item"].":2_".$vbulletin->options["microclassifieds_used_item"]."");
$arrConditions = array("['adtype']==3" => "['buynow']",
"['adtype']!=3" => "['price']"


** If you look in the screenshot below the datagrid. It shows my "body" background I am using in the site instead of just the plain white background.

Typo as usally. Its vbphrase an not vboptions at:
"select:1_".$vbphrase["microclassifieds_new_item"].":2_".$vbphrase["microclassifieds_used_item"]."");

Chris

qpurser 09-18-2011 05:43 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247575)
Wrong. linguidTable must be true and below you need to setup the width. eg width = '100%'. But the problem is not there. You need to set the width of every column ($objGrid-> FormatColumn). It's the value before the aligment. The problem is that this version supports only fixed width. To be honest, I've a version which support related width (eg 20 means 20% and not 20px as this one), but as I've paid the author to make this custom work for me (also make column title clickables for changing ordering and removed the arrows on the left), I will include this updated version only with my PRO version.



Typo as usally. Its vbphrase an not vboptions at:
"select:1_".$vbphrase["microclassifieds_new_item"].":2_".$vbphrase["microclassifieds_used_item"]."");

Chris

Thanks Chris.
Grid works now
Could you figure out why I have the blue background below the grid?

Is the PRO version already available? If so is there a link to it?

Christos Teriakis 09-18-2011 05:58 PM

Quote:

Originally Posted by qpurser (Post 2247578)
Could you figure out why I have the blue background below the grid?

Any link???

Thomasmp 09-18-2011 06:21 PM

Hello, thank you very much for this modification.

I am testing a test forum.

there is a chance that we can get the language file to translate it into Spanish?

Christos Teriakis 09-18-2011 06:26 PM

Quote:

Originally Posted by Antique-Swords (Post 2247507)
??????????????????????? ouch !!!!!!!!!!!!!!!!!!!!!!!!!!

Chris
It is a problem, but say it is not and to tell me to uninstall it........!
If it is not an issue with the add-on, then tell me what I am doing wrong?!

First of all I'm not unfriendly. Actually I'm very polite. But when you're ignoring my replies, just because they're not what you expecting, is not my fault.

Once more I'll tell you what you're doing wrong. You've setupe as categories:
  • For Sale
  • Wanted
  • Auctions
That's WRONG. These can't be categories. These are DEFINITIONS of a Classified. eg categories can be: Automotives with subcategories Cars, Motos, Bikes etc. Then every post classified in these categories (or subcategories), have a DEFINITION of what type they are: eg Car for Sale, or Wanted Car etc.

So, all build in settings in the program are for the build in definitions. eg 30 days max duration for Sale Ads, or 10 days for Auctions etc. It's impossible to assign settings for categories, simple because I don't know what every user will setup as categories.

After all, you need to change the categories structure. If you change them, then everything will works as it has planed to work.

Thank you
Chris

qpurser 09-18-2011 06:33 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247586)
Any link???

I posted a screenshot in post #1165

If you need more info I can PM you the credentials to the site

Christos Teriakis 09-18-2011 06:41 PM

Quote:

Originally Posted by Thomasmp (Post 2247595)
Hello, thank you very much for this modification.

I am testing a test forum.

there is a chance that we can get the language file to translate it into Spanish?

here is the file with the phrases. It's from the PRO version, but it's not a problem other than you'll need to translate some more phrases. Sorry but I don't have the Free version installed.

Chris

Christos Teriakis 09-18-2011 06:48 PM

Quote:

Originally Posted by qpurser (Post 2247600)
I posted a screenshot in post #1165

If you need more info I can PM you the credentials to the site

In the Free version I'm using datagrid in iframes. Later on I found a way to include them in vB templates, but this will be only in the pro version. If I remember well I've setup the iframe's height to 1800, to avoid showing the side scrollbar. You can change this height (unfortunatelly iframe does not supports height="100%") to a lower value (eg 500), but if the listing is higher then you'll see the side scrollbar.
As an alternate way you can search and find how you can change the iframe's background color. Honestly, right now, I don't remember. I don't know even if this css definition is supporting. iFrames are hell at all.

Chris

Paul M 09-19-2011 09:37 AM

Inappropriate posts removed. Behave please.

Halfhidden 09-19-2011 11:01 AM

Hi Chris... I'm getting this database error can you throw any light on it please.
I'm running the latest version of clasified and VB 4.1.5L1

Quote:

Database error in vBulletin 4.1.5:

Invalid SQL:
SELECT * FROM VB_microclassifieds_items WHERE id= LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Error Number : 1064
Request Date : Monday, September 19th 2011 @ 11:30:37 AM
Error Date : Monday, September 19th 2011 @ 11:30:38 AM
Script : http://picturepenzance.co.uk/microcl...udes/votes.php
Referrer : http://picturepenzance.co.uk/microcl...udes/votes.php
IP Address : 80.40.134.120
Username : Unregistered
Classname : vB_Database
MySQL Version :
Thanks for your help :)

maineGuy72 09-19-2011 03:49 PM

Quote:

Originally Posted by Halfhidden (Post 2247811)
Hi Chris... I'm getting this database error can you throw any light on it please.
I'm running the latest version of clasified and VB 4.1.5L1



Thanks for your help :)

what did you click to get the error?
can you send the link to where it was?

i tried and clicked on the vote up for my site and it worked fine

Christos Teriakis 09-19-2011 04:53 PM

Quote:

Originally Posted by Halfhidden (Post 2247811)
Hi Chris... I'm getting this database error can you throw any light on it please.
I'm running the latest version of clasified and VB 4.1.5L1



Thanks for your help :)

itemid= ?? ....Missing value. There is a slight possibility to have a server slow down, but if this error still exists, I'll visit your site.

Chris

Christos Teriakis 09-19-2011 04:53 PM

No bugs anymore? I started feeling ....lonelly:D

RC-Central 09-19-2011 05:13 PM

PM sent

Halfhidden 09-19-2011 05:45 PM

Hi Chris thanks for the reply I was out for a few hours and have only just seen this reply.
The error seems to be generated by visitors who seem to be voting (I guess spam bots) I've had about 20 or so today.

Here's a screen shot of the permissions for guests... So I think I'm set up ok.

Christos Teriakis 09-19-2011 05:56 PM

Quote:

Originally Posted by Halfhidden (Post 2247964)
Hi Chris thanks for the reply I was out for a few hours and have only just seen this reply.
The error seems to be generated by visitors who seem to be voting (I guess spam bots) I've had about 20 or so today.

Here's a screen shot of the permissions for guests... So I think I'm set up ok.

I just visited your site and voted without to get any error. So, as you said, most probably are the bots causing this problem. I think that it will be better to add one more permission "Allow votes", so you can prohibit quests from voting.

Chris

Halfhidden 09-19-2011 06:02 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247968)
I just visited your site and voted without to get any error. So, as you said, most probably are the bots causing this problem. I think that it will be better to add one more permission "Allow votes", so you can prohibit quests from voting.

Chris

I got the error:
I'll send this to you via PM as it contains your IP address in the sql error. And I don't want to publish your IP on the forum :)

If you check out the IP address you'll see yours

maineGuy72 09-19-2011 06:03 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247968)
I just visited your site and voted without to get any error. So, as you said, most probably are the bots causing this problem. I think that it will be better to add one more permission "Allow votes", so you can prohibit quests from voting.

Chris

good idea
can i also get a pop up window that the admin can write in the classified rules? and info about becoming a premium member?
thanks

DannyITR 09-19-2011 07:11 PM

I'd like to translate the phrases into french. How do I use that xml file to do it? I looked at it but I don't understand.

hsoen 09-20-2011 01:17 AM

Quote:

Originally Posted by ChrisTERiS (Post 2247946)
No bugs anymore? I started feeling ....lonelly:D

You don't feel lonely.......

After bug fixed, you can add more features and enhance the functions.

People here will give you good feedback and suggestion after using your fantastic mod.

Keep up the good work! Thank you.

Christos Teriakis 09-20-2011 03:51 AM

Quote:

Originally Posted by Halfhidden (Post 2247971)
I got the error:
I'll send this to you via PM as it contains your IP address in the sql error. And I don't want to publish your IP on the forum :)

If you check out the IP address you'll see yours

No, that wasn't error. I mean in code. It was error because I clicked the link in your post before, which was pointing directly to vote.php

Chris

Halfhidden 09-20-2011 07:57 AM

Quote:

No, that wasn't error. I mean in code. It was error because I clicked the link in your post before, which was pointing directly to vote.php
I see. So is it possible to hide the vote for banned and guests in the next update please :)
This really is a very useful mod indeed.

Ramsesx 09-20-2011 09:04 AM

Quote:

Originally Posted by ChrisTERiS (Post 2241902)
This URL is wrong (from the older versions). Do you remember where did you found it?

Chris

Don't know if you got an answer to this, if yes please ignore this post.
I found it in the phrase $vbphrase[microclassifieds_no_more]

JimL 09-20-2011 09:15 AM

Is it possible to get a if-statement on the main photo size? if height > width then max height=, else max width=. Problem now is that if you post a picture that's 300x2000 it will look really, really weird.

hsoen 09-20-2011 11:27 AM

Quote:

Originally Posted by ChrisTERiS (Post 2247459)
All uploads (photos and attachments) are storing in the web space, ignoring your vB settings.

Chris

It would be good if you can create an option for storing all uploads (photos and attachments) in mysql database, just like what vBulletin did.

This option is useful for shared hosting server as the web space (i.e. no of nodes) is limited.

Thank you for your consideration.

shanef 09-20-2011 01:34 PM

5-1-6 I am still getiing pm's about expired ads that have not expired yet

K4GAP 09-20-2011 01:35 PM

Installed on 4.1.5 works great!

I only have one issue. My style is dark and a lot of the settings for this mod appear to have written for light styles. Where can I find the settings to change items to work with a dark style?

Christos Teriakis 09-20-2011 01:46 PM

Quote:

Originally Posted by shanef (Post 2248209)
5-1-6 I am still getiing pm's about expired ads that have not expired yet

Yes, working on the cron file, I found the part of code which send the PMs out of the normal place. I'll post an update in a few hours.

Chris

Christos Teriakis 09-20-2011 01:50 PM

Quote:

Originally Posted by GaryT (Post 2248210)
Installed on 4.1.5 works great!

I only have one issue. My style is dark and a lot of the settings for this mod appear to have written for light styles. Where can I find the settings to change items to work with a dark style?

The easiest way is to rename the directory darkgray which exists at microclassifieds/datagrid/skins/ to bluesky. But before you need to rename the existing bluesky to somethingelse ...eg _bluesky

Chris

maineGuy72 09-20-2011 02:13 PM

guess ur not bored anymore chris

shanef 09-20-2011 02:50 PM

Quote:

Originally Posted by ChrisTERiS (Post 2248213)
Yes, working on the cron file, I found the part of code which send the PMs out of the normal place. I'll post an update in a few hours.

Chris

Thanks for all you work too, can you place a link for those of us that wish to make donation.

Christos Teriakis 09-20-2011 05:53 PM

Quote:

Originally Posted by shanef (Post 2248237)
Thanks for all you work too, can you place a link for those of us that wish to make donation.

Well about donations. I think that more than me, Mike (maineGuy72) deserves them. Supports the thread on the best way and gives me free time to work on the project. So, if its for donation, I highly recomment to donate to him.

As for me, hope in a couple of days (how many times I said it?:D), I'll have my site ready, for those who want to buy the Pro version, or just the Brand Free version.

But in any case, this version will be continue supporting here, and by the chance I want to thank all of you for your nice words.

Chris

qpurser 09-20-2011 05:54 PM

You complained it was quiet here for you now almost all bugs are fixed?

I would like to change the font size of the text in the browsegrid.

Whish variable do I have to set or can it be done in the css?

Thanks
Michael

DannyITR 09-20-2011 06:33 PM

Bug find: When posting a new ad, the tooltip next to "autopost" is the same as the tooltip for "keywords". Just a matter of putting the correct phrase.


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