Yeah, they are as they should be. Something must be stripping out the link. :?
I'll have another look at the code and run some more tests to see if I can identify the issue. You run your classifieds on a subfolder, right?
I've checked and tested this and I've not been able to reproduce this still. I'll ask Fillip H. if he has any ideas why we might get this issue. :?
Em, can you test something for me?
dbtech_classifieds_listing_pm_bought_1_message and dbtech_classifieds_listing_pm_data_1_x
Can you replace the part of the URL in that phrase that is
viewlistng
With:
viewlisting
Let me know if that fixes your issue.![]()
// Buyer Email Data
$subject = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_from_x'], $luser['username']);
$body = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
$pmbody = construct_phrase($vbphrase['dbtech_classifieds_listing_pm_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
// Buyer Email Data
$subject = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_from_x'], $luser['username']);
// $body = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
// $pmbody = construct_phrase($vbphrase['dbtech_classifieds_listing_pm_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
// Test Nachricht
$body = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
$pmbody = construct_phrase($vbphrase['dbtech_classifieds_listing_pm_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_datapm), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
The link works in Watched Items PMs but links back to a blank page
Doesnt work in Buy it Now PMs
Works in Wanted PMs but links back to a blank page
Works in Auction PMs but links back to a blank page...
so it seems the link just does work in the buy it now pms
$domainurl = $vbulletin->options['bburl'] ;
$domainurl = $vbulletin->options['bburl'] . '/dbtclassifieds.php';
Nicely isolated. I've applied the first fix entirely to 1.1.9, the second I've tweaked for those that use a different file names.
Thanks for your help in spotting this Darkside.![]()
// Buyer Email Data
$subject = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_from_x'], $luser['username']);
$body = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode'(<br />', $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
$pmbody = construct_phrase($vbphrase['dbtech_classifieds_listing_pm_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode('<br />', $body_datapm), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
if ($sendemail) vbmail($ouser['email'], $subject, $body, true, ($vbulletin->options['dbtech_classifieds_email_address'] ? $vbulletin->options['dbtech_classifieds_email_address'] : $vbulletin->options['webmasteremail']), '', $vbulletin->options['dbtech_classifieds_email_sender']);
if ($sendpm) CLASSIFIEDS::sendPM($ouser, $subject, $pmbody, 'dbtech_classifieds_email_sender');
// Buyer Email Data
$subject = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_from_x'], $luser['username']);
$body = construct_phrase($vbphrase['dbtech_classifieds_listing_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_data), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
$pmbody = construct_phrase($vbphrase['dbtech_classifieds_listing_pm_bought_1_message'], $domainurl, $ouser['username'], $listing['title'], $listing['listingid'], $luser['username'], implode("\n", $body_datapm), count($listing['offers']), CLASSIFIEDS::$cache['currency'][$listing['currencyid']]['denomination'], $totalprice);
now there is a nother mistake :
View attachment 6318
change in /dbtech/classifields/includes/functions_listings.php the following lines
in this
you just have to change the red sign
after the change it will look like as shown in the picture
View attachment 6317
We use essential cookies to make this site work, and optional cookies to enhance your experience.