forum.coppermine-gallery.net
Support => Older/other versions => cpg1.1d PHPnuke Support (deprecated) => Topic started by: vat on September 28, 2003, 08:29:25 am
-
When I exit admin mode, it throws me back in to the site index (index.php) after saying "leaving admin mode"
What happens when you have a long link? Like: http://forum.coppermine-gallery.net/index.php?topic=134
It doesn't really look good...
-
To use html in the custom user fields I modyfied the displayimage.php.
On ~row 228 find:
$info[$CONFIG['user_field'.$i.'_name']] = make_clickable($CURRENT_PIC_DATA['user'.$i]);
Replace with:
$info[$CONFIG['user_field'.$i.'_name']] = $CURRENT_PIC_DATA['user'.$i];
$info[$CONFIG['user_field'.$i.'_name']] = str_replace("<", '<', $info[$CONFIG['user_field'.$i.'_name']]);
$info[$CONFIG['user_field'.$i.'_name']] = str_replace(">", '>', $info[$CONFIG['user_field'.$i.'_name']]);
$info[$CONFIG['user_field'.$i.'_name']] = str_replace(""", '"', $info[$CONFIG['user_field'.$i.'_name']]);
Example (http://www.terralights.de/terralightsII/modules.php?name=coppermine&file=displayimage&album=random&cat=&pos=-201) ("Hinweis des Autors:" German only, sorry)