Skip to content

[Feature request]: Change length of newsfeed_image field in db #5108

@Alex-e107nl

Description

@Alex-e107nl

Question

I was setting up the news feed plugin to show news from other websites on an e107 website. That worked fine, but it turned out that loading a logo was not possible because the input field for the image link was too small. Can that be adjusted?

Expected Source

I looked at e107_plugins/newsfeed/newsfeed_sql.php

CREATE TABLE newsfeed (
  newsfeed_id int(10) unsigned NOT NULL auto_increment,
  newsfeed_name varchar(150) NOT NULL default '',
  newsfeed_url varchar(250) NOT NULL default '',
  newsfeed_data longtext NOT NULL,
  newsfeed_timestamp int(10) unsigned NOT NULL default '0',
  newsfeed_description text NOT NULL,
  newsfeed_image varchar(100) NOT NULL default '',
  newsfeed_active tinyint(1) unsigned NOT NULL default '0',
  newsfeed_updateint int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (newsfeed_id)
) ENGINE=MyISAM;

If the newsfeed_image varchar(100) NOT NULL default '', is changed from 100 to 250, problem is solved...

Can that be changed without problems?

Additional Context

I prefer to use the logo of the feed providers website so that when it changes it is immediately visible or at least it is clear that something has changed. 100 characters turns out to be too few...

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementAn improvement or new feature requesttype: questionAn ask about behavior that is not found documented anywhere

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions