Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-24-2016, 07:11 PM
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin 5 Request - 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 03-25-2016, 07:19 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-26-2016, 08:40 PM
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 03-28-2016, 05:55 PM
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Code:
{"date":{"from":"10000"},"channel":["27","28","29","10560","31807","30","10561","10562"],"sort":{"lastcontent":"desc"},"view":"topic","exclude_type":["vBForum_PrivateMessage"]}
Is this CSS?

I'm definitely in way over my head here... lol.
Reply With Quote
  #5  
Old 03-28-2016, 06:17 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
2 благодарности(ей) от:
jkotlowski, MarkFL
  #6  
Old 03-28-2016, 06:29 PM
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 03-28-2016, 08:48 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jkotlowski View Post
[url]
Code:
{"date":{"from":"10000"},"channel":["27","28","29","10560","31807","30","10561","10562"],"sort":{"lastcontent":"desc"},"view":"topic","exclude_type":["vBForum_PrivateMessage"]}
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.
Reply With Quote
  #8  
Old 03-28-2016, 08:54 PM
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 03-28-2016, 11:52 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 03-29-2016, 12:21 AM
jkotlowski jkotlowski is offline
 
Join Date: May 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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. =/

Quote:
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
Reply


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

Forum Jump


All times are GMT. The time now is 06:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04705 seconds
  • Memory Usage 2,275KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete