vb.org Archive

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

mariocaz 03-18-2008 04:11 AM

very very nice mod

Phaedrus 03-23-2008 02:23 AM

Quote:

Originally Posted by midlandi (Post 1466416)
Can you help me please. I have this installed and is working great. I need to omit from the unread posts certain forums, I cannot find where to do this. I am aware of the code i need to amend, but fail to find where?? I have tried in the navbar template but cannot find, I search for do=getnew so I can edit but it only finds the other nav bar link for that.
Help!!

There is no need to remove them as users cannot search forums they have no access to and this mod uses the search function. It won't tell users about posts they can't see.

joerns 03-28-2008 09:34 PM

Great hack, thanks! Is it possible to exclude certain forums? I've got a whole lot of RSS feeds that drive the unread posts number through the ceiling. Alternatively, is it possible to specifiy which forums to track for unread posts? I think that would be a great feature...

Paul M 03-30-2008 12:50 PM

An excludes feature is on my list of things too look into at some point.

JustAskJulie 03-30-2008 11:36 PM

Installed, have database option enabled but still nothing shows up in the Welcome block.

IrPr 04-14-2008 08:24 AM

First special thanks goes to Paul Marsden for his mods specially this mod that im using for about an year on my major forum n my members luv this mod

i've about 70k threads, 700k posts n 140k members with 2k avg onlines in my forum but from some weeks ago my forum loads increases n when i analyze mysql queries i found that this query by this mod is killin my forum
Code:

SELECT COUNT(post.postid) as unread
FROM post as post FORCE INDEX (dateline)
...

Query uses INDEX but sometimes specially at forum peak it takes more than 2-5 sec which makes me turn it off :(

is there any optimize method for this mod Paul or with this huge posts its impossible ?

Paul M 04-14-2008 10:15 AM

I'm guessing that its probably members returning after quite some time that are doing this, so the posts being counted is quite high. It was a problem I hit a long time ago, and actually wrote a time limit into the code on our forum (we use a totally custom version of this, not released anywhere). If I think about it I'll see if I can incorporate that into the 3.7 version at some point. I'm afraid it will not get added to the 3.6 version as I never support more than one active version, and by the time I do this, that will be the 3.7 version.

IrPr 04-14-2008 12:01 PM

Quote:

Originally Posted by Paul M (Post 1490299)
I'm guessing that its probably members returning after quite some time that are doing this, so the posts being counted is quite high. It was a problem I hit a long time ago, and actually wrote a time limit into the code on our forum (we use a totally custom version of this, not released anywhere). If I think about it I'll see if I can incorporate that into the 3.7 version at some point. I'm afraid it will not get added to the 3.6 version as I never support more than one active version, and by the time I do this, that will be the 3.7 version.

Thanks for answer,
Cant wait for 3.7.0 Gold

frosch68 04-19-2008 01:14 PM

how can i change the position of unread postings ? i want to show it in another template

thank

greetz
frosch

deepmob 04-24-2008 05:42 AM

see when I am click the new posts, i am getting this dropbox, why please tell me.

thanks

Paul M 04-24-2008 08:01 AM

No idea, but i would guess that another modification is interfering with this one.

gator777 04-27-2008 04:26 PM

Hi PaulM,

I have a slight issue, and hopefully I can properly describe in a way that will allow you to reproduce it (if possible).

I've been using your script for some time now, and all has been functioning great. Well, I decide one day to enable the Reputations function, and again, all seemed fine except for one unique situation.

- When displaying the forum index, all is fine and works as it should :D
- When displaying the VBAdvanced CMPS page, the "New Reputations Comments Link" will not, for example, point to www.vbulletin.com/forum/usercp.php? , but rather points to www.vbulletin.com/usercp.php?

I've reads all of the comments in this thread but I couldn't find a solution to my issue.

These are the actions I've taken to in an attempt to fix the problem:
- All dup_ phrases are set to "default"
- Latest version of your script is "installed"
- Ensure the "usercp.php" has been added to the "Navbar Replacements" in the CMPS VBAdvanced Global Options
- The "Links Prefix Path" has been added in the ACP and set to "/forum/"

Like I say, all the other links point to the correct "/forum/" path, except for the "New Reputations Comments Link". Any help would be appreciated. :)

Paul M 04-27-2008 04:51 PM

You need to set the "Links Prefix Path" option provided in this mods options.

gator777 04-27-2008 06:03 PM

Quote:

Originally Posted by Paul M (Post 1500811)
You need to set the "Links Prefix Path" option provided in this mods options.

As I stated above, I already set the "Links Prefix Path" Option, and it still does not point to the correct path.

Paul M 04-28-2008 05:16 PM

Then you have either set it wrong, or customised your phrases sometime in the past, in which case you need to revert them.

frosch68 04-29-2008 11:47 AM

Once again

how can i change the position of unread postings ? i want to show it in another template

thank

greetz
frosch

jazde86 05-01-2008 11:38 AM

Let us know the new variable to do that, please. The $unread isn't working anymore in vBa CMPS. :(

frosch68 05-02-2008 12:42 PM

in my forum it is the - $postcount[unread] - it seems to work fine

Total666 05-10-2008 02:12 AM

Waiting patiencely for a 3.7 version ..

Paul M 05-10-2008 07:41 AM

The 3.7 version was released ages ago, just look in my profile.

Total666 05-10-2008 12:20 PM

THank you sir . I missed that ..

ArnyVee 05-28-2008 01:51 PM

This one still works. :D

I haven't upgraded to 3.7 just yet (should be within the next week or two), so in the meantime this helps my members. Thanks!

Oh, and for those that haven't read (or don't want to read) through these posts, you need to make sure that your settings are correct by going to...

ACP > vBulletin Options > General Settings > Thread/Forum Read Marking Type

....and make sure that the "Thread/Forum Read Marking Type" option is clicked on "Database (no automatic forum marking)"

Welshy2008 08-07-2008 12:03 AM

Thank You Paul. Another great hack. :)

SuperDave71 11-26-2008 10:15 PM

Paul,

Do you think you will be able to get this for 3.8? My members love it!

Thanks in advance,

SuperDave71

Fabikus 08-09-2009 08:00 PM

Does it works for 3.8? :(


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

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.01512 seconds
  • Memory Usage 1,768KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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