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)

k6rikko 09-25-2011 10:25 AM

Pleae reply to my posting above about the datagrid width :( Holy VB.org members do me this favor ^^ its really important for me

maineGuy72 09-25-2011 10:44 AM

Quote:

Originally Posted by k6rikko (Post 2249854)
Pleae reply to my posting above about the datagrid width :( Holy VB.org members do me this favor ^^ its really important for me

https://vborg.vbsupport.ru/showpost....postcount=1205

qpurser 09-25-2011 11:09 AM

I just noticed on your site you released version 6.0.
Is this the PRO version now.
Can you tell us a little what the main differences are?

Michael

Nevermind... I purchased the V6 in the mean time.
Very very nice!!!!

Bergler 09-25-2011 08:49 PM

Are you able to charge for a classified with this program?

Christos Teriakis 09-26-2011 08:26 AM

Quote:

Originally Posted by Bergler (Post 2250032)
Are you able to charge for a classified with this program?

It follows the usergroup permissions. If you want your users to pay for posting Ads, you must add a usergroup (eg Sellers) and allow only this usergroup to post.

Chris

Christos Teriakis 09-26-2011 08:44 AM

Quote:

Originally Posted by k6rikko (Post 2249543)
I have uploaded a picture here from the classified browsing view.
It doesnt looks very well on the page.
The white background etc.

You need to edit 2 templates:

1.- microclassifieds_searchgrid
2.- microclassifieds_browsegrid

Find:
Code:

<body bgcolor="#FFFFFF">
and replace with:
Code:

<body>
or change FFFFFF with your own background color


Quote:

Originally Posted by k6rikko (Post 2249543)
Whats the name and where can i find the right css or template to change the dg size (width) and fix it to the white space size ?

Has replied many times. You don't need to edit any css, but the classifieds.php.

Search for:
Code:

$objGrid-> FormatColumn
It appears 10 times between the lines: 1441-1454. You need to change the values in red as in example below:
Code:

$objGrid-> FormatColumn("logo","".$vbphrase["microclassifieds_photo"]."", "25", "0","0","60","center","imagelink:microclassifieds/photos/thumbs/%s:loadAd(%s),id");
$objGrid-> FormatColumn("adtype","".$vbphrase["microclassifieds_grid_adtype"]."", "40", "50", "0", "30", "center", "image:microclassifieds/images/adtype%s.png");
$objGrid-> FormatColumn("title","".$vbphrase["microclassifieds_title"]."", "13", "20", 0, "100","left", "link:loadAd(%s),id");
$objGrid-> FormatColumn("categoryid","".$vbphrase["microclassifieds_category"]."", "5", "1", 0, "70", "left", "related:select name from ".TABLE_PREFIX."microclassifieds_categories where id=%s");
$objGrid-> FormatColumn("userid","User", "5", "30", 2, "5", "left");
$objGrid-> FormatColumn("username","".$vbphrase["microclassifieds_seller"]."", "5", "30", 0, "70", "left", "link:loadUser(%s),userid");
$objGrid-> FormatColumn("newused","".$vbphrase["microclassifieds_condition"]."", "5", "30", 1, "55", "left", "select:1_".$vbulletin->options["microclassifieds_new_item"].":2_".$vbulletin->options["microclassifieds_used_item"]."");
    $arrConditions = array("['adtype']==3" => "['buynow']",
                          "['adtype']!=3" => "['price']"
    );
$objGrid-> FormatColumn("starts","".$vbphrase["microclassifieds_post_at"]."", "5", "30", 0, "50", "right");
$objGrid-> FormatColumn("price","".$vbphrase["microclassifieds_price"]."", "5", "30", 0, "60", "right", "money:".$vbulletin->options["microclassifieds_curpre"]."");
$objGrid-> FormatColumn("location","".$vbphrase["microclassifieds_location"]."", "5", "10", "0", "65", "left");

In general is the value before the aligment (eg "center"). Please note that this is a fix width (px) and not related (%).

Chris

fwulfers 09-26-2011 12:10 PM

When someone clicks Report It for a classified ad and fills out the message, what is supposed to happen?

JimL 09-26-2011 03:59 PM

I get this on a new install on a forum upgraded vb3.8.2 to vb4.1.6

Uncaught TypeError: Object #<Object> has no method 'imgAreaSelect'
(anonymous function)usercp_classifieds.php:328
D.event.handle
D.event.add.handle

no users are able to add a selection to the image for thumbnail-cropping. Any ideas?

Christos Teriakis 09-26-2011 04:58 PM

Quote:

Originally Posted by JimL (Post 2250256)
I get this on a new install on a forum upgraded vb3.8.2 to vb4.1.6

Uncaught TypeError: Object #<Object> has no method 'imgAreaSelect'
(anonymous function)usercp_classifieds.php:328
D.event.handle
D.event.add.handle

no users are able to add a selection to the image for thumbnail-cropping. Any ideas?

Please try to re-upload the files, especially those in the directory microclassifieds/includes/
Most probably someone didn't uploaded at all, or uploaded with errors.

Chris

Christos Teriakis 09-26-2011 05:00 PM

Quote:

Originally Posted by fwulfers (Post 2250179)
When someone clicks Report It for a classified ad and fills out the message, what is supposed to happen?

Nothing changes to the Ad, but the Ad is appears on the moderator options Reported Ads. The moderator then can decide to reject the report or delete the Ad.

Chris


All times are GMT. The time now is 11:11 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.02449 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_code_printable
  • (6)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