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 01-15-2010 06:37 PM

Quote:

Originally Posted by Gene Steinberg (Post 1956594)
Modified the template.

Installed the product.

Doesn't work.

Sorry.

Well, Im afraid it does, so I can only guess you have either made a mistake, or you are not using the standard style.

Gene Steinberg 01-15-2010 06:41 PM

Quote:

Originally Posted by Paul M (Post 1956766)
Well, Im afraid it does, so I can only guess you have either made a mistake, or you are not using the standard style.

I'm using the standard style with some color and text size changes.

I presume most people make at least some changes to a style, even if they're slight.

Most other mods seem to function.

Peace,
Gene

Paul M 01-15-2010 07:19 PM

Yes, of course people make changes, thats not what i said. I mean are you using a completely custom style.

The fact remains that if you edit the header template, as instructed, and install the product, it works, as demonstrated by the fact that hundreds of forums are using it. You appear to be the only one having an issue, which rather points to something on your set-up. Sorry, but I cannot remotely guess why as i have nothing to go on.

Gene Steinberg 01-15-2010 07:22 PM

Quote:

Originally Posted by Paul M (Post 1956793)
Yes, of course people make changes, thats not what i said. I mean are you using a completely custom style.

The fact remains that if you edit the header template, as instructed, and install the product, it works, as demonstrated by the fact that hundreds of forums are using it. You appear to be the only one having an issue, which rather points to something on your set-up. Sorry, but I cannot remotely guess why as i have nothing to go on.

Well, I will try it again and see, OK?

Peace,
Gene

Gene Steinberg 01-15-2010 07:29 PM

Well, I installed it correctly and made sure it was enabled. The template mod was done, but nothing in the source indicated it was doing anything. As I said, most of my changes consist of the following:

1. Font sizes.

2. Background color.

3. Width and depth of textareas, and space ahead of text blocks, such as post replies.

I welcome any insights.

Peace,
Gene

Paul M 01-15-2010 07:52 PM

I cannot see how any of those things would have any effect. There is little I can tell you or look at without admin access to your forum.

Gene Steinberg 01-15-2010 08:01 PM

Quote:

Originally Posted by Paul M (Post 1956819)
I cannot see how any of those things would have any effect. There is little I can tell you or look at without admin access to your forum.

If you wish to rummage around, I'll set you up on one of the forums. Send me a private message. At worst, you'll solve nothing, and at best you'll find an answer that'll help me and others if you're game.

Peace,
Gene

Paul M 01-15-2010 09:52 PM

I have installed it on the forum you gave me details for, and its working fine. :)

The only thing i can think of is that when installed, the unread posts part defaulted to off, so you would need to enable it in the options (not the best choice, so I have altered that in the install file). Even so, the last visit date should have displayed (and the new reputation comments if you had any).

Gene Steinberg 01-15-2010 10:06 PM

Color me confused.

Would you now try these two with the same credentials:

www.technightowl.com/forum

www.theparacast.com/forum

The latter is where I had the issue.

Peace,
Gene

Gene Steinberg 01-15-2010 10:17 PM

And thank you for the effort. Hopefully you'll find a reason why the last forum, which ought to have pretty much the same header code as the others except for logo links and such, isn't working with your product.

Peace,
Gene

Charlie98902 01-15-2010 10:21 PM

I assume you took out the comment tags as needed?

Paul M 01-15-2010 10:25 PM

Installed on both and working perfectly.

Are you sure you did the template edit correctly, because thats all I can think of.

Gene Steinberg 01-15-2010 10:47 PM

Quote:

Originally Posted by Paul M (Post 1956926)
Installed on both and working perfectly.

Are you sure you did the template edit correctly, because thats all I can think of.

No idea, but a hearty thank you for getting it to work.

Peace,
Gene

Dr.osamA 01-16-2010 02:53 AM

installed

thanxxx
________
Amateur ++++

cagbaazee 01-18-2010 03:54 PM

it donot working with 4.01, i donot find unread here in my forum. please discuss what to do. Thanks

Paul M 01-18-2010 04:30 PM

Quote:

Originally Posted by cagbaazee (Post 1959303)
it donot working with 4.01

Yes it does, so I would guess you have not installed it correctly - specifically not edited the template correctly.

cagbaazee 01-20-2010 03:22 AM

Quote:

Originally Posted by Paul M (Post 1959330)
Yes it does, so I would guess you have not installed it correctly - specifically not edited the template correctly.

This is the step i use . I download the unread post.xml and then use plugins & products from admincp then selct manage product the and import the mod.

Then go to vbulletin option and click display unread posts and use my setup

That is it


I use vbulletin Skin as default. But it donot show here. maybe there is something missing

Do reply. Thanks

john_robot 01-20-2010 04:53 AM

I have 4.01 and when it says You Have 2 Unread Posts.. its showing me all new posts instead of two unread posts. any idea why?

Paul M 01-20-2010 07:10 AM

Quote:

Originally Posted by cagbaazee (Post 1960839)
This is the step i use . I download the unread post.xml and then use plugins & products from admincp then selct manage product the and import the mod.

Then go to vbulletin option and click display unread posts and use my setup

That is it


I use vbulletin Skin as default. But it donot show here. maybe there is something missing

Do reply. Thanks

Read the instructions in the main post. There is a template edit.


Quote:

Originally Posted by john_robot (Post 1960882)
I have 4.01 and when it says You Have 2 Unread Posts.. its showing me all new posts instead of two unread posts. any idea why?

You have it set to count the unread posts since your last visit, not all unread posts.

Adam H 01-20-2010 09:09 AM

Im getting this at the top of my forum :

You last visited: Today at 11:52 AM : You Have 2 Unread You Have Today Unread 11:52 AM


Which doesnt make sense..... how do i change that ?

Adam H 01-20-2010 09:19 AM

I think it might be using the old mod too some how ?

Adam H 01-20-2010 09:34 AM

I have fixed it , for some reason it was showing the older mod i had installed on 3.8 even though it wasnt installed. I have no idea why but i just rebuilt the search index and its now working as it should

Adam H 01-20-2010 11:39 AM

Actually it didnt fix it :confused: its just come back, I thought it was to do with cache before but that isnt switched on . Any ideas ?

Paul M 01-20-2010 11:50 AM

There is no caching involved in this.

If you correctly perform the edit, and install the mod, then it will work. Every case so far where someone has siad it isnt has turned out to be an incorrect or missing template edit. I suggest you double check what you have done.

Adam H 01-20-2010 12:04 PM

Quote:

Originally Posted by Paul M (Post 1961114)
There is no caching involved in this.

If you correctly perform the edit, and install the mod, then it will work. Every case so far where someone has siad it isnt has turned out to be an incorrect or missing template edit. I suggest you double check what you have done.

Ive deleted that part of the template (comments tag ) and uploaded the .xml file what else is there to do ? , the mod is working but its providing more info than it should. Ive attached a screen shot so you can see

cagbaazee 01-20-2010 03:59 PM

Quote:

Originally Posted by Paul M (Post 1960935)
Read the instructions in the main post. There is a template edit.



You have it set to count the unread posts since your last visit, not all unread posts.



u mean this

Find ;

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

and remove the comment tags, i.e. as below ;

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



i hv done it.. but nothing has been working... please discuss what do to.

Thanks

Paul M 01-20-2010 05:54 PM

Quote:

Originally Posted by riverwire (Post 1961127)
Ive deleted that part of the template (comments tag ) and uploaded the .xml file what else is there to do ? , the mod is working but its providing more info than it should. Ive attached a screen shot so you can see

You have an old customised version of the phrase dup_posts on your forum - you need to delete it.

Paul M 01-20-2010 05:57 PM

Quote:

Originally Posted by cagbaazee (Post 1961339)
u mean this

Find ;

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

and remove the comment tags, i.e. as below ;

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

Yes, I mean that.

There is nothing I can discuss. Without admin access i cannot tell you anything more.

Trek 01-23-2010 06:36 AM

Nevermind, realized it was a config setting that defaulted differently than I wanted it.

Thanks Paul!

Charlie98902 01-25-2010 03:35 PM

Paul is there a way to hook this mod and use the default New Posts in the navbar? That would be great if you can get it coded like that.

Just a thought/ideal.

Thanks

Eq4bits 01-27-2010 11:20 PM

Hi Paul, I'm having a bit of a problem.
Running vB4.0.1
After installing, setting options and making the header template change this is what I have (see attached image). As you can see my 'notifications' dropdown is now 'off', and also the 'last visit/unread posts #' is not showing.

this is the code from my template:
PHP Code:

<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
            </
ul>
            <
p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p

Any help would be appreciated =S

Eq4bits 01-27-2010 11:57 PM

Quote:

Originally Posted by Paul M (Post 1961425)
You have an old customised version of the phrase dup_posts on your forum - you need to delete it.

I just looked in my phrases and I have:
dup_post & dup_posts
How do I delete the dup_posts one since that may be what is messing my installation up as well.

EDIT:
looking in the phrase table of my forum database I have the following:
38933 -1 dup_disabled global <strong>Error: Database Marking is Disabled</stron... paulm_dup_40 Paul M 1255000000 4.0.2 0
38930 -1 dup_no_posts global You Have No <a href="{1}search.php?do=getnew&conte... paulm_dup_40 Paul M 1255000000 4.0.2 0
38928 -1 dup_post global Post paulm_dup_40 Paul M 1255000000 4.0.2 0
38929 -1 dup_posts global Posts paulm_dup_40 Paul M 1255000000 4.0.2 0
38950 1 dup_posts global Post paulm_dup_40 Lindsay 1264644061 4.0.3 0

Paul M 01-28-2010 07:12 AM

This uses both dup_post & dup_posts, you cannot delete either.

In your template you seem to have <li> tags around the phrase rather than <p> tags - not sure if that would mess it up.

meschiash 01-28-2010 08:10 AM

I have another problem. When i turn on hack i don't see field with time on my last visit.
I mean that's is problem with colors in stylewars.

edit:
when i change in stylewars time_color to white then i don't see time in footer because i have there white background.

Here you have screens:

Eq4bits 01-28-2010 10:08 AM

Quote:

Originally Posted by Paul M (Post 1968702)
This uses both dup_post & dup_posts, you cannot delete either.

In your template you seem to have <li> tags around the phrase rather than <p> tags - not sure if that would mess it up.

The thing is there are TWO dup_posts phrases, note:
38929 -1 dup_posts global Posts paulm_dup_40 Paul M 1255000000 4.0.2 0
38950 1 dup_posts global Post paulm_dup_40 Lindsay 1264644061 4.0.3 0
which one do I get rid of? the 4.0.2 one or the 4.0.3 one?

One of the vB staff had previously advised me not to use <p > tags in vB4..=S.. either way I got the same result, believe me, I tried <p > first.

Paul M 01-28-2010 10:20 AM

This is an edited version you have added ;

Quote:

38950 1 dup_posts global Post paulm_dup_40 Lindsay 1264644061 4.0.3 0
This is the default ;

Quote:

38929 -1 dup_posts global Posts paulm_dup_40 Paul M 1255000000 4.0.2 0
---------------------------------------------------------

Quote:

Originally Posted by Eq4bits (Post 1968808)
One of the vB staff had previously advised me not to use <p > tags in vB4

I have no idea why anyone would tell you that, they are perfectly acceptable in vb4.

----------------------------------------------------------

JFYI, this mod will almost certainly break when 4.0.2 is released as the defunct phrase code is being removed from the template, and a template hook put in its place.

Eq4bits 01-28-2010 10:35 AM

okay, deleted the 4.0.3 one from the d/b
changed the <li > to <p > and </li > to </p>
uninstalled mod,
reinstalled mod
still nada
this is the only mod I've installed on this new version of vB4.0.1
Do I need to make an admin acct for you to take a look? I'm going to be away from my desk for the next 2 or 3 hours, let me know and I'll set it up when I get back and pm the details to you.

Eq4bits 01-28-2010 02:31 PM

found my problem =S I had previously 'moved' the 'remember me' box to be to the right of log in input (by copying the original that shows below, removed the <div > and </div > from the 'new one'... heh, but I forgot to get rid of the original. Once I removed the origianl 'remember me' stuff the Unread stuff shows up (part of the reason I didn't realize I had a redundant 'remember me' box was because I was logged in, so wasn't 'seeing' it *slaps forehead*... sometimes it's the simplest of things =S

Paul M 01-28-2010 03:08 PM

Ah good, glad to see you sorted it.

nikosb 02-09-2010 05:04 AM

If you activate the Display Unread Posts and Reputation Comments, in IE I have second navbar (see attachment) and when you press the second navbar with the mouse, with transfer to new messages.

When I'm not connected, this is not

By FF working properly

Any idea to fix it?
Thanks

.................................................. ............
EDIT
found that this happens only when there are no new posts


All times are GMT. The time now is 04:37 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.01757 seconds
  • Memory Usage 1,844KB
  • 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_php_printable
  • (18)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