| Jon's small changes; Small changes, not huge addons. | |
|---|---|
| Tweet Topic Started: Mar 21 2008, 09:23 PM (314 Views) | |
| Jon | Mar 21 2008, 09:23 PM Post #1 |
|
Okay, first is a searchable text field in the user profile area to view other user's profiles. The file that we want to open for this is viewinfo.php Near the top, you'll see this:
Change it to:
This just changes the error message we get if we put an invalid username into the text box which we're about to create now. Now, to add the searchable text box, in viewinfo.php, find this section: (it's near the bottom)
Add the following underneath the closing php tag:
And there it is. Now if you search for a valid user, it will display their profile. If you search for an invalid user, you'll get an error message saying that the user doesn't exist. Small, but useful. ![]() |
![]() |
|
| Lamez | Mar 22 2008, 07:52 PM Post #2 |
|
neat, I might have to use that |
![]() |
|
| Admin | Jul 15 2008, 11:34 PM Post #3 |
|
Administrator
|
thanks, I will be using this |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Other · Next Topic » |






12:49 AM Jul 11