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)

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 03:36 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.01688 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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