Skip to main content
Topic: Forum URLtemplates (Read 1996 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Forum URLtemplates

Is there a full list of formats documented somewhere already?

see: https://tools.ietf.org/html/rfc6570

Re: Forum URLtemplates

Reply #1

Nope.
If I got it right, it would be a list of possible...parameters of the url?
Bugs creator.
Features destroyer.
Template killer.

Re: Forum URLtemplates

Reply #2

yep, any threads on that?

Re: Forum URLtemplates

Reply #3

Nope.
I think I can see what comes to my mind in terms of examples (sorry, I'm not that good at following specifications lol), then you can write up the template. :)
Code: [Select]
/index.php
/index.php?action={string}
/index.php?action={string};area={string}
/index.php?action={string};sa={string}
/index.php?action={string};area={string};sa={string}
/index.php?action={string};area={string};sa={string};type={string}
/index.php?board={int}
/index.php?topic={int|string};boardseen
these are the general ones I feel.
Then there is a number of special cases, for example for the profiles that can have the u:
Code: [Select]
/index.php?action=profile;u={int}
the groups that has the group:
Code: [Select]
/index.php?action=groups;group={int}
calendar:
Code: [Select]
/index.php?action=calendar;year={int}
/index.php?action=calendar;year={int};month={int}
/index.php?action=calendar;viewweek;year={int};month={int};day={int}
and the "start={int}" for paginations (so anything that can have more than one page).

Then, these are just the "user-facing" UI, there is still the admin area that is full of nasty stuff.
Bugs creator.
Features destroyer.
Template killer.

Re: Forum URLtemplates

Reply #4

;theme={int}
;debug
;PHPSESSID={string}
LiveGallery - Simple gallery addon for ElkArte

Re: Forum URLtemplates

Reply #5

Quote from: live627 – ;theme={int}
;debug
;PHPSESSID={string}
you can get rid of the PHPSESSID by setting the
"session.use_only_cookies" to "true" in Session.php like so...
Code: [Select]
@ini_set('session.use_only_cookies', true);

Re: Forum URLtemplates

Reply #6

Search
Basic Search
action=searchoutputs full search form
action=search;search={term}Malformed, don't use. GET submitted, but {term} only output to POST form's <input name="search" />
action=search;sa=resultsPOST has been submitted, submission may have...
  • failed (i.e, less than 2 characters), form reloads
    • completed, 0 results
    • completed, 1+ results
action=search;sa=results;search={term}GET has been submitted, submission may have...
  • failed (i.e, less than 2 characters), form reloads
    • completed, 0 results
    • completed, 1+ results
Advanced Search


action=search;sa=results;search={term};searchtype={INT}
  • INT=1, means search results REQUIRES ALL words
  • INT=2, means search results REQUIRES ONLY 1word to match
action=search;sa=results;search={term};userspec={Valid Username}Limits results to Topics & Replies by the named user
action=search;sa=results;;search={term};show_complete={INT}
  • INT=0, default value, truncated info without interactive features in results
  • INT=1, full-text info with interactive features in results
action=search;sa=results;search={term};subject_only=1limits search to thread-titles only
action=search;sa=results;search={term};minage={INT}limits search to a minimum age, between 1-9999 days.
action=search;sa=results;search={term};maxage={INT}limits search to a maximum age, between 1-9999 days.
action=search;sa=results;search={term};sort=relevance%7CdescDefault, ordered by relevance in descending order (most at top)
action=search;sa=results;search={term};sort=relevance%7CascOrdered by relevance in ascending order (least at top)
action=search;sa=results;search={term};sort=num_replies%7CdescOrdered by number of replies to topic in descending order (least at top)
action=search;sa=results;search={term};sort=num_replies%7CascOrdered by number of replies to topic in ascending order (least at top)
action=search;sa=results;search={term};sort=id_msg%7CdescOrdered by date, most recent first
action=search;sa=results;search={term};sort=id_msg%7CascOrdered by date, most recent last