vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display count of unread posts in welcome box (https://vborg.vbsupport.ru/showthread.php?t=96522)

Paul M 10-07-2005 03:25 PM

The date and time are already on the next line, why would you want them twice ?

Rogerl 10-07-2005 03:47 PM

Works fine, but it sent the server load through the roof so I had to remove it

Paul M 10-07-2005 03:57 PM

You must have fun with getnew/getdaily searches then, since it's basically the same.

RZ500 10-08-2005 12:33 AM

Works like a Charm Tanks

Bounce 10-09-2005 02:19 AM

[high]* Bounce installs another one :rolleyes:[/high]

Rhoads 10-09-2005 10:13 AM

Click Intall

What is the Portal Output Global Variables for this hack, It give me a error page on the CMPS.

Paul M 10-09-2005 07:38 PM

Quote:

Originally Posted by drl2005
What is the Portal Output Global Variables for this hack, It give me a error page on the CMPS.

Sorry, I don't know what you are asking, I don't use CMPS.

secret1980 10-10-2005 12:16 PM

installed but not working :( I logged out & logged back in but nothin as such came :( i am using 3.5.0 gold :)

RZ500 10-10-2005 01:46 PM

I did it in it works grat in 3.5 Thanks

Paul M 10-10-2005 01:48 PM

Quote:

Originally Posted by secret1980
installed but not working :( I logged out & logged back in but nothin as such came :( i am using 3.5.0 gold :)

Do you have database thread marking turned on ?

havefun 10-10-2005 02:05 PM

[high]* havefun klicked install
[/high]

works fine, thx again :)

RZ500 10-10-2005 05:08 PM

I have one question, where do I need to edit to change the info in Sapnish?

Paul M 10-10-2005 05:15 PM

Quote:

Originally Posted by RZ500
I have one question, where do I need to edit to change the info in Sapnish?

You will need to edit the actual plugin, unless you want to wait for the phrased version (Probably later this week, I'm slowly going though my hacks).

weaver 10-14-2005 03:43 AM

Paul - how can I change this so my RSS forums aren't included in the search for new posts for this plugin? I have the opt out extension installed for new posts and "get daily" searches, but it would be nice if I could opt them out of this one as well.

Paul M 10-14-2005 05:32 AM

You would have to edit the code (or turn off the search permission for that forum).

weaver 10-14-2005 05:34 PM

Quote:

Originally Posted by Paul M
You would have to edit the code (or turn off the search permission for that forum).

I turned the search engine permission off for those forums through the forum manager but it hasn't affected the new post count in the welcome panel.

Can you offer some guidance on how I would edit the code to exclude those forums? I'm guessing it's a conditional statement with the forum ids but I don't know how to construct it or where to place it.

SpanishHarlem 10-14-2005 06:17 PM

ok what have I done wrong? lol it show's how many new posts twice.

Paul M 10-14-2005 08:00 PM

Quote:

Originally Posted by weaver
I turned the search engine permission off for those forums through the forum manager but it hasn't affected the new post count in the welcome panel.

Did you actually go into forum permissions screens, it's not the search indexing option in the normal forum edit screen.

Quote:

Originally Posted by weaver
Can you offer some guidance on how I would edit the code to exclude those forums? I'm guessing it's a conditional statement with the forum ids but I don't know how to construct it or where to place it.

When I have the time, I'm rather busy atm.

weaver 10-15-2005 04:46 PM

Quote:

Originally Posted by Paul M
Did you actually go into forum permissions screens, it's not the search indexing option in the normal forum edit screen.

Yes, the opt out option is working fine but just not with the number of posts showing up in the welcome panel.

Quote:

Originally Posted by Paul M
When I have the time, I'm rather busy atm.

Okay. :)

I did try to add an exclude line with the forum numbers after each of the search commands in your plugin, but that didn't change the number of posts being counted.

Paul M 10-15-2005 07:05 PM

Quote:

Originally Posted by weaver
Yes, the opt out option is working fine but just not with the number of posts showing up in the welcome panel.

I still don't think you are altering the correct thing, as it does affect the count.

ACP > Forums & Moderators > Forum Permissions

Find the forum in question, and edit the permissions for each usergroup, setting "Can Search Forums" to 'No'.

weaver 10-15-2005 07:26 PM

Quote:

Originally Posted by Paul M
I still don't think you are altering the correct thing, as it does affect the count.

ACP > Forums & Moderators > Forum Permissions

Find the forum in question, and edit the permissions for each usergroup, setting "Can Search Forums" to 'No'.

You are correct sir. I knew I had changed a setting through that screen, but it was a different option. I've switched it to No and it is working now. Thanks for your help.

Cheertobi 10-15-2005 07:50 PM

Hi,

can someone help me on make this PlugIn work together with [https://vborg.vbsupport.ru/showthread.php?t=91025]this[/url] extension? So users only see how many new postings are in the forums they are really interested in?T

Regards,

Tobi

weaver 10-15-2005 08:02 PM

Quote:

Originally Posted by Cheertobi
Hi,

can someone help me on make this PlugIn work together with [https://vborg.vbsupport.ru/showthread.php?t=91025]this[/url] extension? So users only see how many new postings are in the forums they are really interested in?T

Regards,

Tobi

I have them working together fine. Just install both and make sure you have the settings in the forum permissions area set correctly.

Cheertobi 10-15-2005 08:15 PM

Hi,

Quote:

Originally Posted by weaver
I have them working together fine. Just install both and make sure you have the settings in the forum permissions area set correctly.

yep, I also have them working site by site, but I always get "3 new postings since your last visit", even if these postings are within a forum which I do not want to show at "New Post"!

Regards,

Tobi

testpig 10-21-2005 07:34 AM

Hi Paul.
One minor problem I have. The plug works GREAT (the best I've installed!) but when a member clicks on the "new threads" it also displays threads that are in a locked/private forum. Everyone is clicking the thread and getting a "no permission" error. I believe it has potential to cause some friction in the forum

I've seen a similar plug, where you specify which forums are displayed by order number. Is this possible with your plugin?

Paul M 10-21-2005 07:47 AM

No, it's not.

This does not do anything special when you click the link - it simply calls the standard vbulletin new posts' search "/search.php?do=getnew" - the same as clicking the 'New Posts' link on the Navbar, so how did you handle this problem before ?

Davidinh 10-26-2005 11:14 PM

oops i got it

TygerTyger 11-03-2005 08:54 AM

Thanks for getting the issue I asked about fixed in the latest vB version :) I would have reported it myself if I thought they would fix it. +1 rep to vB I guess.

Cedric_FP 11-03-2005 09:42 AM

Awesome. Works like a charm. Good stuff!

TygerTyger 11-03-2005 11:41 AM

Quote:

Originally Posted by TygerTyger
Thanks for getting the issue I asked about fixed in the latest vB version :) I would have reported it myself if I thought they would fix it. +1 rep to vB I guess.

Having said that, I'm finding it a touch erratic. Sometimes it works as it should now, sometimes it's still counting your own posts as unread. Can anyone confirm this on 3.5.1?

GoNz00 11-03-2005 12:18 PM

happend to me on 3.5 and still on 3.5.1

would be nice if this could be fixed ???

TygerTyger 11-03-2005 12:21 PM

Quote:

Originally Posted by GoNz00
happend to me on 3.5 and still on 3.5.1

would be nice if this could be fixed ???

It was supposed to have been in this version:

http://www.vbulletin.com/forum/bugs3...1518&status=20

I'm sure Paul would follow it up since he filed the original bug report.

michaelbenson 11-03-2005 01:23 PM

I would have preferred to be able to place the count of unread posts where we wanted in the navbar box much easier. I ended up having to made aload of edits to the search text bit to make it replace the correct area that i wanted!

Paul M 11-03-2005 03:35 PM

Quote:

Originally Posted by TygerTyger
It was supposed to have been in this version:

http://www.vbulletin.com/forum/bugs3...1518&status=20

I'm sure Paul would follow it up since he filed the original bug report.

They only agreed to "fix" it for new threads, not new posts to existing threads.

Paul M 11-03-2005 03:38 PM

Quote:

Originally Posted by michaelbenson
I would have preferred to be able to place the count of unread posts where we wanted in the navbar box much easier. I ended up having to made aload of edits to the search text bit to make it replace the correct area that i wanted!

I don't see you would need to make "aload of edits". If you want to place it somewhere custom, just put a comment in the template at the location you want ( like <!-- unread posts here --> ) and change the search to look for that comment. Simple really. :)

Bubble #5 11-11-2005 05:07 PM

Quote:

Originally Posted by Paul M
change the search to look for that comment.

So if I understand this correctly, if we want it to show up from our forumhome template, then we would change this line of code:

HTML Code:

$vbulletin->templatecache['navbar'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['navbar']);
to this?

HTML Code:

$vbulletin->templatecache['forumhome'] = str_replace($search_text,$search_text.$unread,$vbulletin->templatecache['forumhome']);
...and then add "<!-- unread posts here -->" in the forumhome template where we want it to show up? Is that correct Paul?

Bubble #5 11-11-2005 05:21 PM

Does it matter which one we have it set to "Database (no automatic forum marking)" or "Database (automatic forum marking)"?

Paul M 11-11-2005 06:17 PM

Quote:

Originally Posted by Bubble #5
Does it matter which one we have it set to "Database (no automatic forum marking)" or "Database (automatic forum marking)"?

It makes no difference to the working of this hack, either will do.

vtx1800 11-15-2005 06:25 AM

I installed in my board, 3.5.1, nothing showed.

Tried both settings of yes and no in the ACP, nothing. :(

Cheertobi 11-15-2005 08:01 AM

Quote:

Originally Posted by vtx1800
I installed in my board, 3.5.1, nothing showed.

Tried both settings of yes and no in the ACP, nothing. :(

Do you have a customized style?!

Tobi


All times are GMT. The time now is 10:03 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.01526 seconds
  • Memory Usage 1,827KB
  • 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
  • (2)bbcode_html_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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