Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Exclude Forums from What's New & FORUMHOME Details »»
Exclude Forums from What's New & FORUMHOME
Version: 4.1, by ForumsMods ForumsMods is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 12-30-2010 Last Update: 06-22-2011 Installs: 101
DB Changes Uses Plugins Auto-Templates
Code Changes Additional Files Translations  
No support by the author.

Exclude Forums from What's New & FORUMHOME

Description:
This Hack allows users to hide forums from What's New (Get New/Get Daily) & FORUMHOME

Installation:
  1. Upload all files in folder upload to ther respective directories on your webserver.
  2. Go to ACP / Plugins & Products / Manage Products and import product-exclude_whatsnew.xml
Where to set option:
Forums & Moderators-> Forum Permissions

Languages:
- English

History:
31-12-10: v4.0 First Release
23-06-11: v4.1 - Fixed Bug: Forums not being excluded from searches. Added Hide from FORUMHOME

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

Download Now

File Type: zip product-exclude_whatsnew_4-0.zip (4.1 KB, 181 views)
File Type: zip product-exclude_whatsnew_4-1.zip (4.9 KB, 426 views)

Screenshots

File Type: png 1.png (8.6 KB, 0 views)
File Type: png 2.png (8.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-19-2011, 11:13 PM
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THANKS !!!!! Working like a charm on vB 4.1.4.

Just don't forget to enable one disabled plugin. Just go to ACP -> Plugins & Products -> Plugin manager , and enable "Exclude Forums from What's New" (there are 4 , but one of them is disabled ... ENABLE it !)

Then simply edit permissions for forums ...
Reply With Quote
  #43  
Old 06-23-2011, 04:17 AM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v4.1
===
- Fixed Bug: Forums not being excluded from searches
- New Feature: Added Hide from FORUMHOME
Reply With Quote
  #44  
Old 06-23-2011, 10:04 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, re-installed 4.1 for testing on 4.1.3 of vBulletin ....

I now see how individual users can exclude forums from being searched, but where does one do a setting that PREVENTS one (or more) specific forum(s) for ALL users to NOT be searched?

Regards,
Doug
Reply With Quote
  #45  
Old 06-23-2011, 11:50 AM
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 BadgerDog:

For specific usergroup:
ACP -> Forums & Moderators -> Forum Permissionst -> Edit permission for that usergroup in that forum where you want block search. And set: Can Search Forums - No

For specific sub-forum for all of the users
ACP -> Forums & Moderators -> Forum Manager -> Edit specific forum and set: Index New Posts in Search Engine - No
(Setting this to 'No' will prevent anyone from being able to search in this forum) and rebuild search indexes:

Maintenance -> Update Counters -> Rebuild Search Index
This will take some time! Depending how big your forum is. And i recommand to CLOSE forum before you start this !!! And, ofcourse, make a DB backup
Reply With Quote
  #46  
Old 06-23-2011, 11:59 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HolyKiller View Post
2 BadgerDog:

For specific usergroup:
ACP -> Forums & Moderators -> Forum Permissionst -> Edit permission for that usergroup in that forum where you want block search. And set: Can Search Forums - No

For specific sub-forum for all of the users
ACP -> Forums & Moderators -> Forum Manager -> Edit specific forum and set: Index New Posts in Search Engine - No
(Setting this to 'No' will prevent anyone from being able to search in this forum) and rebuild search indexes:

Maintenance -> Update Counters -> Rebuild Search Index
This will take some time! Depending how big your forum is. And i recommand to CLOSE forum before you start this !!! And, ofcourse, make a DB backup
Thank you ... :up:

Regards,
Doug
Reply With Quote
  #47  
Old 07-03-2011, 12:09 PM
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForumsMods View Post
New Feature: Added Hide from FORUMHOME
This is AMAZING! Users on my forum totally LOVE this feature. They finally can hide unneeded forums.

MOTM +1 :]
Reply With Quote
  #48  
Old 07-11-2011, 10:40 AM
BANDiT600 BANDiT600 is offline
 
Join Date: Jul 2003
Location: Russian Federation
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now it's working!
Reply With Quote
  #49  
Old 11-24-2011, 03:07 PM
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought this was working fine, however when I acually used it myself I discovered that when I go to the CMS Home tab it causes mass Chaos
using 4.18 with assorted new post widgets on the home page including most viewed post by friends and latest post.
PHP Code:
vB_Legacy_Forum does not have a field 'title' on line 40 in 

/home/host1/public_html/example/vb/legacy/dataobject.php
#0 /home/host1/public_html/example/vb/legacy/forum.php(60): 

vB_Legacy_Dataobject->get_field('title')
#1 /home/host1/public_html/example/packages/vbforum/search/result/post.php(157): 

vB_Legacy_Forum->get_field('title')
#2 /home/host1/public_html/example/packages/vbcms/widget/searchwidget.php(620): 

vBForum_Search_Result_Post->render(Object(vB_Legacy_CurrentUser), 

Object(vB_Search_Criteria), 'vbcms_searchres...')
#3 /home/host1/public_html/example/packages/vbcms/widget/searchwidget.php(356): 

vBCms_Widget_Searchwidget->renderResult(Array, Array)
#4 /home/host1/public_html/example/packages/vbcms/controller/content.php(230): 

vBCms_Widget_Searchwidget->getPageView()
#5 [internal function]: vBCms_Controller_Content->actionView()
#6 /home/host1/public_html/example/vb/controller.php(191): call_user_func_array(Array, 

Array)
#7 /home/host1/public_html/example/packages/vbcms/route/content.php(97): 

vB_Controller->getResponse()
#8 /home/host1/public_html/example/vb/router.php(251): 

vBCms_Route_Content->getResponse()
#9 /home/host1/public_html/example/vb/bootstrap.php(58): vB_Router::getResponse()
#10 /home/host1/public_html/example/content.php(30): require_once('/home/host1/pu...')
#11 /home/host1/public_html/example/index.php(56): require('/home/host1/pu...')
#12 {main}


Fatal errorvB_Legacy_Forum does not have a field 'title' on line 40 in 

[path]/vb/legacy/dataobject.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, vB_Legacy_Forum does not have a field 'title' on line 40 in 

/home/host1/public_html/example/vb/legacy/dataobject.php 

/
home/host1/public_html/example/vb/vb.php287, Array ([exception] => Exception Object ([] => 

vB_Legacy_Forum does not have a field 'title',[] => ,[] => 0,[] => 

/
home/host1/public_html/example/vb/legacy/dataobject.php,[] => 40,[] => Array ([0] => Array 

([
file] => /home/host1/public_html/example/vb/legacy/forum.php,[line] => 60,[function] => 

get_field,[class] => vB_Legacy_Dataobject,[type] => ->,[args] => Array ([0] => title)),[1] => Array 

([
file] => /home/host1/public_html/example/packages/vbforum/search/result/post.php,[line] => 

157,[function] => get_field,[class] => vB_Legacy_Forum,[type] => ->,[args] => Array ([0] => title)),[2

=> Array ([
file] => 

/
home/host1/public_html/example/packages/vbcms/widget/searchwidget.php,[line] => 

620,[function] => render,[class] => vBForum_Search_Result_Post,[type] => ->,[args] => Array ([0

=> 
vB_Legacy_CurrentUser Object ([] => ,[] => ,[] => ,[] => vB_Registry Object ([datastore] => 

vB_Datastore Object ([defaultitems] => Array ([0] => options,[1] => bitfields,[2] => 

attachmentcache,[3] => forumcache,[4] => usergroupcache,[5] => stylecache,[6] => 

languagecache,[7] => products,[8] => pluginlist,[9] => cron,[10] => profilefield,[11] => loadcache,[12

=> 
noticecache),[registry] => vB_Registry Object ( *RECURSION*,[dbobject] => vB_Database 

Object 
([functions] => Array ([connect] => mysql_connect,[pconnect] => 

mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => 

mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => 

mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek

=> 
mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => 

mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => 

mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => 

mysql_insert_id,[escape_string] => mysql_escape_string,[real_escape_string] => 

mysql_real_escape_string,[close] => mysql_close,[client_encoding] => 

mysql_client_encoding,[ping] => mysql_ping),[registry] => vB_Registry Object 

*
RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => 

vBulletin,[appshortname] => vBulletin,[database] => host1_firstforum,[connection_master] => 

Resource id #9,[connection_slave] => Resource id #9,[connection_recent] => Resource id 

#9,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 

1322146912 WHERE userid ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => 0,[maxpacket] => 

0,[locked] => ,[querycount] => 222),[prefix] => ,[checked_options] => 1),[input] => vB_Input_Cleaner 

Object 
([shortvars] => Array ([f] => forumid,[t] => threadid,[p] => postid,[u] => userid,[a] => 

announcementid,[c] => calendarid,[e] => eventid,[q] => query,[pp] => perpage,[page] => 

pagenumber,[sort] => sortfield,[order] => sortorder),[superglobal_lookup] => Array ([g] => _GET,[p

=> 
_POST,[r] => _REQUEST,[c] => _COOKIE,[s] => _SERVER,[e] => _ENV,[f] => _FILES),[scriptpath

=> ,[
reloadurl] => ,[wolpath] => ,[url] => ,[ipaddress] => ,[alt_ip] => ,[registry] => vB_Registry Object 

*
RECURSION*,[cleaned_vars] => Array ([vbulletin_collapse] => 7,[CC_referrerid] => 3,[CC_userid

=> 
3,[CC_password] => 7,[CC_lastvisit] => 3,[CC_lastactivity] => 3,[CC_threadedmode] => 

9,[CC_sessionhash] => 9,[CC_userstyleid] => 3,[CC_languageid] => 3,[CC_skipmobilestyle] => 

1,[s] => 9,[styleid] => 2,[langid] => 2,[api] => 0,[referrerid] => 3,[a] => 7,[nojs] => 1,[ajax] => 

1,[dofbredirect] => 1,[CC_cms_rate] => 7,[page] => 2,[pagenumber] => 3,[CC_thread_lastview] => 

7),[friendly_uri] => ),[db] => vB_Database Object ([functions] => Array ([connect] => 

mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => 

mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => 

mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => 

mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => 

mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => 

mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id

=> 
mysql_insert_id,[escape_string] => mysql_escape_string,[real_escape_string] => 

mysql_real_escape_string,[close] => mysql_close,[client_encoding] => 

mysql_client_encoding,[ping] => mysql_ping),[registry] => vB_Registry Object 

*
RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => 

vBulletin,[appshortname] => vBulletin,[database] => host1_firstforum,[connection_master] => 

Resource id #9,[connection_slave] => Resource id #9,[connection_recent] => Resource id 

#9,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 

1322146912 WHERE userid ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => 0,[maxpacket] => 

0,[locked] => ,[querycount] => 222),[userinfo] => Array ([userid] => 1,[temp] => ,[field1] => I have 

done it all Humanitarian Architect Naturalist Sculptor
Oddities Collector MathematicianEngineer 

Botanist
Inventor GeologistDork Idealist Chef Kind Artist Noeticist Docimologist Bacon lover 

Animal behaviorist
Lapidarist Libertarian Satyr,[field2] => Palm CoastFloridaUnited 

States
,[field3] => Community cooperation,[field4] => Artist,[field6] => Jamie Abbott,[field7] => 

4167538,[subfolders] => ,[pmfolders] => ,[buddylist] => 3 4 5 7 8 9 10 11 12 14 15 16 17 20 22 23 24 

25 28 29 31 32 34 35 36 40 44 45 46 49 53 54 57 60 63 71 74 75 80 84 92 94 95 96 97 106 110 111 113 

117 118 119 129 130 140 141 147 150 151 155 158 161 163 186 206 218 221 251 279 289 302 343 398 

414 517
,[ignorelist] => ,[signature] => [CENTER]Get your facts firstthen you can distort them as 

you please.[/CENTER],[searchprefs] => a:1:{s:20:"cmsadmin_showperpage";i:200;},[rank] => 

,[
excludeforums] => 4,[excludeforumhome] => 1,[usergroupid] => 6,[membergroupids] => 

14,[displaygroupid] => 6,[username] => ROOT,[password] => 

542hfgf92c0dd4d27f283a7a5761db271,[passworddate] => 1250222424,[email] => 
Reply With Quote
  #50  
Old 02-23-2012, 10:46 PM
hjmaier hjmaier is offline
 
Join Date: May 2004
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for that great AddOn!

I would like to have a larger box in the user control panel (I have over 200 forums). How can I make that box bigger?
Reply With Quote
  #51  
Old 04-05-2012, 10:06 AM
nit233 nit233 is offline
 
Join Date: Dec 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HolyKiller View Post
This is AMAZING! Users on my forum totally LOVE this feature. They finally can hide unneeded forums.

MOTM +1 :]
How can you hide the unneeded forums from ForumsHome
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04919 seconds
  • Memory Usage 2,419KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete