Add Function Search User Photo

Started on the old forum in November 2007 · view the original in the archive · old links redirect here

18 replies · 1,591 views · started 19 years ago · 1 min read

6 participants
SpiderWap Lead · 622 posts #2

Do you meen like, an option where you search, and get resuilts from nicknames that has photos?

Its not worth it if yu hav a small site, if you have a few thousend members it will be, but not with only few active members...

subzero Super moderator Fellow · 3,954 posts #4

Registered Members: 13,321

lol needs search still lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Ricky21ster Developer · 139 posts #10

yes...my chat is big at italy External image (may be gone) its easy code dont use irisblaze script any more so dont bother to code any more for this script this one i use with my updation ages ago

CODEelse if($action=="simg") { $stext = $_POST["stext"]; $sim = $_POST["sim"]; $sor = $_POST["sor"]; addonline(getuid_sid($sid),"image search",""); echo "<card id="main" title="Search">"; echo "

";

    if(trim($stext)=="")
    {
        echo "

Failed to search for club"; }else{ //begin search if($page=="" || $page<1)$page=1;

        $where_table = "ibwf_gallery";
        $cond = "name";
        $select_fields = "id, name";
        if($sor=="1")
        {
          $ord_fields = "name";
        }else if($sor=="2"){
            $ord_fields = "lastact DESC";
        }else if($sor=="3"){
            $ord_fields = "regdate";
        }
      
      $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ".$where_table." WHERE ".$cond." LIKE '%".$stext."%'"));
      $num_items = $noi[0];
      $items_per_page = 10;
      $num_pages = ceil($num_items/$items_per_page);
if(($page>$num_pages)&&$page!=1)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;

$sql = "SELECT ".$select_fields." FROM ".$where_table." WHERE ".$cond." LIKE '%".$stext."%' ORDER BY ".$ord_fields." LIMIT $limit_start, $items_per_page";
      $items = mysql_query($sql);
      while($item=mysql_fetch_array($items))
      {
          $tlink = "<a href=\"index.php?action=viewuser&amp;sid=$sid&amp;who=$item[0]\">".htmlspecialchars($item[1])."</a>

";

            echo  $tlink;

      }
      echo "

"; if($page>1) { $ppage = $page-1; $rets = "<anchor>«PREV"; $rets .= "<go href="search.php?action=$action&sid=$sid&page=$ppage" method="post">"; $rets .= "<postfield name="stext" value="$stext"/>"; $rets .= "<postfield name="sin" value="$sin"/>"; $rets .= "<postfield name="sor" value="$sor"/>"; $rets .= "</go></anchor> ";

    echo $rets;
}
if($page<$num_pages)
{
  $npage = $page+1;
  $rets = "<anchor>Next»";
    $rets .= "<go href=\"search.php?action=$action&amp;sid=$sid&amp;page=$npage\" method=\"post\">";
    $rets .= "<postfield name=\"stext\" value=\"$stext\"/>";
    $rets .= "<postfield name=\"sin\" value=\"$sin\"/>";
    $rets .= "<postfield name=\"sor\" value=\"$sor\"/>";
    $rets .= "</go></anchor> ";

    echo $rets;
}
echo "

$page/$num_pages "; if($num_pages>2) { $rets = "Jump to page<input name="pg" format="*N" size="3"/>"; $rets .= "<anchor>[GO]"; $rets .= "<go href="search.php?action=$action&sid=$sid&page=$(pg)" method="post">"; $rets .= "<postfield name="stext" value="$stext"/>"; $rets .= "<postfield name="sin" value="$sin"/>"; $rets .= "<postfield name="sor" value="$sor"/>"; $rets .= "</go></anchor>";

    echo $rets;
}
echo "

"; }

echo " "; echo " "; echo "<a href="index.php?action=search&sid=$sid"><img src="images/search.gif" alt=""/>"; echo "Search Menu</a> "; echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt=""/>"; echo "Home</a>"; echo " </card>"; }

add this one to ur search.php

get cheap web hosting ever AdzeHost

get free hosting for life time hostwebswap not allowed

get free cpanel web hosting free cpanel hostingwap are allowed

External image (may be gone)

Ricky21ster Developer · 139 posts #12

hi dont know which gallery u using if u using my gallery script for lavalair version look here some where gallery_4_rwscript_by_spiderwebs then this code will works others wise u can use the important code for the gallery search and use with ur script or pls tell me which gallery u using i will ahv a look and code it

get cheap web hosting ever AdzeHost

get free hosting for life time hostwebswap not allowed

get free cpanel web hosting free cpanel hostingwap are allowed

External image (may be gone)

WhiteWarrior Principal · 1,419 posts #18

now I use a original gallery 4 wapdesire... External image (may be gone)

Whats Your Site Url?.. if you really are telling the truth about the members you have then i'll code anything for you for the next 3 months.. because i don't believe you one bit and i don't think anyone here does either! it has taken prodigits YEARS to get where they are today, its taken mopilot even longer!! and what your saying within just say a few months you have beat them Hands down?.. fair enough you don't have more members but if you say, must have taken prodigits about 4 years to get the members they have and its only taken you a few months to get to where you are...

it just isn't possible!

sweetangel Lead · 885 posts #19

Whats Your Site Url?.. if you really are telling the truth about the members you have then i'll code anything for you for the next 3 months.. because i don't believe you one bit and i don't think anyone here does either! it has taken prodigits YEARS to get where they are today, its taken mopilot even longer!! and what your saying within just say a few months you have beat them Hands down?.. fair enough you don't have more members but if you say, must have taken prodigits about 4 years to get the members they have and its only taken you a few months to get to where you are...

it just isn't possible!

but prodigit is english community...my chat is italian and spanish External image (may be gone)

if like my post click:

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close