Quote:
Originally Posted by pumarjr
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