PDA

View Full Version : vBulletin CMS Widgets - Central What's New Widget


Phalynx
08-06-2010, 10:00 PM
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.
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
thanks
install but not works.
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

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
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
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
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 (http://www.sheersoftware.com/content.php). 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
installed + 5 stars

thanxx
Thank you.

Just installed! Here (http://www.sheersoftware.com/content.php). 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
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/img/661947-8112010105127PM

Phalynx
08-11-2010, 06:58 PM
Did you uploaded the PHP files as Textfiles?

furst
08-11-2010, 07:26 PM
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
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
Installed works great thanks
Is there anyway to limit it to showing only 5 or 10

Cheers
Yes, check settings.

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
Yes, check settings.

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

furst
08-15-2010, 10:29 PM
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
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.php?p=2083806&postcount=28

Someone had a similar issue and solved it.


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
Did you read this post?
https://vborg.vbsupport.ru/showpost.php?p=2083806&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
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
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

Storyteller69
08-18-2010, 02:50 PM
Thanks for the great update! :up:
I have only one problem with cms-articles. The username does not appear. It shows only:
Benutzer:

For cms-comments it works fine.

Thanks in advance
Storyteller

Bigj85
08-18-2010, 03:21 PM
same problem as the user above,everything else is great though,especially itrader support as we use that as the rep system for my forum.

loving the widget though

janaf
08-18-2010, 06:08 PM
Dumb question but where do I upload the files? To what directory?

Neptun
08-18-2010, 06:16 PM
is there a possibility to show also a picture of the cms articel ? that would be great

Phalynx
08-18-2010, 07:09 PM
Thanks for the great update! :up:
I have only one problem with cms-articles. The username does not appear. It shows only:
Benutzer:

For cms-comments it works fine.

Thanks in advance
Storyteller
Fixed. Please download ZIP and import product XML.

Dumb question but where do I upload the files? To what directory?
To the root. The directory cwnw should be in the same level like "includes".


is there a possibility to show also a picture of the cms articel ? that would be great
Uploaded to the first post.

Storyteller69
08-18-2010, 07:57 PM
Fixed. Please download ZIP and import product XML.Works fine now. :)

Many thanks.
Storyteller

janaf
08-18-2010, 08:46 PM
Works great once I fund where to put the files :)

The only thing I miss; when clicking on a forum title it would be great if the link was to that actual post, not the first post in the thread.

A thought; does the script care about what the current user has rights to see? If I have restricted forums (logged-on members only) will postings show in the widget to non-logged on persons?

I really can not get into my head why there is no "show all" widget like this one included in vB4!

Many thanks for this widget!

kho91
08-18-2010, 11:25 PM
thank you

it would be good if you can also add download II and Media librairy

Xencored
08-18-2010, 11:32 PM
I tested this on the forum sidebar works great but only one problem the avatars are big very big :D

bferrell
08-18-2010, 11:42 PM
Awesome!

Phalynx
08-19-2010, 06:27 AM
Works great once I fund where to put the files :)

The only thing I miss; when clicking on a forum title it would be great if the link was to that actual post, not the first post in the thread.

A thought; does the script care about what the current user has rights to see? If I have restricted forums (logged-on members only) will postings show in the widget to non-logged on persons?

I really can not get into my head why there is no "show all" widget like this one included in vB4!

Many thanks for this widget!
Yes, the streams are checking for permissions, they are even obeying the ignore list.


thank you

it would be good if you can also add download II and Media librairy
Downloads II is already beeing done, for Media Library I'm not sure as I'm not using it. I would require a forum where I can grab some data.

I tested this on the forum sidebar works great but only one problem the avatars are big very big :D
Uhm, screenshot?

Awesome!
Thanks :)

Xencored
08-19-2010, 07:06 AM
Uhm, screenshot?


Here you go

121011

Phalynx
08-19-2010, 07:30 AM
Here you go



Edit cwnw.php and change this line:
$avatar = fetch_avatar_url($fetchuser['userid'], false);


to

$avatar = fetch_avatar_url($fetchuser['userid'], true);

Does it help?

Xencored
08-19-2010, 07:56 AM
Edit cwnw.php and change this line:
$avatar = fetch_avatar_url($fetchuser['userid'], false);


to

$avatar = fetch_avatar_url($fetchuser['userid'], true);

Does it help?

Thanks man some of them are still big tho (the default one)
also is there a way to get them Next to the info like the vbulletin ones do?

Mike

Phalynx
08-19-2010, 08:28 AM
I'm not really sure if the currently used layout will be the final one. I'm still searching a way to show where an entry comes from. Maybe I will replace the avatar with the icon used by the stream.

Xencored
08-19-2010, 08:36 AM
I'm not really sure if the currently used layout will be the final one. I'm still searching a way to show where an entry comes from. Maybe I will replace the avatar with the icon used by the stream.

Sounds great mate :up:
Thanks

Edit or a way to turn them off. even if it means // :D

The Coon
08-19-2010, 10:34 AM
This will become an essential addon, thanks!
Suggestion:

I think, it would be better, if one thread is displayed only once (like in the original "What's new?"). Look at your own example.

121017

In case of a "hot" discussion in the forum, it perhaps destroys a simple overview, that I would appreciate more.

Phalynx
08-19-2010, 10:43 AM
This will become an essential addon, thanks!
Suggestion:

I think, it would be better, if one thread is displayed only once (like in the original "What's new?"). Look at your own example.

121017

In case of a "hot" discussion in the forum, it perhaps destroys a simple overview, that I would appreciate more.

That's not a thread, these are replies to a thread.

The Coon
08-19-2010, 10:49 AM
Yes, of course ... ;) But imagine, there is a thread with 15 replies, e.g.

They all would be displayed in the overview. Does that make sense?
As I said: Only a suggestion!

Thanks again for your work!

Phalynx
08-19-2010, 10:54 AM
Yes, of course ... ;) But imagine, there is a thread with 15 replies, e.g.

They all would be displayed in the overview. Does that make sense?
As I said: Only a suggestion!

Thanks again for your work!

This should not happen. The balancer takes from every stream at least one entry before it takes the same stream again. Having the same thread multiple times in the widget means that there is no other activity in the timeframe. That happens with my demoforum as I did the screenshot.

I will think about an implementation to this.

The Coon
08-19-2010, 11:00 AM
This should not happen. The balancer takes from every stream at least one entry before it takes the same stream again. Having the same thread multiple times in the widget means that there is no other activity in the timeframe. That happens with my demoforum as I did the screenshot.

I will think about an implementation to this.

Ah, now I understand! THX!

janaf
08-20-2010, 11:21 AM
Yes, the streams are checking for permissions, they are even obeying the ignore list.

Rated 5* and voted MOTM even if it is still slightly crude in intstallation and administration for us newbies. But functionality and value for my site is no doubt 5+ !

Now if not asking too much: Linking to the actual / latest post in a forum thread instead of the first posting in the thread? Feasable?

Phalynx
08-20-2010, 11:43 AM
Rated 5* and voted MOTM even if it is still slightly crude in intstallation and administration for us newbies. But functionality and value for my site is no doubt 5+ !

Now if not asking too much: Linking to the actual / latest post in a forum thread instead of the first posting in the thread? Feasable?

Thanks! As vBulletin does not offer an easier way to include a new widget, there is no way around this.

Yes, I will integrate this in next version.

Xencored
08-23-2010, 10:09 PM
I realy want this is work in the forums /sidebar just like it does in the CMS :D
Think the next version will fix this Phalynx? <3

Phalynx
08-24-2010, 05:56 AM
I realy want this is work in the forums /sidebar just like it does in the CMS :D
Think the next version will fix this Phalynx? <3

A fix is good for something that is broken. But this sounds to me like a feature request :)

Xencored
08-24-2010, 07:24 AM
A fix is good for something that is broken. But this sounds to me like a feature request :)

:) hope so than i can get rid of all the others and just have this one :D

Lqd
08-30-2010, 04:34 PM
This is an exellent replacement for the What's new feature in VB; and this is exactly what I am going to use it for!! thanks mate! Now to figure out how to get this on a single page!

bferrell
09-01-2010, 02:47 PM
Any chance you could add an option to sort the results by type (article, forum, etc.)?

Lqd
09-03-2010, 05:12 PM
Any chance you could add an option to sort the results by type (article, forum, etc.)?

I definitly second that idea!

Lqd
09-14-2010, 11:14 PM
I've had no luck setting this up as a single page, so a page dedicated to this widget, any suggestions how to put this in standalone mode? :)

caciocode
09-25-2010, 11:31 PM
What will completely make this mode even more amazing is the ability to reply to threads/posts, maybe a small button which opens a small pop up for the member to post a quick reply, without having to click on the link

That will be amazing! I will love you if you could add that.

cad2go
09-27-2010, 11:39 AM
If it was like dp's vbspy and updated itself every x minutes where x is the cache setting it would even better.

Another top class release Phalynx ty!

Taurus1
09-29-2010, 11:17 AM
This is awesome! Thank you.

Is it possible to include support for Dragonbyte Tech's achievement and award streams?

Thanks!

cad2go
10-10-2010, 03:57 PM
How about putting this on but as a php page rather than just a widget? I don't care about the preview just want an activity page.

This is actually what "What's New" was supposed to return imo.

hamedbia2
10-10-2010, 04:46 PM
thanks it works but how can i make it to show just 10 threads in cms

manzanita
10-13-2010, 02:14 PM
This totally crashed my server. Sent the mysql and ram loads through the roof and forced us to restart apache and mysql. Didn't recover until I uninstalled it.

Xencored
10-23-2010, 03:33 PM
Hey mate everytime i turn this on i get this DB error

Invalid SQL:
SELECT vbcmspermissions FROM vbadministrator WHERE userid = 1;

MySQL Error : Unknown column 'vbcmspermissions' in 'field list'

Phalynx
10-23-2010, 04:30 PM
Hey mate everytime i turn this on i get this DB error

Invalid SQL:
SELECT vbcmspermissions FROM vbadministrator WHERE userid = 1;

MySQL Error : Unknown column 'vbcmspermissions' in 'field list'

Which vBulletin Version are you using?

Phalynx
10-23-2010, 07:35 PM
An update has been released to address style issues with vBulletin 4.0.8:

2.0.2, 23th Oct 2010:
- Fixed style issues that appeared with vBulletin 4.0.8

Just download the ZIP and import the product. Please remember to clear your CMS Cache after importing the product.

Taurus1
10-24-2010, 12:05 AM
Thank you very much for the update. It looks great now!

The Coon
10-24-2010, 06:57 AM
Thank you! :cool:

Steve_GB
10-25-2010, 08:45 AM
Thank you - this is great.

Installed and working well straight away.

All the links it produces seem great apart from the ones from the avatars. On my 4.7 system they link to member.php which is fine.. but then followed by the name of the area the widget is displayed in. So they are like this: http://www.website.com/vbulletin/member.php/29-testpage

As I say, all the other links to members are fine and use the correct member info... so a small code change looks to be all that is needed.

One request to make the system really useful on our site would be for us to be able to turn things on and off in the control panel configuration. So we could turn on only the streams we want checked.

Also a 'take out' or 'include' control that perhaps uses forum numbers so we could take out forums we want excluded. For instance, at present it is displaying a lot of forums where we get the content via RSS, and masses of those entries in the lists it creates stops it being really possible for us to use it live.

This is a great idea, and thanks again for developing it.

Phalynx
10-25-2010, 10:41 AM
Thank you - this is great.

Installed and working well straight away.

All the links it produces seem great apart from the ones from the avatars. On my 4.7 system they link to member.php which is fine.. but then followed by the name of the area the widget is displayed in. So they are like this: http://www.website.com/vbulletin/member.php/29-testpage

As I say, all the other links to members are fine and use the correct member info... so a small code change looks to be all that is needed.
Will check this:
http://www.vbaddict.net/project.php?issueid=70

One request to make the system really useful on our site would be for us to be able to turn things on and off in the control panel configuration. So we could turn on only the streams we want checked.
Just delete the php file that is referencing that.

Also a 'take out' or 'include' control that perhaps uses forum numbers so we could take out forums we want excluded. For instance, at present it is displaying a lot of forums where we get the content via RSS, and masses of those entries in the lists it creates stops it being really possible for us to use it live.

This is a great idea, and thanks again for developing it.

Nice idea, added here:
http://www.vbaddict.net/project.php?issueid=71

Steve_GB
10-28-2010, 08:42 AM
Just a small thing to report. Smilies are not being displayed in the teaser text from forum messages. You get the code to call them shown, like :laugh99: or whatever.

LichtMann
10-31-2010, 04:37 PM
Hi Phalynx

Before, thank you for your greats mods. Are really useful.

Right now I am using Xperience and also this widget for the activity.

But with the widget I am having some problems with the time.

When I have activated the widget on the home page, it takes 13 seconds more to load!

So I wonder if there is any way in that the data can be store in the cache, instead of making the sql queries each time the page is loaded.

Or what du u think could be the source of this lack of time.

LG

Phalynx
10-31-2010, 05:06 PM
CWNW is using the caching mechanism of the vBCMS. Please check if you have a cache time of 0 (=no caching).

LichtMann
10-31-2010, 06:32 PM
CWNW is using the caching mechanism of the vBCMS. Please check if you have a cache time of 0 (=no caching).


Thank you for your answer.

I know u think that I gotta be kidding, but i didn't found where to set this option, do u know?

Btw, LG von Dortmund :)

Phalynx
10-31-2010, 06:34 PM
Go the the Widget and Configure it. There you have "Cache refresh time (minutes)"

LG aus Erlangen ;)

LichtMann
10-31-2010, 06:44 PM
Go the the Widget and Configure it. There you have "Cache refresh time (minutes)"

LG aus Erlangen ;)

I have this options on the Widget Settings:

Preview length
Items
Streams
Days cutoff

Phalynx
10-31-2010, 08:32 PM
You are in the wrong place.

Go to vBulletin CMS in the AdminCP, Widgets, Search for the CWNW Widget and click "Configure" on the right side.

Debbi
11-03-2010, 02:33 AM
This is totally amazing! I'm just now getting around to figuring out the CMS and this is just perfect. Thanks so very much.

RaSa
11-03-2010, 09:28 AM
Moin,

I get this error:

Fatal error: Class 'vBCMS_Permissions' not found in /home/opencom/public_html/cwnw/streams/cms.php on line 20

Does this Mod require VB Suite?

tx

mitch84
11-03-2010, 09:29 AM
Moin,

I get this error:

Fatal error: Class 'vBCMS_Permissions' not found in /home/opencom/public_html/cwnw/streams/cms.php on line 20

Does this Mod require VB Suite?

tx
yes I think

Phalynx
11-03-2010, 10:34 AM
Yes, this is for the CMS only.

Debbi
11-03-2010, 03:44 PM
Just a small thing to report. Smilies are not being displayed in the teaser text from forum messages. You get the code to call them shown, like :laugh99: or whatever.
Is there a way to make them show?

Brandon Sheley
11-03-2010, 04:18 PM
this sounds great, will try it out shortly
* Brandon Sheley clicks install

btw.. can we excluded forum ID's from showing.
We have a few forums that I'd rather not show in the latest post widget.
tagged for now :)

Phalynx
11-03-2010, 05:37 PM
Exclude forums is currently not implemented.

I'm now off for one week. I will return on 10th November.

wisemasterchief
11-11-2010, 04:38 PM
works great for me... I LOVE THIS!!!
peace

RollaJedi
12-01-2010, 02:43 PM
is there a place to pick and choose which streams you want? I only want awards and achievements but no idea where to look.

Would love to see a ipbproarcade stream

cykelmyggen
12-05-2010, 03:53 PM
I get this error after installing this widget:
parse error: syntax error, unexpected T_STRING in /home/www/myhomepage.com/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 2

Did I do something wrong during install?

Running vb. 4.1.0 PL2

waynehindle
12-23-2010, 09:57 AM
I get this error after installing this widget:
parse error: syntax error, unexpected T_STRING in /home/www/myhomepage.com/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 2

Did I do something wrong during install?

Running vb. 4.1.0 PL2

I'm having the same issue running 4.1.0 PL2

Phalynx
12-23-2010, 12:45 PM
Cannot confirm that. Please check if you enter the correct php code to the widget.

waynehindle
12-23-2010, 01:10 PM
Cannot confirm that. Please check if you enter the correct php code to the widget.

My bad. All correct and working perfectly.

I know this has been asked before but in addition to the restriction of certain forums is it also able to disable posts on peoples profiles?

Phalynx
12-23-2010, 05:35 PM
You mean visitor messages? Just delete the file visitormessage.php in /cwnw/streams/ to disable them.

I'm not sure if disabling of certain forum will be implemented, as I'm doing a new modification called Social Activity Stream. It will have the CWNW on every profile, listing activitities for the user and his friends.

waynehindle
12-23-2010, 08:31 PM
You mean visitor messages? Just delete the file visitormessage.php in /cwnw/streams/ to disable them.

I'm not sure if disabling of certain forum will be implemented, as I'm doing a new modification called Social Activity Stream. It will have the CWNW on every profile, listing activitities for the user and his friends.

Thanks very much for the reply and the new project sounds great. keep up the good work.

Phalynx
12-29-2010, 07:44 AM
A version that displays streams in user profiles can be found here, it's called Activity Streams:
https://vborg.vbsupport.ru/showthread.php?t=256071

tocheli
01-11-2011, 08:42 AM
hi phalynx
looks great!
but i have a problem.
my discussion board has different forums.
in the whdget, (forum) stream items has no information on witch forum the last entry was added.
i have sub forums, som subforums have same name as other sub forums of other parent forums.
my idee is to add also the whole "tree" in each stream item. same "tree" as you can find below the navbar.
see my screenshot.
has anybody an idea how to implement that?

Alfa1
01-11-2011, 06:10 PM
When the activity stream modification for vb3.8 is ready, please consider to add a Central whats new vbadvanced module for vb3.8.

yahooooh
01-14-2011, 07:52 AM
hello i make suggestions foractivity streams in user profile here:
https://vborg.vbsupport.ru/showpost.php?p=2148516&postcount=49

but the part for this product is:
3. vba modules for activity streams for user friends
this will contain all activities of his friends only and for last xx time and will support ajax
and also will respect friends permissions if they remove one type of streas or one of them want to stop all his streams also option to shownot only friends but also all site streams from every one that his setting not preventing the streams show

4. the same as vba module but as php file , for example: streams.php with ability to make it as streams for all the site and with option for user to just for friends and also it will respect permissions of the users if they want to not show thier activities except for thier friends or for no one

Joey Link
01-24-2011, 01:00 AM
How do I choose which streams are displayed? How can I disable the preview?

Xencored
01-29-2011, 03:17 PM
Hey Marius

My forums is off "Building it up again" and ive installed this widget and nothing shows at all is this because my site is off or have i done something wrong ?

Cheers

macroforum
03-01-2011, 06:10 PM
Thanks for this widget!
It's possibile collect recent comments in vBGallery Photopost?
Thanks
Antonio

Webrunner
03-28-2011, 01:59 PM
VBSEO rewriting for the articles is not working.
Anyone knows a fix for this?

mitch84
03-29-2011, 07:38 AM
hi, how add system pagination? (multi pages) thx

Popa Andrei
03-29-2011, 08:09 AM
Test on 4.1.2 and works great.
Thanks for the great widget :D

Gholsie
04-20-2011, 06:35 PM
Excellent addition! Clicked install.
One question, is it possible to get this to show the latest thread as opposed to the latest post? If I have 5 posts a day in the same thread, I only want to see that thread showing up on the page. Instead now, I can see 5 different posts on this page and it's getting very long.

Same with photos, if someone posts to their gallery, is it possible to get the system to only show the first photo?

Mike

goycarden
05-09-2011, 11:34 AM
It is possible to go to the last post and not to the beginning of a thread?

mnms
05-15-2011, 10:04 PM
Hi Phalynx,
I installed the product the I the created widget doesn't appear on my Home page.
What I can check and where ?
I already changed the path as other users told :
require_once('./cwnw/cwnw.php');
replaced by
require_once('/home/web/mysite.com/www/cwnw/cwnw.php');
but nothing changed.

mitch84
05-16-2011, 04:19 AM
Hi Phalynx,
I installed the product the I the created widget doesn't appear on my Home page.
What I can check and where ?
I already changed the path as other users told :
require_once('./cwnw/cwnw.php');
replaced by
require_once('/home/web/mysite.com/www/cwnw/cwnw.php');
but nothing changed.

normally you do not have to change the path if you upload the file to the root.

mnms
05-16-2011, 09:45 PM
normally you do not have to change the path if you upload the file to the root.
I put the folder cwnw in www and the file cwnw.php inside it.
So server path of the file is /home/web/mysite.com/www/cwnw/cwnw.php

I put again few minutes ago the command require_once('./cwnw/cwnw.php');
and I still have the same isse :(

mnms
05-17-2011, 11:16 PM
Finally It works. my issue was that I tried to personalize the Template name. So I put the one indicated by Phalynx.
Thanks.

HouseAddict
07-13-2011, 01:22 PM
Hey Phalynx,

How do we prevent the activity stream from actually evaluating YouTube links and showing them as embedded videos?

See the attachment screenshot.

The user simply posted a link to a youtube video, and in the thread it's showing as a link only, but in the activity stream it tries to show as an embedded video with a player box thingy thing.

Thanks!

doctorsexy
08-05-2011, 07:10 PM
Thank you...

mrt12345
08-09-2011, 10:54 PM
i have version 1.1.5 but i get this error
Parse error: syntax error, unexpected T_STRING in /home/tracy/public_html/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 2
any ideas

tagman
08-11-2011, 12:09 AM
Just discovered this the other day. I love it! It does almost everything I want, except show when an album is created. Is there any way to implement that? I would probably turn off the pictures themselves and the picture comments if I had a way to show that a new album was created and link to it. Would this be an easy thing to do? Maybe involve the creation of a new php file to handle retrieving the album info?

Phalynx
08-15-2011, 07:28 PM
You can create a php file and include that in the stream.

tagman
08-15-2011, 07:36 PM
Thanks Phalynx. I wouldn't know what to put in the php file though...

tagman
08-16-2011, 03:01 PM
So I looked at some of the php files included with the cwnw to try to figure out how to create one for the album function. Each one of those files is very different. Is one of them better suited than another to act as a template for me to start with?

Phalynx
08-18-2011, 07:44 AM
Mainly they differ in the way they are querying the database. The structure should retain the same. Try with the PHP that is handling album pictures.

tagman
08-21-2011, 06:58 AM
Still messing with this. I really just want the widget to show...

Album:
Name of album.

I don't want anything fancy or for it to even show pictures, unless it only shows the album cover.

I've been screwing around with this all night. Using the picture.php as an example, I have only been successful in changing "username uploaded new picture" to "username created new album". I think I am going the wrong way with this since I don't really care at this point who creates the album, just what the name of the new album is and that one has been created.

Any more advice you can give?

Phalynx
08-22-2011, 06:33 AM
You need to pull the username of the user which created the album. How does your SQL Query look like?

Did you also created a new template for your purpose?

Scitz0
08-23-2011, 04:28 AM
Hi,

Great mod!

I would like to add time to the date in function PrepareDateline($dateline) but I'm not sure how.
Something like "Today 06:49" instead of just "Today". Like in the header of a post.

How would I go about doing this?

Scitz0
08-23-2011, 05:30 AM
nvm, changed from:
return vbdate($vbulletin->options['dateformat'], $dateline, true)
to
return vbdate($vbulletin->options['dateformat'], $dateline, true)." ".vbdate($vbulletin->options['timeformat'], $dateline);
in cwnw.php

Phalynx
08-23-2011, 06:59 AM
Normally it takes the setting from your setting, so it has the same look and feel like your postings.

angeljs
09-15-2011, 09:36 AM
Is it possible for this to show attachments with the posts? :)

toxin
10-08-2011, 12:03 PM
Looks good - except the avatars link to /member.php instead of /member.php?<userid> and so return an invalid member error when you lick on them.

Any idea of how I can fix this?

Phalynx
10-10-2011, 06:29 PM
I can confirm that. A fix has been released (v2.0.3)

Also, this modification is compatible with 4.1.7

RollaJedi
10-24-2011, 03:33 PM
hey P-meister, any way at all to get one of those little blue arrows at the end to click that will go to the first new post in that thread? Just like on the 'whats new?' tab in the navbar

Phalynx
10-25-2011, 07:25 AM
Already in, you will just click on "Thread:" to jump to the newest.

misericorde
11-11-2011, 11:02 PM
Hy

Thank you

Good work. Nice !!!

Installed for vb 4.1.7

toxin
12-20-2011, 10:15 AM
There's a bug in the widget permissions.

If a member creates a private gallery (the contents of which are only viewable to his own contacts and moderators) and uploads photos to it, the widget displays the photo info such as:

> Tester uploaded new photo: Picture 2

This is displayed to all members, however non-contact members can't see the thumbnail.

KristerSwe
01-15-2012, 09:41 AM
Thank you, love this really.

Had like to have this to the stream

DBtech post thank you
DBTech Acitivity&Awards
Downloads II

Thanks for this great mod .. Rated and nominated

Successfulsteps
01-18-2012, 09:21 PM
Working in 4.1.9?

mitch84
01-19-2012, 05:35 AM
Working in 4.1.9?
work on vb4.1.10 too

lazytown
01-23-2012, 08:30 PM
The "items" option seems to do nothing.. I've tested it dozens of times (yes I cleared the cache).. Whether I set it to 1 ,5 10, etc it always pulls multiple items from some categories like profile changes/etc. Can someone explain if I am understanding this option correctly?