Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Opt-Out Forums from Get New/Get Daily Details »»
Opt-Out Forums from Get New/Get Daily
Version: 1.0.3, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-24-2005 Last Update: 09-26-2005 Installs: 254
DB Changes Uses Plugins Template Edits
 
No support by the author.

Description
This Hack allows the Users to select certain Forums they do not want to appear on Get New/Get Daily.
It includes a new Permission, so you can specify which Usergroups can use this feature, which Forums
can't be excluded, etc.

Details
1 Product XML with 3 Plugins, 4 Phrases and 1 SQL Query
1 Bitfield XML
1 Template Edit

History
1.0.0 Initial Version
1.0.1 Added Option "None" for users who don't know about their CTRL Key
1.0.2 Updated for RC1
Note: This Hack does only work for vBulletin 3.5.0 RC1 and up!
1.0.3 Fixed a small Typo and a possible Problem with Forums that contain HTML in Title

Please only click Install if you actually have installed/are using this Hack, and click Uninstall when you don't use it any longer!

This Hack is unsupported! All support requests except proven bugs will be ignored

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
CynamiteCMAG

Comments
  #142  
Old 10-06-2005, 12:25 AM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
ACP / Plugin System / Plugin Manager
Locate the Plugin on Hook search_getnew_start for this Hack, click edit.
sometimes i need a picture thanks again Kirby , got it now, worked perfect
Reply With Quote
  #143  
Old 10-06-2005, 03:03 AM
offline's Avatar
offline offline is offline
 
Join Date: Oct 2002
Location: Chattanooga, TN
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Yes.
register_addmember_process
PHP Code:
$userdata->set('excludeforumsgnp''X'); 
Thanks! One more quick question, can the user turn the forum back on themselves?
Reply With Quote
  #144  
Old 10-06-2005, 08:35 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes they can.
Reply With Quote
  #145  
Old 10-06-2005, 12:53 PM
offline's Avatar
offline offline is offline
 
Join Date: Oct 2002
Location: Chattanooga, TN
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are awesome! Thanks!
Reply With Quote
  #146  
Old 10-07-2005, 05:24 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance you can update this hack so that when users turn off the forums they dont want from the new posts search the forums are also no longer displayed in forumhome and the quick jumps?
Reply With Quote
  #147  
Old 10-07-2005, 09:03 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. This is not a feature I find useful therefore it will not make it into this Hack which is only meant for Get New Posts/Get Daily.
Sorry
Reply With Quote
  #148  
Old 10-07-2005, 11:23 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add a check box next to the forum names instead of just highlighting the ones you do not want to appear? I have a ton of boards on my site and a few users are having trouble selecting the ones they want on and off with just highlight them. If they had a check box they wouldn't have to hold down shift or ctrl and could easily scroll through the list.

Thanks!!!
Reply With Quote
  #149  
Old 10-07-2005, 11:28 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The listbox works the same way the listbox for Search does, therefore i'll keep it this way.
Standardized Controls = more usability.
Reply With Quote
  #150  
Old 10-07-2005, 11:40 PM
weaver weaver is offline
 
Join Date: Mar 2004
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Yes.
register_addmember_process
PHP Code:
$userdata->set('excludeforumsgnp''X'); 
Is that a template name? I don't see this.

ETA: I've tried choosing "None" but it's still excluding me from my RSS feed forum. There are new threads within that forum that should be showing up for me now.
Reply With Quote
  #151  
Old 10-10-2005, 08:47 PM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
*** Untested ***

To make this work with the welcome module of CMPS:

In welcomeblock.php
FIND
PHP Code:
$getnewposts $db->query_first("SELECT COUNT(*) AS count FROM " TABLE_PREFIX "post WHERE dateline >= " $vbulletin->userinfo['lastvisit']); 
REPLACE that with
PHP Code:
$getnewposts $db->query_first("
    SELECT COUNT(*) AS count FROM " 
TABLE_PREFIX "post
    LEFT JOIN " 
TABLE_PREFIX "thread AS thread ON (thread.threadid=post.threadid)
    WHERE post.dateline >= " 
$vbulletin->userinfo['lastvisit'] . "
        AND thread.forumid NOT IN (0," 
$vbulletin->userinfo['excludeforumsgnp'] . ")
"
); 
(The query might need some optimization though)
Ya that did not work my friend:

Quote:
Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT COUNT(*) AS count FROM vb3_post
LEFT JOIN vb3_thread AS thread ON (thread.threadid=post.threadid)
WHERE post.dateline >= 1128974249
AND thread.forumid NOT IN (0,);

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 ')' at line 4
Error Number : 1064
Date : Monday, October 10th 2005 @ 04:44:28 PM
Script : http://www.weapondepot.com/
Referrer :
IP Address : XXX.XX.XX.XX
Username : XXXXXXXX
Classname : vb_database
Reply With Quote
Reply


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 02:10 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.06772 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete