Welcome to Geeklog, Anonymous Tuesday, June 18 2024 @ 08:03 am EDT

Geeklog Forums

Moding the Gl_stories table


I may be getting in over my head with this idea but heres what im thinking about doing, I want to make a site where users can search for things by category and zip code, then be able to comment or rate the different entries. So i thought hey why not use the stories function for my backbone, but there are a few fields that i would need to add to GLStories so i can get all the criteria i need , is there any problems in adding fields to this table?

After i add the field i figure i can mod the search.class file and add in the additional criteria im needing and drop the ones i dont want , has anyone done something like this?

Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
We generally advise against modifying Geeklog's tables. We may extend or change them in future versions and there will of course be no support for your modifications then ...

I'd suggest using a second table with your own fields and the same index (sid) as the main story table. This could even be turned into a plugin (which has its own search function) and so you won't need to modify the core Geeklog code.

bye, Dirk

All times are EDT. The time is now 08:03 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content