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)
-   -   vBulletin CMS Widgets - Central What's New Widget (https://vborg.vbsupport.ru/showthread.php?t=248165)

Phalynx 08-06-2010 10:00 PM

Central What's New Widget
 
1 Attachment(s)
Central What's New Widget 2.0
Tested with vBulletin Suite 4.0.0 up to 4.1.7


This modifications collects in one central widget all data relevant to your forum. You can select how many streams, how many days it should look back and the length of the preview text.

A version that displays streams in user profiles can be found here:
https://vborg.vbsupport.ru/showthread.php?t=256071

With v2.0.2 there is support for collecting streams from this:
- Blog
- Blog comments
- CMS Articles
- CMS comments
- vBExperience achievements
- vBExperience awards
- Group discussions
- Group messages
- Album Pictures
- Album Pictures comments
- Threads
- Posts
- Visitor Message
- Project Tools Issues
- iTrader Feedbacks


It can be easily expanded to display also data from Post Thanks, vBookie, Downloads, etc...


/***** Demo: *****\
http://www.insidesupcom.de/?langid=1


/***** How to install this? *****\
- Upload the content of the folder "upload_via_ftp" to your server.
- Install the product xml

- Create a new Widget:
Type: PHP Direct Execution
Title: Central What's New

Save!

- Configure the new Widget:
PHP Code: require_once('./cwnw/cwnw.php');
Template name: cwnw_wrapper

Save!

You can now add this widget to your favourite location in your layout.



Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked "Mark as Installed".



History:
2.0.3, 10th Oct 2011:
- Fixed issues with wrong linked avatars. Just replace cwnw.php and clear CMS cache.


2.0.2, 23th Oct 2010:
- Fixed style issues that appeared with vBulletin 4.0.8 - Please remember to clear your CMS Cache after importing the product.


2.0.1, 18th Aug 2010:
- Fixed wrong date on vBExperience Achievements

- Support now streams from:
-- iTrader
-- vBExperience Awards
-- CMS Entries
-- Project Tools Issues


2.0.0, 07th Aug 2010:
- First public release

1.x:
- Releases used for own websites

KURTZ 08-07-2010 10:06 AM

Marius, sounds interesting ... i'll check it later ... :)

nikosb 08-07-2010 12:09 PM

thanks
install but not works.
Code:

Database error in vBulletin 4.0.5:

Invalid SQL:
SELECT
visitormessage.userid,
visitormessage.postuserid,
visitormessage.postusername,
visitormessage.pagetext,
visitormessage.dateline,
user.username
FROM
vb_visitormessage
INNER JOIN vb_user AS user ON user.userid=visitormessage.userid
WHERE visitormessage.dateline > 1280581495
ORDER BY visitormessage.dateline DESC
LIMIT 0,1;

MySQL Error  : Unknown column 'visitormessage.userid' in 'field list'
Error Number  : 1054
Request Date  : Saturday, August 7th 2010 @ 04:04:55 PM
Error Date    : Saturday, August 7th 2010 @ 04:04:55 PM
Script        : http://myurl/
Referrer      : http://myurl/
IP Address    : xx.xx.xxx.xx
Username      : xxxxxxxxx
Classname    : vB_Database
MySQL Version : 5.1.40


In Omnibus 08-07-2010 01:46 PM

Same Database Error as posted above ... uninstalled for now.

joerns 08-07-2010 06:32 PM

Thanks! Excellent widget - works great. Is it possible to exclude certain forums?

Phalynx 08-07-2010 07:30 PM

Quote:

Originally Posted by nikosb (Post 2080480)
thanks
install but not works.
Code:

Database error in vBulletin 4.0.5:

Invalid SQL:
SELECT
visitormessage.userid,
visitormessage.postuserid,
visitormessage.postusername,
visitormessage.pagetext,
visitormessage.dateline,
user.username
FROM
vb_visitormessage
INNER JOIN vb_user AS user ON user.userid=visitormessage.userid
WHERE visitormessage.dateline > 1280581495
ORDER BY visitormessage.dateline DESC
LIMIT 0,1;

MySQL Error  : Unknown column 'visitormessage.userid' in 'field list'
Error Number  : 1054
Request Date  : Saturday, August 7th 2010 @ 04:04:55 PM
Error Date    : Saturday, August 7th 2010 @ 04:04:55 PM
Script        : http://myurl/
Referrer      : http://myurl/
IP Address    : xx.xx.xxx.xx
Username      : xxxxxxxxx
Classname    : vB_Database
MySQL Version : 5.1.40


Fixed. Please download the ZIP and overwrite the file \cwnw\streams\visitormessage.php

Quote:

Originally Posted by joerns (Post 2080583)
Thanks! Excellent widget - works great. Is it possible to exclude certain forums?

Yes, with one of the next versions.

nikosb 08-07-2010 08:09 PM

Thanks! works great.

In Omnibus 08-07-2010 08:45 PM

Reinstalled. Works Perfectly. Thank you.

kho91 08-07-2010 10:57 PM

I got an error message :databse erro tables not found..

Phalynx 08-08-2010 05:56 AM

Quote:

Originally Posted by kho91 (Post 2080657)
I got an error message :databse erro tables not found..

Please post the error message here.


All times are GMT. The time now is 07:22 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.01245 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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