PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Feb 02, 2009 4:22 pm Reply with quote Back to top

I've been working on a tricked out news module and it needs some feedback on how if functions, bugs and suggestions. A quick list of mods are:

NukeSEO Social Bookmarking
Avatar in News Comment
News in Two Columns
PDF export of news
Image link for Send to Friend added.
Image link for Printer Friendly added.
Image link for PDF Printer added.
and a few other changes.

The only file to edit is the .htaccess for the ShortLinks. Everything else just uploads to the website. No database changes. Works with all themes I tested it on.

You can see it at
Only registered users can see links on this board!
Get registered or login to the forums!
and download it there too.


Last edited by nuken on Wed Feb 11, 2009 4:52 pm; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Feb 02, 2009 10:40 pm Reply with quote Back to top

Export to pdf generates some notices. Which inpart causes the pdf to fail because of "FPDF error: Some data has already been output, can't send PDF file".

I believe jestrella had this problem with Content Plus. Not sure how he fixed it.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Feb 02, 2009 11:11 pm Reply with quote Back to top

Would be nice if it was an option to have the news in two rows, ie go back to one row if you want. I know that was probably not what you intended, but I think that would be a good option to have.

Also not sure the download you have available is the latest version because when I click on a topic icon it takes me to the category page fine. The thing is that none of the social booking marking stuff etc is there.

All three of your blocks have these notices.
Notice: Undefined variable: content in /raven/blocks/block-Bookmark_Links.php on line 17
Notice: Undefined index: HTTPS in /raven/blocks/block-Bookmark_Links.php on line 20

For the first one you can just do something like this
Code:
if(!isset($content)) $content = '';


Don't quote me on this, but I don't think $_SERVER['HTTPS'] is an official variable. So I don't think you can count on it being defined. If you want to keep it then maybe something like this
if( isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on'){

Get this when viewign a comment in an articles above the avatar.
Notice: Undefined variable: anonymousname in /raven/modules/News/comments.php on line 652
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Feb 02, 2009 11:23 pm Reply with quote Back to top

Also check your pages with this.
Only registered users can see links on this board!
Get registered or login to the forums!


There is a table problem with the index. It may have to do with an odd number of news items, but I didn't try.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Feb 02, 2009 11:24 pm Reply with quote Back to top

I forgot to add. Nice job I like the way it is looking!
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Tue Feb 03, 2009 5:29 am Reply with quote Back to top

Thank you for your info. I plan on adding the If, else to the 2 column mod after I get the bugs out. Some people like 2 columns some don't. I am thinking about a config script to control the way it works.

The PDF errors you got, were they from my site or one you installed it on? I have not had the errors you mentioned. I will do some more testing on it later today and do a fresh install on another test site to see if something is wrong with the download. Thank you again.
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 03, 2009 6:21 am Reply with quote Back to top

All my testing was on my site. You need to turn error reporting on with notices and you will see the pdf thing.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Tue Feb 03, 2009 7:38 am Reply with quote Back to top

Well that gives me some work to do. Laughing
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Tue Feb 03, 2009 3:37 pm Reply with quote Back to top

OK... I fixed the Undefined variable in comments.php,Social Bookmarking blocks errors and I added a config file to control the number for news items to display in a row. You can do 1, 2 or 3 if you feel froggy. The width percent has to be adjusted in the config also.

Code:
<?php
//Controls news in 2 column mod.



$newsrows ='2';      //Controls the number of news articles in a row. 1,2 or even 3
$newspercent ='50%';     //Controls the width of the items. 1 must = 100%, 2 = 50%, 3 = 33%

?>



basic but it works.

Anyone that downloaded it should reinstall the updated package.
Only registered users can see links on this board!
Get registered or login to the forums!


I am also keeping a changelog in my forums until it gets more complete.


Last edited by nuken on Wed Feb 11, 2009 4:52 pm; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 03, 2009 5:26 pm Reply with quote Back to top

You should only provide files that are edited. Not the entire module. The reason being if there are any changes within RN in regards to news your mod becomes incompatible guaranteed.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Tue Feb 03, 2009 5:28 pm Reply with quote Back to top

10-4

I have also noticed some issues with certain themes causing XHTML errors with the social bookmarking. That will be the next issue to address.
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 03, 2009 6:39 pm Reply with quote Back to top

Your print PDF does not print HTML. All I can say is to look at how it is done in Content Plus. It also uses fpdf. It is a slightly older version, but the concept should be the same.

Also I think when you hit Print to PDF it should open a new tab not use the same one.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Tue Feb 03, 2009 7:02 pm Reply with quote Back to top

TY for you input. I'm gonna tackle the PDF after I get the theme bugs worked out. I had to do an if else to include a closing tag if the variable is set for 2 columns and not if it is set for 1 to get it to work without errors on the 3 custom RN themes. I need to test that fix with other themes to see if it works with them and the PDF will be next. I was just thinking about doing like you said and do what he did with Content Plus for PDF.
View user's profile Send private message Send e-mail Visit poster's website
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Tue Feb 03, 2009 11:00 pm Reply with quote Back to top

Will be testing your mod Tomorrow morning... Is getting late here and today was a marathonic college day... Laughing
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Feb 04, 2009 5:15 am Reply with quote Back to top

I'm gonna release another tester in a few hours. I believe it will address a lot of theme related issues. I need to try it on a fresh install so I can make sure it works right. I've changed so many things on my test sites I can't be sure if the fixes are working or if I have mangled something else up and it is working by luck.... TY.
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Feb 04, 2009 6:03 am Reply with quote Back to top

Test version .03 has been released at
Only registered users can see links on this board!
Get registered or login to the forums!


Last edited by nuken on Wed Feb 11, 2009 4:53 pm; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Wed Feb 04, 2009 9:15 am Reply with quote Back to top

Something i would really like to see in a future News mod, might not be in this precise moment, is to take out the special News right block ant integrate it into the content itself, so we can use standard right block (if we want to of course), another thing i would like to see is to remove the interdependence between News Mod and themes... Themes should only be used for presentation purposes.

With error reporting turned ON (E_ALL), you'd get the _CATEGORY constant already defined warning when adding a new story... Will keep posting any other anomalies... Keep it up man... This is gonna ROCK!!!
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Feb 04, 2009 10:27 am Reply with quote Back to top

A fix for that is to comment out the News/admin/language/lang-xxx.php line 85

Code:
if (!defined(_CATEGORY)) {define('_CATEGORY','Category'); }


to

Code:
//if (!defined(_CATEGORY)) {define('_CATEGORY','Category'); }


Seems not to effect any other news related admin functions. I will test it and include that in .04 Thank you....
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Feb 04, 2009 10:30 am Reply with quote Back to top

That would be a neat idea. Have all the rating and related links and options moved to the article itself. Hmmmmm... I better finish what I started first, but that would be a nice feature if and when I ever get the bugs out of this thing.
View user's profile Send private message Send e-mail Visit poster's website
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Wed Feb 04, 2009 10:46 am Reply with quote Back to top

Yeah of course... don't loose focus... ROTFL
View user's profile Send private message Visit poster's website
horrorcode
Involved
Involved


Joined: Jan 17, 2009
Posts: 268
Location: Missouri

PostPosted: Wed Feb 04, 2009 11:05 am Reply with quote Back to top

Maybe have both versions one with the block one without or an option to turn it off.
View user's profile Send private message Visit poster's website MSN Messenger
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Feb 04, 2009 11:20 am Reply with quote Back to top

Probably an option would be best. That way a person could decide to us it or not, like the 1, 2 or 3 columns display. Config files are great things.
Speaking of that, the 3 columns looks neat with fisubice.
View user's profile Send private message Send e-mail Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Wed Feb 04, 2009 2:29 pm Reply with quote Back to top

Ok. I think I have most done. The pdf has no more errors and the submit news fix seems to work. V .04 is on the site. I also added the ability to turn Social Bookmarks display in index on or off through the config file. I really appreciate the help guys. I still need to get the PDF to print html correctly and figure out why PDF is working slowly. A few other small things and it should be done.

Only registered users can see links on this board!
Get registered or login to the forums!


Any other bug reports would be useful and thanks again.


Last edited by nuken on Wed Feb 11, 2009 4:53 pm; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website
horrorcode
Involved
Involved


Joined: Jan 17, 2009
Posts: 268
Location: Missouri

PostPosted: Thu Feb 05, 2009 4:05 am Reply with quote Back to top

Seems to work great, this was long awaited.. I noticed some of the html like &nbsp tags in the pdf but other than that it's perfect, to me anyways. I was wondering though some of the "add to" links have html in them and also two forward slashes after the site url, is that a bug or? The forward slashes could just be a problem on my end, doesn't really affect anything though. Pdfs seem to load pretty fast for me, I love it. I have to say, thank you, this is an awesome addition.

Only thing Im going to do is set cell spacing/padding to 1, other than that it works great. Umm test the speed here if you want, for the pdfs:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website MSN Messenger
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Thu Feb 05, 2009 5:03 am Reply with quote Back to top

I'm working on the html format in the PDF now. I might have it working in a day or so. Thank you for the feed back. I like the look of your site. Hot girls on video are a great way to start the morning. Laughing
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum