Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 3 4 [5]   Go Down

Author Topic: Search Album Title & Description  (Read 152730 times)

0 Members and 1 Guest are viewing this topic.

JamesG

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Search Album Title & Description
« Reply #80 on: October 21, 2008, 06:28:44 pm »

Hi, rather new to coppermine and have basic knowledge of php and need some help.
Installed latest version of coppermine and latest version of Album Search. Have got the search by album working fine and returns the results, however, I don't need the 'Files Search results' pane that appears beneath. I've read through the threads and can't see how you can stop this part of the search results from showing!

I'd be very grateful if you can help in any way,
Best regards James
Logged

tjiepie

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Search Album Title & Description
« Reply #81 on: March 06, 2009, 08:22:24 am »

Hello I install these on my gallery.
And it's work fine, thanks :)

But I have one question:
I added these code in anycontent.php on line 72



Code: [Select]
<br>           
<table class="maintable" width="100%" border="0" cellspacing="" cellpadding="5">
<tr>
<td class="tableh1">                   
                      <img src="http://www.-------/themes/classic/images/glas.png" width="18" height="18" align="absmiddle" longdesc="http://www.-------/themes/classic/images/glas.png" /> Advanced Search</td>
</tr>
<tr>
  <td align="left" valign="top">
            <form method="get" action="thumbnails.php" name="searchcpg">
            <input type="hidden" name="album" value="search" />
            <input type="hidden" name="type" value="full" />
            <input type="hidden" name="plugin_search_album" value="true" />
            <input type="input" name="search" maxlength="255" value="" class="textinput" />
            <input type="submit" value="Quick Search" />
            &gt; <a href="search.php">Advanced Search</a>
          </form>
          <script language="javascript" type="text/javascript">
          <!--
          document.searchcpg.search.focus();
          -->
          </script>
          </td>
</tr>

</table>
            </div>

Now the index.php page scroll automatic down to the input box for search album (line 84)
Code: [Select]
<input type="input" name="search" maxlength="255" value="" class="textinput" />
Can I disable these?

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Search Album Title & Description
« Reply #82 on: March 28, 2009, 09:52:38 am »

Also, the search page doesn't have a plugin hook. 
Why not add a hook now to search.php for cpg1.5.x?
Logged

ryanwba1

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Search Album Title & Description
« Reply #83 on: May 23, 2009, 10:42:00 pm »

What's the code to get the username to come up in the description part. Many thanks to person who helps.
Logged

vova_m

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Search Album Title & Description
« Reply #84 on: September 12, 2009, 08:27:11 pm »

Nice plugin, but there is one problem for me: i'm using a cyrillic symbols in album titles and search in cyrillic does not find anything. Standard search works fine. It seems to be problems with charset (i'm using utf-8). Is there any way to make it works?

P.S. Sorry for my Engligh.
Logged

darrenkemp

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Search Album Title & Description
« Reply #85 on: October 15, 2009, 06:39:50 pm »

I have been having some issues with searches returning albums that do not match the search term.
Is there a simple way to force an inline album_search to ONLY search album title and nothing else?

Here is my current inline search code:

          <form method="get" action="thumbnails.php" name="searchcpg">
            <input type="hidden" name="album" value="search" />
            <input type="hidden" name="type" value="albumonly" />
            <input type="hidden" name="plugin_search_album" value="true" />
            <input type="input" name="search" maxlength="255" value="" class="textinput" />
            <input type="submit" value="Search" />
          </form>
          <script language="javascript" type="text/javascript">
          <!--
          document.searchcpg.search.focus();
          -->
          </script>


Thanks!

Darren
Logged

JohannM

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 252
Re: Search Album Title & Description
« Reply #86 on: May 10, 2011, 11:31:01 pm »

Pavel

I have read and follow the instructions in installing the search_album plugin

But it seems to give me problems: I get the following error : Call to undefined function: theme_no_img_to_display() in /home/ysf/public_html/include/functions.inc.php on line 1724

This is when I try to search a "keyword"

Any suggestions please ?

Logged
Pages: 1 2 3 4 [5]   Go Up
 

Page created in 0.025 seconds with 20 queries.