Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2015, 03:32 PM
NumNum's Avatar
NumNum NumNum is offline
 
Join Date: Apr 2015
Location: New York
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Clicking on "New Topics" gives a message "Your criteria is not restrictive enough"

Clicking on "New Topics" gives you a message "Your criteria is not restrictive enough and might return too many results. Please restrict your criteria and try again".

Do we need to fix something in the admincp?
Reply With Quote
  #2  
Old 04-23-2015, 09:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to Site Builder > Navigation > click to edit New Topics item > change it to:

Code:
search?searchJSON=%7B"date"%3A"lastVisit"%2C"view"%3A"topic"%2C"unread_only"%3A1%2C"sort"%3A%7B"lastcontent"%3A"desc"%7D%2C"exclude_type"%3A%5B"vBForum_PrivateMessage"%5D%7D
Reply With Quote
  #3  
Old 04-27-2015, 08:30 PM
e3fnxs6p e3fnxs6p is offline
 
Join Date: Mar 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Go to Site Builder > Navigation > click to edit New Topics item > change it to:

Code:
search?searchJSON=%7B"date"%3A"lastVisit"%2C"view"%3A"topic"%2C"unread_only"%3A1%2C"sort"%3A%7B"lastcontent"%3A"desc"%7D%2C"exclude_type"%3A%5B"vBForum_PrivateMessage"%5D%7D
Had the same problem. Don't know why, I have never touched the "New Topics" link, so vBulletin seems to ship it broken...

Your solution however, does seem to work for me, although with a minor change: the double quotes should be percent encoded:
Code:
search?searchJSON=%7B%22date%22%3A%22lastVisit%22%2C%22view%22%3A%22topic%22%2C%22unread_only%22%3A1%2C%22sort%22%3A%7B%22lastcontent%22%3A%22desc%22%7D%2C%22exclude_type%22%3A%5B%22vBForum_PrivateMessage%22%5D%7D
So basically, the code went from (not yet percent encoded, for readability):
Code:
search?searchJSON=%7B"date"%3A"lastVisit"%2C"view"%3A"topic"%2C"unread_only"%3A1%2C"sort"%3A%7B"lastcontent"%3A"desc"%7D%2C"exclude_type"%3A%5B"vBForum_PrivateMessage"%5D%7D
to (not yet percent encoded, for readability):
Code:
search?searchJSON=%7B"date"%3A"lastVisit"%2C"view"%3A"topic"%2C"unread_only"%3A1%2C"sort"%3A%7B"lastcontent"%3A"desc"%7D%2C"exclude_type"%3A%5B"vBForum_PrivateMessage"%5D%7D
Reply With Quote
  #4  
Old 04-27-2015, 08:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't ship broken, it's an issue that we are seeing on just a few sites. We just haven't figured out why it is only happening on some sites but not most.
Reply With Quote
Благодарность от:
NumNum
  #5  
Old 09-12-2015, 05:43 PM
joshskeety joshskeety is offline
 
Join Date: May 2004
Location: Virginia
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try that full line

Code:
search?searchJSON=%7B"date"%3A"lastVisit"%2C"view"%3A"topic"%2C"unread_only"%3A1%2C"sort"%3A%7B"lastcontent"%3A"desc"%7D%2C"exclude_type"%3A%5B"vBForum_PrivateMessage"%5D%7D
It only will output

Code:
search?searchJSON=%7B
Yet, I can add that at the end of my URL and it works, but there seems to be a BUG in the Navigation Bar that stops the string at the first quotation..

Any ideas??
Reply With Quote
  #6  
Old 09-12-2015, 07:34 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having this same issue, just upgraded from 4.22 to 5.1.9.

I am having the same new topics issue as previously mentioned in this thread.

2. The contact us form is not sending email even though the diagnostic email test worked.

3. It is not displaying number of people currently viewing each forum on the main page as it did with ver 4

4. when on the moderator page, when clicking on the link to home page, the url has an incomplete name .php with no file name, used a work around and selected hat all 404 errors go to home page

5. can't seem to get the xml sitemap generation to write
Reply With Quote
  #7  
Old 09-19-2015, 07:37 AM
TMM-TT's Avatar
TMM-TT TMM-TT is offline
 
Join Date: Jun 2005
Location: Sweden
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by delds View Post
I am having this same issue, just upgraded from 4.22 to 5.1.9.

I am having the same new topics issue as previously mentioned in this thread.

It took me an hour figuring out how my forum preferred the searchstring, indeed there's a bug somewhere, maybe related to how the forum handles charsets maybe? I've been running this forum since 2003, and back in the days I used to run on ISO-8859-1, which has caused quite a lot of trouble since the world seemed to switch to UTF-8

However, I wanted to list new topics since the last week, and this is the search string I came up with, that finally started to work.

search?searchJSON=%7B%22date%22:%7B%22from%22:%22l astWeek%22%7D,%22view%22:%22topic%22,%22sort%22:%7 B%22lastcontent%22:%22desc%22%7D,%22exclude_type%2 2%20:%5B%22vBForum_PrivateMessage%22%5D%7D


I actually created an issue on this in my tracker, just to keep this fix stored somewhere

http://tracker.tornevall.net/browse/TWEB-49
Reply With Quote
Благодарность от:
Lynne
  #8  
Old 09-20-2015, 04:11 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can tell you that it took me a while to get familiar at all with vb5 as a lot of things has changed in the way it is set up. After some time though I am getting somewhat accustom to it. Searching for answers on the web though and I seem to find more discontent with vb5 than answers.

I did find one of the previous codes work with the new topics menu item, will also give the one you did a try.

I am finding some of the favorite plugins are not available [been written for] vb5 which is a disappointment, as some I liked that I previously used on version 4 I do not have available for ver 5.

Ones I would like to see is...

Members who have read this thread.

members that have logged in today in the stats area

_______

Vb 4 also showed number of people viewing each forum on the main forum page which this one is not showing.

______
other issues are...

mark channels read - is not working at the top menu but is working on the bottom of the forum list yet they seem to have the same url [from hovering the mouse over the link)

Could not get the contact us form to send email even though the diagnostic test worked, so just created a new page with the contact email and changed the menu url to get around it.

No matter how I changed the xml sitemap url / file or folder permissions it would not work, so installed a stand alone xml sitemap generator.

It is lacking some seo, and has limited moderator capabities
Reply With Quote
  #9  
Old 09-20-2015, 08:04 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your Contact Us isn't working? Do you have a bunch of Queued Emails perhaps?

As for the sitemap, did you enter a FULL path to the sitemap directory and chmod it to 777?

As for showing people visiting a page, Site Builder > Edit Page > add What's Going On module > edit and set Show Users for This Page Only > Yes
Reply With Quote
  #10  
Old 09-20-2015, 08:49 PM
delds delds is offline
 
Join Date: Oct 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried chmod to 777 still could not get the vb5 xml sitemap generation to work.

On vb 4 it would show on each forum [when on the main forum page] how many was viewing each forum not with vb5, in the whats going on module I perfer to see all users anywhere in the forums.

There should be no queued emails as on vb4 before the upgrade I was using a link only to the email address not the form, on vb5 after upgrade it worked in the diagnostic test but not the form and I had entered the correct email in the settings options. Got around it by just creating a new page with the email contacts and then pointing the url on the footer for that link to go to that page

One additional issue was on the moderator page the link back to the forums the url indicated only .php with no filename link I got around that by just setting all 404 errors to go to forums home page.
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:56 PM.


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.04256 seconds
  • Memory Usage 2,290KB
  • Queries Executed 14 (?)
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
  • (7)bbcode_code
  • (2)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
  • (2)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