<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BuddyPress.org | Ivijan-Stefan Stipic | Activity</title>
	<link>https://buddypress.org/members/ivijanstefan/activity/</link>
	<atom:link href="https://buddypress.org/members/ivijanstefan/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for Ivijan-Stefan Stipic.</description>
	<lastBuildDate>Mon, 20 Apr 2026 11:09:44 +0000</lastBuildDate>
	<generator>https://buddypress.org/?v=</generator>
	<language>en-US</language>
	<ttl>30</ttl>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>2</sy:updateFrequency>
	
						<item>
				<guid isPermaLink="false">049b33a0eaae626e1d63ee81ab3ca401</guid>
				<title>Ivijan-Stefan Stipic started the topic Cover image error handling in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/cover-image-error-handling/</link>
				<pubDate>Fri, 15 Oct 2021 15:46:20 +0000</pubDate>

									<content:encoded><![CDATA[<p>Is there any hook I can use to manage errors during the cover image upload?</p>
<p>It is very important to me that I can throw out some error oruku if the image is too small or too big.</p>
<p>Thanks!</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4c653f9aa2026ac09e9785eb98a6f94a</guid>
				<title>Ivijan-Stefan Stipic replied to the topic Upload avatar directly from the folder via PHP in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/upload-avatar-directly-from-the-folder-via-php/#post-321033</link>
				<pubDate>Wed, 15 Sep 2021 06:56:19 +0000</pubDate>

									<content:encoded><![CDATA[<p>Thank you!</p>
<p>Here is complete script for this:</p>
<p><code>// Setup<br />
$path = &#039;some/folder/where/is/prepared/image.jpg&#039;; // EXAMPLE<br />
$user_id = 123; // EXAMPLE<br />
$upload_path = bp_core_avatar_upload_path();<br />
$upload_dir = &#039;avatars&#039;;</p>
<p>// Define filename and data<br />
$filename = pathinfo($path, PATHINFO_BASENAME);<br />
$data = file_get_contents( $path );</p>
<p>// Prepare final&hellip;</code><span class="activity-read-more" id="activity-read-more-2828739"><a href="https://buddypress.org/support/topic/upload-avatar-directly-from-the-folder-via-php/#post-321033" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4b7ff3db0d118c9429506dfff5eaeacf</guid>
				<title>Ivijan-Stefan Stipic started the topic Upload avatar directly from the folder via PHP in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/upload-avatar-directly-from-the-folder-via-php/</link>
				<pubDate>Mon, 13 Sep 2021 14:54:35 +0000</pubDate>

									<content:encoded><![CDATA[<p>I have over 800 users for whom I have to upload a custom avatar. I have prepared a script that matches the username with the image name and all I have to do is call some BP function to set the avatar according to the user ID. How to do it and what function to use?</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>