How to Stop Uploaded Avatars from Being Added to Photo Album
Last Updated on Saturday, 15 January 2011 09:50 Written by Taylor Toussaint Saturday, 15 January 2011 09:50
I dont know why but it seems that when you upload an avatar photo, that photo in added to the members photo album. If you want to stop that from happening, this is what you have to do.
You need to edit this file: /modules/boonex/avatar/templates/base/block_wide.html
Download that file and open it with your favorite html editor.
Look for the following line of code, it should be right around line 22:
<span><input type=”checkbox” name=”copy_to_profile_photos” id=”copy_to_profile_photos” checked=”checked” /><label for=”copy_to_profile_photos”><bx_text:_bx_ava_copy_to_profile_photos /></label></span>
Just remove that entire piece of code. Save and upload the file. That’s It!
Learn MoreOnly Show Members with Photos for Dolphin 7
Last Updated on Saturday, 15 January 2011 09:11 Written by Taylor Toussaint Sunday, 2 January 2011 02:53
Sometime’s people dont upload an image or avatar for their profile. I dont really like the way that looks and maybe you dont either. Well there’s a fix for that. All you have to do is :
Open /templates/base/scripts/BxBaseIndexPageView.php. Save a backup copy of this file just in case you mess up.
Go to line 316 and you should see -
$sqlCondition = “WHERE `Profiles`.`Status` = ‘Active’ and (`Profiles`.`Couple` = 0 or `Profiles`.`Couple` > `Profiles`.`ID`)”;
Change that to -
$sqlCondition = “WHERE `Profiles`.`Status` = ‘Active’ and `Profiles`.`Avatar` > ’0′ and (`Profiles`.`Couple` = 0 or `Profiles`.`Couple` > `Profiles`.`ID`)”;
That’s it! Just upload the file and its done.
Learn More
Recent Comments