11
Liliplanet
Simple News module with Image Upload
  • 2006/4/26 17:06

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Hi!

For several days now I've tested the modules 'article 0.90', 'news' and 'content'. None of them seem to have a simple news system with the specific ability to be able to load an image into the item.

I would like to have something simple that my users can use and that uploads an image and creates a thumbnail of a specific size, inserts the image at a defined spot in the article...without lots of clicks and complications. Just don't think average users would be able to handle the above modules.

Which module do you suggest would be the best for this?

Needs something for high volume submissions and traffic.

Currently at XOOPS 2.2.3.

Would truly appreciate your advice.

Sincere regards,
Lilian



12
Liliplanet
Re: Strange error in custom PHP blocks
  • 2006/4/19 22:31

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Thank you for your reply.

Still deleting and then upgrading, bit of a nightmare, seems now have files on my computer that are corrupt and crashing.

Hope it works tomorrow.

Thank you for your help and would appreciate your assistance once all is back up ... if there is the problem.

3 am here ... till later.
Lilian



13
Liliplanet
Re: Strange error in custom PHP blocks
  • 2006/4/19 20:38

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


maybe I did something wrong or it was not possible?

in a custom block I added:

<?PHP
$number=3;
$category=5;
include("/home/mysite/edition/show_news.php");
?>

and all I could see when published was:

$number=3;
$category=5;
include("/home/mysite/edition/show_news.php");
?>

basically bringing in news from my existing news application. It generally works in any php file.

was this perhaps incorrect ... or is this not possible? Surely to include rss files would be the same?

Thank you so much for your guidance.
Lilian



14
Liliplanet
Re: Strange error in custom PHP blocks
  • 2006/4/19 20:07

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


thanx, ... thought of that as well ... did <?<? and that's what it deletes .. <? .

bizarre, still busy upgrading, hope that works.

soon I hope with success.
Lilian



15
Liliplanet
Re: Strange error in custom PHP blocks
  • 2006/4/19 19:54

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Thank you for your reponse. I tried all the 3 (or 4?) options, to no avail.

I'm now upgrading to 2.2, maybe that will work.

Again, thank you.
Lilian



16
Liliplanet
Re: Strange error in custom PHP blocks
  • 2006/4/19 18:15

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Just to mention .. when I use php includes or rss on Dreamhost it works fine, it is just in XOOPS custom blocks.

When I look in MySQL file it's all there, but the output in html deletes the top line, i.e. <?PHP thus script does not execute.

Anyone perhaps have an idea how to fix this please?

Lilian



17
Liliplanet
Re: Strange error in custom PHP blocks
  • 2006/4/19 16:12

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Hi.

I've got exactly the same problem. Have rss feeds in the custom block, yet nothing appears. html and plain text is fine.

Also on Dreamhost, have you perhaps found the solution?

Look forward to your reply.
Lilian



18
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 1:55

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


I just found this online .. could this be the problem?

Notice: Only variable references should be returned by reference in ", what's wrong?

Most probably you are running PHP 4.4.0+ and use the PHP Zend Optimizer (see phpinfo). This is a Zend Optimizer bug. Seehttp://gallery.menalto.com/node/36605#comment-133101 for some explanations.

Solution: Use a newer Zend Optimizer version, e.g. ZendOptimizer-2.6.2 or later versions.

If you run PHP 4.4.0 but don't use the Zend Optimizer, then most probably you're using a G2 version which is older than G2 Beta 4. You should upgrade to the latest stable release of G 2.0.

If you or your host is unwilling to disable or upgrade the Zend Optimizer to a fixed version or change the PHP version, there's a workaround (solution discovered by Mark Scott, 13/10/2005, "I've found that removing optimization pass 1 removes the notices caused by optimizing away the variable that should be referenced and returned.") In php.ini replace:

zend_optimizer.optimization_level=15
with:
zend_optimizer.optimization_level=14

what do you think, is this fixable?



19
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 1:44

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


sorry ... did you receive my last 'quick reply?'.

I overwrote the whole folder, as no change.

What could it be ...?

Thank you so much for your help.
Lilian



20
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 1:38

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


are the files in template_c supposed to have such strange names ...

templates_c/%%22^222^222153D0%%db%3Asystem_block_user.html.php?




TopTop
« 1 (2) 3 »



Login

Who's Online

228 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 228


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits