Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2006
    Posts
    6,572
    Tokens
    584

    Latest Awards:

    Default Cutenews problem REP+6

    I know many of you use Cutenews so you might know how to fix this little problem.

    Well I installed it on to my website and the news shows up all good but when I click comments or full story (I did toggle fullstory on news) it just reloads the page and does nothing...

    Anyone know how to fix this? If you can help I will rep+6 you.

    Thanks,
    Sam.

  2. #2
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    It may be the '?whatever=blahblah' isn't being copied into the URL..
    Chippiewill.


  3. #3
    Join Date
    Aug 2006
    Posts
    6,572
    Tokens
    584

    Latest Awards:

    Default

    Quote Originally Posted by 00chips View Post
    It may be the '?whatever=blahblah' isn't being copied into the URL..
    Tried and nothing.

  4. #4
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    Can you give me the URL to it so I can see why?
    Chippiewill.


  5. #5
    Join Date
    Aug 2006
    Posts
    6,572
    Tokens
    584

    Latest Awards:

    Default

    http://samcarvalho.co.uk/news nothings finished yet but i focused on the content part so thats all finished.

  6. #6
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    , You've broken your Cutenews 'News' templates so that comments e.t.c. don't show up... If you give me access I can fix them or you can restore the templates to defaults if you get unmodified copies from a fresh install...

    Edit: You've only killed your 'full news' template, the comments template still shows the comments at least.
    Edit2: Go to (In CPanel) to "http://samcarvalho.co.uk/cutenews/data/default.tpl" and replace it's contents with:

    PHP Code:
    <?PHP
    ///////////////////// TEMPLATE Default /////////////////////
    $template_active = <<<HTML
    <div style="width:420px; margin-bottom:30px;">
    <div><strong>{title}</strong></div>

    <div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #D3D3D3;">{short-story}</div>

    <div style="float: right;">[full-link]Read more •[/full-link]  [com-link]{comments-num} Comments[/com-link]</div>

    <div><em>Posted on {date} by {author}</em></div>
    </div>
    HTML;


    $template_full = <<<HTML
    <div style="width:420px; margin-bottom:15px;">
    <div><strong>{title}</strong></div>

    <div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #D3D3D3;">{full-story}</div>

    <div style="float: right;">{comments-num} Comments</div>

    <div><em>Posted on {date} by {author}</em></div>
    </div>
    HTML;


    $template_comment = <<<HTML
    <div style="width: 400px; margin-bottom:20px;">

    <div style="border-bottom:1px solid black;"> by <strong>{author}</strong> @ {date}</div>

    <div style="padding:2px; background-color:#F9F9F9">{comment}</div>

    </div>
    HTML;


    $template_form = <<<HTML
      <table border="0" width="370" cellspacing="0" cellpadding="0">
        <tr>
          <td width="60">Name:</td>
          <td><input type="text" name="name"></td>
        </tr>
        <tr>
          <td>E-mail:</td>
          <td><input type="text" name="mail"> (optional)</td>
        </tr>
        <tr>
          <td>Smile:</td>
          <td>{smilies}</td>
        </tr>
        <tr>
          <td colspan="2">
          <textarea cols="40" rows="6" id=commentsbox name="comments"></textarea><br />
          <input type="submit" name="submit" value="Add My Comment">
          <input type=checkbox name=CNremember  id=CNremember value=1><label for=CNremember> Remember Me</label> |
      <a href="javascript:CNforget();">Forget Me</a>
          </td>
        </tr>
      </table>
    HTML;


    $template_prev_next = <<<HTML
    <p align="center">[prev-link]<< Previous[/prev-link] {pages} [next-link]Next >>[/next-link]</p>
    HTML;
    $template_comments_prev_next = <<<HTML
    <p align="center">[prev-link]<< Older[/prev-link] ({pages}) [next-link]Newest >>[/next-link]</p>
    HTML;
    ?>
    Last edited by Chippiewill; 15-06-2009 at 09:09 AM.
    Chippiewill.


  7. #7
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default

    You seem to have fixed it, as it works fine for me

  8. #8
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    It's not showing the comments on full news, or a link to comments.
    Chippiewill.


  9. #9
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default

    Oh yes, well showing the page is a start. He seems to have removed the Show Comments link from the code...

  10. #10
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    It could have some way of showing the comments from 'Full news'...
    Chippiewill.


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •