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 (https://vborg.vbsupport.ru/showthread.php?t=231060)

Paul M 10-24-2010 08:54 PM

vBulletin 4 does not do that.

goshalim 10-25-2010 04:59 AM

Hi

What ever i do i have this o the table.

If the language is in English , there is no problem. When i turn this to greek it looks like on the picture.

How can i correct this. Iam using 4.0.8

Paul M 10-25-2010 10:26 AM

You appear to have old customised greek phrases which need to be deleted and re-translated.

goshalim 10-25-2010 11:44 AM

Exeellent , corrected , Thanks Paul

Mark.B 10-31-2010 02:05 AM

Thanks Paul, working perfectly (4.0.8). As always.

Paul M 10-31-2010 11:32 AM

Quote:

Originally Posted by Mark.B (Post 2116238)
Thanks Paul, working perfectly (4.0.8). As always.

LOL, this one survived 4.0.8, unlike many. :)

Mellow 12-31-2010 11:01 AM

Paul, this works great!

One issue with another mod that I was wondering if you could help with.

The Selective Forum Filter mod, which is obviously shown as only a 3.8 version.
https://vborg.vbsupport.ru/showthread.php?t=215001

There is a xml file to get it to work w/4.1
https://vborg.vbsupport.ru/showpost....6&postcount=88

One of the steps in that is to edit each search.php and add an exclude parm to the url. Works great for the base VB stuff but not with your mod.

Someone did post they got theirs working:
https://vborg.vbsupport.ru/showpost....0&postcount=91

But, doesn't look like it is working, you use a phrase within the plug in and I'm not sure how to modify that to work correctly.

I know that isn't your mod and possibly not the solution you'd provide but can you shed light on how the phrase/plug in should be changed to get yours to work?

If you don't feel like spending time on this I understand.
Thanks

Paul M 12-31-2010 01:54 PM

As the description says ;

Quote:

This version does not currently support forums excluded if you have the "Get New/Get Daily Opt Out Modification" (by Andreas) or the "Selective Forum Filter Modification" (by Psionic Vision) - as no vb4 versions of these modifications currently exist.
Granted thats a year old now, and I havent checked if vb4 versions now exist. If they do, I'll look at adding the support back in (sometime in early 2011). Until then try what Trek posted, it looks reasonable, but i havenet actually checked it will work.

Mellow 12-31-2010 03:11 PM

Quote:

Originally Posted by Paul M (Post 2141860)
As the description says ;



Granted thats a year old now, and I havent checked if vb4 versions now exist. If they do, I'll look at adding the support back in (sometime in early 2011). Until then try what Trek posted, it looks reasonable, but i havenet actually checked it will work.

Thank you sir, Trek's mod looks good but doesn't address the phrases so that's the only part that doesn't work and the part that is displayed on the screen.

Thanks for the quick reply.

Paul M 01-01-2011 02:56 PM

Phrases ? Not really sure what you mean.

Mellow 01-01-2011 04:50 PM

Quote:

Originally Posted by Paul M (Post 2142303)
Phrases ? Not really sure what you mean.

In the parse_templates plug in, there's 3 phrases, one is dup_x_unread_posts and if you look at the contents of that phrase, it's

You Have {1} <a href="{3}search.php?do=getnew&contenttype=vBForum_ Post">Unread {2}</u></a>

Trek's changes work well to get the correct count of unread posts w/filtered forums however the search string needs to contain the &exclude={vb:raw bbuserinfo.excludeforumids} for it to work with the modifications others that noted in that thread.

I'm not sure any of those changes align with typical coding standards but it sure seems like they are close to getting the two products to work together.

Paul M 01-01-2011 10:13 PM

No phrases should need to be changed. The filtering modification should already be excluding its selected forums, thats its purpose.

Rikzg 01-21-2011 06:07 AM

Hey Paul,

thanks for develop this for 4.1.

But now I need your help.
I want to translate the Phrase into german and also I donĀ“t need the "Your last vistit"

Please tell me header_userinfo template needs to be edit.

Regards
Frederik

Swordman844555 02-13-2011 07:33 AM

Old articles from the CMS will reappear as new?

Paul M 02-13-2011 11:31 AM

Quote:

Originally Posted by Swordman844555 (Post 2162053)
Old articles from the CMS will reappear as new?

I dont understand the question.

Swordman844555 02-13-2011 11:56 AM

Older articles (posts) from the CMS will suddenly appear as new even though they were already read.

Please excuse my bad English.

Paul M 02-13-2011 01:02 PM

Are you allowing CMS articles to have comments ?

Swordman844555 02-13-2011 01:16 PM

Yes.

But there were no new comments!

Super Cat 04-02-2011 12:16 AM

I'm getting the wrong day, how do I correct this?

hugh_ 04-09-2011 09:22 PM

I installed this on a newly upgraded forum using vbulletin 4.1.3 but I get the following garbled text with a broken link on the second line:

You last visited: Today at 09:34 PM : You Have 4,779 Unread
You have %1$s unread %2$s

^ points to: %3$ssearch.php?do=getnew%4$s

How can I fix this?

Thanks...

Paul M 04-10-2011 11:42 AM

I would guess you have an old customised phrase in there somewhere that you need to revert.

dlewisr 04-20-2011 06:25 PM

Love it mate. Jobs a good 'un. Installed and voted on ;)

Froberg 04-22-2011 11:18 AM

Another 'un for a Paul M mod-batch! :)

Anopheles 06-05-2011 05:53 PM

Quote:

Originally Posted by hugh_ (Post 2182779)
I installed this on a newly upgraded forum using vbulletin 4.1.3 but I get the following garbled text with a broken link on the second line:

You last visited: Today at 09:34 PM : You Have 4,779 Unread
You have %1$s unread %2$s

^ points to: %3$ssearch.php?do=getnew%4$s

How can I fix this?

Thanks...

Me 2! ;-(
Where R those old customised phrases??
Name of the phrase?
Thank U :D

Anopheles 06-05-2011 06:16 PM

@hugh_
these R the phrases:
  • dup_posts
  • dup_x_unread_posts
  • dup_unread_posts
  • dup_no_posts

Luca_ITA 08-06-2011 02:53 PM

THX. Works perfect on 4.1.5pl1

bosanci28 08-07-2011 03:46 AM

very useful mod!
thanks,works fine in 4.1.5

apn3a 08-15-2011 09:47 PM

Hello

My members loved this mod from its older vb versions. Recently i upgraded to vb4.

There is any person here that make it work with custom style?

Thank you :)

Mark.B 08-16-2011 01:24 AM

Quote:

Originally Posted by apn3a (Post 2233914)
Hello

My members loved this mod from its older vb versions. Recently i upgraded to vb4.

There is any person here that make it work with custom style?

Thank you :)

I might be wrong but I think this mod is triggered by template hooks, so you just have to make sure they are in the custom style.

It certainly shows in mine and I hacked around with the header template quite a bit.

Paul M 08-16-2011 10:54 AM

I believe you are correct.

apn3a 08-16-2011 11:57 AM

Thank you for the replies

Well
The hook {vb:raw template_hook.header_userinfo} is in header template but the phrase You have No Unread Posts it is not longer clickable like it should be.

Paul M 08-16-2011 02:38 PM

Check you dont have customised phrases, dup_no_posts in this case.

Also, remember that only the 'Unread Posts' portion of the phrase is clickable.

apn3a 08-16-2011 03:15 PM

No everything is okay with phrases. The script works fine with the default style.
But i have a custom style, that's why i asked for help. Looks like the the page background cover /ovelap the link.

You know some designers only wants to grab money from clients and after this.... poof. No support at all. It is apparently a html issue but i am limited with this. I asked from the designer to add a css or a divider but he refused.

Anyway thank you for the assistance Paul. I wanted so much the module...

Mark.B 08-16-2011 11:13 PM

Quote:

Originally Posted by apn3a (Post 2234237)
No everything is okay with phrases. The script works fine with the default style.
But i have a custom style, that's why i asked for help. Looks like the the page background cover /ovelap the link.

You know some designers only wants to grab money from clients and after this.... poof. No support at all. It is apparently a html issue but i am limited with this. I asked from the designer to add a css or a divider but he refused.

Anyway thank you for the assistance Paul. I wanted so much the module...

That should be fairly straightforward to sort out you know.

I'd create a duplicate of your custom style, make it non-selectable, and have a play about (that way if you mess it up it doesn't matter!).

apn3a 08-17-2011 12:25 PM

I did it already and i spend more than 3 days to find out. I give up, to old to pull my hairs with html issues :)


Quote:

Originally Posted by Mark.B (Post 2234272)
That should be fairly straightforward to sort out you know.

I'd create a duplicate of your custom style, make it non-selectable, and have a play about (that way if you mess it up it doesn't matter!).


mjfan227 08-18-2011 01:51 AM

Awesome, works great. Thanks!

sadiq6210 08-25-2011 07:23 AM

Paul, I have a problem
The system of new posts has been changed after installed this hack

Before:
When I visit the forum and click on (new posts) I got the new posts from last visit. The thread with new post will be in a (bold) title. and when I close the explorer that mean all thread will mark as a read. so when I visit the forum again and click on (new post) I will get only the new post from last visit. (for example 3 pages)


After Install this hack:
When I click on (new post) I got all post that includes unread posts even it's from 3 or 4 day, and when I close the explorer and open the forum next time I got same threads when I click on new posts some of it was from 5 days. (for example 10 pages)

I uninstalled the hack but still I have same problem
I want to return to the old system.

sadiq6210 08-25-2011 07:43 AM

I re-installed it

It says (you have 28 unread posts from last visit)
but when I click to view these posts, I got 7 pages (unread posts for last 7 days)
But I want to show only the new posts from last visits as it was before I install the hack.

Paul M 08-25-2011 10:38 AM

Please read the modification, this is already answered ;

Quote:

The unread posts portion of this hack requires the database thread marking to be active.
Please be aware that installing this will enable that system (with automatic forum marking).
Forum marking choices are located in vBulletin Options > General Settings > Thread/Forum Read Marking Type

dmandem 08-25-2011 12:14 PM

Have the same problem as apn3a, unread posts isn't clickable.

I am using a custom style (Seamus & banner).


All times are GMT. The time now is 11:02 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.01533 seconds
  • Memory Usage 1,820KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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