vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced 'New Posts' (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=233310)

Emeralda 02-11-2012 04:36 PM

It works on 4.1.10, at least with it's basic functionality, I haven't gotten deeper yet. But it doesn't show properly here:

http://img860.imageshack.us/img860/2...ca1ab11c15.png

Any ideas on how I could get it to work with What's New tab?

depalaza 02-24-2012 06:21 AM

Quote:

Originally Posted by Valter (Post 2177119)
Try rebuilding forum cache by going to your forum manager and saving the display.

Try also with:
Maintenance > Update Counters > Rebuild Thread Information
Maintenance > Update Counters > Rebuild Forum Information

i have same problem and i have do
-forum manager and saving the display.
Maintenance > Update Counters > Rebuild Thread Information
Maintenance > Update Counters > Rebuild Forum Information


but still error

Invalid SQL: SELECT COUNT(*) AS posts, post.threadid, post.dateline, thread.forumid FROM post as post LEFT JOIN thread AS thread ON (thread.threadid = post.threadid) WHERE post.visible = '1' AND thread.forumid NOT IN(3,10,57,64,79,80,81,73,48,74,87,62,75,71,) AND post.dateline >= 1330064830 GROUP BY post.threadid;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND post.dateline >= 1330064830 GROUP BY post.threadid' at line 4
Error Number : 1064
Request Date : Thursday, February 23rd 2012 @ 10:52:17 PM
Error Date : Thursday, February 23rd 2012 @ 10:52:18 PM
Script : http://www.blackgamerz.net/misc.php?...saanp_newposts
Referrer : http://www.blackgamerz.net/forum.php
Classname : vB_Database
MySQL Version :

Valter 02-24-2012 07:25 AM

You have unexpected comma at the end of list of excluded forums.
3,10,57,64,79,80,81,73,48,74,87,62,75,71,

Nirjonadda 02-24-2012 12:17 PM

Working on my forum 4.1.10

depalaza 02-27-2012 12:33 PM

Quote:

Originally Posted by Valter (Post 2302903)
You have unexpected comma at the end of list of excluded forums.
3,10,57,64,79,80,81,73,48,74,87,62,75,71,

hmm excluded forum ? where i can find it ? and that message not shown at admin usergroup so it only shown to other usergroup

Valter 05-21-2012 04:05 PM

v3.0.3 - May 21. 2012.
-Compatible with vBulletin 4.2.x

To upgrade:
-Import XML, allow overwrite
-Revert product templates if modified

Gemma 05-21-2012 04:12 PM

Thanks for the update :)

FTG LIQUID CL 05-22-2012 01:39 AM

Works like it says,updates fine.Great work as always Valter. Thank you

jdeveaux 05-27-2012 12:52 AM

I'm testing with 4.2 and getting the same MySQLi error, below:

Note - I've noticed that it only happens if a user logs out or comes to the site and does not have cached login credentials. Once they log-in everything appears to be ok.


Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT COUNT(*) AS posts, post.threadid
FROM vb_post as post /*FORCE INDEX (dateline)*/
INNER JOIN vb_thread as thread USING (threadid)
INNER JOIN vb_forum AS forum USING (forumid)
LEFT JOIN vb_threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 0)
LEFT JOIN vb_forumread AS forumread ON (forumread.forumid = forum.forumid AND forumread.userid = 0)
WHERE thread.visible IN (1)
AND thread.forumid NOT IN(7,16,24,8,33,21,136,127,115,138,5,110,25,28,29, 42,80,3,12,134,139,36,131,130,30,99,91,32,82,69,31 ,20,27,26,117,)
AND post.dateline > IF(threadread.readtime IS NULL, 1338082997, threadread.readtime)
AND thread.lastpost > IF(threadread.readtime IS NULL, 1338082997, threadread.readtime)
AND post.dateline > IF(forumread.readtime IS NULL, 1338082997, forumread.readtime)
AND thread.lastpost > IF(forumread.readtime IS NULL, 1338082997, forumread.readtime)
AND post.dateline > 1338082997 AND thread.lastpost > 1338082997
GROUP BY post.threadid;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
AND post.dateline > IF(threadread.readtime IS NULL, 1338082997, threadre' at line 8 Error Number : 1064 Request Date : Saturday, May 26th 2012 @ 08:44:21 PM
Error Date : Saturday, May 26th 2012 @ 08:44:22 PM
Script : http://site/misc.php?show=vsaanp_newposts
Referrer : http://site/login.php?do=logout&logo...6f538d64af7e12
IP Address :
Username : Unregistered
Classname : vB_Database_MySQLi
MySQL Version :

Regards,

John

Valter 05-27-2012 06:38 AM

At the end of list of excluded forums you have extra comma which produces error:
...27,26,117,).

It should not be there. Try rebuilding Forum Information.


All times are GMT. The time now is 08:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01746 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete