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 and New Reputation Comments (https://vborg.vbsupport.ru/showthread.php?t=197485)

Chy 07-19-2009 06:33 PM

Thanks installed.

Chy 07-20-2009 04:27 PM

Any idea how to get the link to work with Vba CMPS, the link goes to "link not found" on my homepage. It's fine in the forums area though.

wrang 07-21-2009 12:36 AM

I found a error?
When i click on the link this came up in the adressbar
/forumet/\"search.php?do=getnew\"

and the side
Quote:

Not Found
The requested URL /forumet/\"search.php was not found on this server.
What do i have done wrong

Edit I found it my mistake at the dup_posts texts

greenspan 07-23-2009 09:30 AM

Quote:

Originally Posted by Chy (Post 1852301)
Any idea how to get the link to work with Vba CMPS, the link goes to "link not found" on my homepage. It's fine in the forums area though.

As Paul mentioned above, you can "use the links path setting in the mods options."

Go to: vBulletin Options>Display Unread Posts and Reputation. In Links Prefix Path, put something like: "http://www.yousite.com/forums/" since search.php is in there.

Paul M 07-25-2009 04:10 PM

Quote:

Originally Posted by greenspan (Post 1854055)
As Paul mentioned above, you can "use the links path setting in the mods options."

Go to: vBulletin Options>Display Unread Posts and Reputation. In Links Prefix Path, put something like: "http://www.yousite.com/forums/" since search.php is in there.

You should only need the /forums/ part.

Freesteyelz 08-03-2009 11:39 PM

Thanks for releasing a useful mod, Paul. :)

I'm curious if there's a way the script can look for "<!-- unread posts -->" instead of (where highlighted in red):

Code:

  $vbphrase['welcome_x_link_y'] .= '</strong><br />'.$unread.'<strong>'; // 3.7 Onwards Phrase


When I replace the red with "<!-- unread posts -->" it gave me a parse error. :o As a resolve I either removed $unread (in blue) or removed the red (shown below):

Code:

  '</strong><br />'.$unread.'<strong>'; // 3.7 Onwards Phrase
  "<!-- PEMDATA38: {$data_dup['title']} : Version = {$data_dup['version']} : Revision = {$data_dup['cvs']} -->";


The mod seems to work when either edit was applied. Is that ok or is there a more efficient way of doing it?

Paul M 08-04-2009 01:13 PM

Sorry, Im not following what your trying to do (or why ?).

FYI, It doesnt look for anything, it appends itself to the relevant phrase.

Freesteyelz 08-04-2009 07:46 PM

Quote:

Originally Posted by Paul M (Post 1861201)
FYI, It doesnt look for anything, it appends itself to the relevant phrase.

In your previous version there was a section in vB Options to specify the area which Unread Post codes would attach to using ATCS (Automatic Template Changes System). I wanted to do that with this version since my navbar is modified.

I've successfully moved $unread so the mod will display where I want it to (and not after last visited phrase) by commenting out those lines of codes. I was just wondering if by commenting out those lines of codes (below) would harm vB or the codes in any way:

Code:

  // $vbphrase['welcome_x'] .= '</strong><br />'.$unread.'<strong>'; // 3.6 Phrase
  // $vbphrase['welcome_x_link_y'] .= '</strong><br />'.$unread.'<strong>'; // 3.7 Onwards Phrase
  // $vbphrase['last_visited_x_at_y'] .= "<!-- PEMDATA38: {$data_dup['title']} : Version = {$data_dup['version']} : Revision = {$data_dup['cvs']} -->";


:)

Saviour 08-04-2009 08:45 PM

Nice mod, Paul...thanks!

Paul M 08-04-2009 09:32 PM

Quote:

Originally Posted by Freesteyelz (Post 1861411)
In your previous version there was a section in vB Options to specify the area which Unread Post codes would attach to using ATCS (Automatic Template Changes System). I wanted to do that with this version since my navbar is modified.

That was only in a couple of the 3.6 versions in mid 2007, for the last two years (since v1.22) it has used the phrase system.

Quote:

Originally Posted by Freesteyelz (Post 1861411)
I've successfully moved $unread so the mod will display where I want it to (and not after last visited phrase) by commenting out those lines of codes. I was just wondering if by commenting out those lines of codes (below) would harm vB or the codes in any way:

Nope, commenting them out will not affect anything else.


All times are GMT. The time now is 03:28 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.01447 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (6)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