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.

Login

Or Register
Accueil / forum / Support / AdsManager Support / How to edit references to link to a profile when r

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.

How to edit references to link to a profile when r

More
10 years 11 months ago #16853 by dj.sash
Hello, I need help.
How rework link Add advert in a condition of registration of the user who refers here ,,index.php?option=com_comprofiler&task=registers,, so that after the handle to refer to this link ,,index.php?option=com_cbprofilepro&view=profiletypes&layout=select,, I need to wash their user profile.

According to the findings should edit the file general.php, but do not know how to adjust.

excerpt from the general.php :
<?php
/**
* @package AdsManager
* @copyright Copyright (C) 2010-2014 Juloa.com. All rights reserved.
* @license GNU/GPL
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

/**
* Content Component HTML Helper
*
* @static
* @package Joomla
* @subpackage Content
* @since 1.5
*/
class JHTMLAdsmanagerGeneral
{
var $catid;
var $conf;
var $user;

function __construct($catid,$conf,$user)
{
$this->catid = $catid;
$this->conf = $conf;
$this->user = $user;
}

function showGeneralLink()
{
if ($this->conf->display_general_menu == 1) {
?>
<div id="adsmanager_innermenu" class="row-fluid">
<div class="span12 text-center">
<?php
if ($this->catid == 0)
$link_write_ad = TRoute::_("index.php?option=com_adsmanager&task=write");
else
$link_write_ad = TRoute::_("index.php?option=com_adsmanager&task=write&catid={$this->catid}");

$link_show_profile = TLink::getProfileLink();
$link_show_user = TLink::getMyAdsLink();

$link_show_rules = TRoute::_("index.php?option=com_adsmanager&view=rules");
$link_show_all = TRoute::_("index.php?option=com_adsmanager&view=list");
$link_favorites = TLink::getMyFavoritesLink();
echo '<a href="'.$link_write_ad.'">'.JText::_('ADSMANAGER_MENU_WRITE').'</a> | ';
echo '<a href="'.$link_show_all.'">'.JText::_('ADSMANAGER_MENU_ALL_ADS').'</a> | ';
echo '<a href="'.$link_show_profile.'">'.JText::_('ADSMANAGER_MENU_PROFILE').'</a> | ';
echo '<a href="'.$link_show_user.'">'.JText::_('ADSMANAGER_MENU_USER_ADS').'</a>';
if(isset($this->conf->favorite_enabled) && $this->conf->favorite_enabled == 1){
echo ' | <a href="'.$link_favorites.'">'.JText::_('ADSMANAGER_MENU_FAVORITES').'</a>';
}
if ($this->conf->rules_text != "") {
echo ' | <a href="'.$link_show_rules.'">'.JText::_('ADSMANAGER_MENU_RULES').'</a>';
}
?>
</div>
</div>
<?php
}
}

function endTemplate() {
/* //BRONZE_TAG
echo '<div style="text-align:center !important;"><a href="www.Juloa.com" title="'.JText::_('ADSMANAGER_CLASSIFIED_SOFTWARE').'">'.JText::_('ADSMANAGER_CLASSIFIED_SOFTWARE').' powered by Juloa.com
';
*/ //BRONZE_TAG
}
}
The following user(s) said Thank You: adarr
More
10 years 11 months ago #16858 by loic
Hello,

I don't understand what you wish to do.

Could you tell me in which page you want to change the URL ?

Best regards.
The following user(s) said Thank You: adarr
Time to create page: 0.052 seconds
Powered by Kunena Forum