vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - Advanced 'New Posts' (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=201308)

kud0gfx 01-22-2009 12:52 AM

is there anyway to get a no-ajaxed version? just like the old one... because my forum are getting pretty some max user connection mysql errors.. so I had to deactivate it

Biker_GA 01-22-2009 09:15 AM

I had to turn it off as well. Load on the forum was unacceptable and we, too, use vBAdbvanvced.

thunderclap82 01-22-2009 01:37 PM

I'm just sticking with v2.1 since it seems to work properly. I really wish an updated version was released that correct a lot of our issues, but if not I'm quite happy with 2.1 for now.

Blue91 01-22-2009 10:31 PM

I went with Better New Posts and changed the "Today's Posts" link in the Quick Links navbar menu to "My Threads from Past Month".

I had my vb 3.03 like this until I upgraded to 3.8. My users actually preferred the ability to search from past visit, past day, past week, and past month so I went ahead and changed it.

What would be the BEST of both worlds for me would be Cyb's AJAX new posts with a dropdown menu like the "Better New Posts" I'm using now so my users can still do a quick search that way as well. *shrug* Oh well.

Skyrider 01-23-2009 10:06 PM

Quote:

New Posts: 7 (In 4 Threads)
Quote:

Sorry, there are no new threads to view.

You may search for threads updated during the previous 24 hours, here.
Is this right?

Kendothpro 01-23-2009 11:18 PM

Nice hack cyb! I have installed it and wanted to contribute: I think it can be made better with a simple adjustment:

1- For users without javascript, it completely invalidates the "new posts" button (i.e. doesn't degrade gracefully), this can be solved by changing this part:
PHP Code:

href="javascript:void(0);" onclick="CAnp_getStats();" 

to this
PHP Code:

href="search.php?do=getnew" onclick="CAnp_getStats(); 
return false;" 

It will work exactly the same for users with javascript, but will degrade gracefully for those who don't have javascript. It will also be possible to open the link with the "open to new tab" option in firefox (i.e. middle mouse button)

2- The "checking.." text is a bit annoying since it changes the layout in the navbar and moves all the menus, there should be an option to disable/change it

Trek 01-24-2009 01:26 AM

Old versions did this to me, the latest didn't, but never displayed anything but 0's after that. Sorry I can't be of any help, just letting you know, you're not alone. heh

Quote:

Originally Posted by FF|Skyrider (Post 1722781)
Is this right?


albear 01-25-2009 10:41 PM

Installed... Thank You !

dresus 01-25-2009 10:55 PM

uninstalled till a working version is released...

emperatour 01-27-2009 07:55 AM

this don't work for me :-? why ?


All times are GMT. The time now is 12:29 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.02484 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
  • (2)bbcode_php_printable
  • (3)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