Administrators simpilot Posted September 15, 2009 Administrators Report Posted September 15, 2009 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. 7 Quote
Guest chikolol Posted September 15, 2009 Report Posted September 15, 2009 Thank you so much Mate! Your modules are build to help out in every aspect of a va site, i thank you once again Quote
jantorre Posted October 3, 2009 Report Posted October 3, 2009 Very nice and practical module, was a very easy install and works great! Thank you 1 Quote
JohnMck93 Posted January 24, 2010 Report Posted January 24, 2010 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 Quote
Moderators mark1million Posted January 24, 2010 Moderators Report Posted January 24, 2010 Classic!!!! Always reliable with the addons. Thanks for your work.... Quote
Administrators simpilot Posted January 24, 2010 Author Administrators Report Posted January 24, 2010 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. Quote
JohnMck93 Posted January 25, 2010 Report Posted January 25, 2010 just double checked and i do have both in the correct area's Quote
Administrators simpilot Posted January 26, 2010 Author Administrators Report Posted January 26, 2010 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. Quote
JohnMck93 Posted January 26, 2010 Report Posted January 26, 2010 Just re-uploaded everything and still getting the error? I downloaded it again then uploaded and still the error.. Quote
Administrators Nabeel Posted January 26, 2010 Administrators Report Posted January 26, 2010 What's the code you're using to call it? Quote
Administrators simpilot Posted January 26, 2010 Author Administrators Report Posted January 26, 2010 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? Quote
JohnMck93 Posted January 26, 2010 Report Posted January 26, 2010 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! Quote
TAV1702 Posted January 30, 2010 Report Posted January 30, 2010 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. Quote
Administrators simpilot Posted January 30, 2010 Author Administrators Report Posted January 30, 2010 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. Quote
TAV1702 Posted January 30, 2010 Report Posted January 30, 2010 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 Quote
Toyuko Posted February 15, 2010 Report Posted February 15, 2010 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 Quote
Administrators simpilot Posted February 16, 2010 Author Administrators Report Posted February 16, 2010 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); ?> Quote
gianluca311 Posted April 1, 2010 Report Posted April 1, 2010 Hey, I can't see the attached files. Can you help me? gianluca311 Quote
Administrators simpilot Posted April 1, 2010 Author Administrators Report Posted April 1, 2010 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. Quote
Moderators Kyle Posted April 1, 2010 Moderators Report Posted April 1, 2010 Hey, I can't see the attached files. Can you help me? gianluca311 Hey, simpilot has removed these downloads due to other people turning his freeware add-ons into payware, so simpilot will bring them back up on the weekend when he gets his lisciene for his free add-ons. so no one woundln't steal his work. Quote
Tom Posted April 1, 2010 Report Posted April 1, 2010 protect them from being sold by other individuals Will this also prevent them being installed for individuals by other individuals as part of a paid setup? Quote
Administrators simpilot Posted April 1, 2010 Author Administrators Report Posted April 1, 2010 Not directly. What I do not want to see is someone selling a service to install phpvms for $1.00 but the cost being $2.00 if you install one of the modules I have written (some with help of others). There is to be no profit made from the use of the modules in any way. My intentions were to share with the community that has shared with me when I wrote these. If your cost to do an install is $xx.xx then it needs to be $xx.xx if you are including modules written by me. end soapbox speech Quote
Administrators simpilot Posted April 13, 2010 Author Administrators Report Posted April 13, 2010 Files attached in first post of thread. Quote
TennShadow Posted April 14, 2010 Report Posted April 14, 2010 Files attached in first post of thread. I'm having issues with this module ever since I upgraded to rev920. If you click on a news post on the front page it only shows a blank white screen. On the admin side you can edit the news and you can see it just fine but you can not delete it. Any ideas on how to troubleshoot this? Thanks, Keith Quote
Administrators simpilot Posted April 14, 2010 Author Administrators Report Posted April 14, 2010 I will look at it this evening - I am still on 917 on my local and it seems to be working. I will upgrade to 920 and see what I get. Quote
TennShadow Posted April 14, 2010 Report Posted April 14, 2010 I will look at it this evening - I am still on 917 on my local and it seems to be working. I will upgrade to 920 and see what I get. Thanks. The last one I was on before I upgraded was rev898 which was working. Yeah, I was a few behind. Keith Quote
Administrators simpilot Posted April 16, 2010 Author Administrators Report Posted April 16, 2010 Keith, I updated the code in, PopUpNews.php PopUpNewsData.Class.php The template files are not changed so if you already have them skined you should be good to go. I have it working on ver 921 on my development server. I am not getting the blank page or the /user_array/ errors. If you are updating be careful to not overwrite your .tpl files if you have skinned to your site, they have not changed but are included for new installs. Get The Code 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.