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?


All times are GMT. The time now is 07:44 PM.

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.02626 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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