PDA

View Full Version : [RELEASE] Admin Hack - Search Templates!


17 Jun 2000, 19:10
Oh yes, never again will you have to waste time searching through the template list to find just what you need -- just do a search!

Tested lightly, but it should work. Let me know if you find any bugs!

In admin/template.php...

Look for:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Above the first line, add:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

And below the second line, add:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



A real life saver for some of us ;)

[Edited by Stallion on 06-18-2000 at 04:09 AM]

17 Jun 2000, 20:02
Hello,

Thanks for the hack! This will bve very useful. :)

I get an error:
Parse error: parse error, expecting `'('' in /home/paintballcity/forums/vb/admin/template.php on line 116

I'm sure I followed the easy directions correctly. Maybe I'm too tired...its late. I'll tackle this in the morning. Thanks again.

17 Jun 2000, 20:09
Should work now...I had an old version (non-working) of the code in my clipboard when I made the post :/

18 Jun 2000, 05:25
ohhh kinky...oh behave... :)

19 Jun 2000, 03:48
uuuhhhm?!?!

19 Jun 2000, 08:13
I've been watching too much Austin Powers.


[Edited by VirtueTech on 06-19-2000 at 04:14 PM]

24 Jun 2000, 03:49
Nice job. Really helps out a lot.

26 Jul 2000, 17:37
Gosh, this is a nice hack. Wish I'd installed it a few weeks ago before monkeying around so much with my templates! Thanks very much.

26 Jul 2000, 22:38
Stallion:

I am not sure what you mean by "above the first line" and "below the second line". First line or above the Start Modify? Second line or below the if action=modify line? Is that what you mean?

Parker

27 Jul 2000, 15:00
The


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

stuff is inserted immediately before the

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

line in the template.php file, and the "searchcode();" line is inserted in the template.php file so that it becomes the next line after

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

in template.php


[Edited by Dave Baker on 07-27-2000 at 11:02 AM]

27 Jul 2000, 21:54
Dave:

Thanks.

Parker

06 Jan 2001, 10:27
Works ok on 1.1.5 thanks:D

06 Jan 2001, 14:53
Yeah I installed this hack with sucess. :)

06 Jan 2001, 18:20
Works good for me. Thanks, it will be a big help!