rameshkiran114 Publish time 2015-04-23 19:14

Mobile Search Engine Script Coded by Me

Edited by rameshkiran114 at 2015-4-23 23:53

Hai to All ~ :)
Here I am sharing Mobile search script coded by me
I classified this tutorial to 2 parts for make it simple

Part 1 : Mobile Search Engine for Discuz! X V1 (basic)
Supported in :
Discuz! X3.0 and above
Screenshots/Demo :



Procedure :

Download the below File and Extract it to your device memory.

(updated)

Now Open FTP client Of Your site and Go to Path template / default / mobile /

Create new Folder named as search

Open search Folder and Upload the 3 files which are extracted before.

That's it...

Now Go to http://yoursite.com/search.php?mod=forum&mobile=1 and Enjoy~

Part 2 : Mobile Search Engine for Discuz! X V2

Supported in :
Discuz! X3.0 and above

Screenshots/Demo :
Without Hot Search Options :

With Hot Search Options (default) :

After Search :

Procedure :

Before continoue to this hack, You need to add Part 1.

After Adding V1 (basic)

Download the below File and Extract it to your device memory.



Now Open FTP client Of Your site and Go to Path template / default / mobile / common /

Upload the search.htm which are extracted before.

Now We need To Attach This Script to other Forum templates

If we want to Add Search Engine to Home page then Go to Path (In FTP) template / default / mobile / forum / and download the File discuz.htm

Open It in any Test editor

Find :
<!--{subtemplate mobile/common/header}-->

After Add a new line with this code :
<!--{subtemplate mobile/common/search}-->

Then upload it to previous folder and overwrite old...

P.S : Make a backup before overwritting it.

If You want to Add this to in Forums then Go To Path (In FTP) template / default / mobile / forum / and download the File forumdisplay.htm And Do Same As like Above...

If you want to Add this to Threads then Change viewthread.htm in same folder.

That's it...

Now Go tohttp://yoursite.com/forum.php?mobile=yes and Enjoy~

Note :
Hot search Words are added by using <a> tag so you can change it in search.htm before uploading.
I Tried to Add default key words but getting error so added words using <a> tag
If any one know or done this please upload here... :)

Hope you all like this... :)

vot Publish time 2015-05-07 21:09

Modified by vot:
template/default/mobile/common/search.htm

Now show the REAL hot search words, defined in AdminCP.

Pages: [1]
View full version: Mobile Search Engine Script Coded by Me