The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Question about forum search links

View previous topic View next topic Go down

In progress Question about forum search links

Post by Van-Helsing on March 2nd 2016, 3:29 am

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

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by SLGray on March 2nd 2016, 4:02 am

Do you mean on the support forum?

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


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


SLGray
Administrator
Administrator

Male Posts : 36705
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 2nd 2016, 4:12 am

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


Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by SLGray on March 2nd 2016, 4:14 am

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

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


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


SLGray
Administrator
Administrator

Male Posts : 36705
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 2nd 2016, 4:22 am

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
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 3rd 2016, 11:28 am

Is there a solution about this question?


Last edited by Van-Helsing on March 6th 2016, 7:53 pm; edited 1 time in total

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 4th 2016, 2:40 pm

Bump

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 6th 2016, 3:20 pm

Bump

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by APE on March 6th 2016, 3:26 pm

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,





APE
Manager
Manager

Male Posts : 8636
Reputation : 757
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 6th 2016, 7:52 pm

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.


Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Ange Tuteur on March 7th 2016, 12:24 am

@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.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 7th 2016, 12:26 am

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

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Ange Tuteur on March 7th 2016, 12:29 am

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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Question about forum search links

Post by Van-Helsing on March 7th 2016, 12:36 am

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.

Van-Helsing
Hyperactive

Male Posts : 2222
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

In progress Re: Question about forum search links

Post by Ange Tuteur on March 7th 2016, 7:17 pm

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

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum