PopUpNewsModule

Thought some of you may want to use the news module I made so just the titles are displayed and are clickable to go to the full news item.

It creates a list wherever you place it -

and shows the full news item when you click on the title -

PopUpNews

Module to create a quick view news list on your front page of a phpVMS site.

Released under the following license:

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License


A visible link to http://www.simpilotgroup.com must be provided on any site utilizing this script for the license to be valid.


Developed by:

simpilot - David Clark

www.simpilotgroup.com

www.david-clark.net

Developed on:

phpVMS v2.1.934-158

php 5.3.4

mysql 5.0.7

apache 2.2.17

Install Using Simpilotgroup Plugin Manager

-Download the package

-Upload the package to your site using the plugin manager

-Use the auto-install from the plugin manager

Install Manually:

-Download the package.

-Unzip the package and place the files as structured in your root phpVMS install.

Where you want to call the PopUpNews List in your site use ->

<?php PopUpNews::PopUpNewsList(5); ?>

The number “5” can be changed to however many news posts you want to show in your list..

Code hosted on Github - Link In Signature.

Very nice and practical module, was a very easy install and works great!

Thank you

1 Like

I followed the instructions and got this error

Fatal error: Class ‘php PopUpNews’ not found in /www/zzl.org/s/u/n/sunsetva/htdocs/lib/skins/SSVA/header.tpl on line 94

Classic!!!

Always reliable with the addons.

Thanks for your work…

I followed the instructions and got this error

Fatal error: Class ‘php PopUpNews’ not found in /www/zzl.org/s/u/n/sunsetva/htdocs/lib/skins/SSVA/header.tpl on line 94

Double check that you have popupnewsData.class.php in the core/common folder

and

the popupnews.php file in the core/modules/popupnews folder

it looks like from your error one is missing or misplaced and the system can not find it.

just double checked and i do have both in the correct area’s

any idea what is going wrong?

I would try re-uploading all the files again and see if one got corrupted along the way. The only reason that error would show up is if the PopUpNewsData.class.php is not in the core/common folder, has gotten renamed, or is corrupted in some way or the PopUpNews.php file in not in the core/modules/PopUpNews folder, or is in some way corrupted as well.

Make sure the PopUpNews folder has the same exact name as the file in it as well, it is case sensitive.

Just re-uploaded everything and still getting the error?

I downloaded it again then uploaded and still the error..

What’s the code you’re using to call it?

Looking at your error again I see class php PopUpNews is not found…

Is it possible that there is a space between the <? and the php instead of a properly formed tag like <?php or an extra php in there?

Was odd could not visually see any space so i decided to retype the php code to call for the news and now it works, thank you Sim!

Is it cool if we remove the copyright from the block as long as we give kudos for the work and a link back to you somewhere on site? Like in the footer for example?

I am not a copyright remover and I never lay claim to anything that is not mine. I am strictly thinking asthetics here.

I was actually pondering creating a page on my site that was nothing but links back to those authors work i have used on my site. Like a mods database for a phpBB forum.

Just asking before I did it.

Is it cool if we remove the copyright from the block as long as we give kudos for the work and a link back to you somewhere on site? Like in the footer for example?

I am not a copyright remover and I never lay claim to anything that is not mine. I am strictly thinking asthetics here.

I was actually pondering creating a page on my site that was nothing but links back to those authors work i have used on my site. Like a mods database for a phpBB forum.

Just asking before I did it.

Thats Cool  8)

A link to my site would be great if you can find a place for it but not required.

Thats Cool  8)

A link to my site would be great if you can find a place for it but not required.

Oh a kudos link is always possible. You guys that write these addons deserve credit where it is due.

And thanks 

Hey i recently installed, the PopUpNews modules i like the features. Now on my mainpage it still shows the news but id like to reduce the mainpage news showing to just one news, and direct people too look at earlier news via the news module.

So how do i reduce the number of news slots on my mainpage?

http://jlvirtual.x10hosting.com//index.php 

change the “5” to how ever many posts you would like to display 

<?php MainController::Run('News', 'ShowNewsFront', 5); ?>

You can do the same thing with PopUpNews, change the “5”

<?php PopUpNews::PopUpNewsList(5); ?>

thanks!

Hey, I can’t see the attached files. Can you help me?

gianluca311

Hi,

I have removed all the simpilot modules for the moment. I will be reposting them with an included license to protect them from being sold by other individuals. Hopefully they should be back up over the weekend.