Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Mar 2016, 20:11
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Allow Members to choose what sections they see in activity feed

http://t5forums.com/

On my site I have a JSON search that shows the latest topics with replies on the front page. What I would like is a drop down menu at the top of the page, perhaps on or close to the Navigation Bar that would allow individual members to modify the parameters of the search to include/exclude sections from the search.

http://www.t5forums.com/vs

The reason I'd like this feature is because my site has a part of it dedicated to fictional VS battles. Certain members are complaining about an abundance of certain types of threads and some are calling for the staff to completely limit or ban those particular topics. I figure that the best way around that would be to put those topics into their own sections then allow the members that don't want to see them click them off.

I may be willing to pay for this if someone can come up with the code. If you can do it but want payment then please PM me and we can discuss the request. But to be clear, I've been ripped off before by someone promising to do some work for my site. So I won't give any payment until I'm shown a working code on a third party demo site that you own.
Reply With Quote
  #2  
Old 25 Mar 2016, 20:19
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
There is a search filter that can be added to the search string

"channel":[19] which would specify only threads inside the forum with nodeid 19. Also, I believe it is an array, so you could actually use javascript to build the search string based on selections with check boxes or radio buttons, maybe even set a cookie to remember the selection. I don't have time to write the code anytime soon though.

This setting is also available in the sitebuilder widget editor in simple mode, if you are just wanting threads from http://www.t5forums.com/vs to show on that page, edit the search widget on that page.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #3  
Old 26 Mar 2016, 21:40
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Originally Posted by Replicant View Post
There is a search filter that can be added to the search string

"channel":[19] which would specify only threads inside the forum with nodeid 19. Also, I believe it is an array, so you could actually use javascript to build the search string based on selections with check boxes or radio buttons, maybe even set a cookie to remember the selection. I don't have time to write the code anytime soon though.

This setting is also available in the sitebuilder widget editor in simple mode, if you are just wanting threads from http://www.t5forums.com/vs to show on that page, edit the search widget on that page.
I have it set up so that only threads from the VS appear on the pain page in VS, so I've got that figured out. It's the above that I'm not sure how to do. (I have absolutely no knowledge in any kind of coding)

Since you don't have time to actually write the code, do you maybe have a site reference that could point me somewhere I could (make a poor attempt) to learn how to do it on my own? Or maybe even just some pointers?
Reply With Quote
  #4  
Old 28 Mar 2016, 19:55
jkotlowski jkotlowski is offline
 
Join Date: May 2015
http://stackoverflow.com/questions/2...box-is-clicked

http://stackoverflow.com/questions/2...with-angularjs

I've been looking at these and trying to make heads or tails out of it, but just can't. Been trying to play with various things on the JS Fiddle site they're linking to, but no luck there.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is this CSS?

I'm definitely in way over my head here... lol.
Reply With Quote
  #5  
Old 28 Mar 2016, 20:17
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
The 2 links you posted are related to AngularJS, not quite what vBulletin uses.
The code you posted is JSON, which is simply said data that your browser or the server parses and then uses to to filter down settings.

Unfortunately I have no experience with vBulletin 5 so I can't help you out. As you can see vBulletin 5 development is pretty much dead so I don't expect anyone that can or will help you out with this besides Replicant/IB staff members.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #6  
Old 28 Mar 2016, 20:29
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Originally Posted by Dave View Post
The 2 links you posted are related to AngularJS, not quite what vBulletin uses.
The code you posted is JSON, which is simply said data that your browser or the server parses and then uses to to filter down settings.

Unfortunately I have no experience with vBulletin 5 so I can't help you out. As you can see vBulletin 5 development is pretty much dead so I don't expect anyone that can or will help you out with this besides Replicant/IB staff members.

I had a complete brain fart there. I should have known that I should have been looking at the page source for the search code. Even I'm not this dumb. Gonna blame it on the fact I've been awake for nearly 24 hours now.

That gets me in a better place than I was before, at least. Thanks.
Reply With Quote
  #7  
Old 28 Mar 2016, 22:48
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
Originally Posted by jkotlowski View Post
[url]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
This is the search string that gets entered in the search module advanced edit in Site Builder. As far as settings based on check boxes clicked, that will take more in depth work to accomplish.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #8  
Old 28 Mar 2016, 22:54
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Originally Posted by Replicant View Post
This is the search string that gets entered in the search module advanced edit in Site Builder. As far as settings based on check boxes clicked, that will take more in depth work to accomplish.
Do you happen to know any references I could use to try to figure this out? Apparently the things I was looking at before won't even work with vBulletin. I'm honestly at a complete loss on where to even start.
Reply With Quote
  #9  
Old 29 Mar 2016, 01:52
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
To modify search strings on a per user basis based on their preferences that are stored preferably in a table, there will need to be

A form with the current categories or forums dynamically built to accommodate future categories/forums that will upload the users prefs to the server.
A frontend controller to receive the data and call the insert api to store it in the table.
There would need to be a modification of the template code to query that table based on current userid and set the search query to the users prefs.
There would need to be a product created with the api to do the data inserts and template queries.

This is what I can see would be the least I can think of to get this to work.
It actually seems like it would be a useful mod, I wish I had more time to look at it.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #10  
Old 29 Mar 2016, 02:21
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Originally Posted by Replicant View Post
To modify search strings on a per user basis based on their preferences that are stored preferably in a table, there will need to be

A form with the current categories or forums dynamically built to accommodate future categories/forums that will upload the users prefs to the server.
A frontend controller to receive the data and call the insert api to store it in the table.
There would need to be a modification of the template code to query that table based on current userid and set the search query to the users prefs.
There would need to be a product created with the api to do the data inserts and template queries.

This is what I can see would be the least I can think of to get this to work.
That's a whole lot more than I was expecting. I seriously doubt I could design a product. I barely know my way around basic HTML and between work, college, and my kid I don't think I'll have any spare time to even try to learn that much. The number of people actively developing for vBulletin 5 seems abysmally low too. I kind of feel like it might even be cheaper to just purchase another forum software and use the conversion tools to set the site to VB4. =/

Originally Posted by Replicant View Post
It actually seems like it would be a useful mod, I wish I had more time to look at it.
The people on my site came from another site where it was in use and it's one of the biggest requests they have. Allowing the users to filter out topics from sections that do not interest them is a pretty great thing to have.
Reply With Quote
  #11  
Old 29 Mar 2016, 03:35
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
I would stay with v5. v4 is still viable as well as v3 but they will eventually be obsolete since the core product isn't under any further development. I reverted my site to v4 just to see the reaction from my users and it was actually pretty funny. They wanted the "old forum" back. VB5 isn't perfect and is lacking in the advanced features dept, but overall is a solid "modern" foundation to build the community on.

Hopefully within the next month or two, my house remodel will be finished and I will have some quality coding time.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile Enhancements MARCO1 Custom User Titles - Let your members choose they second title. MARCO1 vBulletin 4.x Add-ons 40 12 Jan 2012 19:22



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:28.

Layout Options | Width: Wide Color: