![]() |
Import Unread News from a Forum
This is a port of the hack for vBulletin 3.5. Upgrading the hack after upgrading the forum should not be necessary.
Quote:
|
looks great ... will be tested soon on my board
|
Question:
Will this display the message for all unread threads in a forum? (i.e...when a new member registers...this would force him to read all the rules...) |
Yes, if you set it like that in the Admin CP - in fact I think the default settings will do that. If that is not happening by default, just make sure that "Cut off all news created before user's join date?" is set to no and that both the "Time cutoff for news" and "Only check latest X topics" fields are set to 0. Then all unread news since the beginning will be shown for all users.
Unless I misunderstood what you were asking about. |
Wow I've been waiting for this...
|
shit hot idea mate... but i get this error
Invalid SQL: SELECT threadid FROM +++++ad WHERE userid = 1 AND threadid IN (155929,155814,155188,155185,151089,150188); MySQL Error : Table 'xxxxx.+++++ad' doesn't exist Error Number : 1146 Date : Friday, August 4th 2006 @ 10:26:58 PM Script : xxxx Referrer : xxxxx IP Address : xxxx Username : MentaL Classname : xxxx |
Don't seem to be working though. :speechless:
Hmm.. Nothing shown up on the forumhome page :/ |
Nevermind, ignore my post. That isn't an issue anymore. :)
|
Quote:
|
Hi!
I have a few questions: 1. At what forums are that screenshot made? Cause I like the background (you can PB me if you want). 2. Example: My news forum gets about 5-10 posts every day. Of course when a member isn't at my forums for three days, I don't want to show them 30 posts. So I make a limit of 5 posts. My question is: when they have read those 5 posts (after 3 days of absense), will the other 25 posts show (per 5) again and again untill they have read them all? 3. How does it work for guests? 4. Is the default vBfunction "mark posts as read" affecting this hack? Cause you stay I need Paul's hack (I already have that one installed). Thx! |
mentalrz and BiReL41r, I highly suspect you don't have Paul_M's "Display who has read a thread" hack (linked to in the first post) installed - it's required for this to work. (I know I should have entered it as a product dependency, but there was a problem with that option in the Admin CP in beta 3 and I haven't gotten around to fixing it in the product yet.)
Eagle Creek: 1. It's on my forums, but admittedly I modified the quick style switcher to modify the style that's set in the database instead of a cookie, so it doesn't work for guests, and that's not the default style, so you can't really see it there. =/ 2. It depends on what setting you change to five. What you want to set is "Only check latest X topics", not "Maximum unread news displayed at one time". 3. For guests, nothing is displayed at all. 4. Not that I'm aware of, no, unless Paul worked it into his hack. |
Nope, I already have it installed.
|
Well, that is odd, because the error clearly states that the table "+++++ad" does not exist, and Paul_M's hack definitely does create that table...
|
Thanks for the anwsers! Very clear to me!
|
hey i installed it but when i write a message in the news board that i choosed i get this databas error:
Quote:
|
Did you install Paul_M's hack first?
|
no i don´t have that installed should i install it? if i should were do i find it?
|
It's linked to in the first post in highlighted text and is required for this hack to function, as clearly stated. Watch out for stuff like that when you install hacks.
|
tack jag såg inte riktigt det men nu funkar det.
|
I want that this hack just takes the threads that are stucked. Does anybody know how to do this?
|
Is there any chance to make an option appear in the User CP to let them chose whether they want to see the news section or not ?
edit: Downloading it I found the conditions.txt ;) |
Hi
In my server logs i am getting this error Code:
[Sat Apr 7 21:22:07 2007] [error] PHP Parse error: syntax error, unexpected '{' in /usr/home/myhomedire/domains/bashys-place.com/public_html/forums/global.php(356) : eval()'d code(562) : eval()'d code on line 1 Also product version is 2.23 and not 3.0 in the list? |
All times are GMT. The time now is 07:46 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:
|