Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Accueil / forum / Support / AdsManager Support / PMS and contact information will not be displayed

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

PMS and contact information will not be displayed

More
12 years 1 month ago #7256 by dkivogtland_jp
Hello,

i would like to take UddIm as PMS system and contact information will not be displayed. So I removed all the fields in "Ad Display" in the "contact" (ADSMANAGER_POSITION_CONTACT). UddeIM is installed and PMS has been activated "Configuration - contact".
Is then a Ad is displayed, the link to the PMS is not displayedyed in the Contact section. This is only displayed if at least one field has been entered in the field ADSMANAGER_POSITION_CONTACT. But I want to show no contact but use only the PMS. What can i do? Is that a feature or is this a bug?

Regards,
Mathias
Report This
More
12 years 4 weeks ago #7267 by loic
Hello,

Just to understand the problem correctly. The link appears when you assign another field in the position but disappears when it is alone ?
Report This
More
12 years 4 weeks ago #7271 by dkivogtland_jp
Hello,

yes. So it is.

Regards,
Mathias
Report This
More
12 years 4 weeks ago #7294 by loic
Hello,

The PMS link is not linked to the other fields in this position so this is clearly a bug.

In the file 'components/com_adsmanager/views/details/tmpl/default.php' replace this block - line 190 to 216:
<?php if (!empty($this->fDisplay[5])) {
    $strtitle = @JText::_($this->positions[4]->title);
    if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>"; 
    if ($this->showContact) {		
        if (isset($this->fDisplay[5]))
        {		
            foreach($this->fDisplay[5] as $field)
            {	
                $c = $this->field->showFieldValue($this->content,$field); 
                if(($c !== "")&&($c !== null)) {
                    $title = $this->field->showFieldTitle(@$this->content->catid,$field);
                    if ($title != "")
                        echo "<b>".htmlspecialchars($title)."</b>: ";
                    echo "$c<br/>";
                }
            } 
        }
        if (($this->content->userid != 0)&&($conf->allow_contact_by_pms == 1))
        {
            echo TLink::getPMSLink($this->content);
        }
    }
    else
    {
        echo JText::_('ADSMANAGER_CONTACT_NO_RIGHT');
    }
}

By this one:
<?php if (!empty($this->fDisplay[5])) {
    $strtitle = @JText::_($this->positions[4]->title);
    if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>"; 
    if ($this->showContact) {		
        if (isset($this->fDisplay[5]))
        {		
            foreach($this->fDisplay[5] as $field)
            {	
                $c = $this->field->showFieldValue($this->content,$field); 
                if(($c !== "")&&($c !== null)) {
                    $title = $this->field->showFieldTitle(@$this->content->catid,$field);
                    if ($title != "")
                        echo "<b>".htmlspecialchars($title)."</b>: ";
                    echo "$c<br/>";
                }
            } 
        }
    }
    else
    {
        echo JText::_('ADSMANAGER_CONTACT_NO_RIGHT');
    }
}
if ($this->showContact) {
    if (($this->content->userid != 0)&&($conf->allow_contact_by_pms == 1))
    {
        $strtitle = @JText::_($this->positions[4]->title);
        if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>"; 
        echo TLink::getPMSLink($this->content);
    }
}

This will solve the problem.

Best regards.
Report This
Time to create page: 0.104 seconds
Powered by Kunena Forum