vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - What's New - Reloaded (https://vborg.vbsupport.ru/showthread.php?t=252601)

Andreas 10-24-2010 10:00 PM

What's New - Reloaded
 
1 Attachment(s)
This Add-on changes the behaviour of the What's New tab to include new content from all available configured content types (Blogs Entries, Articles, Social Group Messages, etc.) instead of only new forum posts.

As an added bonus, it also does also show an indicator for content that was not updated since your last visit but is still unread.

Attention
This Add-on is kinda resource intensive, you might not want to use it on a large/busy forum!

History
1.0.0 Beta 3
Removed useless code and navbar link "New Content".

MarceloS 10-25-2010 07:29 PM

Tagged! I was looking for this for a long time.

A good option would be the same functions but for today's posts instead of new posts.

(btw there is a typo on the description: bones)

Juggernaut 10-25-2010 08:51 PM

This looks very promising, tagged for later.

Leica.Robbiani 10-25-2010 11:51 PM

1 Attachment(s)
Hi Andreas,

thanks for this mod, it's a big deal. But it seems the "New Content" link doesn't work correctly (using vB 4.0.6). I'm sure, I have a new thread in my board, but this search link shows the standard vB error message.

A problem which I have solved is that I have no What's New button. But I have installed the my_threads & my_posts mod, so I put the search link of the What's New button into this menu:

Attachment 123092

It's the first item in the menu. To do this, find in the "myposts_navbar_link"-template (make sure you have the "My Threads & My Posts" installed):

Code:

<ul class="popupbody popuphover">
Add under it:
Code:

<li><a href="search.php?do=getnew&contenttype=All_Content">Neue Inhalte</a></li>
Change the phrase "Neue Inhalte" to whatever you like.

Again, thanks a lot.

Best regards

L.R.

sulasno 10-26-2010 12:31 AM

tagged and thanks;

installed but appears not to be working in 4.0.8

OldSchoolDSL 10-26-2010 01:06 AM

1 Attachment(s)
Mod is working fine in 4.0.8 , but also confirm "new content" link does not work after this. Give you the standard message:

Quote:

vBulletin Message:
Sorry - no matches. Please try some different terms.
If you click this small link. Most users seem to click the larger tab (What's New), so this isn't really to much of a problem (right now).

Andreas 10-26-2010 01:10 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2114206)
Mod is working fine in 4.0.8 , but also confirm "new content" link does not work after this.

That link shouldn't be there at all, it originates from the very first version of this Add-on when there was no What's New tab.
Will be removed in next release.

OldSchoolDSL 10-26-2010 01:22 AM

Quote:

Originally Posted by Andreas (Post 2114208)
That link shouldn't be there at all, it originates from the very first version of this Add-on when there was no What's New tab.
Will be removed in next release.

Glad I could be of some help & I look forward to the next release. :)

AURFSCAN 10-26-2010 02:00 AM

killed my forum when I installed, uninstalled then removed 'packages' via ftp

Andreas 10-26-2010 02:30 AM

Quote:

Originally Posted by AURFSCAN (Post 2114219)
killed my forum when I installed, uninstalled then removed 'packages' via ftp

A bit more detailed information about your forum and how exactly it was "killed" would be useful ;)

AURFSCAN 10-26-2010 02:36 AM

yeah sure.. thx

*

removed it and got this on the homepage

PHP Code:



The 
default route 'content' is not valid on line 354 in /home/aur47267/public_html/vb/router.php
#0 /home/aur47267/public_html/vb/router.php(324): vB_Router::getDefaultRoute(500)
#1 /home/aur47267/public_html/vb/router.php(207): vB_Router::newRoute('content')
#2 /home/aur47267/public_html/vb/bootstrap.php(59): vB_Router::getResponse()
#3 /home/aur47267/public_html/content.php(31): require_once('/home/aur47267/...')
#4 /home/aur47267/public_html/index.php(113): require('/home/aur47267/...')
#5 {main}


Fatal errorThe default route 'content' is not valid on line 354 in [path]/vb/router.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, The default route 'content' is not valid on line 354 in /home/aur47267/public_html/vb/router.php , /home/aur47267/public_html/vb/vb.php, 284, Array ([exception] => vB_Exception_Critical Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => The default route 'content' is not valid,[] => ,[] => 0,[] => /home/aur47267/public_html/vb/router.php,[] => 354,[] => Array ([0] => Array ([file] => /home/aur47267/public_html/vb/router.php,[line] => 324,[function] => getDefaultRoute,[class] => vB_Router,[type] => ::,[args] => Array ([0] => 500)),[1] => Array ([file] => /home/aur47267/public_html/vb/router.php,[line] => 207,[function] => newRoute,[class] => vB_Router,[type] => ::,[args] => Array ([0] => content)),[2] => Array ([file] => /home/aur47267/public_html/vb/bootstrap.php,[line] => 59,[function] => getResponse,[class] => vB_Router,[type] => ::,[args] => Array ()),[3] => Array ([file] => /home/aur47267/public_html/content.php,[line] => 31,[args] => Array ([0] => /home/aur47267/public_html/vb/bootstrap.php),[function] => require_once),[4] => Array ([file] => /home/aur47267/public_html/index.php,[line] => 113,[args] => Array ([0] => /home/aur47267/public_html/content.php),[function] => require))),[code] => 256)) called at [(null):0] #1 trigger_error(The default route 'content' is not valid on line 354 in /home/aur47267/public_html/vb/router.php , 256) called at [/home/aur47267/public_html/vb/vb.php:284] #2 vB::handleException(vB_Exception_Critical Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => The default route 'content' is not valid,[] => ,[] => 0,[] => /home/aur47267/public_html/vb/router.php,[] => 354,[] => Array ([0] => Array ([file] => /home/aur47267/public_html/vb/router.php,[line] => 324,[function] => getDefaultRoute,[class] => vB_Router,[type] => ::,[args] => Array ([0] => 500)),[1] => Array ([file] => /home/aur47267/public_html/vb/router.php,[line] => 207,[function] => newRoute,[class] => vB_Router,[type] => ::,[args] => Array ([0] => content)),[2] => Array ([file] => /home/aur47267/public_html/vb/bootstrap.php,[line] => 59,[function] => getResponse,[class] => vB_Router,[type] => ::,[args] => Array ()),[3] => Array ([file] => /home/aur47267/public_html/content.php,[line] => 31,[args] => Array ([0] => /home/aur47267/public_html/vb/bootstrap.php),[function] => require_once),[4] => Array ([file] => /home/aur47267/public_html/index.php,[line] => 113,[args] => Array ([0] => /home/aur47267/public_html/content.php),[function] => require)))) called at [(null):0] 


Andreas 10-26-2010 02:58 AM

Could it be you've deleted the whole packages folder?

If so you've deleted a lot of vBulletin own files.
-> Reupload that folder from your vBulletin ZIP file.

AURFSCAN 10-26-2010 03:02 AM

you are correct.. my fault

silly twat I am anyway thx for your help

carry on

sross 10-26-2010 05:42 AM

"As an added bonus, it also does also show an indicator for content that was not updated since your last visit but is still unread."

-Over 50 of us in the vbtracker have been waiting for this to be restored to "new post" search. Is it possible to use this alone, just new posts or would it still be resource intensive?

-edit -ok I tested this, not quite what I need. I need new posts search to contain the "not updated since last visit line". Please PM me and let me know how much $$ for such a custom mod (if you are open to developing it). Thanks!

Alfa1 10-26-2010 08:47 AM

Quote:

Originally Posted by Andreas
Attention
Tihs Add-on is kinda resource intensive, you might not want to use it on a large/busy forum!

Can you please expand on this?

The Coon 10-26-2010 11:44 AM

Works simply great (4.0.8)! Thank you very much! :)

Sorry ... edit: What about comments to blog- and article-entries? They are not included, right?

Andreas 10-26-2010 04:06 PM

Quote:

Originally Posted by Alfa1 (Post 2114357)
Can you please expand on this?

It requires the cumlulated amout of queriesfor all included content types + 1 whereas a search for new forum posts only takes the amount of queries required to search for new forum posts.

Quote:

What about comments to blog- and article-entries? They are not included, right?
vBulletin currently does not have newitem search controllers for these content types, therefore they are not included.
This Add-on does only use already existing controllers.

The Coon 10-26-2010 04:33 PM

Thank you for the explanation!

Cybeth 10-26-2010 05:05 PM

Ich such mir einen Wolf, wo finde ich die Einstellung im ACP?

Andreas 10-26-2010 05:29 PM

@Cybeth
English only please :)
I'll do a german release on vBulletin-Germany.org tomorrow.

Cybeth 10-26-2010 06:23 PM

Okay :)

bluered 10-26-2010 08:25 PM

Installed but not work:(

Andreas 10-27-2010 05:07 PM

Quote:

Originally Posted by sross (Post 2114319)
I need new posts search to contain the "not updated since last visit line".

I've packed that as a separate Add-on:
https://vborg.vbsupport.ru/showthread.php?t=252720

Quote:

Originally Posted by bluered (Post 2114612)
Installed but not work:(

Are you sure you've installed it correctly, eg. uploaded all the files and imported the XML?
Did you configure the content types in vBulletin settings?

KProjects 10-27-2010 08:05 PM

Thanks!

Erm.. 4.0.8 and doesn't seem to work - did upload everything, edited message searching options to show everything that was a choice.. It's just showing posts..

Latest post it's showing is timestamped 5:13pm, I posted a test post in a group at 5:05pm

Great start though :)

Andreas 10-28-2010 03:58 AM

@KProjects
Well, sorry for that but I am unable to reproduce the problem and therefore can't help you.
Feel free to drop ma a PM with necessary logins (ACP, PMA, FTP) though and I'll take a look.

RedTrinity 10-31-2010 12:59 PM

Whenever I activate this plugin, it replaces the list of unread threads on the Whats New? page with:

Quote:

Sorry, there is no new content to view.

You may search for content posted during the previous 24 hours, here
When I click on the "here" link, I get:

Quote:

Sorry - no matches. Please try some different terms.
When I disable the plugin, the original Whats New topic list returns.

Is there any way this mod can be activated without 'losing' a member's existing list of unread topics? :confused:

The Coon 10-31-2010 07:55 PM

Happened here suddenly, too ... appeared after changing "Daylight Saving Time". But I am not really sure, if there is a relation. :confused:

Andreas 11-01-2010 10:15 AM

@RedTrinity
If you are sure you installed & configure this Add-on correctly:
Sorry, I can't reproduce the problem and therefore can't help you.

Feel free to send me a PM with all required logins (FTP,ACP & PMA) and I'll take a look.

Cybeth 11-01-2010 10:36 AM

Quote:

Originally Posted by RedTrinity (Post 2116342)
Whenever I activate this plugin, it replaces the list of unread threads on the Whats New? page with:



When I click on the "here" link, I get:



When I disable the plugin, the original Whats New topic list returns.

Is there any way this mod can be activated without 'losing' a member's existing list of unread topics? :confused:

have the same problems.
When will the German version?

RedTrinity 11-01-2010 12:38 PM

Quote:

Originally Posted by Andreas (Post 2116683)
@RedTrinity
If you are sure you installed & configure this Add-on correctly:

Thanks, after you mentioned it needs configuring, I went looking for the settings. Works now :) Nice work :)

Andreas 11-01-2010 03:52 PM

Quote:

Originally Posted by RedTrinity (Post 2116707)
Thanks, after you mentioned it needs configuring

Well, that is mentioned in readme.txt :)

Mark.B 11-03-2010 10:58 PM

Quote:

Originally Posted by RedTrinity (Post 2116342)
Whenever I activate this plugin, it replaces the list of unread threads on the Whats New? page with:



When I click on the "here" link, I get:



When I disable the plugin, the original Whats New topic list returns.

Is there any way this mod can be activated without 'losing' a member's existing list of unread topics? :confused:

I can confirm this problem too. It was initially working but now just gives a "no results" error all the time. Strange.

seite7 11-04-2010 11:26 AM

Looks nice at a first glance.
But my new calendar event is missing an image of the user. The generated HTML says:
HTML Code:

<img src="" class="userlist_avatar_2" alt="Avatar von Tester" border="0" />

Andreas 11-05-2010 05:36 AM

@seite7
That would most likely be a bug in vBulletin itself.
Does it happen if you are just searching new events?
If it happens there too it's definitly a bug in vbulletin.

alfanexus 11-27-2010 02:02 PM

Finally. Been vating for this for ages! Default whats new is just plain stupid, its called whats new but only displays whats new i forum, the rest is ignored.

Thanks this is a gread mod!

OldSchoolDSL 12-08-2010 02:52 PM

This stop working for me, so for now its disabled. Will wait for an update.

S3Ponline 12-10-2010 03:30 AM

Right, will there be a 4.1 update?

Andreas 12-11-2010 10:48 AM

Quote:

Originally Posted by S3Ponline (Post 2131722)
Right, will there be a 4.1 update?

I just posted an update but not for 4.1 as it works just fine with 4.0.6+ and 4.1.X (at least for me).

Helmut71 12-11-2010 11:09 AM

is there a German translation for this add on?

OldSchoolDSL 12-12-2010 08:10 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2130894)
This stop working for me, so for now its disabled. Will wait for an update.

Uninstalled old version and Installed your new beta. This corrected the problem.

Working on 4.0.8 Patch Level 2


All times are GMT. The time now is 01:45 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.01361 seconds
  • Memory Usage 1,846KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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