+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18
    1. Homepage Featured Mod Details »»

      Homepage Featured Mod

      Version: 0.8.5, by (Senior Member/Coder/Designer) nay27uk is offline

      Developer Last Online: Sep 2010 Show Printable Version Email this Page
      Category: Feature Enhancement Version: 0.8.5 Rating:  (1 votes - 5.00 average)
      Released: 02-02-2010 Last Update: Never Installs: 1
      Supported Template Edits
      Additional Files  

      Ok I have now put this back up for you all.

      If you are running the default theme then simply download the .zip attached to this post unpack and upload both folders to your WeBid root, if prompted by your FTP software click overwrite.

      If you are running your own or modified theme then follow the instructions bellow, also note if your theme is of the table less variety you will need to replace the table in this mod with your <div>.

      Instructions for non default themes

      Open home.tpl and find code

      <!-- BEGIN featured -->
      <div style="float:left;display:block;width:180px;margin :5px;background-color:#FFFEEE;border:#CCCCCC 1px solid;padding:5px;">
      <div style="display:block;" align="center"><img src="{featured.IMAGE}" /></div>
      <div style="display:block;" align="center"><a href="{SITEURL}item.php?id={featured.ID}">{feature d.TITLE}</a><br />
      {featured.BID}</div>
      </div>
      <!-- END featured -->
      Replace With

      <div align="center">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
      <td>
      <script type="text/javascript" src="{SITEURL}js/jscroller2-1.61.js"></script>
      <div id="jscroller2">
      <div class="jscroller2_left jscroller2_speed-62 jscroller2_dynamic jscroller2_mousemove jscroller2_ignoreleave"><!-- BEGIN featured --><div style="float:left;display:block;width:180px;height :180px;margin:5px;background-color:#FFFEEE;border:#CCCCCC 1px solid;padding:5px;">
      <div style="display:block;" align="center"><img src="{featured.IMAGE}" /></div>
      <div style="display:block;" align="center"><a href="{SITEURL}item.php?id={featured.ID}">{feature d.TITLE}</a><br />
      {featured.BID}<!-- END featured --></div>
      </div>
      </div>
      </td>
      </tr>
      </table>
      </div>
      Next open up style.css and at the bottom add the following

      /* Scroller Box */
      #jscroller2 {
      width: 100%;
      height: 188px;
      overflow: hidden;
      }
      /* Scoller Box */

      /* CSS Hack Safari */
      #dummy {;# }

      #jscroller2 {
      overflow: auto;
      }
      Also note that if your custom theme uses diferant featured items boxes than the default theme you will need to replace from <!-- Begin featured --> to <!-- END featured --> with the featured items code from your theme, so you would use.

      <div align="center">
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
      <td>
      <script type="text/javascript" src="{SITEURL}js/jscroller2-1.61.js"></script>
      <div id="jscroller2">
      <div class="jscroller2_left jscroller2_speed-62 jscroller2_dynamic jscroller2_mousemove jscroller2_ignoreleave">
      <!-- BEGIN featured -->
      YOUR THEMES FEATURED CODE HERE
      <!-- END featured -->
      </div>
      </div>
      </div>
      </td>
      </tr>
      </table>
      </div>
      Next download this file and upload it to your WeBid js folder

      Download Now


      Show Your Support

      • If you like this modification support the author by donating.
      • This modification may not be copied, reproduced or published elsewhere without author's permission.

  1. #12

    Default

    Hi I have the mellow+adds-white theme and I applied these codes on my home.tpl . The items didn't begin to scroll untill I removed the following :
    <marquee behavior='scroll' align='center' direction='left' width='100%' height='188' scrollamount='4' scrolldelay='0' onmouseover='this.stop()' onmouseout='this.start()'>
    My website is http://www.pchounds.com/
    Now the items scroll but they are shown on more than one row. I had to make the featured item boxes bigger from 120 to 130 so the second row doesn't show. The only thing that I don't think it's normal now is when the page loads for the first time in the right side of the featured items you can see a scrolling bar , only for a few seconds in firefox but a lot longer on internet explorer.
    Last edited by grandpha; 26-06-2010 at 01:44 AM.

  2. #13
    Senior Member/Coder/Designer nay27uk is on a distinguished road nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    848
    Blog Entries
    1

    Default

    this is alredy part of my mellow+white theme this mod is hardcoded and pre installed on all of my themes why would you want to re install it on a theme that alredy has it? My sujestion to you is reupload the home.tpl that came with the mellow+ads theme thius is aredy on it

    yeah they will apear on more than one line because you removed the code that keeps them on the same line.
    Also make sure you added the jscroller CSS to style.CSS
    #jscroller2 {
    width: 100%;
    height: 189px;
    overflow: auto;
    }

    #jscroller2 {
    overflow: auto;
    }
    and that you have the javascript in the JS folder.
    you control the height adjustments of the scroller in the CSS not with the featured items boxes this was alredy set perfect for my theme as above

    the scroll bar should be there its because it adds sroll to the page and scroll is like ifame the javascript then hides the iframe and scrolls the content this is because it will Display the Content even with deactivated JavaScript
    Last edited by nay27uk; 26-06-2010 at 08:16 AM.

  3. #14

    Default

    Thanks for your effort. The theme I have I downloaded last year I think from this site and I don't think it had this java script back than. I wanted to change it because the featured items titles weren't displayed right in internet explorer. With the changes I made it works ok so far. Is it too much if I ask you for the code that makes the items show on one row? If it this one

    <marquee behavior='scroll' align='center' direction='left' width='100%' height='188' scrollamount='4' scrolldelay='0' onmouseover='this.stop()' onmouseout='this.start()'>

    everytime I put it back on home.tpl the items stop showing.My home.tpl looks like this now :


    <!-- End Custom Featured -->
    <div align="center">
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <div align="center">
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
    <td>
    <script type="text/javascript" src="{SITEURL}js/jscroller2-1.61.js"></script>
    <div id="jscroller2">
    <div class="jscroller2_left jscroller2_speed-55 jscroller2_dynamic jscroller2_mousemove jscroller2_ignoreleave"><!-- BEGIN featured -->
    <div style="float:left;display:block;width:134px;margin :3px;padding:5px;background:#FFFCAA url('{SITEURL}themes/Mellow+Ads-White/img/feature.png') repeat-x; border: 1px solid #b6b6b6;">
    <div style="display:block; font-size:10px; padding-bottom:3px" align="center"><a href="{SITEURL}item.php?id={featured.ID}">{feature d.TITLE}</a></div>
    <div style="width:99%; border: 1px solid #b6b6b6; background-color:#FFF" align="center">
    <div style="display:block;height:120px;width:120px; padding-top:3px;" align="center"><a href="{SITEURL}item.php?id={featured.ID}" style=" border:0px;"><img src="{featured.IMAGE}" border="0px" style="vertical-align: middle;"/></a></div>
    <div style="display:block;" align="center">{featured.BID}</div>
    </div>
    </div>
    <!-- END featured --></td>
    </tr>
    </table>
    </div></td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    <!-- IF B_AUC_LAST -->


    Sorry for the headackes but I'm just a construction worker , I'm not too good at this. Thanks.

  4. #15
    Senior Member/Coder/Designer nay27uk is on a distinguished road nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    848
    Blog Entries
    1

    Default

    no problem grandpa PM me your email and I will send you all the files you need to make it work fine I will also include a new header.tpl that addresses a whitespace problem

  5. #16

    Default Mod not working in V1

    I just installed the mod perfectly in V1 but it doesn't do anything. Thankfully it isn't crashing anything either so, I'm glad for that.
    Does this mod even work with V1?
    Any help would be appreciated, before I start digging into it. Then I'm sure I will crash my site.
    Version 0.8.5
    Presently trying V 1.0.0
    MySql = 2.8.0.1
    PHP = 5.2.12

  6. #17
    Senior Member/Coder/Designer nay27uk is on a distinguished road nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    848
    Blog Entries
    1

    Default

    Yes it works with version 1.0.0 I have it working on a version I test. usualy it will not work if you have not done either of thease two things

    1) Uploaded the javascript to your WeBid js folder making sure you renamed the downloaded javascript file above to jscroller2-1.61


    2)Added the CSS code above to the end of the style.css for whatever theme you are using

    this is the only two things that will stop it working you may have forgotten both or just one
    Last edited by nay27uk; 19-07-2010 at 10:23 AM.

  7. #18

    Default Bonehead alert!

    OK, I'm a bonehead! It was the file name. Somehow, at three in the morning while working with one eye shut and the other half open, I missed the part where you said "rename the file,......bonehead!". It works just fine. Thanks a million.
    Is there a way to adjust the speed or fluidity of the scroll. On my computer the scrolling seems a bit choppy. Is that my box or the script? It's not a problem at all, nor am I complaining. I just wanna know if it CAN be adjusted.
    Again, thank you very much for your help.

  8. #19
    Senior Member/Coder/Designer nay27uk is on a distinguished road nay27uk's Avatar
    Join Date
    Nov 2009
    Location
    Leicester, UK
    Posts
    848
    Blog Entries
    1

    Default

    no problem the speed can be adjusted in home.tpl look for this code and alter the bit in red to whatever you want

    <div class="jscroller2_left jscroller2_speed-55 jscroller2_dynamic jscroller2_mousemove jscroller2_ignoreleave">

    as for it being chopy I.E the boxes droping in from the top, I have never nbeen able to resolve this

Bookmarks

Posting Permissions

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