Results 1 to 11 of 11

Thread: Search-ul pe forum

  1. #1
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1

    Search-ul pe forum

    Incep prin a spune ca eu folosesc pe acest forum in special search-ul. Chiar daca e mascat sub forma butonului "New posts" sau thread-uri pornite de un anume user, etc.

    Am o mica rugaminte legata de Search-ul de pe forum. Nu stiu daca il foloseste multa lume, desi ar trebuie, pentru ca forumul e deja stufos... si e cam greu sa iei subforum cu subforum la rand.
    In acest moment cand se da search apar urmatoarele informatii:

    Thread / Thread Starter - Dar in care nu apare decat numele Threadului su si starterul.
    Last Post - aici apare thread starterul, desi ar trebui la coloanade mai sus.
    Si asa mai departe Replies Views Forum.
    Deci din cate vad eu s-au decalat toate coloanele, din cauza ca thread starter a iesit din "celula" lui
    (probabil e un <td> care nu e inchis sau ceva de genul asta in codul HTML/PHP).

    Daca se poate remedia, mai ales ca nu e cine stie ce, asa aprecia foarte mult.
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  2. #2
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1
    Sa intzeleg ca nu se poate face nimic, sau nu e timp, sau nu se vrea?
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  3. #3
    sportaholic Vadim's Avatar
    Join Date
    Nov 2002
    Location
    Bucuresti
    Posts
    21,234
    Reputatie
    1
    A fost schimbat putin layoutul forumului, in sensul ca a fost adaugata coloana "thread starter" care inainte nu aparea. Numele celui care incepea threadul era initial exact sub thread, ceea ce mi s-a parut cam aglomerat. Decalajul actual la searh apare din cauza ca nu a fost modificat templateul de searh. Daca ma ajuta cei de la vbulletin, se va repara gresala.

  4. #4
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1
    Cine se stie nu se sesizeaza? Template-ul de la search... E o luna de cand am zis si eu... Chiar nu e timp... Vreti sa ma ofer eu? Ce naiba sunt 2 de <td>...
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  5. #5
    sportaholic Vadim's Avatar
    Join Date
    Nov 2002
    Location
    Bucuresti
    Posts
    21,234
    Reputatie
    1
    Ar fi o idee, eu nu ma pricep.

  6. #6
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1
    Pai din cate stiu eu se pot face modificari de la Admin control panel, la vBulletin, la Style & Templates... Edit Templates, Search Templates, la "search_results"... Customize... si imi trimiti textul de acolo, pe care il modific.. si apoi trebuie pus la loc.
    Last edited by fia; 14th July 2004 at 06:38.
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  7. #7
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1
    Asta am verificat in vBulletin 3.0.1 care e versiune Demo de pe www.vBulletin.com. Presupun ca nu s-a schimbat mare lucru pana la 3.0.3.
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  8. #8
    sportaholic Vadim's Avatar
    Join Date
    Nov 2002
    Location
    Bucuresti
    Posts
    21,234
    Reputatie
    1
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar

    <if condition="$pagenav">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
    <tr valign="bottom">
    <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    </if>

    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="tcat" colspan="20" style="font-weight:normal">

    <span class="smallfont" style="float:$stylevar[right]">
    <phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
    <br />
    <phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
    </span>

    <a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
    <span class="smallfont">
    <if condition="$action == 'process'">
    <if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
    <if condition="$displayWords AND $displayUsers">; </if>
    <if condition="$displayUsers">
    <if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
    </if>
    <else />
    <if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if>
    </if>
    <if condition="$displayForums">
    ; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
    </if>
    </span>
    </td>
    </tr>

    <if condition="$displayCommon">
    <tr>
    <td class="thead" style="font-weight: normal" colspan="20">$vbphrase[words_very_common]: $displayCommon</td>
    </tr>
    </if>

    <if condition="$search[showposts]">

    </table>
    $searchbits
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

    <else />

    <tr>
    <td class="thead" colspan="2">&nbsp;</td>
    <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
    <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
    <td class="thead" width="25%">$vbphrase[forum]</td>
    <td class="thead">Test</td>
    </tr>
    $searchbits

    </if>

    <tr>
    <td class="tfoot" colspan="20" align="$stylevar[right]">
    <span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
    </td>
    </tr>
    </table>

    <if condition="$pagenav">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <tr valign="top">
    <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    </if>

    <br />

    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="100%">&nbsp;</td>
    <td>$forumjump</td>
    </tr>
    </table>

    $footer

    </body>
    </html>

  9. #9
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar

    <if condition="$pagenav">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
    <tr valign="bottom">
    <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    </if>

    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    <td class="tcat" colspan="20" style="font-weight:normal">

    <span class="smallfont" style="float:$stylevar[right]">
    <phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
    <br />
    <phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
    </span>

    <a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
    <span class="smallfont">
    <if condition="$action == 'process'">
    <if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
    <if condition="$displayWords AND $displayUsers">; </if>
    <if condition="$displayUsers">
    <if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
    </if>
    <else />
    <if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if>
    </if>
    <if condition="$displayForums">
    ; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
    </if>
    </span>
    </td>
    </tr>

    <if condition="$displayCommon">
    <tr>
    <td class="thead" style="font-weight: normal" colspan="20">$vbphrase[words_very_common]: $displayCommon</td>
    </tr>
    </if>

    <if condition="$search[showposts]">

    </table>
    $searchbits
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

    <else />

    <tr>
    <td class="thead" colspan="2">&nbsp;</td>
    <td class="thead" width="75%">$vbphrase[thread] </td>
    <td class="thead" > $vbphrase[thread_starter]</td>
    <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
    <td class="thead" width="25%">$vbphrase[forum]</td>

    </tr>
    $searchbits

    </if>

    <tr>
    <td class="tfoot" colspan="20" align="$stylevar[right]">
    <span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
    </td>
    </tr>
    </table>

    <if condition="$pagenav">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
    <tr valign="top">
    <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
    </tr>
    </table>
    </if>

    <br />

    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="100%">&nbsp;</td>
    <td>$forumjump</td>
    </tr>
    </table>

    $footer

    </body>
    </html>
    Last edited by fia; 14th July 2004 at 12:51.
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  10. #10
    Ancient fia's Avatar
    Join Date
    Mar 2004
    Location
    Pe pÔrtie
    Posts
    8,522
    Reputatie
    1
    Am modificat doar in portiunea pe care am pus-o cu bold.
    deci in principiu trebuie inlocuita sectiunea:


    <td class="thead" colspan="2">&nbsp;</td>
    <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
    <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
    <td class="thead" width="25%">$vbphrase[forum]</td>
    <td class="thead">Test</td>


    cu


    <td class="thead" colspan="2">&nbsp;</td>
    <td class="thead" width="75%">$vbphrase[thread] </td>
    <td class="thead" > $vbphrase[thread_starter]</td>
    <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
    <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
    <td class="thead" width="25%">$vbphrase[forum]</td>


    E in codul pe care mi l-ai dat o linie:
    <td class="thead">Test</td>
    Asta presupun ca ai adaugat-o acum...
    [B][COLOR=DarkRed]C-asa sunt eu rapidist, c-asa sunt eu RAPIDist[/COLOR][/B]
    [B][COLOR=Silver]Niciodata nu sunt trist, niciodata nu sunt trist[/COLOR][/B]
    [B][COLOR=DarkRed]Si la bine si la rau, si la bine la si la rau[/COLOR][/B]
    [B][COLOR=Silver]RAPID este clubul meu, RAPID este clubul meu.[/COLOR][/B]

  11. #11
    sportaholic Vadim's Avatar
    Join Date
    Nov 2002
    Location
    Bucuresti
    Posts
    21,234
    Reputatie
    1
    Gata, merge. 10q.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •