2010-06-03, 16:54:48
I added and simply copied the code and by editor
nSys News System plug-in
|
2010-06-03, 16:54:48
I added and simply copied the code and by editor
2010-06-03, 19:11:39
Hi, it's working great, but in debug mode I get a bunch of warnings:
In admin: Code: Undefined variable: go in ...\nSys\include\functions\classes-admin.php on line 302 And a lot more, also on the public side. If you could define those variable, please. It'll make life better to developers 8-)
2010-06-03, 23:38:22
Oleg06 Wrote:I added and simply copied the code and by editorI added image to my news just as you, uploaded it to files, and copied source, than put it to news, but my text didn't disappear. Can you, then, upload your news file (plugins/nSys/include/news.php) here, so I can see how it's written there, and try to find the solution... Thanks.
2010-06-03, 23:42:05
pauloc Wrote:Hi, it's working great, but in debug mode I get a bunch of warnings:Thanks man, I didn't run it in debug mode, so I was unaware of these messages I don't see any error messages now, in debug mode, I think I defined them all Download link is updated, new archive attached in second post, and new version uploaded to test links. Test links now run in debug mode too I hope the life is better now
2010-06-04, 02:02:11
Sorry but... still getting some Notices, only in the admin:
Code: Notice: Undefined index: name in ...GetSimple/plugins/nSys/include/functions/classes-admin.php on line 143 And can't get news' details an the public side. Check it here: http://quimera.ws/GetSimple/news/ Sorry to bother, but your news system is much better than mine, so I've given up with vudu_news.
2010-06-04, 02:59:43
pauloc Wrote:Sorry but... still getting some Notices, only in the admin:No, you're not bothering at all, I fixed all undefined variables that I encountered on in debug mode, but I will define every var. in classes and classes-admin, so there won't be possible errors You're using mod_rewrite, right? I was thinking about functionality with mod_rewrite, but didn't try it yet. I will fix this, I'll have to add some lines to .htacces probably, and just set it choose to work with ? and & (if it's disabled) or with mod_rewrite (if enabled), depending on GS configuration. Thanks for notes
2010-06-04, 17:10:53
Yes, I'm using mod_rewrite.
Quote:I was thinking about functionality with mod_rewrite, but didn't try it yet. I will fix this, I'll have to add some lines to .htacces probably, and just set it choose to work with ? and & (if it's disabled) or with mod_rewrite (if enabled), depending on GS configuration.This would be great. Thanks for your efforts.
2010-06-05, 01:05:56
I defined all variables that I could find in classes-admin.php, so I think there shouldn't be problems now
For mod_rewrite, I'm still working, 'cause I had some problems when testing on localhost, when I make it to work, then other pages don't work that way, so I'm still figuring it out
2010-06-05, 08:17:55
(This post was last modified: 2010-06-05, 08:18:36 by katiepecbvda.)
pauloc Wrote:Yes, I'm using mod_rewrite.I made something with .htaccess and it works on my server. Download lik is updated, archive re-attached You can change your .htaccess file to this (of course edit RewriteBase): Quote:AddDefaultCharset UTF-8 But, I will make it to recognize your old .htaccess file and to alter it according to nSys needs
Hello!
I suppose `Number of shown news` in `Configuration` doesn`t work. I tried to change it to 3. But still there are all the news is shown at main page... I checked config.php file in /include folder: $nSysNewsShow = `3`; Could you help me with that?
2010-06-07, 15:57:02
umbor1986 Wrote:Hello!Hello I'm sorry, I didn't spot that error, I altered the function for showing news, from original stand-alone script to Get Simple, and I mistakenly deleted the line that limit number of news (dumb ). It's all right now, archive is re-attached Download link. Thanks.
2010-06-07, 18:34:19
Ups, download link's gone!!!
2010-06-07, 18:42:09
pauloc Wrote:Ups, download link's gone!!!It's back now
2010-06-07, 23:55:42
(This post was last modified: 2010-06-08, 16:10:38 by pesegolsson.)
News not showing up --- 403 error.
Notice: Constant GSIMAGEWIDTH already defined in /Applications/MAMP/htdocs/x/gsconfig.php on line 16 Notice: Constant GSDEBUG already defined in /Applications/MAMP/htdocs/x/gsconfig.php on line 19 Notice: Constant GSEDITORTOOL already defined in /Applications/MAMP/htdocs/x/gsconfig.php on line 31 Notice: Constant GSEDITORLANG already defined in /Applications/MAMP/htdocs/x/gsconfig.php on line 34 --- double posting when writing one post (news) Bunch of error in admin. Plugins wnat to read from /more catalog
Its ok with numbers of news on main page. Thank you!
Some errors (maybe only i have it): 1. news couldnt be edited or deleted 2. and when i change chmod of file nSys/include/news.php to 666 - i can edit news, but when i delete 1 of them, they all have been disappeared. And then added news duplicate. And could you tell me how can i change the number of simbols in preview of the news that displayed on main page?
2010-07-02, 19:08:14
Hi,
I like your plugin but i can't figure out how to add facebook like button to every news. Code: <iframe src="http://www.facebook.com/plugins/like.php?href=<?phpget_page_url(); ?>&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe> could you help please? and this is notice in debug mode Code: Notice: Undefined offset: 60 in /srv/http/cos/plugins/nSys/include/functions/classes.php on line 662
2010-07-05, 20:22:30
Hi, first of all, thanks for this wonderful plugin.
Now then, I must clarify first that I'm a newbie and I don't really know much about programming but I hoped I found a way to implement RSS Feeds for this news system... Alas, I failed. I tried creating a copy of Displaynews and hacking it to do what I thought should work, but when I put it in the classes.php file the whole CMS goes completely blank, even without actually getting around to call the function. Maybe you can help me here to learn what I did wrong and what I should change? I think it would be a great thing if this news system had RSS feeds. Thanks in advance. Code: class Rss extends CheckFilesAndFolders{
2010-07-05, 22:22:35
Ok, turns out that:
1. I did not need to setup a whole new class for it, I simply attached it to the News class. b. There was a parenthesis missing, and to read it I just needed to set the CMS to debug=true I still haven't tested but I thought about posting here as soon as I found out so no one wastes their time on this. Now, for this to work, all you need is to create a new template with the following code on it: Code: <?php and that should be it. Please, though, there are some things still missing. The following should be dynamical: Code: $go .= "<title>The title of my RSS 2.0 Feed</title>"; Any thoughts?
2010-07-07, 01:10:19
Hi all)
How to not show page content if displayed news? I created a page site.com/news, created a template file news.php and put code to show news. What to do now so that when the news show, not displayed page through get_page_content ();? sorry for my english) --- Úðú ýõ òыòþôøть ÑÂтрðýøцы, õÑÂûø òыòþôÑÂтÑÂѠýþòþÑÂтø? ï ÑÂþ÷ôðû ÑÂтрðýøцу site.com/news, ÑÂþ÷ôðû фðùû ò шðñûþýõ news.php ø òÑÂтðòøû туôð úþô ÿþúð÷ð ýþòþÑÂтõù. Úðú тõÿõрь ÑÂôõûðть тðú, чтþñы úþóôð ÿþúð÷ыòðютÑÂѠýþòþÑÂтø, ýõ òыòþôøûøÑÂь ÑÂтрðýøцы чõрõ÷ get_page_content();? ï ò PHP ÃÂõ ÿþýøüðю. ßрþñþòðû чтþ-тþ ôõûðть Ѡþÿõрðтþрþü IF, ýþ тðú ø ýõ ÿþûучøûþÑÂь ÑÂôõûðть.
Sorry for my English ;)
2010-07-08, 01:25:24
You could just remove get_page_content() from your template file, if you don’t want to display any page content you wont be needing it.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-07-08, 01:35:55
I need to show get_page_content () on the main page, and news on the other. I just do not work output of all news (/archive/).
Maybe you can do a background check through IF? If you see news, the hidden get_page_content ()
Sorry for my English ;)
2010-07-08, 01:41:46
If you have your standard template file (default.php I guess) and you have a template file only for your news page (news.php) then you can just remove get_page_content() from news.php. All pages that still need get_page_content() will just use the default template file and still display the content.
You should use multiple templates, that way you can hide the content from one template and still display it for others.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-07-08, 01:54:17
I'm talking about viewing the full news with the comment form)
If I go to a full news, I see there and the main page which is displayed in template.php which is output from get_page_content () View news through file news.php without get_page_content () is works. If you go to the full news( more/news_id ), I see more and that the main output
Sorry for my English ;)
2010-07-09, 06:10:46
Hi again
I try to write function for Like button but phpget_page_url() is not working, how can i get it works. I try both " ' quotation mark none of them working . (My PHP experience is zero) Code: function LikeNews(){
instead of using a string variable, just echo the string. You don't make any calculations, just prints text data.
And btw, if you use functions or variables inside strings, use " instead of ' example Code: function likenews (){ btw. I have no idea what is an allowtransparency tag edit: weird, my reply has been cut of in half :\
Addons: blue business theme, Online Visitors, Notepad
|
« Next Oldest | Next Newest »
|