![]() |
Does it properly parse new threads and new posts yet? A new post in an old thread is not a new thread.
|
Hack not working for me!! :( I've got VB 3.0 RC2
|
Quote:
|
Quote:
|
Like Linear Helix mentioned earlier.
Is there anyway to make it so that the totals only show threads/posts forums that users have permission to view. i.e if a member posts in a private forum,the total only goes up for other users that have permission to view it. Would solve any possible complaints from members when the stats show new threads/posts have been made,but when they click on "new posts" the totals don't match. BTW, clicks Install. ;) |
Reverend, that would require a very complex query.
|
Quote:
|
Quote:
PHP Code:
Then you add (new threads count in this case) , PHP Code:
|
Can you show us the whole thing? ;)
|
Quote:
PHP Code:
Havent tested it but it should work. :) |
Quote:
|
Quote:
IN(" . implode(', ', $forumids) . ") |
Shows you what I know, huh? ;)Any way to combine the 2 queries like that?
EDIT: That query had a syntax error in it somewhere. ;) |
Quote:
And why would you want to combine those two? they are from two different table... You wont gain anything by joining them. |
Well, it wouldn't run. It gave me an error near lastpost IN.
Joining the queries will reduce it to one and save one query. ;) |
Quote:
|
Quote:
But then again, im a n00b and get things wrong most of the time... :p |
I have installed the regular file, how do i make the numbers bold so they stick out
|
Quote:
PHP Code:
PHP Code:
|
Thanks, M1th. I haven't tried your stuff there yet, but I'm gonna check it out and make it work.
|
For anyone that has installed the instructions_newthreads.txt version you might want to make a grammatical change to the phrase content
From this: Code:
There have been {1} threads and {2} posts since your last visit! Code:
There have been {2} posts in {1} threads since your last visit! |
This is what I have put in my globals.php, replacing what the original hack prescribed.
PHP Code:
|
Quote:
|
Quote:
|
Ah, I had not known that the HTML for the database error page would contain the error comment.
*** Database error in vBulletin 3.0.0 Release Candidate 2: Invalid SQL: SELECT COUNT(*) AS threads FROM thread WHERE lastpost IN() > '1068258593' 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 ') > '1068258593'' at line 3 mysql error number: 1064 *** Character entity. I'll see if I can fix that > crappage. |
Quote:
Anyways, I think you're missing the code from this post: https://vborg.vbsupport.ru/showpost....8&postcount=48 |
Check the database error I posted. You're right, it probably isn't the gt that is messing up, but it's thereabouts.
I am not missing that code: it's right there at the beginning of the code block I posted. |
Quote:
|
Quote:
"There have been 2 posts in 1 threads since your last visit!" If they make 3 posts in 2 threads that aren't new it will say "There have been 3 posts in 2 threads since your last visit!" So would you like to explain why you reckon that doesn't work. ???? Don't forget i'm using the first version of the hack which isn't specifically for "new" threads ;) |
Quote:
Geez,sorry for mentioning it. :devious: |
I would only use it with new posts AND new threads. Then it wouldn't work right. ;)
|
Quote:
And to Reverend, I can't really see how either way would be "gramatically correct" :p |
Quote:
Whatever ... :rolleyes: :D |
Quote:
|
Err.. Am I just stupid or something, but what does it mean by 'Phrase'? Is it a query that has to be run or a new template? o_o
|
Quote:
|
Thanks, I should have noticed that myself >_>;;
Text has come up, but the number of threads and posts ain't there - Is there something that has to be added for RC2? |
Quote:
|
Quote:
Great job was looking for this. |
Quote:
|
All times are GMT. The time now is 04:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|