1
limecity
??? Stories Module, Replacement for News ??
  • 2004/1/29 14:31

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


i saw this module..up for downloads..
does anyone installed it yet..

i want to see how it looks like..
I tried to installed.. but it says i already have xoops_stories in my sql table..

so it can't be installed. I don't want to lose all history of the news posted..

2
npetreley
Re: ??? Stories Module, Replacement for News ??
  • 2004/1/29 14:35

  • npetreley

  • Just popping in

  • Posts: 15

  • Since: 2002/12/9


I was worried about that -- I purposely used the same stories table in order to make it easy to switch between the two modules. But I think it might be better to use a different table name, so I will go back and modify the module soon.

Meanwhile, you can see how it works by registering at http://www.varlinux.org and looking at the site as a logged-in user.

3
npetreley
Re: ??? Stories Module, Replacement for News ??
  • 2004/1/29 15:12

  • npetreley

  • Just popping in

  • Posts: 15

  • Since: 2002/12/9


Okay, I updated the code to use a new table name "newstories".

I also provided a migrate script (migrate.php) that should copy the contents of your stories table into the newstories table, and create a TOCID (table of contents ID) for all the stories (which is needed for the way I allow admins to order the TOC any way they want).

It can't generate URLs or authors for the stories, since you enter those when you submit a new story and they don't exist as separate fields in the existing stories table.

Just re-download the file - it should have the new code in it now.

4
limecity
Re: ??? Stories Module, Replacement for News ??
  • 2004/1/29 15:26

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Installing Stories
Table 'xoops_topics' already exists

Unable to install stories. Error(s):


this is like the clone of news module..?



5
npetreley
Re: ??? Stories Module, Replacement for News ??
  • 2004/1/29 15:36

  • npetreley

  • Just popping in

  • Posts: 15

  • Since: 2002/12/9


I forgot that topics already exists, too. I'll go thorugh and rename that, too - can't do it until later today or tomorrow, though. I didn't design the module to coexist side-by-side with the news module, but I can see why someone would want it to, so I'll fix that.

6
npetreley
Re: ??? Stories Module, Replacement for News ??
  • 2004/1/30 22:10

  • npetreley

  • Just popping in

  • Posts: 15

  • Since: 2002/12/9


Try 0.9.1 if you like. It now seems to coexist with News, except that if you use both alternately, the comments tracking (how many comments per story) will probably get out of sync, at least in the News module. Like I said, it was designed to replace the News module, not coexist with it, but now at least it won't overwrite any existing tables if you want to install both at the same time.

7
limecity
Re: ??? Stories Module, Replacement for News ??
  • 2004/1/31 14:20

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


i downloaded the updated file...
now another problem...
dunno whether or not..i am the only got this problem..

"MODULE FILE FOR NOT FOUND"

copied into the module folder and..
inside my admin.. [x] not found..

hmm...something wrong?

Login

Who's Online

338 user(s) are online (229 user(s) are browsing Support Forums)


Members: 0


Guests: 338


more...

Donat-O-Meter

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

Latest GitHub Commits