Advertisement
Guest User

Search MPGH

a guest
Apr 12th, 2011
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.13 KB | None | 0 0
  1. The Part of the code which allows you to search is
  2.  
  3. http://www.mpgh.net/forum/search.php?do=process&query=(searchWordHere, Minus "()")
  4.  
  5. Where searchwordhere is the word for which you are searching.
  6.  
  7. Here is a list of the extra search parameters you can add to the URL. When you add a search parameter to the URL you need to add this to the end of the URL:
  8.  
  9. Search field: Search by Key Word
  10.  
  11. Variable name: titleonly
  12. Values:
  13. 0 = Search Entire Posts
  14. 1 = Search Titles Only
  15.  
  16. Search field: Search by User Name
  17.  
  18. Variable name: searchuser
  19. Values: Enter a username
  20.  
  21. Variable name: starteronly
  22. Values:
  23. 0 = Find Posts by User
  24. 1 = Find Threads Started by User
  25.  
  26. Variable name: exactname
  27. Values:
  28. 0 = Partial name
  29. 1 = Exact name
  30.  
  31. Search field: Find Threads with
  32.  
  33. Variable name: replyless
  34. Values:
  35. 0 = At Least
  36. 1 = At Most
  37.  
  38. Variable name: replylimit
  39. Values: Any integer values
  40.  
  41. Search field: Find Posts from
  42.  
  43. Variable name: searchdate
  44. Values:
  45. 0 = Any Date
  46. lastvisit = Your Last Visit
  47. 1 = Yesterday
  48. 7 = A Week Ago
  49. 14 = 2 Weeks Ago
  50. 30 = A Month Ago
  51. 90 = 3 Months Ago
  52. 180 = 6 Months Ago
  53. 365 = A Year Ago
  54.  
  55. Variable name: beforeafter
  56. Values:
  57. after = and Newer
  58. before = and Older
  59.  
  60. Search field: Sort Results by
  61.  
  62. Variable name: sortby
  63. Values:
  64. rank = Relevancy
  65. title = Title
  66. replycount = Number of Replies
  67. views = Number of Views
  68. threadstart = Thread Start Date
  69. lastpost = Last Posting Date
  70. postusername = User Name
  71. forum = Forum
  72.  
  73. Variable name: order
  74. Values:
  75. descending = in Descending Order
  76. ascending = in Ascending Order
  77.  
  78. Search field: Show Results as
  79.  
  80. Variable name: showposts
  81. Values:
  82. 0 = Show Results as Threads
  83. 1 = Show Results as Posts
  84.  
  85. Search field: Search in Forum(s)
  86.  
  87. Variable name: forumchoice[]
  88. Values: Do not include this variable in the URL to search all forums. If you want to search specific forums then you need to add an instance for each forumid. For example:
  89. &forumchoice[]=X&forumchoice[]=Y&forumchoice[]=Z
  90. Where X, Y, and Z are the forumids of the forums in which you want to search.
  91.  
  92. Variable name: childforums
  93. Values:
  94. 0 = Do not search in child forums
  95. 1 = Also search in child forums
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement