lmgtfu MY code problem
#1
This user has been denied support. This user has been denied support.
I am using these as the details

Name lmgtfu

Regular expression
\[google\](.*?)\[/google\]

Replacement

<input type="button" value="Google It!" onclick="window.open('http://letmegooglethatforyou.com/?q=$1')" />

I want it to convert anything to lmgtfu link, is there any problem with the code i used ?
Reply
#2
for the above code, if you put something with google tags then it works ... eg. [google]search word[/google]

for the replacement code try below for showing what is supposed to be searched :
<input type="button" value="Google $1" onclick="window.open('http://letmegooglethatforyou.com/?q=$1')" />
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)