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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 606
  • Total: 606

How to ?

Started by dave, January 29, 2006, 09:53:50 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dave

Quote from: Xarcell on January 21, 2006, 11:39:37 PM
I nominate:

Site name: House Of Politic's
Site url: www.thehouseofpolitics.com
Site Owner: DemonicInfluence
Site Design: Deepcut / modified by ElemenT.


Can someone tell me where in the index.template.php to put the google search in the User Info box at the top as seen in the above site??

Thx

crip

In the index.temp.php file find the regular search code and replace it with that one.

dave

I did that but it shows below the user info box instead of inside it

drandolph.com/smf use the SMF default theme

crip

Around line 306 find this.

Remove:
<form action="', $scripturl, '?action=search2" method="post" style="margin: 0;">
<div style="margin-top: 7px;">
<b>', $txt[182], ': </b><input type="text" name="search" value="" style="width: 190px;" />&nbsp;
<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex;" />&nbsp;
<a href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>
<input type="hidden" name="advanced" value="0" />'


Then try to replace it??

crip


crip



dave

Yes that is what I did. but it shows below the user info box instead of in it
drandolph.com/images/mysite.rtf
drandolph.com/images/theothersite.rtf

crip

Thats a new one for me, wish i could helpout.. one of the coders here will fix you up. ;)

dave

Thanks for the effort!

This website is proudly hosted on Crocweb Cloud Website Hosting.