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)

mikey1991 05-01-2009 02:09 AM

Hi Paul, just to ask, how would I make it so that from my vBAdvanced portal wouldn't result in a 404 when the 'new posts' is clicked?

IE:

The forum is at mysite.com/forum and the vBAdvanced is at mysite.com and when someone clicks the 'new posts' button from the portal, it's looking for mysite.com/search.php when the correct path would be mysite.com/forum/search.php

So, What template\phrase do I need to edit for this to change to go to the correct place?

Paul M 05-01-2009 04:07 PM

Quote:

Originally Posted by TalkVirginia (Post 1802172)
I had your 3.7 version of this mod installed and it was doing the same thing so I just upgraded to the 3.8 version; however, still no luck.

Any thoughts?

No idea tbh, would need admin accss to see what was happening.



Quote:

Originally Posted by mikey1991 (Post 1802236)
Hi Paul, just to ask, how would I make it so that from my vBAdvanced portal wouldn't result in a 404 when the 'new posts' is clicked?

IE:

The forum is at mysite.com/forum and the vBAdvanced is at mysite.com and when someone clicks the 'new posts' button from the portal, it's looking for mysite.com/search.php when the correct path would be mysite.com/forum/search.php

So, What template\phrase do I need to edit for this to change to go to the correct place?

Edit the Links Path setting in the options.

TalkVirginia 05-01-2009 09:13 PM

Quote:

No idea tbh, would need admin accss to see what was happening.
No worries. It wasn't your addon that caused the issue. My bad.. ;)

Stormraven 05-01-2009 10:14 PM

Thankyou paul, everything seems to be working fine now :)

greenspan 05-02-2009 04:37 PM

I installed this module. Thanks.

mikey1991 05-03-2009 02:27 PM

Thanks Paul, Helped alot.. wasn't too sure what to do with that feature.

lowey 05-04-2009 12:54 PM

Is there a way to disable the automatic insertion of the unread-messages-link into the welcomebox?

I want to place it somehwere else and I tried placing $unread in combination with the Disable Unread Posts Display-setting. But this also renders the variable useless. Any clues?

Thanks! :)

Edit: OK, found it in the Unread Posts and Reputation (2)-plugin. Thanks anyway! :D

arena 05-05-2009 10:39 PM

Unread post not working help me please? New Reputation working

Paul M 05-06-2009 10:55 AM

Help you how ?

EagleNick 05-06-2009 07:21 PM

Quote:

Originally Posted by EagleNick (Post 1763235)
I have the options set to "Count All Posts Marked as Unread"
I have the issue with the link taking me to this: mysite.com/forums/search.php?do=getnew[ARG:2%20UNDEFINED].

I read about something with the dup_posts phrase, but I don't see anything wrong with it... this is what it is:
Code:

You Have <strong>{1} <a href="{3}search.php?do=getnew">Unread {2}</a></strong>
What else could be the problem?

Quote:

Originally Posted by Paul M (Post 1763889)
Argument 2 of that phrase is another phrase that is part of this product - the only possible way you could get it is if vbulletin didnt import the phrases properly, or you have somehow deleted the phrase - uninstalling and re-installing might fix that, otherwise, still no idea.

Okay, uninstalling and re-installing got rid of this ARG UNDEFINED issue...

But now I have a new problem: Rather than the welcome box saying how many unread posts I have, it says "Display Unread Posts" where the Unread Posts part is the link to the getnew page.

All of the phrases are un-modified. Any idea how to fix this?

Thanks. I love this mod and hope to get it working properly ;)


All times are GMT. The time now is 12:46 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.01765 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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