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)

Bram H 08-29-2011 04:54 PM

Did anyone noticed a huge drop in forum speed after installing this modification? 4.1.4 board + vbseo here

ndahiya 08-29-2011 04:55 PM

Search behavior suggestion:
in a searchable field, if it is a dropdown, can we allow for selecting multiple values? alternatively, have both a min/max boxes for neumerical.
for eg: if i have age as a field, want to be able to search a range... thanks

ndahiya

ps: still patiently waiting for a "free" classifieds type (without prices etc)... thx

maineGuy72 08-29-2011 04:56 PM

Quote:

Originally Posted by pumarjr (Post 2239402)
Is there a status update on the pm bug yet? Also, is there any way for the listing to show multiples of the same item, like, 10 of the same item?

apply this at own risk and only on ver 5.1.3
classifieds.php
line 2757 delete the // Send PM section and // and now the routine work to inform those who are watching this ad

insert this code
Code:

    // Send PM
    $pmSystem = new vB_DataManager_PM( $vbulletin );
    $pnTitle = $title;
    $pnText = $bodytext;
    $pmSystem->verify_message($pnText);
    $pmSystem->verify_title($pnTitle);
    $pmSystem->set('fromuserid', $visitorid);
    $pmSystem->set('fromusername', $visitor_username);
    $pmSystem->set('title', $pnTitle);
    $pmSystem->set('message', $pnText);
    $pmSystem->set('dateline', TIMENOW);
    $pmSystem->set('iconid', 4);
    $pmSystem->set_recipients($item["username"], $botpermissions);
    $pmSystem->save();
   
    $vbulletin->url="classifieds.php?" . $vbulletin->session->vars['sessionurl'] . "do=main";
    eval(print_standard_redirect('microclassifieds_action_ok', true, true));
}

the PM to people watching the ad is giving the error not the PM to seller which explains why the PM was sent.
i personally dont see a reason to PM other people if someone PM's the seller so i will leave it out.
Chris if you could please PM me here about it so i can explain it. thanks

maineGuy72 08-29-2011 05:24 PM

Quote:

Originally Posted by ndahiya (Post 2239510)
still patiently waiting for a "free" classifieds type (without prices etc)... thx

edit microclassified_addedit_item for any or all styles

remove
Code:

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

this will allow a zero to be entered for a price. words can not be used in this field.
best option is zero price

Bram H 08-29-2011 05:57 PM

How do i build a cms or forum block? It seems that I cannot type in the bar where you set the title?

maineGuy72 08-29-2011 05:58 PM

chris
product-classifieds.xml v 5.1.3 line 1532
the link needs to be usercp_classifieds
not classifieds
also the itemid variable is not working in the link

maineGuy72 08-29-2011 06:00 PM

Quote:

Originally Posted by Bram H (Post 2239537)
How do i build a cms or forum block? It seems that I cannot type in the bar where you set the title?

i have notified chris about the title block being greyed out

maineGuy72 08-29-2011 06:04 PM

Quote:

Originally Posted by pumarjr (Post 2239402)
On my site the users can post their ad, but cannot go back to it and edit it. The only way they can edit their post is to check the radio bubble for can edit posts. Then they can edit their post along with everyone else's. Is there a status update on the pm bug yet? Also, is there any way for the listing to show multiples of the same item, like, 10 of the same item?

i just released i skipped over your last question. if you use the autopost option the ad will be re-listed if someone clicks the buy option. otherwise once the buy button is clicked it becomes hidden until the seller accepts or rejects the buy. the user can than delete the ad after so many are sold.

maineGuy72 08-29-2011 06:18 PM

Quote:

Originally Posted by Antique-Swords (Post 2239451)
Hi Chris

1) How do I change the navbar title "Classifieds" to something else?

under phrase manager --> microclassifieds
find entry for microclassifieds_classifieds
click edit
in translation box enter the word you want to use

Bram H 08-29-2011 08:06 PM

Quote:

Originally Posted by maineGuy72 (Post 2239545)
under phrase manager --> microclassifieds
find entry for microclassifieds_classifieds
click edit
in translation box enter the word you want to use

Thats odd, I tried the above and it changed for a brief moment and now changed back to classifields again but it shows my edited input in _classifieds :) Magic?

Only stays changed on the classifieds.php page and not in the other areas of the forum and the cms


All times are GMT. The time now is 08:13 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.01827 seconds
  • Memory Usage 1,746KB
  • 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
  • (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