Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

version 1.4 -- NewsDesk released!


moyashi

Recommended Posts

It's here!

 

version 1.4 ::

 

More fun changes!

- delete image with article (based on a hack from the contribs)

- some minor bug fixes that were reported in the forums

- bbcode bar (based on fusion)

- newline breaks now work

- rss (basically small code changes to a contrib)

- article review approval (based on a hack from the contribs)

- sticky by Emiliano (base code by Emiliano, adjustments and few changes added by me)

- image subtitles by Emiliano (including some of my own code)

- my own bug fixes (now can see image when editing, some massive html restructuring, and such)

- you can turn on/off catagories (sorry, I wasn't able to come up with a more dynamic solution)

- 3 images per article

 

 

AND!!! basica intergration with Loaded 5 patch 3 !!!

 

Many thanks to the folks who reported back with bugs and to Talme and mikimoto for their translations!!

 

 

 

:arrow: Please post back with your evaluatioins. I hope that it's bugfree now :roll:

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Link to comment
Share on other sites

  • Replies 244
  • Created
  • Last Reply

Top Posters In This Topic

ugh ... no.

 

I've been busy with work and late nights with NewsDesk :D

 

hmmm .... maybe I should finally do one. I could post up "paypal" donations, wish lists for Amazon and such :wink:

 

Seriously though, I really should do that.

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Link to comment
Share on other sites

Hi Moyashi,

 

I found another bug that maybe you can fix. When i go to Add New News, I am getting the following error:

 

1054 - Unknown column 'newsdesk_image_text' in 'field list'



select newsdesk_image_text from newsdesk_description where newsdesk_id = '' and language_id = '1'

Link to comment
Share on other sites

my last bit of the sql file

contains garbage ........

 

 

 

im sure others files do also

 

 

 

INSERT INTO newsdesk_description (newsdesk_id, language_id, newsdesk_article_name, newsdesk_article_description, newsdesk_article_shorttext, newsdesk_article_url, newsdesk_article_viewed, newsdesk_image_text, newsdesk_image_text_two, newsdesk_image_text_three) VALUES (1, 1, 'Stickies are here!', '<b>Stickies have been implemented in v1.4</b><br />?r?n<br />?r?nIsn?'t this a nifty feature?', '<b>Welcome to the Sticky area</b>', '', 5, '', '', ''),

(1, 2, '', '', '', '', 0, '', '', ''),

(1, 3, '', '', '', '', 0, '', '', ''),

(2, 1, 'NewsDesk version 1.4', '<b>NewsDesk version 1.4 RELEASED!</b><br />?r?n<br />?r?nWith the great help of a few brave souls we can all now enjoy a newer and more powerful, flexible, function rich (<i>too rich?</i>) NewsDesk!<br />?r?n<br />?r?n<ul><li>Mulitple images</li><li>Review Approvals</li><li>RSS</li><li>HTML Bar Editing</li><li>Remove Images</li><li>Subtitles for Images</li><li>And of course Stickies</li></ul><br />?r?nI hope that you?'ll enjoy your NewsDesk!', '<b>Welcome to NewsDesk version 1.4</b><br />?r?n<br />?r?n<i>Special thanks to those who helped with Beta Testing!</i>', '', 9, '', '', ''),

(2, 2, '', '', '', '', 0, '', '', ''),

(2, 3, '', '', '', '', 0, '', '', ''),

(3, 1, '3 images !!!', '<s>3 images</s> !!!<br />?r?n<br />?r?n<u>NewsDesk version 1.4</u> now has the capability to use 3 images plus <sub>subtitles</sub>.<br />?r?n<br />?r?n<sup>Yippe</sup> Isn?'t life grand?', '<b>NOW up to 3 images can be used!!!</b>', '', 32, 'action', 'cartoons', 'graphic'),

(3, 2, '', '', '', '', 0, '', '', ''),

(3, 3, '', '', '', '', 0, '', '', '');



INSERT INTO newsdesk_reviews (reviews_id, newsdesk_id, customers_id, customers_name, reviews_rating, date_added, last_modified, reviews_read, approved) VALUES (1, 1, 2, 'test test', 5, '2003-03-11 01:26:31', NULL, 0, 1),

(2, 3, 2, 'Carsten aka Moyashi', 4, '2003-03-11 01:29:02', NULL, 0, 1),

(3, 2, 2, 'Carsten aka Moyashi', 5, '2003-03-11 01:29:53', NULL, 0, 0);



INSERT INTO newsdesk_reviews_description (reviews_id, languages_id, reviews_text) VALUES (1, 1, 'Thanks to Emiliano for his efforts in beta testing and providing ideas and code to help make NewsDesk better'),

(2, 1, 'hehe, after almost a week of effort I was able to finish this part of the mod.?r?n?r?nI hope that you all enjoy it!'),

(3, 1, 'I wonder who?'ll approve this review just to read it ????r?n?r?n:-D');



INSERT INTO newsdesk_to_categories (newsdesk_id, categories_id) VALUES (1, 4),

(2, 2),

(3, 1);

 

 

 

see all the places with

 

the blocks ........

causes phpadmin to crash with errors.

 

please upload a new zip

Link to comment
Share on other sites

I have the same error too with newsdesk.sql

and I have this error :

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in e:conceptioneasyphpwwwsitecatalognewsdesk_index.php on line 185

when I clik on News Catagories without news

 

On the other hand for what I can see functioning it is very wonderfull,

Thanks Moyashi

Link to comment
Share on other sites

Hi!

 

I get following error when I tries to write news.

 

Fatal error: in Call to undefined function: tripbr()

/includes/modules/newsdesk/html_editor/summary_bb.php on line 32

 

Anyone who can help me?!

 

Best Regards.

Patrick Andersson

Link to comment
Share on other sites

Hi!

 

I get following error when I tries to write news.

 

Fatal error: in Call to undefined function: tripbr()

/includes/modules/newsdesk/html_editor/summary_bb.php on line 32

 

Anyone who can help me?!

 

Best Regards.

Patrick Andersson

 

Hi! I have solved it...

 

But now I got another problem..

 

The Headline and News Content is okey.. But News Summary doesnt?t show. Where the News Summary should be its empty..

And yes, I have News Summary enabled in admin.

 

Best Regards,

Patrick

Link to comment
Share on other sites

Personally, I love looking at new contributions, but one thing I would love to see implemented is some kind of 'this is what it looks' like. I know everyone hasn't got a 'test server' available, but with so many contribs, it becomes difficult to judge which one is worth the work of intergration!

 

Anyway, well done on all the hard work on the newsdesk :)

 

John

Link to comment
Share on other sites

thanx for all your hard work and your efforts moyashi....

 

keep it up man, this thingy is absolutly wonderfull

 

Here i?ve just got a similar error Moooh has also.

using Loaded 5, no matter if there are news or not

 

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /xxx/xxx/xxx/newsdesk_index.php on line 185

 

Other than this its working pretty good the way I suppose it should

 

sweet hack :)

Link to comment
Share on other sites

If anyone gets this loaded and working on their site I would like to see it in action. I want to compare it to the Articles contribution and see which one is better suited to my needs without having to install them both :)

 

Thanks!

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

i have downloaded 10 times

 

same bad places every time

 

 

 

 

sql file has strange blocks in it

 

and will not import,

 

 

you should think before flaming

if you had check the files you would see

the coruption inside the sql file .

 

 

they unzip fine . however the files inside are bad.......

 

 

 

 

have a nice day.........

Link to comment
Share on other sites

:twisted: That's it NO MORE ZIP files.

 

I'll be posting a tar file.

 

HOWever, don't mention the .DS_Store files to me. Such files can be erased with out a worry. They just help OSX remember what your window settings are.

 

I'll try to look at the errors here after I get home tonight.

 

Sorry all. :oops: :oops:

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Link to comment
Share on other sites

Just a note:

 

That was the best of my zip'ping abilities. I use OSX not M$. So, if you can't use tar I don't know what to say. However I'm sure download.com has something that can open tar files on M$ for you.

 

Sorry about this ... I just don't own a wintel machine.

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Link to comment
Share on other sites

Great contribution Carsten!

 

But i have 2 errors ;(

 

Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /www/www..............nl/public_html/includes/modules/newsdesk_sticky.php on line 23

 

 

Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /www/www..................nl/public_html/includes/modules/newsdesk.php on line 22

 

You know this error?

Link to comment
Share on other sites

Good to hear that tar works :D

 

 

newsdesk_sticky

if (!tep_db_num_rows($newsdesk_var_query)) { // there is no news

echo '<!-- ' . TEXT_NO_NEWSDESK_NEWS . ' -->';



} else {

 

Is this the area for you? If so it's just a "no sticky" check. You could just erase the echo line. But why would it through and error? It's been like that since version 1.0 .... hmmm .... You on MS1 or Loaded 5?

 

Same for the newsdesk.php file.

 

Have you opened the file? Maybe some grit got in there? :roll:

 

 

Glad to hear that installs are going better!

 

Hope you like it :D

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Link to comment
Share on other sites

Sorry if this is an obvious question, but does this newsdesk allow showing category specific news, can it show say all news on the main page, then just category specific news under each category ?

 

Hope the question makes sense :)

 

Cheers

 

Matt

www.consoleplus.co.uk

Link to comment
Share on other sites

If I got you right.

 

show all news --

Yes, ... well, you just have to go to admin and switch from 3 to 300 (that should get em all)

 

Catagories --

Yes, they work just like regular catagories do for products.

 

:D

 

Actually, way too many features to list.

NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) :::

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...