phpbb-auction.com Forum Index phpbb-auction.com
Download, Support, Documentation
 
Donate to phpbb-auction.com to support the project


phpbb-Auction
  Home
   - News
   - Bug report/Patches
   - Future Features
  Demo
  Downloads
   - Version 1.3m  (Core /Lang /Mods)
   - Version 1.2m  (Core /Lang /Mods)
   - Version 1.0m  (Core /Lang /Mods)
   - All
  Services
  Documentation
   - Features
   - Documents
   - How-Tos
   - About
  Support
   - English
   - German
  Development
   - Changlog
   - Requests
   - Team
   - CVS
  Community
   - Website of the Month
   - Websites
   - Community Forum
   - Member

Navigation
FAQFAQ
SearchSearch
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesLog in to check your private messages
Log inLog in

Forum
Changing start time auctions
Sun Feb 07, 2010 4:33 am FR
Easy: what code to use to update sql table?
Fri Oct 16, 2009 8:39 am guyb
Unlimited products(downloads)
Wed Oct 14, 2009 7:09 pm hoimyr
Seller chooses currency
Sun Oct 11, 2009 8:00 pm hoimyr
Cant select end date without getting error
Sun Oct 11, 2009 6:43 pm hoimyr

About
Author: FR
Credits:
Brookfresh, Brad Lawryk, Crogon, DaMysterious, EklipzeDesigns, ML, musashi, phpBB Group, phpBB-Auction-Team, php-styles, sanman, Tel, Vampy, wGEric

Supported Sites





Statistics
User: 17722
Posts: 18401
Latest User: ellenjr18

Special Offer Block in EzPortal

 
Post new topic   Reply to topic    phpbb-auction.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Sat Aug 21, 2004 6:50 pm    Post subject: Special Offer Block in EzPortal Reply with quote

ok all ..here is the code that I used to get the special offer block in EzPortal. I am sure that you can add this to what ever page you want Smile .. you can see it at www.venomrc.com .. in the upper right hand corner .. there is a test auction in there right now .. Smile ..


Code:


Open poral.php

Find:

//
// End session management
//

After Add:

    include_once($phpbb_root_path . 'auction/functions_blocks.php');
     include_once($phpbb_root_path . 'auction/functions_general.php');
     include_once($phpbb_root_path . 'auction/auction_constants.php');
     $auction_config_data = init_auction_config();
     includeTickerBlock();
     includeAuctionSpecialBlock();
********* NOTE ***********

If you have the ticker on the portal page than all you need to add is:
includeAuctionSpecialBlock ();

*******END NOTE **********

open /templates/subsilver/portal_body.tpl

find:

      <td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
        </tr>
      </table>
      
      <br />

      <!-- END fetch_post_row -->
      </td></tr></table>
   </td>

   <td valign="top" width="22%">
      <table width="100%" cellspacing="1" cellpadding="1" border="0" align="right"><tr><td>

After add:

               <!-- BEGIN special_block -->
              <table width="100%" cellpadding="1" cellspacing="1" class="forumline">
                    <tr>
                      <th colspan="5" class="thHead">Special Auction Offers</th>
                    </tr>
                    <tr>
                         <td>
                              <table width="100%" cellspacing="0">
                              <!-- BEGIN special_offer_block -->
                                   <tr>
                                        <td class="row1" align="center">
                                             {special_block.special_offer_block.AUCTION_SPECIAL_IMAGE}
                                        </td>
                                        <td class="row1" align="left">
                                             <a href="{special_block.special_offer_block.U_AUCTION_SPECIAL_TITLE}" class="forumlink">{special_block.special_offer_block.AUCTION_SPECIAL_TITLE}</a><br>
                                             <span class="gensmall">ENDS IN: {special_block.special_offer_block.AUCTION_SPECIAL_END}</span>
                                        </td>
                                   </tr>
                              <!-- END special_offer_block -->
                              </table>
                         </td>
                    </tr>
              </table>
              <br />
              <!-- END special_block -->

Save/Close files



Hope this helps ..

This code can be modified to be put anywhere on your board .. Smile ..
_________________
www.venomrc.com

R/C message board and auction dedicated to all types of R/C cars and trucks.
Back to top
View user's profile Send private message
frold
Super Auctioneer
Super Auctioneer


Joined: 16 Feb 2004
Posts: 225

PostPosted: Thu Aug 26, 2004 4:15 pm    Post subject: Reply with quote

this mod doesn´t work on my board
Back to top
View user's profile Send private message
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Thu Aug 26, 2004 4:20 pm    Post subject: Reply with quote

What is it doing? ..

A little information would be great to help you get it running correctly ...

Smile
_________________
www.venomrc.com

R/C message board and auction dedicated to all types of R/C cars and trucks.
Back to top
View user's profile Send private message
frold
Super Auctioneer
Super Auctioneer


Joined: 16 Feb 2004
Posts: 225

PostPosted: Thu Aug 26, 2004 4:26 pm    Post subject: Reply with quote

Solved

a missing:

includeAuctionSpecialBlock();
Back to top
View user's profile Send private message
frold
Super Auctioneer
Super Auctioneer


Joined: 16 Feb 2004
Posts: 225

PostPosted: Thu Aug 26, 2004 5:42 pm    Post subject: Reply with quote

It is not working 100%

The timeleft outout is like - the d is mission:

6 14:02

but should be:

6 d 14:02

Howto fix that?

And btw if you only want to add the speciealblock you don´t need

includeTickerBlock();
Back to top
View user's profile Send private message
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Thu Aug 26, 2004 6:50 pm    Post subject: Reply with quote

Quote:

If you have the ticker on the portal page than all you need to add is:
includeAuctionSpecialBlock ();


Yes I should have cleared that up ... if you do not wish to have the ticker in the portal page .. than you do not need the includeTickerBlock in there ...

I will look into the d see if I cant get that fixed ... my the auction IO used to test it with was only 24 hours .. so ..

good to know .. I will get to work on it ..
_________________
www.venomrc.com

R/C message board and auction dedicated to all types of R/C cars and trucks.
Back to top
View user's profile Send private message
frold
Super Auctioneer
Super Auctioneer


Joined: 16 Feb 2004
Posts: 225

PostPosted: Thu Aug 26, 2004 7:47 pm    Post subject: Reply with quote

thebutler4 wrote:
Quote:

If you have the ticker on the portal page than all you need to add is:
includeAuctionSpecialBlock ();


Yes I should have cleared that up ... if you do not wish to have the ticker in the portal page .. than you do not need the includeTickerBlock in there ...

I will look into the d see if I cant get that fixed ... my the auction IO used to test it with was only 24 hours .. so ..

good to know .. I will get to work on it ..


good luck - I hope you will share it with us.. Very Happy
Back to top
View user's profile Send private message
KlausH
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 25 Aug 2004
Posts: 19

PostPosted: Mon Sep 20, 2004 8:24 am    Post subject: Reply with quote

thebutler4 wrote:
Quote:

If you have the ticker on the portal page than all you need to add is:
includeAuctionSpecialBlock ();


Yes I should have cleared that up ... if you do not wish to have the ticker in the portal page .. than you do not need the includeTickerBlock in there ...

I will look into the d see if I cant get that fixed ... my the auction IO used to test it with was only 24 hours .. so ..

good to know .. I will get to work on it ..


Did you already solved the "d"-problem?
_________________
Gruss

Klaus
Back to top
View user's profile Send private message
frold
Super Auctioneer
Super Auctioneer


Joined: 16 Feb 2004
Posts: 225

PostPosted: Tue Sep 21, 2004 2:51 pm    Post subject: Reply with quote

well the problem is that auction/function_general.php is not getting the lang files - so I have changed:

Find:
Code:
        //$retval="$yy year(s), $dd day(s) $hh:$mm:$ss";
        $retval="$dd" . $lang['auction_day_short']. " $hh:$mm";

Replace:

Code:
        //$retval="$yy year(s), $dd day(s) $hh:$mm:$ss";
        $retval="$dd" .d. " $hh" .h. " $mm" .min."";


The only problem is if your site use more then one lang.... my site doesn´t Very Happy
Back to top
View user's profile Send private message
schnulli
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 25 Nov 2004
Posts: 6

PostPosted: Sun Nov 28, 2004 3:48 pm    Post subject: Reply with quote

we´r also trying to add the ticker on portal page... sry.... nothing works maybe we´r to blind bec. php newbies.

We tryed to use ur tips to work it out but Intergra_mod seams to be a lil diferent from EZ Portal

Anyone can help us out?? pls.....

SN
Back to top
View user's profile Send private message
Crogon
Moderator
Moderator


Joined: 17 May 2004
Posts: 574
Location: Anywhere I'm needed.. which is usually everywhere. ;)

PostPosted: Sun Dec 05, 2004 5:22 am    Post subject: Reply with quote

schnulli - kindly don't double post. That question belongs in support, where you put the other post. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpbb-auction.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


phpbb-auction.com - Developed by www.digital-media-lab.com
Sponsored by: www.globibo.com - www.learn2go.de - www.talentone.org - www.language-school.in - www.ping-ke.cn