|
|
Joined: Jul 2001
Posts: 12
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 12 |
how can this be done?? i tried this but no luck  if ($in{'action'} eq "intro") { if ($AllowSearch eq "FALSE" || $username eq "") { &StandardHTML("Sorry, the search function is not activated at this time."); exit; } else { &Intro; } } tx in advance 
|
|
|
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
I think you would be better off wotking on the $AllowSearch variable. It is called from UltBB.setup and interpretted as true/false. If you had a conditional statement in search.cgi that basically assigned the stored value for $AllowSearch for all users EXCEPT unregistered users...which it would then assign FALSE at all times....you *might* be OK!! I don't have time to do it right now...and I may even be WAY off the mark....but that is what I would try to do. Good luck!! Did any of that make sense??? I hope so!! 
|
|
|
|
Joined: Jul 2001
Posts: 12
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 12 |
done now guests no longer can use the search feature [ July 22, 2001 05:55 PM: Message edited by: ertram ]
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Why don't you want them to use it?
|
|
|
|
Joined: Oct 2000
Posts: 290
Member
|
Member
Joined: Oct 2000
Posts: 290 |
How did you end up doing it? I'm not really interested in the exact code...just how you went about it. 
|
|
|
|
Joined: Jul 2001
Posts: 12
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 12 |
cookies 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|