News:

Welcome to the Unofficial Help Forum



Author Topic: Message as this website  (Read 8107 times)

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Message as this website
« on: April 24, 2012, 07:25:36 AM »
Hello,
I have to also write the same message as here.  "Please Note- "
No words left

Offline Arantor

  • Team Member
  • *
  • Posts: 82
    • View Profile
Re: Message as this website
« Reply #1 on: April 24, 2012, 07:45:39 AM »
I'm sorry, I don't understand what you're trying to say.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: Message as this website
« Reply #2 on: April 24, 2012, 08:00:39 AM »
Sorry i forgot to add,

without login at top message is there.
Quote
PLEASE NOTE
We would like to make it clear that this site is not meant to be in competition with the SMF support boards, in any way. However, we know, from experience, that some people have expressed some trepidation about posting, there, because they find it a bit intimidating. So, we offer this as a laid-back, friendly alternative. Most of our members are members at SMF, too, and we regard some of the other members, there, as our friends. So, we intend this to be a complimentary service to SMF, not as any form of competition with it.
« Last Edit: April 24, 2012, 08:02:13 AM by shubh »
No words left

Offline Arantor

  • Team Member
  • *
  • Posts: 82
    • View Profile
Re: Message as this website
« Reply #3 on: April 24, 2012, 08:02:50 AM »
I'm not sure how that's done, actually, could be coded in directly into the template.

How happy are you at editing code?

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
Re: Message as this website
« Reply #4 on: April 24, 2012, 08:19:15 AM »
it is hard coded into the template. it is in boardindex.template.php

and only visible to guests

Offline Arantor

  • Team Member
  • *
  • Posts: 82
    • View Profile
Re: Message as this website
« Reply #5 on: April 24, 2012, 08:28:51 AM »
I guessed as much ;) It's not a big job, provided you're happy editing code :)

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: Message as this website
« Reply #6 on: April 24, 2012, 08:32:08 AM »
Only editing the code is not difficult . But what the code that will be difficult to guess. I have see the same in another website , there is a mod because that website owner not have these knowledge.
« Last Edit: April 24, 2012, 08:33:39 AM by shubh »
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
Re: Message as this website
« Reply #7 on: April 24, 2012, 08:34:13 AM »
the code used here is
Code: [Select]
if ($context['user']['is_guest'])
echo '<br /><div class="cat_bar">
<h3 class="catbg">Please Note:</h3>
</div> <div class="content windowbg"><p class="inline smalltext">
your text here
</p></div><br />
';

you can place it where you want it in the file, in our case it is after the
Code: [Select]
<div id="index_common_stats"> section of code

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: Message as this website
« Reply #8 on: April 24, 2012, 08:40:02 AM »
I got it.
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
Re: Message as this website
« Reply #9 on: April 24, 2012, 08:42:34 AM »
then this issue is solved? if so please mark your thread solved

Offline Arantor

  • Team Member
  • *
  • Posts: 82
    • View Profile
Re: Message as this website
« Reply #10 on: April 24, 2012, 08:44:35 AM »
(I didn't post the code before because I was waiting for my question to be answered about how comfortable you are in editing code. Makes it hard to provide support when questions that are asked are not answered.)

Offline Illori

  • Administrator
  • *
  • Posts: 322
    • View Profile
Re: Message as this website
« Reply #11 on: April 24, 2012, 08:47:29 AM »
yep it can be, questions are asked for a reason usually.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: Message as this website
« Reply #12 on: April 24, 2012, 08:50:27 AM »
then this issue is solved? if so please mark your thread solved

I have already marked.
No words left