Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Hi,
I am new in elgg. How to i just show friend's username instead of their profile/icon?
For example the code below:
foreach($friends as $friend)
{
echo elgg_view("profile/icon",array('entity' => get_user($friend->guid), 'size' => $size));
}
How to i change it just to show name only?
Thanks for the advice.
I'm having a .htaccess redirect or rewrite, i successfully redirected my domain name to my subfolder (ex.www.mysite.com/subfolder into www.mysite.com)
This is my .htaccess on my rootdirectory of my site (www.mysite.com)
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
but the thing is, whenever i click the link to my other pages of my site it will display my subfolder name again in my domain name
(ex.www.mysite.com/subfolder/pg/photos/view/133/photo)
(ex.www.mysite.com/subfolder/pg/dashboard/),
has anyone figured out what's the best solution for this.?
I think it has something to do with the " .htaccess in my elgg root directory"
Here is the section I want to remove when logged in:
<div id="mem-box">
<div id="mem-box-content">
<h2>For Members</h2>
<div id="list-box">
<ul>
<li><strong>Network:</strong><br/>
Meet others interested in the topic of survival and self sufficiency.</li>
<li><strong>Share and learn:</strong><br/>
Pass along ideas and information important to the community</li>
<li><strong>Communicate:</strong><br/>
Get you message out to your friends and the community</li>
<ul>
</div>
</div>
</div>
<div id="gru-box">
<div id="gru-box-content">
<h2>Features</h2>
<div id="list-box">
<ul>
<li>
<strong>Customizable Profiles</strong><br/>
</li>
<li>
<strong>Personal Blogs</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
</ul>
</div>
</div>
</div>
</div>
Does anyone know what I'm doing wrong?
Here is the section I want to remove when logged in:
<div id="mem-box">
<div id="mem-box-content">
<h2>For Members</h2>
<div id="list-box">
<ul>
<li><strong>Network:</strong><br/>
Meet others interested in the topic of survival and self sufficiency.</li>
<li><strong>Share and learn:</strong><br/>
Pass along ideas and information important to the community</li>
<li><strong>Communicate:</strong><br/>
Get you message out to your friends and the community</li>
<ul>
</div>
</div>
</div>
<div id="gru-box">
<div id="gru-box-content">
<h2>Features</h2>
<div id="list-box">
<ul>
<li>
<strong>Customizable Profiles</strong><br/>
</li>
<li>
<strong>Personal Blogs</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
</ul>
</div>
</div>
</div>
</div>
Does anyone know what I'm doing wrong?
Here is the section I want to remove when logged in:
<div id="mem-box">
<div id="mem-box-content">
<h2>For Members</h2>
<div id="list-box">
<ul>
<li><strong>Network:</strong><br/>
Meet others interested in the topic of survival and self sufficiency.</li>
<li><strong>Share and learn:</strong><br/>
Pass along ideas and information important to the community</li>
<li><strong>Communicate:</strong><br/>
Get you message out to your friends and the community</li>
<ul>
</div>
</div>
</div>
<div id="gru-box">
<div id="gru-box-content">
<h2>Features</h2>
<div id="list-box">
<ul>
<li>
<strong>Customizable Profiles</strong><br/>
</li>
<li>
<strong>Personal Blogs</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
<li>
<strong>Video and Photo Albums</strong><br/>
</li>
</ul>
</div>
</div>
</div>
</div>
Does anyone know what I'm doing wrong?
I have been trying to get the elgg_topbar.php file included in my index just as his example does.... Can anyone give me a sample of code to include this please? I am using the vazco_mainpage mod right now for my index.
Thanks in advance!
another example of what I am looking for here: http://yourcommunities.org/
the top bar included as a file include, variable, or hardcoded?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.