TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 245
  • Total: 245

Add Wikipedia To Your Site.

Started by Xarcell, April 26, 2006, 12:19:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maxg

Yes Cool, I place this in a scriptbox and works great, thanks!

regards,
Max


asklife

hello i tried your this code, but its not working at all, i am getting this error

QuoteParse error: syntax error, unexpected '<' in /home/asklife/public_html/mysitefolder/Sources/Load.php(1860) : eval()'d code(35) : eval()'d code on line 1

Maya

make sure you put in in a 'scriptbox' , and that you have all the code in there, including the </form> at the end ....

Quote<form action="http://www.wikipedia.org/search-redirect.php" method="get" target="_blank">
  <input type="hidden" name="language" value="en" />
  <input type="text" name="search" size="20" />
 

 

  <input type="submit" name="go" value=" Go! " />
</form>

... hope this helps

asklife

Quote from: Maya on June 12, 2007, 05:31:28 PM
make sure you put in in a 'scriptbox' , and that you have all the code in there, including the </form> at the end ....

Quote<form action="http://www.wikipedia.org/search-redirect.php" method="get" target="_blank">
  <input type="hidden" name="language" value="en" />
  <input type="text" name="search" size="20" />
 

 

  <input type="submit" name="go" value=" Go! " />
</form>

... hope this helps

nope i tried this also, still its not working, i have put this in scriptbox only

Maya

hmmm. can you please post the exact code you have in your script box...

I just tried this code to see if I got the same error, and it works fine ;)

asklife

this was the code i had put in my site

Quote<form action="http://www.wikipedia.org/search-redirect.php" method="get" target="_blank">
  <input type="hidden" name="language" value="en" />
  <input type="text" name="search" size="20" />
 

 

  <input type="submit" name="go" value=" Go! " />
</form>

Peregrinus

I take it then that because the serebella.com site is no longer active, that it is now not possible to have wikipedia articles appear on your own tp_smf site? anybody know what the "cyclo_script" contained?

This would be so good if it could work again. Anybody interested in getting it working again?

Peregrinus~

Rus

That code just worked for me, all it did was launch a new page, go to wiki and do the search but thats kinda cool on its own

Freddy

Works fine for me too...here's a slightly extended version using two search buttons, one to get a direct hit and the other to search all of WIKI for the phrase...just like WIKI's own search boxes...I center it just for looks...

<center>
<form action="http://www.wikipedia.org/search-redirect.php" method="get" target="_blank">
<input type="hidden" name="language" value="en" />
<input type="text" name="search" size="20" />
<br>
<br>
<input type="submit" name="go" value=" Go! " title="Go to a page with this exact name if exists." />
<input type="submit" name="fulltext" value="Search" title="Search the pages for this text"/>
</form>
</center>

This website is proudly hosted on Crocweb Cloud Website Hosting.