News problem

Results 1 to 9 of 9
  1. #1
    Apprentice Slayer5543 is offline
    MemberRank
    Mar 2013 Join Date
    6Posts

    News problem

    Have had this problem for quite a while now .. Actually have tried to fix it but it is not .. my news on the'' me'' page will not appear picture / text it's bugged or anything. here you have a piece of my me page on the news.



    Code:
    <script type="text/javascript"> HabboView.add(function() { L10N.put("personal_info.motto_editor.spamming", "Don\'t spam me, bro!"); PersonalInfo.init(""); }); </script>
    
     </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> <div id="column2" class="column"> <div class="habblet-container "></div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <div class="habblet-container news-promo">                                 <div class="cbb clearfix notitle ">                                <div id="newspromo">                                    <div id="topstories">                                        <div class="topstory" style="background-image: url({url}/gordon/c_images/Top_Story_Images/{newsIMG-1})">                                            <h4>Senaste nyheter</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-1}">{newsTitle-1}</a></h3>                                            <p class="summary">                                                {newsCaption-1}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-1}">Läs mer &raquo;</a>                                            </p>                                        </div>                                        <div class="topstory" style="background-image: url({url}/gordon/c_images/Top_Story_Images/{newsIMG-2}); display: none">                                            <h4>Senaste nyheter</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-2}">{newsTitle-2}</a></h3>                                            <p class="summary">                                                {newsCaption-2}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-2}">Läs mer &raquo;</a>                                            </p>                                        </div>                                        <div class="topstory" style="background-image: url({url}/gordon/c_images/Top_Story_Images/{newsIMG-3}); display: none">                                            <h4>Senaste nyheter</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-3}">{newsTitle-3}</a></h3>                                            <p class="summary">                                                {newsCaption-3}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-3}">Läs mer &raquo;</a>                                            </p>                                        </div>                                        <div class="topstory" style="background-image: url({url}/gordon/c_images/Top_Story_Images/{newsIMG-4}); display: none">                                            <h4>Senaste nyheter</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-4}">{newsTitle-4}</a></h3>                                            <p class="summary">                                                {newsCaption-4}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-4}">Läs mer &raquo;</a>                                            </p>                                        </div>                                        <div class="topstory" style="background-image: url({url}/gordon/c_images/Top_Story_Images/{newsIMG-5}); display: none">                                            <h4>Senaste nyheter</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-5}">{newsTitle-5}</a></h3>                                            <p class="summary">                                                {newsCaption-5}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-5}">Läs mer &raquo;</a>                                            </p>                                        </div>                                        <div id="topstories-nav" style="display: none"><a href="#" class="prev">&laquo; Föregående</a><span>1</span> / 5<a href="#" class="next">Nästa &raquo;</a></div>                                    </div>                                    <ul class="widelist">                                        <li class="even"><a href="{url}/index.php?url=news&id={newsID-1}">{newsTitle-1} &raquo;</a><div class="newsitem-date">{newsDate-1}</div></li>                                                 <li class="odd"><a href="{url}/index.php?url=news&id={newsID-2}">{newsTitle-2} &raquo;</a><div class="newsitem-date">{newsDate-2}</div></li>                                                 <li class="last"><a href="/news">Mer nyheter &raquo;</a></li>                                             </ul>                         </script>
    Here is a picture of my "cms_news'':


    2df3493c64bffaca1f1ff92fb67985ae.png


    and here is a picture of me page:


    b5a1bb659a3f25e0b534c8bfed043153.png


    I have Gordon as R63 yes so it is not the fault, do not really know what the problem is. would be awesome if anyone knew


  2. #2
    Account Upgraded | Title Enabled! flx5 is offline
    MemberRank
    Nov 2009 Join Date
    GMT+1Location
    294Posts

    Re: News problem

    Uhm where has the PHP part gone???
    I think PHP just didn't replace the {url}, ... placeholders correctly...

  3. #3
    Account Upgraded | Title Enabled! FapInc is offline
    MemberRank
    Nov 2012 Join Date
    499Posts

    Re: News problem

    This problem occur because you use an BcStorm database im pretty sure!
    If you want it working you really need to be good in editing in the class.something.php :P

  4. #4
    Proficient Member iConnor is offline
    MemberRank
    Oct 2010 Join Date
    United StatesLocation
    191Posts

    Re: News problem

    I personally think the image isnt showing because your CMS is trying to get the image from a directory that doesn't exist.

  5. #5
    Proficient Member prodigy007 is offline
    MemberRank
    Feb 2013 Join Date
    MissouriLocation
    177Posts

    Re: News problem

    umm. I use uber_cms. soz, my news table is actually site_news. Not sure what to say, but you can attempt to use your housekeeping if your admin rights are set and make it easier for yourself maybe? Just not sure what cms your using to help you out more, but I would also recommend using a full url like dsdsdsd.com. Might also try using the sites proper capitalization of directories and files? Good Luck.

  6. #6
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: News problem

    Quote Originally Posted by FapInc View Post
    This problem occur because you use an BcStorm database im pretty sure!
    If you want it working you really need to be good in editing in the class.something.php :P
    No.

    Quote Originally Posted by iConnor View Post
    I personally think the image isnt showing because your CMS is trying to get the image from a directory that doesn't exist.
    This is the problem ^

  7. #7
    Apprentice RatchetFZ is offline
    MemberRank
    Mar 2013 Join Date
    9Posts

    Re: News problem

    Offtopic; Slayer where did you get the shops from? need a good script :l...

    Thanks,

    Ratchet

  8. #8
    Apprentice Slayer5543 is offline
    MemberRank
    Mar 2013 Join Date
    6Posts

    Re: News problem

    1. i dont use a bcstorm db, i use a phoenix r63 db 3.11.0 :P

  9. #9
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    Re: News problem

    Forgot the file name but I think it has .template in it within Revcms and you need to change the image part to the new name for it.



Advertisement