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: 17924
Posts: 18401
Latest User: Kennethbet

ticker in overall_header for MX-Portal
Goto page 1, 2  Next
 
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: Wed Aug 18, 2004 7:34 pm    Post subject: Reply with quote

I know .. I am a pain in the butt ... lol .. But

The ticker no longer works on the overall header ... is there a new ticker code that we need to install to get this working again? ... or just a change in the current code? ... I would like to get that working again ...

Thanks!
Back to top
View user's profile Send private message
FR
Site Admin
Site Admin


Joined: 26 Jan 2004
Posts: 1764
Location: root directory

PostPosted: Wed Aug 18, 2004 7:50 pm    Post subject: Reply with quote

ok mr. pain Laughing

there was a change in the ticker, as i want to get the php clean of all html thingies.

change the code in the overall_header.tpl to the following

Quote:
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<!-- BEGIN ticker_block -->
<tr>
<th colspan="5" class="thHead">{ticker_block.L_OFFER_TICKER}</th>
</tr>
<tr>
<td colspan="5" height="28" align="center" class="row1"><marquee direction="left" scrollamount="3" >
<!-- BEGIN ticker_block_offer -->
<a href="{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_URL}" class="gensmall">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER}</a>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR2}">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_FIRST}</font></span>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR3}">( {ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_LAST} )</font></span>
<span class="gensmall">&nbsp;&nbsp;&nbsp;</span>
<!-- END ticker_block_offer -->
</marquee></td>
</tr>
<!-- END ticker_block -->
</table>


Please give me a feedback on that one. It has the potential of getting a sticky one... Wink
_________________
Want to say thank you. Use my Amazon Wishlist
Meet the world on movie-on.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Wed Aug 18, 2004 7:56 pm    Post subject: Reply with quote

That seems to have fixed it! .. looks good ..

Thank you!!! .. I really hope this will attract users to my board ... Smile ..

Nice work!
Back to top
View user's profile Send private message
FR
Site Admin
Site Admin


Joined: 26 Jan 2004
Posts: 1764
Location: root directory

PostPosted: Wed Aug 18, 2004 8:13 pm    Post subject: Reply with quote

if you have some time, can you post the other changes you have made.
(probably in page_header.php)
That would help to prepare a full article how to perform this action.

(if you prepare the full article you can add a demo-link to your board.... hehehe - isnt that an incentive.. Laughing )
_________________
Want to say thank you. Use my Amazon Wishlist
Meet the world on movie-on.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Wed Aug 18, 2004 8:30 pm    Post subject: Reply with quote

I can do that .. Smile ...

I am currently running MX-Portal and it was a pain to get running in there being the portal is in another dir on the server than phpbb ...

I can write up how I did it though .. Smile ..
Back to top
View user's profile Send private message
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Wed Aug 18, 2004 9:04 pm    Post subject: Reply with quote

ok done ... where do you want me to send it? ...
Back to top
View user's profile Send private message
FR
Site Admin
Site Admin


Joined: 26 Jan 2004
Posts: 1764
Location: root directory

PostPosted: Thu Aug 19, 2004 6:51 am    Post subject: Reply with quote

thebutler4 wrote:
ok done ... where do you want me to send it? ...

just post it here - that everybody can see/test it. If it is working for others we can even make a mod out of it. Very Happy
_________________
Want to say thank you. Use my Amazon Wishlist
Meet the world on movie-on.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Thu Aug 19, 2004 7:01 am    Post subject: Reply with quote

Can you deleate that last one? .. it posted as guest ... lol .. anyhow .. here is the code ....


Code:

#####################################################################################
##
## MOD Title:       Auction Ticker on MX-Portal
## MOD Author:       Thebutler4 (www.venomrc.com)
## MOD Description:    This will ad the ticker to the overall header for MX-Portal
## MOD Version:    -
##
## Installation Level:    easy
## Installation Time:   till your done
##
## Requirements:   phpBB-Auction 1.2m
##         running phpBB 2.0.x (lastest version recommended)
##         MX-Portal 2.7.x (latest version recommended)
##         
##
## Tested with:      My own Message board (www.venomrc.com)
##
## Files To Edit:    /path to MX-portal/includes/page_header.php
##         /path to MX-portal/templates/{whatever template you are running}/overall_header.tpl
##         /path to phpbb/auction/functions_blocks.php
##
##
## Included Files:    None
##
#####################################################################################
##
## Before Adding This MOD To Your Forum, You Should Back Up All Files
## Related To This MOD
##
#####################################################################################
##
## Author Notes:
##
##   Dont blame me if your computer blows up. Use this mod at your own risk.
##      This is what I did to get the ticker working on the overall_header for
##      the MX-Portal.
##
##   All the paths are assumed to be:   
##   MX-Portal 2.7.x = /Portal
##      phpBB 2.0.x     = /phpbb
##   
##   
##   
##
#####################################################################################
##
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the author listed above.
##
#####################################################################################

#####################################################################################
## Open /portal/includes/page_header.php
##
## Find:

define('HEADER_INC', TRUE);

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/functions_validate.php');
include_once($phpbb_root_path . '/auction/auction_constants.php');
$auction_config_data = init_auction_config();
includeTickerBlock();

#####################################################################################
## Open /portal/templates/subsilver/overall_header.tpl
##
## Find:

<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
      <!-- END switch_user_logged_in -->
      <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

#####################################################################################
##
## After add:

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<!-- BEGIN ticker_block -->
<tr>
<th colspan="5" class="thHead">Current Auctions{ticker_block.L_OFFER_TICKER}</th>
</tr>
<tr>
<td colspan="5" height="28" align="center" class="row1"><marquee direction="left" scrollamount="3" >
<!-- BEGIN ticker_block_offer -->
<a href="{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_URL}" class="gensmall">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER}</a>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR2}">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_FIRST}</font></span>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR3}">( {ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_LAST} )</font></span>
<span class="gensmall">&nbsp;&nbsp;&nbsp;</span>
<!-- END ticker_block_offer -->
</marquee></td>
</tr>
<!-- END ticker_block -->
</table>

####################################################################################
## Open /phpbb/auctions/functions_blocks.php
##
## Find:

                               'AUCTION_TICKER_OFFER_URL' => append_sid("auction_offer_view.php?" . POST_AUCTION_OFFER_URL . "=" . $ticker_information['PK_auction_offer_id']),

## find inline:

append_sid("auction_offer_view.php?"


## Replace with:

append_sid("../phpbb/auction_offer_view.php?"

#####################################################################################

## Save/Close all files.
Back to top
View user's profile Send private message
FR
Site Admin
Site Admin


Joined: 26 Jan 2004
Posts: 1764
Location: root directory

PostPosted: Thu Aug 19, 2004 7:31 am    Post subject: Reply with quote

I adjusted it to the phpBB-standards.
Is the ticker still working for the auction itself? Because you were changing the path.

Code:
#####################################################################################
##
## MOD Title:       Auction Ticker on MX-Portal
## MOD Author:       Thebutler4 (www.venomrc.com)
## MOD Description:    This will ad the ticker to the overall header for MX-Portal
## MOD Version:    -
##
## Installation Level:    easy
## Installation Time:   till your done
##
## Requirements:   phpBB-Auction 1.2m
##         running phpBB 2.0.x (lastest version recommended)
##         MX-Portal 2.7.x (latest version recommended)
##         
##
## Tested with:      My own Message board (www.venomrc.com)
##
## Files To Edit:    /path to MX-portal/includes/page_header.php
##         /path to MX-portal/templates/{whatever template you are running}/overall_header.tpl
##         /path to phpbb/auction/functions_blocks.php
##
##
## Included Files:    None
##
#####################################################################################
##
## Before Adding This MOD To Your Forum, You Should Back Up All Files
## Related To This MOD
##
#####################################################################################
##
## Author Notes:
##
##   Dont blame me if your computer blows up. Use this mod at your own risk.
##      This is what I did to get the ticker working on the overall_header for
##      the MX-Portal.
##
##   All the paths are assumed to be:   
##   MX-Portal 2.7.x = /Portal
##      phpBB 2.0.x     = /phpbb
##   
##   
##   
##
#####################################################################################
##
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the author listed above.
##
#####################################################################################


#
#-----[ OPEN ]------------------------------------------
#
/portal/includes/page_header.php


#
#-----[ FIND ]------------------------------------------
#
define('HEADER_INC', TRUE);


#
#-----[ 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/functions_validate.php');
include_once($phpbb_root_path . '/auction/auction_constants.php');
$auction_config_data = init_auction_config();
includeTickerBlock();

#
#-----[ OPEN ]------------------------------------------
#
/portal/templates/subsilver/overall_header.tpl


#
#-----[ FIND ]------------------------------------------
#

<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
      <!-- END switch_user_logged_in -->
      <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

#
#-----[ AFTER, ADD ]------------------------------------------
#

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<!-- BEGIN ticker_block -->
<tr>
<th colspan="5" class="thHead">Current Auctions{ticker_block.L_OFFER_TICKER}</th>
</tr>
<tr>
<td colspan="5" height="28" align="center" class="row1"><marquee direction="left" scrollamount="3" >
<!-- BEGIN ticker_block_offer -->
<a href="{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_URL}" class="gensmall">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER}</a>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR2}">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_FIRST}</font></span>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR3}">( {ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_LAST} )</font></span>
<span class="gensmall">&nbsp;&nbsp;&nbsp;</span>
<!-- END ticker_block_offer -->
</marquee></td>
</tr>
<!-- END ticker_block -->
</table>

#
#-----[ OPEN ]------------------------------------------
#

/phpbb/auctions/functions_blocks.php


#
#-----[ FIND ]------------------------------------------
#

                               'AUCTION_TICKER_OFFER_URL' => append_sid("auction_offer_view.php?" . POST_AUCTION_OFFER_URL . "=" . $ticker_information['PK_auction_offer_id']),

#
#-----[ IN-LINE FIND ]------------------------------------------
#

append_sid("auction_offer_view.php?"


#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
append_sid("../phpbb/auction_offer_view.php?"


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

_________________
Want to say thank you. Use my Amazon Wishlist
Meet the world on movie-on.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Thu Aug 19, 2004 7:55 am    Post subject: Reply with quote

Yes the ticker was still working great! ...

I do want to let you know that I dumped MX-Portal .. and went back to EzPortal .. but this DOSE work .. Smile ..
Back to top
View user's profile Send private message
FR
Site Admin
Site Admin


Joined: 26 Jan 2004
Posts: 1764
Location: root directory

PostPosted: Thu Aug 19, 2004 9:18 am    Post subject: Reply with quote

ill move that into the development forum.
we need some testing on it-
_________________
Want to say thank you. Use my Amazon Wishlist
Meet the world on movie-on.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Thu Aug 19, 2004 9:25 am    Post subject: Reply with quote

Sweet ,.. Smile .. my first mod .. Smile ..

I can also write one up for setting it up on the EzPortal ... although its quite simple ... but it may help someone .. Smile ..

you can also view it at www.venomrc.com ..
Back to top
View user's profile Send private message
FR
Site Admin
Site Admin


Joined: 26 Jan 2004
Posts: 1764
Location: root directory

PostPosted: Thu Aug 19, 2004 9:27 am    Post subject: Reply with quote

(nice page btw)

looks like it is working perfectly on your page. let us see what others experience. if it is working you can submit it to our mod-database on php-styles.com
_________________
Want to say thank you. Use my Amazon Wishlist
Meet the world on movie-on.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
thebutler4
Small-Cap Auctioneer
Small-Cap Auctioneer


Joined: 11 Aug 2004
Posts: 45

PostPosted: Thu Aug 19, 2004 9:32 am    Post subject: Reply with quote

FR wrote:
(nice page btw)

looks like it is working perfectly on your page. let us see what others experience. if it is working you can submit it to our mod-database on php-styles.com


Thanks!

I am still building the site .. like I said .. for some reason MX-Portal took over my baord .. and there is bascally 0 support for it on there site .. so .. I had to deleate all my files and start over ...

The one are you looking at right now is the EzPortal ...
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 19, 2004 9:52 am    Post subject: Reply with quote

Here is the code that I used to get the ticker on the portal page of the Smarter EzPortal

Code:

#####################################################################################
##
## MOD Title:       Auction Ticker on EzPortal
## MOD Author:       Thebutler4 (www.venomrc.com)
## MOD Description:    This will ad the ticker Block to smarter EzPortal
## MOD Version:    -
##
## Installation Level:  easy
## Installation Time:   till your done
##
## Requirements:   phpBB-Auction 1.2m
##         running phpBB 2.0.x (lastest version recommended)
##         ExPortal (lastest version recommended)
##         
##
## Tested with:      My own Message board (www.venomrc.com)
##
## Files To Edit:    /portal.php
##         /Templates/subsilver/portal.tpl
##         /phpbb/auction/functions_blocks.php
##
##
## Included Files:    None
##
#####################################################################################
##
## Before Adding This MOD To Your Forum, You Should Back Up All Files
## Related To This MOD
##
#####################################################################################
##
## Author Notes:
##
##   Dont blame me if your computer blows up. Use this mod at your own risk.
##      This is what I did to get a ticker blobk working for EzPortal
##     
##
##   All the paths are assumed to be:   
##      phpBB 2.0.x     = /phpbb
##   
##   
##   
##   
##
#####################################################################################
##
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the author listed above.
##
#####################################################################################


#
#-----[ OPEN ]------------------------------------------
#
/portal.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/functions_validate.php');
include_once($phpbb_root_path . '/auction/auction_constants.php');
$auction_config_data = init_auction_config();
includeTickerBlock();

#
#-----[ OPEN ]------------------------------------------
#
/templates/subsilver/portal_body.tpl


#
#-----[ FIND ]------------------------------------------
#
      <!-- BEGIN welcome_text -->

#
#-----[ Before, ADD ]------------------------------------------
#

<!-- BEGIN ticker_block -->
<tr>
<!-- <th colspan="5" class="catHead">Current Auctions{ticker_block.L_OFFER_TICKER}</th> -->
<td class="catHead" height="25"><span class="genmed"><b>Current Auctions</b></span></td>
</tr>
<tr>
<td colspan="5" height="28" align="center" class="row1"><marquee direction="left" scrollamount="3" >
<!-- BEGIN ticker_block_offer -->
<a href="{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_URL}" class="gensmall">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER}</a>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR2}">{ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_FIRST}</font></span>
<span class="gensmall"><font color="{ticker_block.AUCTION_TICKER_FONT_COLOR3}">( {ticker_block.ticker_block_offer.AUCTION_TICKER_OFFER_LAST} )</font></span>
<span class="gensmall">&nbsp;&nbsp;&nbsp;</span>
<!-- END ticker_block_offer -->
</marquee></td>
</tr>
<!-- END ticker_block -->
</table>
#
#-----[ OPEN ]------------------------------------------
#

/phpbb/auctions/functions_blocks.php

#
#-----[ FIND ]------------------------------------------
#

                               'AUCTION_TICKER_OFFER_URL' => append_sid("auction_offer_view.php?" . POST_AUCTION_OFFER_URL . "=" . $ticker_information['PK_auction_offer_id']),

#
#-----[ IN-LINE FIND ]------------------------------------------
#

append_sid("auction_offer_view.php?"


#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
append_sid("../phpbb/auction_offer_view.php?"

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#


I hope this will help someone out .. if you notice this will add a new block in the portal.php so that you dont get 2 tickers on the auction.php ...

This will NOT add the ticker in your overall_header.tpl ... Personally I dident like that anyway .. Very Happy
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
Goto page 1, 2  Next
Page 1 of 2

 
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