how to remove first name, last name, sex & age from General Info

I want to prevent the first name, last name, sex & age from being displayed in the General Info block that is opened when other users select someone else’s profile to view. It would be even better if I could add the Province/State info I have created to the General Info here.

I have attached an image for reference. Any help would be greatly appreciated. Direction here will likely answer a number of other issues I am currently working so I would be very grateful.

Capture.JPG · 81K · 146 views
Quote · 10 Apr 2012

Admin > Builders > Profile Fields > View Profile > Visitor 

Move items you don't want to be seen to "Inactive Items" area.

http://pkforum.dolphinhelp.com
Quote · 10 Apr 2012

Thank you for the quick reply epaulo. That worked fantastically for me. I was of the understanding that that only affected visitors to my site and not members.

All is well with this issue now, however, I was expecting something quite different for a fix as I was going to use it to research the following issue I have.

I am working on an Ads site and am trying to keep it as simple as possible for users. I would like to remove the options to select:

Allow view to:
Allow rate to:
Allow posting comments to:

As shown on attached. There is little options available within the admin panel to change to Ads module. Any ideas would again be greatly appreciated.

Capture.JPG · 59.1K · 160 views
Quote · 10 Apr 2012

Hello 

You need to edit modues/boonex/ads/classes/BxAdsModule.php file -> AddNewPostForm function. Find and comment out the following lines of code.

1.
'allowView' => $aAllowView,
'allowRate' => $aAllowRate,
'allowComment' => $aAllowComment,

2.

$aForm['inputs']['allowView']['value'] = $aAdUnitInfo['AllowView'];
$aForm['inputs']['allowRate']['value'] = $aAdUnitInfo['AllowRate'];
$aForm['inputs']['allowComment']['value'] = $aAdUnitInfo['AllowComment']; 

3.
if (empty($aForm['inputs']['allowView']['value']) || !$aForm['inputs']['allowView']['value'])
    $aForm['inputs']['allowView']['value'] = BX_DOL_PG_ALL;
if (empty($aForm['inputs']['allowRate']['value']) || !$aForm['inputs']['allowRate']['value'])
    $aForm['inputs']['allowRate']['value'] = BX_DOL_PG_ALL;
if (empty($aForm['inputs']['allowComment']['value']) || !$aForm['inputs']['allowComment']['value'])
    $aForm['inputs']['allowComment']['value'] = BX_DOL_PG_ALL; 

Then go to Dolphin's DB -> bx_ads_main table and make 3 as default value for AllowViewAllowRate and AllowComment fields. I checked it and looks like it's working fine.

 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 10 Apr 2012

Thanks very much for the tip Anton. Just editing out the code from the modues/boonex/ads/classes/BxAdsModule.php file worked. I did not bother editing the DB files as there is no other reference throughout my site so no need (as far as I can tell at the moment).

I guess it is not as easy to edit in new predefined values. I have created a Province/State field to be completed at the Join Page. Any way to add this to the modues/boonex/ads/classes/BxAdsModule.php?

Quote · 11 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.