SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
June 19, 2013, 09:12:59 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10807
Latest:
GoldDigger1950
Stats
Total Posts: 32559
Total Topics: 5507
Online Today: 58
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 38
Total: 39
SMFHacks.com
Forum
SMF Gallery Pro
Support
Feature Requests
Force search words
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Force search words (Read 3518 times)
Adamzon
SMF Gallery Pro Customer
Inline PM Customer
Offline
Posts: 23
Force search words
«
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
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: Force search words
«
Reply #1 on:
July 22, 2007, 06:45:31 pm »
Yes it would require a code change
Open Sources/Gallery.php
Find this code located in at least two spots
Code:
$keywords = htmlspecialchars($_REQUEST['keywords'],ENT_QUOTES);
Add after
Code:
if(empty($_REQUEST['keywords']))
fatal_error('Keywords are required');
«
Last Edit: August 27, 2007, 07:45:14 am by SMFHacks
»
Logged
Adamzon
SMF Gallery Pro Customer
Inline PM Customer
Offline
Posts: 23
Re: Force search words
«
Reply #2 on:
August 27, 2007, 03:40:32 am »
Parse error: syntax error, unexpected T_STRING in /home/g/glidarhoj/glidarhoj/glidarhoj.se/www/Sources/Gallery.php on line 944
hmm ?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 11051
Re: Force search words
«
Reply #3 on:
August 27, 2007, 07:45:07 am »
Change
if(empty($_REQUEST['keywords'])
to
if(empty($_REQUEST['keywords']))
Logged
Adamzon
SMF Gallery Pro Customer
Inline PM Customer
Offline
Posts: 23
Re: Force search words
«
Reply #4 on:
August 29, 2007, 03:08:44 am »
Thanx That worked better..
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
A few problems with Ad Se...
by
SeppoK
[
Today
at 03:45:00 am]
Can "Ad Seller Pro" do it...
by
SMFHacks
[June 18, 2013, 07:27:33 am]
Feature Requests for SMF ...
by
BSD2000
[June 18, 2013, 06:10:04 am]
paid auctions
by
SMFHacks
[June 17, 2013, 12:27:50 pm]
Wow
by
Nicole
[June 16, 2013, 08:17:21 pm]
WhatÄs this?
by
Nicole
[June 16, 2013, 07:29:04 am]
Modification allowing Adm...
by
AcEAndroid
[June 15, 2013, 08:34:38 pm]
Setting up Ad Seller Pro ...
by
steelhead
[June 14, 2013, 10:28:18 pm]
Left/right side of a mess...
by
SMFHacks
[June 13, 2013, 11:00:52 pm]
Show New Classifieds list...
by
amwebby
[June 12, 2013, 03:37:47 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...