Question about forum search links Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Question about forum search links

    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Question about forum search links

    Post by Van-Helsing Wed 2 Mar - 2:29

    Hello,
    Is there a forum search link to search most viewed topics/posts?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51517
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Question about forum search links

    Post by SLGray Wed 2 Mar - 3:02

    Do you mean on the support forum?

    If no, there are widgets that have links for most viewed topics.



    Question about forum search links Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Wed 2 Mar - 3:12

    Hello @SLGray,
    No, I mean in all forumotion forums, I am asking if there is something similar for web browser's url address bar.

    Example: forum_url/search?show_results=topics&search_id=mostviewed

    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51517
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Question about forum search links

    Post by SLGray Wed 2 Mar - 3:14

    Check your forum's statistics page for most viewed topics.

    Example:  support forum - https://help.forumotion.com/statistics#4



    Question about forum search links Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Wed 2 Mar - 3:22

    I tried this but is displaying the whole forum statistics and just going directly to the most viewed topics. It isn't performing any kind of search especially for the most viewed topics. Do you know if there is search option/link like my example up which can do a search for most viewed topics? It is similar like the most viewed topics widget but I dont know how the widget retrieves these data. Sad
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Thu 3 Mar - 10:28

    Is there a solution about this question?


    Last edited by Van-Helsing on Sun 6 Mar - 18:53; edited 1 time in total
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Fri 4 Mar - 13:40

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Sun 6 Mar - 14:20

    Bump
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19358
    Reputation : 2006
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: Question about forum search links

    Post by Ape Sun 6 Mar - 14:26

    Hello no there is not one that we have on the FM forums... WELL NOT YET Wink
    as for tagging Ange Tuteur well that may not work anymore as he has left the staff and will not be in half as much as he has been you could go ask him in he's forum for help but i think he is having time out right now thou,



    Question about forum search links Left1212Question about forum search links Center11Question about forum search links Right112
    Question about forum search links Ape_b110
    Question about forum search links Ape1010
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Sun 6 Mar - 18:52

    Hello Ape, Smile
    Logical it must there is away because the widget most viewed topics uses an algorithm to retrieve them but I don't know how.

    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Question about forum search links

    Post by Ange Tuteur Sun 6 Mar - 23:24

    Van-Helsing wrote:Hello Ape, Smile
    Logical it must there is away because the widget most viewed topics uses an algorithm to retrieve them but I don't know how.

    There isn't a page that we know of, however that widget most likely retrieves the data from the server. Think The specified data is usually represented as a variable in the template.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Sun 6 Mar - 23:26

    Hello Ange,Smile
    Do you you know which php variable is this?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Question about forum search links

    Post by Ange Tuteur Sun 6 Mar - 23:29

    No, but the template should be in Display > Templates > Portal if it's a default widget. I don't remember what the alias was though bounce
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Question about forum search links

    Post by Van-Helsing Sun 6 Mar - 23:36

    Hmm scratch
    I found some variables on template mod_most_viewed_topics:

    in the default template
    Code:
    <div class="module main">
       <div class="main-head"><div class="h3">{L_MOST_VIEWED_TOPICS}</div></div>
       <div class="main-content">
          <table summary="{L_MOST_VIEWED_TOPICS}" width="100%">
             <!-- BEGIN TOPIC -->
             <tr>
                <td class="{TOPIC.ROW_CLASS}"><a href="{TOPIC.LINK}" title="{TOPIC.TITLE}">{TOPIC.NAME}</a></td>
             </tr>
             <!-- END TOPIC -->
          </table>
          <br class="clear" />
       </div>
    </div>

    but I dont know how to adapt them into code.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Question about forum search links

    Post by Ange Tuteur Mon 7 Mar - 18:17

    Code:
    {L_MOST_VIEWED_TOPICS}
    is a language alias, this is usually denoted with the "L" at the beginning of the variable.

    Code:
    {TOPIC.ROW_CLASS}
    is the row classname. e.g. row1, row2

    Code:
    {TOPIC.LINK}
    is the link to the topic, obviously.

    Code:
    {TOPIC.NAME}
    is the topic name.

    I'm assuming these will only work in the specified template. Note that the TOPIC variables must be between these comments :
    Code:
    <!-- BEGIN TOPIC -->
    <!-- END TOPIC -->

    The first one is most likely a global variable. Think