Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 12:13 am EST

Geeklog Forums

show_topic_icon doesn't seem to work


jeremy1701

Anonymous
Hello,
Not sure if I'm doing something wrong or if I found a bug, but

$_CONF['show_topic_icon'] = 0; // default for new stories

doesn't seem to work in config.php.

I assume the possible values are 1 and 0? I'm using theme Classic, but I've also tried it with professional. Note the line above it works,

$_CONF['article_image_align'] = 'left'; // Topic icon on left or right.

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Works for me ...

What do you expect it to do? What happens?

bye, Dirk
 Quote

jeremy1701

Anonymous
I thought it would turn off the icons for the topic that appear embedded in the story text. No? I was thinking it controlled {story_anchortag_and_image}.

 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
It affects only the new articles.

Sam
 Quote

jeremy1701

Anonymous
I see. Thanks.

Other than editing the theme file then, is there a way to turn off icons for all stories (like above)?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You even quoted the comment that says that it's for new stories only ...
If you don't want topic icons at all, I'd suggest you remove the {story_anchortag_and_image} variable from the story templates of your theme.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: jeremy1701

Other than editing the theme file then, is there a way to turn off icons for all stories (like above)?


UPDATE gl_stories SET show_topic_icon = 0;

That would take of all existing stories.

bye, Dirk
 Quote

All times are EST. The time is now 12:13 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