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 02-09-2010 11:38 AM

Sorry, I have no idea. Obviously something on your site is not quite standard.

arena 02-09-2010 04:58 PM

In translating the word problem

original expression : You Have 10 Unread Posts

I want to be Turkish phrase 10 okunmamaış mesajın var.
But the translation does not happen. Can you help please?

Paul M 02-09-2010 07:42 PM

What do you mean by "does not happen" ?

arena 02-09-2010 11:03 PM

Quote:

Originally Posted by Paul M (Post 1978581)
What do you mean by "does not happen" ?


Turkish translation not work

Paul M 02-10-2010 10:26 AM

Then you need to add translated phrases to your forum (Turkish).

arena 02-10-2010 05:00 PM

You Have <a href="{1}search.php?do=getnew&contenttype=vBForum_ Post">Unread Posts</a>
Turkish translation
<a href="{1}search.php?do=getnew&contenttype=vBForum_ Post">Okunmamış Mesajınız Var</a>

Translation but not work

Paul M 02-10-2010 06:19 PM

You must translate all the phrases, not just that one.

zeroality 02-13-2010 05:22 AM

Is this supposed to display the number of unread posts, or just "You have unread posts"?

Also, any way to remove

Search:
Type: Posts; Excluded Forums: Champion's Tower, Reports and Infractions, Contributor Forum; New Posts

I don't want people seeing the names of these forums because then they will ask questions about it.

Edit: Seems like regular users don't see that part, do they?

OK, apparently it is telling me I have unread posts when there are none. Screenshot attached.

Quote:

You Have <a href="{1}search.php?do=getnew&contenttype=vBForum_ Post"><span style="color:yellow">Unread Posts</span></a>
That's what I changed. I tried changing it back to the original but it does not work. I went ahead and PMed you with acp access so you can just go take a look when you have the time.

Paul M 02-13-2010 01:07 PM

Quote:

Originally Posted by zeroality (Post 1981195)
I don't want people seeing the names of these forums because then they will ask questions about it.

Edit: Seems like regular users don't see that part, do they?

This is a vbulletin feature, not this mod - however, it should only list exclustions if you have permission to view them in the first place.

Quote:

Originally Posted by zeroality (Post 1981197)
OK, apparently it is telling me I have unread posts when there are none. Screenshot attached.

That's what I changed. I tried changing it back to the original but it does not work. I went ahead and PMed you with acp access so you can just go take a look when you have the time.

You problem was the combination of settings you had - you were set to display all unread posts, but you had editied the mods safety feature (Maximum Cutoff Limit) to a value lower than the forum thread marking limit - so the feature always kicked in - displaying the simple "Unread Posts" message rather than the normal message.

Ive changed it to 10 days, to match the TM limit, so you should be working normally now.

zeroality 02-13-2010 08:57 PM

Yes, it works great now. Thank you so much.

kjpp 02-17-2010 07:51 PM

Hi!

I have this error on my forum:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 14

Can You help me?
Regards
Krzysiek

Chaini 02-17-2010 08:56 PM

Hi!

I have this error too :(
Please, help

pete_brady 02-17-2010 09:00 PM

same here - upgraded to vB4.0.2 tonight, then installed the v.4.0.4 version of this mod...

Quote:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 21
trying to modify the options results in

Quote:

Fatal error: Call to undefined function fetch_options_duppost() in /home/thumped/public_html/bbs/includes/adminfunctions_options.php(230) : eval()'d code on line 1

temporarily disabled

pete_brady 02-17-2010 09:22 PM

uninstall & reinstall fixed the problem

Charlie98902 02-17-2010 09:28 PM

Error and I did put the back in as it should be since you said the template edit isn't needed now.=

Code:

                        <vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment>
Code:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 54

Charlie98902 02-17-2010 09:31 PM

Quote:

Originally Posted by pete_brady (Post 1985031)
uninstall & reinstall fixed the problem

Thanks worked for me too.

Paul M 02-17-2010 09:49 PM

Hmmm, its not converted one of the options correctly on install.

I think I know why, so I'll update the installer slightly.

Also, the options wont work if the mod is disabled - not normally much of an issue, but still not something I considered, and not good, needs to be fixed as well.

Charlie98902 02-17-2010 10:01 PM

Thanks Paul Hope the others with issues sees that an uninstall then a reinstall works till then.

Paul M 02-17-2010 11:05 PM

Should be ok now anyway, Ive uploaded an updated version.

relaxiha 02-17-2010 11:27 PM

problem.... i can't update overwrite
The following dependencies were not met:4.0.2
Code:

<version>4.0.5</version>
        <dependencies>
                <dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.99" />
        </dependencies>


maf1973 02-18-2010 07:39 AM

<span style="text-decoration: line-through">I uninstalled the previous version and installed the v4.0.5, but after that i don't see anything?</span>

I restore the original Header Template and now it works.

Paul M 02-18-2010 09:52 AM

Quote:

Originally Posted by relaxiha (Post 1985129)
problem.... i can't update overwrite
The following dependencies were not met:4.0.2
Code:

<version>4.0.5</version>
        <dependencies>
                <dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.99" />
        </dependencies>


Please read the main post ;

Quote:

** This is not compatible with vBulletin 4.0.0 or 4.0.1 **

kjpp 02-18-2010 10:18 AM

Hi!

I have problem when I setup:
Count All Posts Marked as Unread script show me always only You have unreaded Post without any number.
On Use Last Visit Date works correct.
Where is the problem?

Regards
Krzysztof

Paul M 02-18-2010 11:16 AM

Your problem will almost certainly be that you have set the mods safety feature (Maximum Cutoff Limit) to a value lower than your forums Thread Marking Limit - so the feature will always kick in - displaying the simple "Unread Posts" message rather than the normal message

kjpp 02-18-2010 12:02 PM

Quote:

Originally Posted by Paul M (Post 1985520)
Your problem will almost certainly be that you have set the mods safety feature (Maximum Cutoff Limit) to a value lower than your forums Thread Marking Limit - so the feature will always kick in - displaying the simple "Unread Posts" message rather than the normal message

Yes it Was my problom. Thanks for help.

testbot 02-18-2010 02:40 PM

what was the original head template edit. i don't remember where that was to remove it.

testbot 02-18-2010 03:23 PM

found it. header

Greight 02-18-2010 08:13 PM

Hey Paul, check the history :
v4.0.5 : 18-Feb-2009 : Installer & code updates. :D

relaxiha 02-18-2010 09:48 PM

Quote:

Originally Posted by Paul M (Post 1985454)
Please read the main post ;

Hello .. This is interesting. Because the previous version was very comfortable and compatible to work without any problem! The new version is not compatible! You must be to test all new versions. This way is better.

Paul M 02-19-2010 01:07 AM

Quote:

Originally Posted by Greight (Post 1985897)
Hey Paul, check the history :
v4.0.5 : 18-Feb-2009 : Installer & code updates. :D

Oops :D

hollosch 02-24-2010 08:26 AM

Quote:

** This is not compatible with vBulletin 4.0.0 or 4.0.1 **
Are you planning a version for vB 4.0.2 ???

Paul M 02-24-2010 10:52 AM

Um.... This is the version for 4.0.2 (onwards).

Drache 02-24-2010 12:17 PM

this hack uses huge resource? because as soon as i enable it I get 500 error.

Paul M 02-24-2010 01:44 PM

No, it doesnt.

CORSO 02-27-2010 09:04 AM

I have this problem

https://vborg.vbsupport.ru/external/2010/02/6.jpg

Any idea how to solve?

Vbulletin 4.0.2 Patch Level 1

archet1337 02-27-2010 10:57 AM

I'm getting this error message:

https://vborg.vbsupport.ru/

Paul M 02-27-2010 11:36 AM

The answer to both of these is in the main post, please read it.

Quote:

Originally Posted by CORSO (Post 1992665)
I have this problem

https://vborg.vbsupport.ru/external/2010/02/6.jpg

Any idea how to solve?

Vbulletin 4.0.2 Patch Level 1

Quote:

This no longer needs the previously required template edit - a template hook is now provided in the Header template. If you install this version on a previously modified forum you must revert that edit if you have applied it. You must also make sure the template hook (header_userinfo) is present.

Quote:

Originally Posted by archet1337 (Post 1992728)
I'm getting this error message:

http://digi-tech.org/images/diverse/testing4.png

Quote:

The unread posts portion of this hack requires the database thread marking to be active.
..
Forum marking choices are located in vBulletin Options > General Settings > Thread/Forum Read Marking Type


archet1337 02-27-2010 12:00 PM

Oh, I'm really sorry. How embarrasing.

Working like a charm. A+ Mod. Thanks :)

masterross 03-01-2010 07:19 PM

This hack overloading mysqld!

kNeeLy 03-01-2010 08:27 PM

just installed/upgraded to 4.0.2 and this is the first hack/mod to run. Works like a charm..

thanks paul..this should be a default vb feature...


All times are GMT. The time now is 11:57 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.01619 seconds
  • Memory Usage 1,823KB
  • 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
  • (4)bbcode_code_printable
  • (17)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