![]() |
lol cool.
|
After a bit of searching, I've found a basic way to exclude selected forums from the new posts listing.
Search.php find: PHP Code:
Replace with: PHP Code:
However, this would mean that your members who do want to see new posts regarding these RSS forums, won't see them. A solution to this would be to create a separate search.php file. Just copy the existing search.php and rename it to something like search-rss.php. You can then add another link to your NAVBar or whereever you like to call this particularly search script and show new posts, i.e. I know this isn't an ideal solution, but it's a solution nonetheless. As already discussed, it would be better to have it prompt you if you want to include RSS feeds. Then again, for users that don't and never do, this would be undesirable as well :). I've just changed my NAVBar menu so that 'New Posts' was renamed 'Posts' and this has a drop-down menu, which allows me to select 'New Posts (No RSS)', 'New Posts (with RSS)' , 'Mark Posts Read' etc. Hope you find this useful until another solution is developed. Maybe it will also help Slapyo on the query side anyway. |
I'll stick mine all in a drop down menu, makes life a lot easier. For the time being I have excluded all RRS posts from the new posts search.
Laters |
before i install this. one question.
Can I make a category on my forums JUST for news feeds, and have it post a new thread for every new topic? (for people to discuss and such). Let me know |
Not sure what you mean by category. If you mean post into a particular forum or sub-forum, then yes - this is exactly what the hack does. It will pull feeds from other websites and it will create a new thread for every headline.
For example, I have a forum called RSS Feeds which has many sub-forums. I've created numerous bots that retrieve content from other websites and it automatically posts threads into each of these sub-forums. Quote:
|
Thats what I mean, sorry. Nice... Installing now ;)
|
wjen I run rss.php I get
Parse error: parse error in /www.pbmessage.com/forums/includes/functions_newpost.php on line 1188 Fatal error: Call to undefined function: build_new_post() in /www.pbmessage.com/forums/includes/RSS/rss_update.php on line 103 |
Recheck your edits of the files again, you have done something wrong.
|
Cool Hack! Here'a a suggestion though. Can it be done so that clicking on a thread will redirect to a page split into two frames horizontally? the main news is at the top, the thread discussion is at the bottom. Possible?
|
Hmm i've got a problem here :(
After it's all installed, no errors show up, but when I goto Enable the mod, every user (Including me) who accesses the forums shows logged in AS the news bot? And the forum listing doesn't show up AT ALL If I disable the mod, it returns to normal................!? |
All times are GMT. The time now is 10:26 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|