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.

furst 08-08-2010 11:04 PM

I get a blank white page when I add the widget to my layout and reload my homepage.

Phalynx 08-10-2010 11:22 AM

Quote:

Originally Posted by furst (Post 2081074)
I get a blank white page when I add the widget to my layout and reload my homepage.

Cannot confirm that. Did you cleared already the cache to check if it's a cache issue?

BlueCheri 08-10-2010 01:37 PM

Sorry, no idea about widget.

Shall create it and how?

Phalynx 08-10-2010 01:41 PM

Please read the instructions as stated above in "How to install this?".

furst 08-10-2010 06:03 PM

Quote:

Originally Posted by Phalynx (Post 2081699)
Cannot confirm that. Did you cleared already the cache to check if it's a cache issue?

I had some other people try it and they all got the same results. I don't think it's a cache thing.

Phalynx 08-10-2010 06:51 PM

I'm running this on four boards without problems.

Let's try to isolate it...
Please specify your PHP, MySQL, vBulletin versions.

What exactly are you typing into the PHP field for the widget?

Dr.osamA 08-10-2010 07:44 PM

installed + 5 stars

thanxx

caciocode 08-10-2010 09:43 PM

Just installed! Here. Just wondering will it work in forums? And how safe is it? I know this is PHP and anything is possible some can easily create a mod which creates users on the forum and make advertising posts etc. Is that possible right?

Phalynx 08-11-2010 05:51 AM

Quote:

Originally Posted by Dr.osamA (Post 2081862)
installed + 5 stars

thanxx

Thank you.

Quote:

Originally Posted by caciocode (Post 2081899)
Just installed! Here. Just wondering will it work in forums? And how safe is it? I know this is PHP and anything is possible some can easily create a mod which creates users on the forum and make advertising posts etc. Is that possible right?

It's not that easy. First of all, the source code is completly visible. All files are text files which can be checked with notepad. Second, there are a few users using it already. If it were a trojan or something similar other users would report it. Third, take a look at my installcount for other modifications, my postcount, my registration date - my whole reputation here. This makes sure I'm not a bad boy spreading trojans.

furst 08-11-2010 06:53 PM

Quote:

Originally Posted by Phalynx (Post 2081840)
I'm running this on four boards without problems.

Let's try to isolate it...
Please specify your PHP, MySQL, vBulletin versions.

What exactly are you typing into the PHP field for the widget?

php 5.2.13
mysql 5.0.90
vbulletin 4.0.4
widget: http://www.webpagescreenshot.info/im...112010105127PM

Phalynx 08-11-2010 06:58 PM

Did you uploaded the PHP files as Textfiles?

furst 08-11-2010 07:26 PM

Quote:

Originally Posted by Phalynx (Post 2082290)
Did you uploaded the PHP files as Textfiles?

At first I uploaded it in the default way, but just now I went back and reuploaded all as text, and it still doesn't work.

Phalynx 08-11-2010 07:30 PM

I'm out of ideas, sorry.

furst 08-11-2010 09:23 PM

Quote:

Originally Posted by Phalynx (Post 2082303)
I'm out of ideas, sorry.

Could it somehow be a permissions issue? I've had blank white pages be the result of some faulty permissions in the past.

Phalynx 08-12-2010 05:30 AM

I'm not using permissions in this mod.

Xencored 08-14-2010 10:11 AM

Installed works great thanks
Is there anyway to limit it to showing only 5 or 10

Cheers

myco 08-14-2010 11:10 AM

first i had a blank page too.
if a change the path from './cwnw/cwnw.php' to the full server path works it.
thanks for the great addon
thumbs up and five stars

Phalynx 08-14-2010 04:28 PM

Quote:

Originally Posted by Animemike (Post 2083631)
Installed works great thanks
Is there anyway to limit it to showing only 5 or 10

Cheers

Yes, check settings.

Quote:

Originally Posted by myco (Post 2083645)
first i had a blank page too.
if a change the path from './cwnw/cwnw.php' to the full server path works it.
thanks for the great addon
thumbs up and five stars

Thanks for the hint. furst, can you please try this?

I will release 2.0.1 this week. It features vBExperience Awards, CMS Articles and last but not least Project Tools Issues.

Xencored 08-14-2010 04:49 PM

Quote:

Originally Posted by Phalynx (Post 2083806)
Yes, check settings.

Ha didnt think there was any with it been a widget
Thanks mate :)

furst 08-15-2010 10:29 PM

Quote:

Originally Posted by Phalynx (Post 2082545)
I'm not using permissions in this mod.

I'm talking about chmod permissions. Sorry, I should have made that clear.

Any new ideas? I'd really like to get this working. I'm particularly interested in the latest album comments.

Bigj85 08-15-2010 10:56 PM

Just installed,great widget :)
I was wondering is there any chance of you making a forum welcome panel or profile side block with the same type of funcionality and some of the viewing users info like avatar,post count,thread count,latest achievements, etc.
this is really great as a way of showing the whole sites activities but something similar for the forum that just shows activities and achievements related to the logged in user would be great I think.

anyway thanks for the great widget,installed and rated

Phalynx 08-16-2010 06:49 AM

Quote:

Originally Posted by furst (Post 2084507)
I'm talking about chmod permissions. Sorry, I should have made that clear.

Any new ideas? I'd really like to get this working. I'm particularly interested in the latest album comments.

Did you read this post?
https://vborg.vbsupport.ru/showpost....6&postcount=28

Someone had a similar issue and solved it.


Quote:

Originally Posted by Bigj85 (Post 2084511)
Just installed,great widget :)
I was wondering is there any chance of you making a forum welcome panel or profile side block with the same type of funcionality and some of the viewing users info like avatar,post count,thread count,latest achievements, etc.
this is really great as a way of showing the whole sites activities but something similar for the forum that just shows activities and achievements related to the logged in user would be great I think.

anyway thanks for the great widget,installed and rated

A welcome panel could be done easily, it's mainly a template thing. I will consider this.

furst 08-16-2010 10:14 PM

Quote:

Originally Posted by Phalynx (Post 2084640)
Did you read this post?
https://vborg.vbsupport.ru/showpost....6&postcount=28

Someone had a similar issue and solved it.

Just tried changing it to http://www.domain.com/cwnw/cwnw.php and it still did not work. I'll try messing with some of the chmod settings when I get a little more time later this week.

bferrell 08-17-2010 03:17 PM

1 Attachment(s)
I'm having the same issue, no results. I tried a full path as well, screenshots attached. Could be not compatible with 4.0.6?

vb: 4.0.6
php: 5.2.12
mysql: 5.0.90

Brett

Phalynx 08-17-2010 07:06 PM

I'm using it on vBulletin 4.0.6

bferrell 08-17-2010 07:18 PM

Hmmm... do you see anything in my setup that is wrong? It seems really straightforward.

Phalynx 08-17-2010 07:55 PM

I don't see anything that is against it. Even if I uninstall the product xml I don't get a blank page.

Please check your PHP errorlogs if there is something related.

Bigj85 08-17-2010 08:53 PM

Quote:

Originally Posted by Phalynx (Post 2084640)
A welcome panel could be done easily, it's mainly a template thing. I will consider this.

thanks for considering it Phalynx,the level of integration between experience,third party addons and parts of the forum are really amazing.

Great work

bferrell 08-18-2010 11:06 AM

Ha! Overnight my forum posts started showing up, looking forward to 2.0.1 for CMS articles, etc. Thanks!

Brett

Phalynx 08-18-2010 01:16 PM

Central What's New Widget has been updated to 2.0.1

Changelog:
- Fixed wrong date on vBExperience Achievements

- Supporting now streams from:
-- iTrader Feedback
-- vBExperience Awards
-- CMS Articles
-- Project Tools Issues


All times are GMT. The time now is 03:20 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.01491 seconds
  • Memory Usage 1,833KB
  • 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
  • (18)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