TinyPortal

General => Chit chat => Topic started by: MGT_STC007 on December 15, 2005, 03:15:25 AM

Title: Someone will have asimple answer I am sure
Post by: MGT_STC007 on December 15, 2005, 03:15:25 AM
I am working on a primative site using what I have at hand to construct it.ÂÃ,  I have made some pages and am using SSI to post information like recent topics etc...ÂÃ,  The problem I am seeing is in the notification icons for a new post on the outside page aren't showing up.ÂÃ,  Also the message box for the shout box doesn't show up either unless you go and click the View all button and it takes you into the forum.

Is this a simple nee to move the locations of the pages?ÂÃ,  Do I need to put them into the forums main folder to have these features work?ÂÃ,  As I typed this it makes sense to me tha this could be it.


Example:  http://www.mgtforum.com/newnews.php
Title: Re: Someone will have asimple answer I am sure
Post by: Moocat on December 15, 2005, 06:19:07 AM
that does sound like what you need, because it looks like you are using relative paths to locations that aren't in that directory.
Title: Re: Someone will have asimple answer I am sure
Post by: MGT_STC007 on December 15, 2005, 06:25:02 PM
Well I moved that one page and it didn't help.ÂÃ,  Still no little blue icons next to the new posts!


www.mgtforum.com
Title: Re: Someone will have asimple answer I am sure
Post by: bloc on December 16, 2005, 11:00:57 AM
I think you need to move the files to inside forum folder..but really, I thought SSI would sort that out, once you included SSI.php... strange.
Title: Re: Someone will have asimple answer I am sure
Post by: MGT_STC007 on December 16, 2005, 05:09:48 PM
See the funny thing is if I am logged into my sever while I am editing stuff...at that point if I pull the page up then ÂÃ, can see the icons. ÂÃ, If I am not logged in then the icon is not there. ÂÃ, Is this going to be a setting I need to adjust for that page?

I would really like them to show up to make it easier for the users to see what they haven't seen yet.


hmmm...

The page in question is this one:

http://www.mgtforum.com/MGTFORUM/newnews.php
Title: Re: Someone will have asimple answer I am sure
Post by: gerrymo on December 16, 2005, 05:14:58 PM
If you are not logged in, you are a guest, so no icons show. Its like that on all SMF boards. Dont know if it can be changed either.
Title: Re: Someone will have asimple answer I am sure
Post by: MGT_STC007 on December 16, 2005, 05:41:28 PM
No not the forum...

I'll be logged into the forum and into my server to edit at that time they show up. ÂÃ, But logged into the forum and not into the server they don't show.
Title: Re: Someone will have asimple answer I am sure
Post by: gerrymo on December 16, 2005, 05:46:50 PM
I see now. That is very odd indeed.
Title: Re: Someone will have asimple answer I am sure
Post by: MGT_STC007 on December 17, 2005, 10:05:40 PM
Ok what do I need to add to make the text in the SSI script come out smaller than it is now?
Title: Re: Someone will have asimple answer I am sure
Post by: IchBin on December 17, 2005, 10:31:18 PM
Sorround it with with a class from your style.css file. Something similar to this.
echo '<div class="smalltext">';
ssi_function();
echo '</div>';

Title: Re: Someone will have asimple answer I am sure
Post by: MGT_STC007 on December 18, 2005, 01:52:22 AM
This is what I got...

<center>
<?php ssi_news(); ?>
  <table border="1" width="80%" bordercolor="#800000" height="39">
    <tr>
      <td width="100%" height="14"><font size="1">Top Topics by Replies: <?php ssi_topTopicsReplies(10); ?></font></td>
    </tr>
    <tr>
      <td width="100%" height="13"><font size="1">Recent Topics:<?php ssi_recentTopics(20); ?> </font></td>
    </tr>
  </table>
  </center>