vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Display Unread Posts and New Reputation Comments (https://vborg.vbsupport.ru/showthread.php?t=168303)

Paul M 12-05-2008 04:25 PM

You need to add &exclude=1,2,3 to the url.

mattcaswell 12-05-2008 04:52 PM

Quote:

Originally Posted by Paul M (Post 1679136)
You need to add &exclude=1,2,3 to the url.

Is there a variable you defined for the excluded forums that I can add to the end of the url?

I guess I'm not explaining it correctly. When someone clicks on 'New Posts" on the NavBar, I want them to use your code instead of the code thats in the NavBar template. I have commented out the OEM code and added a link with the excluded forums, and that works, but if I add a new RSS feed, then I have to edit the template again to add that forum number.

Ie: <!--ADDED BY MATT FOR NEW POSTS-->
<td class="vbmenu_control"><a href="http://www.thesabrehood.org/forum/search.php?do=getnew&exclude=144,145,146,161,162,1 63">New Posts</a></td>

Is there a code block I can put here to take advantage of your great mod from the NavBar location.

Thanks for all your efforts!

Paul M 12-05-2008 07:23 PM

Use $vboptions[dupexcl]

i.e. search.php?do=getnew&exclude=$vboptions[dupexcl]

redlabour 12-05-2008 08:35 PM

Quote:

Originally Posted by Paul M (Post 1679240)
Use $vboptions[dupexcl]

i.e. search.php?do=getnew&exclude=$vboptions[dupexcl]

Why is this not included in the Mod? Without that it makes no sense to exclude a Forum from your Mod.

In this Way i have to edit every single Phrase with the Searchlink of your Mod.

Paul M 12-05-2008 09:02 PM

Um, it is .......

redlabour 12-05-2008 10:42 PM

Quote:

Originally Posted by Paul M (Post 1679291)
Um, it is .......

I think you misunderstand me now.

Only the Counter is lower if i use your excluded Function in AdminCP.

I have to add to every Phrase of your Mod the exclude manually if i want the search beiing affected.

Paul M 12-06-2008 11:00 AM

The link provided by the mod includes the exclude functionality, but I see your point.

I might be able to force the search to always exclude them - the question is, do I want to ?

Not everyone (including me) wants them always excluded.

aciurczak 12-18-2008 08:23 PM

I added a line in my navbar template so directly below this mod's line of "you have X unread posts", right underneath there is the text that says "Mark all posts as read". Users really like to see their number of unread posts, but it was confusing some of them and they were not able to find the "mark all forums read" option in the quick links menu. Now with a single click they can mark all as read, 1/4" away on the screen. I'm happy with how it is on my site now and don't need any updates to this mod, but it might be a nice option for the next rev.

Problemsolver 12-23-2008 07:42 PM

If I want to translate it to swedish, where do i edit stuff?

Paul M 12-24-2008 08:04 AM

In the product XML, phrases section - or in your ACP after you install it.


All times are GMT. The time now is 05:29 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
  • Page Generation 0.01519 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete