Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: 'article' as seftitle bug  (Read 7169 times)

stanislavsky

  • Newbie
  • *
  • Karma: 4
  • Posts: 18
  • Use it or lose it
    • DesignSkill.org
'article' as seftitle bug
« on: August 16, 2008, 01:14:07 PM »

The problem is when I post an article in, lets say, MAIN category....then comment an article....and then rename MAIN category. After that comment link in info line, article title and recent comments do not work...Nothing happens

And if i' logged in it shows me article section in admin panel with this: Filter by: name of the article

Any ideas how to fix? 
Logged
Photoshop CS+     Dreamweaver CS+
Illustrator CS+       Notepad ++
Flash CS+

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Re: Some bugs (1.7RC)
« Reply #1 on: August 16, 2008, 10:42:30 PM »

I would be interested if someone else is able to replicate...

... for some reason I am unable to get these results   ???
Logged
Of all the things I have lost, it is my mind that I miss the most.

stanislavsky

  • Newbie
  • *
  • Karma: 4
  • Posts: 18
  • Use it or lose it
    • DesignSkill.org
Re: Some bugs (1.7RC)
« Reply #2 on: August 18, 2008, 12:31:47 AM »

ok, maybe i got it. i tried to rename MAIN category (with articles and comments) to ARTICLES.
the point is that we'll have this link to the category http://mysitename/articles

but in admin panel (when logged in) we have the same url to the article manipulation section. seems one goes in conflict with the other
« Last Edit: August 18, 2008, 12:43:38 AM by stanislavsky »
Logged
Photoshop CS+     Dreamweaver CS+
Illustrator CS+       Notepad ++
Flash CS+

Joost

  • Guest
Re: Some bugs (1.7RC)
« Reply #3 on: August 18, 2008, 12:39:40 AM »

That's correct, you cannot have the same uri twice.
Logged

stanislavsky

  • Newbie
  • *
  • Karma: 4
  • Posts: 18
  • Use it or lose it
    • DesignSkill.org
Re: Some bugs (1.7RC)
« Reply #4 on: August 18, 2008, 12:46:38 AM »

....and i need ARTICLES category (not subcat.) :(

how to change admin link to ../article or how to bypass that conflict???
Logged
Photoshop CS+     Dreamweaver CS+
Illustrator CS+       Notepad ++
Flash CS+

Joost

  • Guest
Re: Some bugs (1.7RC)
« Reply #5 on: August 18, 2008, 01:25:06 AM »

In function center (snews.php),  you will find the following line:

case 'articles': admin_articles('article_view'); return; break;

You can change the name 'articles'  to something else like 'all_articles'. However, you will have change at least (there might be more) one link for the new location. Start looking for a link named 'articles' in  function administration and change that name as well.
Logged

stanislavsky

  • Newbie
  • *
  • Karma: 4
  • Posts: 18
  • Use it or lose it
    • DesignSkill.org
Re: Some bugs (1.7RC)
« Reply #6 on: August 18, 2008, 10:25:37 AM »

Thank you Joost for helping
Logged
Photoshop CS+     Dreamweaver CS+
Illustrator CS+       Notepad ++
Flash CS+

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Re: Some bugs (1.7RC)
« Reply #7 on: August 18, 2008, 10:54:52 AM »

Could have sworn I posted in here???
Logged
Of all the things I have lost, it is my mind that I miss the most.

funlw65

  • Hero Member
  • *****
  • Karma: 96
  • Posts: 771
    • Country Lab
Re: 'article' as seftitle bug
« Reply #8 on: August 18, 2008, 01:16:36 PM »

Me too!!!

My last reply is missing ... and others...
I've noticed a problem with SMF database yesterday when I tried to visit the forums...

Logged

funlw65

  • Hero Member
  • *****
  • Karma: 96
  • Posts: 771
    • Country Lab
Re: 'article' as seftitle bug
« Reply #9 on: August 18, 2008, 04:32:26 PM »

blah, I said a stupid thing...
« Last Edit: August 18, 2008, 04:33:58 PM by funlw65 »
Logged

mosh

  • Hero Member
  • *****
  • Karma: 77
  • Posts: 510
  • Awesome day :)
    • cms-zen
Re: 'article' as seftitle bug
« Reply #10 on: August 19, 2008, 07:11:12 AM »

what happend to posts  :P :o :o :P

Joost

  • Guest
Re: 'article' as seftitle bug
« Reply #11 on: August 19, 2008, 07:15:22 AM »

Logged

philmoz

  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Re: 'article' as seftitle bug
« Reply #12 on: October 18, 2008, 02:07:07 AM »

this issue rectified in RC2
using reserved words found in $l['cat_listSEF'] resulted in unexpected (by user) behaviour.
RC2 has a number of these 'replaced' (actually, I prepended with snews_ ), freeing up files, categories, articles and a few more.



fixed in final release
« Last Edit: October 31, 2008, 07:58:03 PM by philmoz »
Logged
Of all the things I have lost, it is my mind that I miss the most.