What tool are you using to search? You need to either use grep or an editor that has a built-in search through files option.
@Cash
Thnx for teh tip :-)
Small question. I'm trying to center my profile image. Tried the hole day to get it good, this script.
Still can't find how to center it.
<div class="usericon">
<?php
if ((isadminloggedin()) || (!$vars['entity']->isBanned())) {
?><a href="<?php echo $vars['entity']->getURL(); ?>" class="icon" ><?php
}
}
?><img src="<?php echo $vars['entity']->getIcon($vars['size']); ?>" border="0" <?php echo $align; ?> title="<?php echo htmlentities($vars['entity']->name, ENT_QUOTES, 'UTF-8'); ?>" <?php echo $vars['js']; ?> /><?php
if (!$override) {
?></a><div class="sub_menu">
<a href="<?php echo $vars['entity']->getURL(); ?>"><h3><?php echo $vars['entity']->name; ?></h3></a>
<?php
if (isloggedin()) {
$actions = elgg_view('profile/menu/actions',$vars);
if (!empty($actions)) {
echo "<div class=\"item_line\">{$actions}</div>";
}
if ($vars['entity']->getGUID() == $vars['user']->getGUID()) {
echo elgg_view('profile/menu/linksownpage',$vars);
} else {
echo elgg_view('profile/menu/links',$vars);
}
} else {
echo elgg_view('profile/menu/links',$vars);
}
?>
</div>
</div>
If you're using a good search tool, it should be really easy to find the main view of the user administration page. I found it in two searches starting with a search for "User Administration".
@Clinton, I cant understand how you are getting the redirect loop?
Hi folks
I've posted this here, because it's another problem with redirect. I'm fairly new to plugin writing. I have an action pay.php that 'works' because it does the action [involving curl and an external server] but it just displays a white page and doesn't redirect, no matter how I code it up..code below:
<?php
include ($_SERVER['DOCUMENT_ROOT']."/mod/cclite/cclite-common.php") ;
// Make sure we're logged in (send us to the front page if not)
gatekeeper();
// Make sure action is secure
action_gatekeeper();
$touser = get_input('touser');
$currency = get_input('currency');
$quantity = get_input('quantity');
$description = get_input('description');
/*
/pay/$input[1]/$registry/$input[2]/$input[3]
*/
$input = array('pay',$touser,$quantity,$currency) ; // parameters supplied as array
$cclite = cclite_contents($input) ;
// display return from cclite...
system_message($cclite);
//forward(get_loggedin_user()->getURL());
forward($_SERVER['HTTP_REFERER']);
?>
hey.....can any body resolve my redirection problem from a popup. when i am opening a popup, i have redirected that through action (written in start.php of profile module) but the after inserting the values, from action page it is not being redirected as desired instead of that it is being redirected on index page of "profile" module. ( Code: http://localhost/elgg-riplocas/pg/profile/Maron )
Code is as follows:
$url = $CONFIG->url . "pg/profile/".$username."/show_deceased_profile/?id=".$_REQUEST['deceased_profile_id'];
forward($url);
Please help me in resolving this issue.....its quite urgently needed
This is a very ambiguous question. What 3 options does it give you? Can you take a screen shot?
@Brett
Something like this (see screenshots):
Do u see the Attach: When u press one of the buttons) U get a drop down(see next screenshot)
There isn't a plugin that does exactly this, but the embed plugin does something similar for blog posts, pages, and discussion posts. Have you tried using it?
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.