SMFHacks.com
SMF Gallery Pro => Support => Feature Requests => Topic started by: Adamzon on July 22, 2007, 12:29:00 pm
-
Is there any way to make my forum/gallery users to force them to enter seach words on gallery upload pictures?
/Adam
www.glidarhoj.se
-
Yes it would require a code change
Open Sources/Gallery.php
Find this code located in at least two spots
$keywords = htmlspecialchars($_REQUEST['keywords'],ENT_QUOTES);
Add after
if(empty($_REQUEST['keywords']))
fatal_error('Keywords are required');
-
Parse error: syntax error, unexpected T_STRING in /home/g/glidarhoj/glidarhoj/glidarhoj.se/www/Sources/Gallery.php on line 944
hmm ?
-
Change
if(empty($_REQUEST['keywords'])
to
if(empty($_REQUEST['keywords']))
-
Thanx That worked better..