The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello all
Can anyone please tell me if there is a way of stopping one forums posts counting towards the final forum post count at the top of the screen? i.e I have just installed the newsgroup hack so I now have 2 extra forums with 3000 new posts BUT I worked hard for the original 50,000 posts that helped build my forum so I feel I am cheating a little. I know there is a way to stop it counting towards users posts but I would like to block the forum from counting either of the 2 I just added and count the rest as per normal. I hope someone understands me ! ![]() Thank you Stuart |
#2
|
||||
|
||||
![]()
In index.php find:
PHP Code:
PHP Code:
Untested but should work. |
#3
|
|||
|
|||
![]()
Hi NTLDR
Thank you for your hack thats very kind of you, only I get a database error when I install it? Any ideas please? Thank you again. Database error in vBulletin 2.2.8: Invalid SQL: SELECT COUNT(*) AS posts FROM post WHERE forumid NOT IN(127,128) mysql error: Unknown column 'forumid' in 'where clause' mysql error number: 1054 |
#4
|
||||
|
||||
![]()
Ah yes, the forumid isn't saved along with the posts, try:
PHP Code:
![]() |
#5
|
|||
|
|||
![]()
Your the man Lee, thank you for that works like a dream!
Wouldnt happen to know how I can stop these posts appearing in the "view new posts" now would you? Thank you Stuart |
#6
|
||||
|
||||
![]()
In search.php find around line 558 (of an unhacked 2.3.2 file):
PHP Code:
PHP Code:
![]() |
#7
|
|||
|
|||
![]()
Hi Lee
Wonderful thank you, sorry to keep bugging you but is there anyway the number posts since your last visit can also be changed to ignore these 2 forums? Don't want to upset my members and have them asking why the view new posts isnt working. Thanks again Lee, your a gent! Stuart |
#8
|
||||
|
||||
![]()
I'll assume this is the hack you have installed: Since Your Last Visit!
If so, find: PHP Code:
PHP Code:
![]() |
#9
|
|||
|
|||
![]()
Hello again
Sorry for the delay in replying and thank you so much for your help! I installed the hack you last posted but am getting a sql errror: Invalid SQL: SELECT COUNT(*) AS posts FROM post LEFT JOIN thread USING (threadid) WHERE dateline > '1060933721' AND thread.forumid NOT IN(127,128) mysql error: Column: 'dateline' in where clause is ambiguous mysql error number: 1052 Any ideas? Thank you Stuart |
#10
|
||||
|
||||
![]() PHP Code:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|