Git Product home page Git Product logo

bonfire-news's People

Contributors

jfox015 avatar ladea avatar og-shawn-crigger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bonfire-news's Issues

New article Random Details error

I'm getting this error in the Random Details section

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: article

Filename: content/news_form.php

Line Number: 147

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: content/news_form.php

Line Number: 147

I've fixed it by making a change on line 146

`````` elsetoelseif(isset($article))```

Attachments error when no attachment added

The form will not submit due to an attachment error, but it should be able to even if no attachment is specified. This is currently happening in dev/sv_merge branches.

Article Editing Permissions shouldn't be restricted to Admins only

I've tried opening up the permissions so that users can edit their own entries, but if I filter for just their articles, it seems like I'd be doing the same thing to the admin... so in theory the admin or an editor should be able to edit any article and the users should only be able to edit theirs. Am I overlooking an easy permission somewhere. I don't mind if they see them... I'm running into similar issues with who is allowed to delete an article, they seem to go into limbo, I still have them in the database, but they disappear from the live site. Most recent live version has been moved to http://brolu.net/, I'm starting to get feedback from beta testers now, so hold onto your hat.

Multiple Attachment Support

It would be good have support for multiple attachments per article, but I'm torn on whether to add this as an "articles_attachments" table or create a separate Bonfire media manager module. I'm kind of leaning towards the latter, but still going to think a little more on this.

Once multiple attachments are available to the article, they could be embedded either by

  • public url (absolute or relative)
  • shortcode

I do sort of like the way Wordpress auto inserts the complete image code when inserting media rather than other CMS tools custom shortcode embedding (mostly because you can preview the image in the editor as your writing.

css_path

i've installed the module, made the migration.
I got this error when trying to access index.php/admin/content/news

Fatal error: Call to undefined function css_path() in \bonfire\modules\news\controllers\content.php on line 67

Error upon database migrate_module _001 (installation)

Error Number: 1075

Incorrect table definition; there can be only one auto column and it must be defined as a key

CREATE TABLE bf_news_articles ( id int(11) NOT NULL AUTO_INCREMENT, author int(11) NOT NULL DEFAULT '-1', title varchar(255) NOT NULL, date int(11) DEFAULT NULL, body longtext, attachment varchar(1000) NOT NULL, image_align varchar(255) NOT NULL, image_caption varchar(255) NOT NULL, tags varchar(255) NOT NULL, created_on int(11) NOT NULL DEFAULT '0', created_by int(11) NOT NULL DEFAULT '-1', modified_on int(11) NOT NULL DEFAULT '0', modified_by int(11) NOT NULL DEFAULT '-1', status_id tinyint(1) NOT NULL DEFAULT '0', category_id tinyint(1) NOT NULL DEFAULT '0', date_published int(11) DEFAULT NULL, deleted tinyint(1) NOT NULL DEFAULT '0' ) DEFAULT CHARACTER SET = utf8 COLLATE = utf8_general_ci

Filename: *****/bonfire/modules/news/migrations/001_Install_news.php

Line Number: 43

php error undefined property

A PHP ERROR WAS ENCOUNTERED
Severity: Notice

Message: Undefined property: stdClass::$display_name

Filename: content/index.php

Line Number: 15

I installed the module and ran all the migration scripts and went to Content -> News and got the following error

Installation

The installation process states I may be asked if I want it to overwrite some files... It's not doing this. Everything is in a BonfireNews directory. I move the News directory into my Modules folder and then seem able to migrate, but alot of the core components are still not in place. Any advice would be appreciated. This module sounds very promising!

Update any username() calls

In 0.6-dev, the auth->username, auth->user_name and auth->email functions are removed and have to be handled differently.

Add a rich text editor to Body field

The body field needs a rich text editor attached to it. The actual JS files for the Xania editor that comes with Bonfire seems to be missing and my first attempt to connect the NicEdit tool caused the Ajax functionality to break.

Critical issue - Article author profile editable from article link

I may have discovered a security leak... possibly a serious one, but I have an easy suggestion to fix it, I think... When I'm on the homepage, when signed in as a mach "user" his name is jamez, I can click on the author of an article... and it takes me to a page where I can edit the author's profile, just so happens in this case, that's an admin of the site. But the same hyper link could be set to got to a listing or open a jquery submenu whatever, but it goes to a listing of articles by that same author... finally some code "I" can contribute back... I'll write up that view, first and maybe that fancy open a selection list later...

Missing $table_name Variable

Hi,

after installing your module i got many sql errors.

i have checked it and the problem is the missing $table_name variable in the model files.

I'm using Bonfire 0.7.

hacking installation...

ok, I'm getting it to work now I thought I tried that one first... I'm still hacking the installation. I'll post what I'm doing differently to make it work, but following your wiki I'm posting
public function index()
{
$this->load->library('installer_lib');

    if (!$this->installer_lib->is_installed())
    {
        redirect( site_url('install') );
    }

    $this->load->library('users/auth');
    $this->set_current_user();

$count = 7;
$startIndex = 0;
$data['articles'] = modules::run('news/get_article_list',$count,$startIndex);
Template::set('news_list',$this->load->view('news/news_list',$data, true));
Template::render();
}//end index()
into the home controller, but getting the following 2 errors.
at line 168 it looks like it's looking for the users ID, but if they are not signed in, there is nothing to return as the object... this is probably effecting the session variable as well. But I'm getting the same errors even if I'm still signed in... I'll post my hack in a few, probably just copy what worked last time, but trying to find the differences along the way, to help installation in the future and make sure it's all correct and smooth.

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/news.php

Line Number: 168

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /hermes/waloraweb035/b1597/moo.turtlewolf/ace/bonfire/core/Loader.php:659)

Filename: libraries/Session.php

Line Number: 675

Social Sharing Options

Add ability to share articles via social networking. Also add check boxes to automatically include Facebook Like, Goople + anf TweetMeme.

Category Editor and Status Guide

Create and admin page to allow site admins to add and manage news categories

Also provide an admin page to describe statuses used. Don't think we want to edit statuses as they are hard coded into the admin tool and display code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.