[phpslash-users] Story_base.class & Topic.class enhancements
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@ho...> - 2002-03-15 09:03:27
|
I submitted a patch for those two classes (subject line) that allows new articles to sync the topic bar icons with those of the current articles: 1) story gets published ( ex: topic_id = 13 ) 2) if topic bar has 5 icons with ids ( 1,2,3,4,5 ) 3) as article gets inserted, numbers get shifted to the right and topic_id 13 is inserted in the slot one ( 13, 1,2,3,4 ) You can customize the behavior via the config.php3 variables: $_PSL["auto_renorm"] = true | false ; and $_PSL["reform_limit"] = N ( where N is a number between 1 and ... infinity? nah, as big as the topic icons fit or whatever you prefer -- 5 should be enough ) enjoy! ----)(---- Luis M System Administrator/Network Engineer Webmaster/Web developer LatinoMixed.com le...@ho... The chief cause of problems is solutions. -- Eric Sevareid _________________________________________________________________ MSN Photos est le moyen le plus simple de partager, modifier et imprimer vos photos préférées. http://photos.msn.fr/Support/WorldWide.aspx |