Jump to content
MakeWebGames

Free 2 - Search


Recommended Posts

Guest Anonymous
Posted

A very simple one this - It just replaces the standard V2 search system and has ONE text box. You enter a username or ID# and let it do the work.

Images available from http://nyna.co.uk/gallery/

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Enjoy

Guest Anonymous
Posted

Re: Free 2 - Search

 

only one thing wrong

you forgot the search by location and the search by id

Erm... If you look carefully you will see it performs a search by ID if you pass just a number search query...

As for search by location - Personally I never use it, so I never bothered to implement it. I make these extensions for my own benefit primarily. If I release them, it is up to you to either modify them to suit yourself, taking what facilities you need or not by installing them.

Guest Anonymous
Posted

Re: Free 2 - Search

Well, as I know my code works - it must be a fault in your system.

As I only support my source ... You're stuffed :p ;)

Give us a clue next time!!!

Posted

Re: Free 2 - Search

QUERY ERROR: Unknown column 'donator' in 'field list'

Query was SELECT `userid`, `username`, `level`, `laston`, `user_level`, `donator` FROM `users` WHERE ((`userid` = 6) OR (`username` LIKE '%6%'))

Guest Anonymous
Posted

Re: Free 2 - Search

Sheesh

Change it to donatordays then ...

Look at your existing table definition - It would have given you the answer right away.

You will also need to change the row:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

to

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Guest Anonymous
Posted

Re: Free 2 - Search

I accept there will often be minor modifications need to my source files, I have a very heavily modified V2 base, and I forget sometimes what the original table definitions and/or source layout was.

But in general, anyone who is installing my sources should already have a basic grounding in both PHP and MySQL. For my more complex extensions - you will probably need a great deal more knowledge.

  • 3 weeks later...
  • 2 months later...
Posted

Re: Free 2 - Search

I forgot to mention that I've made things slightly easier..

Contents of v1.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

'tis very simple stuff - same idea as v2's include "globals.php";

Posted

Re: Free 2 - Search

Nyna,

Nice to see someone coding add-ons that actually knows to indent. We indent differe

Also, in another thread you said something about a commodore 64... From your picture, I would say you

are too young to have ever seen one, except maybe in a museum. Maybe I'm thinking of something older

than the 64s....

Guest Anonymous
Posted

Re: Free 2 - Search

Oh and then some - Plenty of mini and mainframes around in those days :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...