91
tzvook
Re: Ajax autocompletion feeded with isearch module
  • 2009/3/13 13:47

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Yep, can also add dynamic youtube search results ( as I do in here:http://www.net4u.co.il/modules/mysearch/search.php?query=play&submit=Search&action=results ) - if you want me - I'll send the code for it ...quite simple ...



92
tzvook
Re: Ajax autocompletion feeded with isearch module
  • 2009/3/12 17:05

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


It's a great idea

Mysearch is my favorite since it's building content on your site on it's own acording to your visitors real needs ( what they look for ) ....

It's so easy to use the "terms" to pull external data for the "term" ...



93
tzvook
Re: Adding search box with 'site-wide' option to search with mysearch module
  • 2009/3/12 13:47

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


You mean "peoples who searched for XXX , looked also for XXX" ???
That sounds interesting !!!



94
tzvook
Re: Adding search box with 'site-wide' option to search with mysearch module
  • 2009/3/12 13:30

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Some issues:
1. searched words get doubled (2 results in index.php instead of 1)
2. maybe it'll be better to record "complete term" instead of "words" - since it looses the original meaning.



95
tzvook
Re: Adding search box with 'site-wide' option to search with mysearch module
  • 2009/3/10 21:59

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Quote:

trabis wrote:
Have you tried to rename


Yep - any combination I could imagine

Quote:

<option name="something_else" id="mids[]0" value="-1">site wide</option>

?

If it does not work then you mus make change in mysearch.php/search.php around line 191,
Use this instead:
if (empty($mids) || !is_array($mids) || in_array('-1'$mids)) {
            unset(
$mids);
            
$mids array_keys($modules);
        }


10x - works great



96
tzvook
Adding search box with 'site-wide' option to search with mysearch module
  • 2009/3/10 14:22

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Hello Travis
I have a problem with embading a search box in my theme (using 'mysearch' search.php):
The search works well, except when searching the whole site (when doing it with the traditional checkboxes the query don't use the "mids" at all, but when I use a select-box and add the site-wide option it does, and thus return no results).

My code is:
<form action="<{$xoops_url}>/modules/mysearch/search.php" method="GET" >
<
input type="submit" name="submit" id="submit" value="search" title='search' />
<
input name="query" id="query"  maxlength="255" value="" type="text">
<
select name="mids[]" id="mids[]0" size="1" style="background-color : #ece9e3; width:90px; font-family: Arial;">
<
option name="mids[]" id="mids[]0" value="-1">site wide</option>
<
option name="mids[]" id="mids[]0" value="11">module A</option>
<
option name="mids[]" id="mids[]0" value="15">module B</option>
<
option name="mids[]" id="mids[]0" value="17">module C</option>
<
option name="mids[]" id="mids[]0" value="7">module D</option>
<{if 
$xoops_isuser}>
<
option name="mids[]" id="mids[]0" value="20">PM's</option>
<{/if}>
</select>
<input type="hidden" name="action" id="action" value="results" />
<input type='
hidden' name='id_REQUEST' id='id_REQUEST' value='38721ea544b7d4f9966ece6ff3bbb4c6' />
</form>


I tried a lot of options with no luck, have you any idea ?
(It's @http://www.net4u.co.il/ - in the top searchbox .... Hebrew-site )



97
tzvook
Just another enhanced user profile module
  • 2009/2/18 12:28

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Actually - to my opinion, Yogurt main problem is it's main page - it's not the main page of a "social network" - it's a profile page.

The main page of a social network should attractively (using ajax or any other dynamic implementation) present the latest "social-network" activities - like "latest user-uploaded-photos" , "latest user-uploaded-videos" , "latest scraches" and whatever ...

Otherwise it's just another enhanced user profile module (which don't even have a custom fields ability).



98
tzvook
Re: OLD modules not working with NEW xoops 2.3
  • 2009/2/13 18:45

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Module is not working on:
FreeBSD
Apache/1.3.41
PHP version 4.3.4
MySql version 4.1.14
xoops v 2.3.2

Module is working on:
Suse Linux
Apache/2.0.54
PHP version 4.4.0
MySql version 4.1.13
xoops v 2.3.2

in the unworking enviro I also get white screen in the "jobs" module right after changing the footer/header.php

maybe the module needs php 4.4 and above ....
Maybe "Register Globals" or "session.use_trans_sid" - but I don't think so .....



99
tzvook
Re: OLD modules not working with NEW xoops 2.3
  • 2009/2/13 17:38

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


post your server enviro ... might help



100
tzvook
Re: OLD modules not working with NEW xoops 2.3
  • 2009/2/13 17:32

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Quote:

ghia wrote:
Did you alter header and footer.php?


Yep, I already talked about it with trabis in the past.
I had issues with the module.
-------------------------------------------------
but I just downloaded it again and tried it on another server - IT WORKS ... I'm continuing the tests ...




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 60 »



Login

Who's Online

177 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits