Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 08:44 pm EST

Geeklog Forums

i want to hide date and hit from story topic


nobese

Anonymous
i want to hide date, name and hit from story topic

how can i do if it is possible

thanks
 Quote

nobese

Anonymous
it means from articleWink


Quote by nobese: i want to hide date, name and hit from story topic

how can i do if it is possible

thanks
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Author (name) and Views can be disabled like this:
[QUOTE config.php]
$_CONF['contributedbyline'] = 0;
$_CONF['hideviewscount'] = 0;
[/QUOTE]
But unfortunately date (still...) can't be disabled.

Therefore, you must edit the template and comment out (or remove) the following like this - and in which case I recommend not to touch config.php as I'm about to comment out all of the 3 anyway:
[QUOTE storytext.thtml]
<!-- custom code - start -->
<!--
<tr><td class="story-information" width="100%">
{story_date}<br>
{lang_contributed_by} {start_contributedby_anchortag}{contributedby_user}{end_contributedby_anchortag}<br>
{lang_views} {story_hits}
</td></tr>
-->
<!-- custom code - end -->
[/QUOTE]
Hopefully, someday date could be easily removed too.
 Quote

nobese

Anonymous
thanks

i did it

but some dates be shown still

have a look:

www.izleniyoruz.net
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Do you mean "some" as in "all"? Very Happy

You did what I said about config.php, but completely ignored what I said about the template.

And I tell you once again, if you're going to comment those lines out, don't bother changing those defaults in config.php like you have (because you'd have to change them over and over again each time you upgrade).
 Quote

All times are EST. The time is now 08:44 pm.

  • 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