Search found 94 matches

by captquirk
Mon Nov 26, 2018 11:04 pm
Forum: Sphider Help
Topic: Template for mobile browsers
Replies: 9
Views: 214

Template for mobile browsers

Sphider 2.2 is under development. One of the coming features of 2.2 is the ability to detect a mobile browser when doing a search and presenting a search page which is easier to read on a mobile. Worldspaceflight.com is on the bleeding edge of Sphider 2.2.0. You can compare the search page on deskto...
by captquirk
Mon Nov 26, 2018 9:38 pm
Forum: Sphider Help
Topic: Extended UA String
Replies: 4
Views: 116

Re: Extended UA String

In the next release of Sphider, the maximum size of the user_agent column in the database will be increased to varchar(50). The text box for User Agent in configset.php will remain at 20 characters. Like any text box, you can enter more characters than just the box size. You just won't see ALL the t...
by captquirk
Mon Nov 26, 2018 5:18 am
Forum: Sphider Help
Topic: Responsive template for Spider
Replies: 6
Views: 143

Re: Responsive template for Spider

For the classic version of Sphider, I have followed your suggestion and removed tables from the search portion (normal, RSS, and image). I added appropriate css script for each of the templates. Looks nice. I also created a new template, which I named "mobile". Simply by changing a few things in the...
by captquirk
Sun Nov 25, 2018 7:24 pm
Forum: Sphider Help
Topic: Responsive template for Spider
Replies: 6
Views: 143

Re: Responsive template for Spider

That's what I was sure you were doing, but I just wanted it to be clear for others who may not have read your prior post on RWD. :) You are correct that CSS is the proper response to Rabattkod's request. The bootstrap DOES add a lot of unnecessary code and complexity. It would NOT be an ideal soluti...
by captquirk
Sun Nov 25, 2018 5:19 pm
Forum: Sphider Help
Topic: Responsive template for Spider
Replies: 6
Views: 143

Re: Responsive template for Spider

If by "removing tables" you are referring to the database, beware that this will impact configset.php, conf.php, db_main.php, and db_backup.php for sure. Perhaps other places as well, but those definitely. If by "removing tables" you mean in the code removing "<table>", "<tr>", and "<td>" and doing ...
by captquirk
Sun Nov 25, 2018 5:13 pm
Forum: Sphider Help
Topic: Sphider template bootstrap
Replies: 3
Views: 128

Re: Sphider template bootstrap

Getting an idea overnight, I gave this a try: In Sphider, rename search.php to search-new.php. Rename search-160.php to search.php. In the common_templates folder, create a new subfolder named save. Move categories.php, footer.php, search_form.php, and search_results.php to the "save" folder. From t...
by captquirk
Sat Nov 24, 2018 8:42 pm
Forum: Sphider Help
Topic: Sphider template bootstrap
Replies: 3
Views: 128

Re: Sphider template bootstrap

I'll have to look at this template in more detail. My offhand suspicion is that this template was coded for the ORIGINAL Sphider 1.3.6, from which Sphider 2.1 is descended. But Sphider 2.1 is has undergone MANY changes since 1.3.6. This template may no longer be compatible. But, as I said, I will ne...
by captquirk
Sat Nov 24, 2018 12:23 am
Forum: Sphider Help
Topic: Extended UA String
Replies: 4
Views: 116

Re: Extended UA String

Would it be wise? Absolutely not! The more people who download and use Sphider, the greater the likelihood of one of them getting a bad reputation. If they, and many others, use the default "Sphider" as a user agent, that could ruin it for everyone. If, however, a user only uses Sphider to build an ...
by captquirk
Sat Nov 24, 2018 12:15 am
Forum: Sphider Help
Topic: Sphider security
Replies: 0
Views: 68

Sphider security

If your installation of Sphider is on a Linux based machine, it is highly recommended to password protect the admin directory. How this can be done depends on your host. In some cases, simply by modifying the .htaccess file and creating a .htpasswd file. Most likely, most hosts will ignore that and ...
by captquirk
Fri Nov 23, 2018 11:48 pm
Forum: Sphider Help
Topic: Extended UA String
Replies: 4
Views: 116

Re: Extended UA String

Actually, the user agent string is defined in the database as varchar(15). Changing the field length in configset.php really just makes a longer field to enter a string which will be limited to 15 characters!

Still, point taken. That would be a good change to include in the next release.