Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / MVC version(v1.XX)
 Search Question

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Etymon Posted - 13 September 2020 : 23:27:45
Hey Huw,

Do you have anything with the .NET version where a person can be directed straight to the search page with the Forum's name preselected?

The Classic version has it, but I don't know how to link to the .NET like that ... like this ... https://forum.snitz.com/classicforum/search.asp?FORUM_ID=25
12   L A T E S T    R E P L I E S    (Newest First)
Etymon Posted - 22 September 2020 : 08:51:45
Thanks, Huw!
HuwR Posted - 19 September 2020 : 13:21:02
Ok, managed to create a dummy controller that just redirects to the search page. So you will be able to use

https://forum.snitz.com/forum/Search/1/?phrase=Avatar Mod for 3.4


This will only work in version 2
HuwR Posted - 19 September 2020 : 12:29:12
In the process of adding this for version 2, url will basically look like

https://forum.snitz.com/forum/Forum/Search/1?phrase=Avatar Mod for 3.4

I may be able to remove the second Forum, but that would require adding a Search controller to the mvc code which it currently does not have, the search functions are part of the Forum controller. I will see how much work it would be to change.
HuwR Posted - 18 September 2020 : 14:53:22
It could be done, however the URL would look something like

Forum.snitz.com/forum/forum/search/26?terms=mod title&searchfor=phrase or something like that would have to work out what is required for the search form to work
Etymon Posted - 16 September 2020 : 17:45:16
I'm making a "MODS Installed" mod where I am using the forum id and an installed mod's title to refer a person to the forum ids of 25 and 26 along with the title of the mod so that it prefills the Search input and pre-selects the appropriate forum.
Etymon Posted - 16 September 2020 : 15:43:46
I'm thinking MVC could maybe do something like this:

https://forum.snitz.com/forum/search/25/Avatar Mod for 3.4


in comparison to Classic's:

https://forum.snitz.com/classicforum/search.asp?FORUM_ID=25&Search=Avatar Mod for 3.4
HuwR Posted - 16 September 2020 : 14:51:25
You couldn't do what your example does any, that is not how .net routing works, it would still look very similar to the classic asp URL. Just not sure why you would need to do it? It would also require the search method changing from a POST to a GET
HuwR Posted - 16 September 2020 : 14:48:23
For what reason would you need/want to do that?
HuwR Posted - 16 September 2020 : 07:48:45
Not sure I follow, the two forums are the same database so searching doesn't know what classic or .net means it's just a search
Etymon Posted - 15 September 2020 : 14:24:54
I want these (but for the MVC):

https://forum.snitz.com/classicforum/search.asp?FORUM_ID=25

https://forum.snitz.com/classicforum/search.asp?FORUM_ID=25&Search=Avatar Mod for 3.4
Etymon Posted - 15 September 2020 : 14:14:02
OK. Thanks Huw! I am trying to write a MOD for the users to search for help in the MVC forum from a specific forum. The MOD is for Classic ASP, but depending on which technology a person is more comfortable using, as in, the Snitz forum (forum.snitz.com/?/ in Classic or MVC, I want to give an option for both.

My MOD looks something like this for now:




Search for info at Snitz.com:

MODs W/Code Forum: Classic / .NET
MODs WO/Code Forum: Classic / .NET
MOD Help Forum: Classic / .NET




HuwR Posted - 15 September 2020 : 12:20:36
no, but you can search a forums posts from the forum page itself you don't need to go to the search page, the search box in the right hand column of the forum page searches that specific forum.
I could add that ability, but might forget unless you post it in my todo forum

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07