Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Create a new block from .php files 
 
Hi !

I 'm looking to find a way to create a new block that will be possible to add it from cms...

But i would like to use a lot of things defined at forum.php

Is it possible to find a way of include them all? and not individually?

Thanks
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
there is the way to create blocks through cms.
 0004
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
but... i cannot use for ej: {BOT_LIST} if i create a block via cms...
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 


but you can create tpl file for bots

 infoforzuker
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
i didn't understand you difus...

you told me to use cms system and then to create a tpl file  
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
create file and add through cms  

yes yes I understand you now

you want cms like bbcode or html or php [three options]

testo2

 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create A New Block From .php Files 
 
very very useful the php featur
 



 
sonoangeloSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
no difus,

here is the answer

http://www.e-tegra.com/forum/kb.php...e_num=3&start=0
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create A New Block From .php Files 
 
Maybe, I can help you.
Take a look here: h**p://***.icyphoenix.com/viewtopic.php?t=1213.
I have made a .php-file (blocks_imp_meeting.php) and upload it in {phpbb-root}/blocks
and a .tpl-file (meeting_block.tpl) and upload this in {phpbb-root}/templates/{template}/blocks.

Afterwards I have add the block to the cms and it workes.

I think you can definate {BOT_LIST} in a tpl-file in {phpbb-root}/templates/{template}/blocks.
 



 
JohnGFSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
yes... i know that creating a new block and defining each variable i need will work, but i ask if there is a way of including all  forum.php in a simple way
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
zuker while forum.php
include all ip.php

[joke]
LOL

sorry

sorry I don't know
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
no problem difus
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
Zuker at the moment I still don't have the time to create such a tutorial for Icy Phoenix.

Should be easiest for you to duplicate index.php or index_empty.php and add there the code needed for you.

It is not suitable creating big blocks, it should be better to add blocks to forum page in this case...

For the moment I can just state that you need to specify the global vars to be able to use them.

When I have some free time I'll try to create a block for the forum.

P.S.: you can have a look to ajax_chat block to see what I've done to include that page in a block.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a new block from .php files 
 
Mighty Gorgon wrote: [View Post]
Zuker at the moment I still don't have the time to create such a tutorial for Icy Phoenix.

Should be easiest for you to duplicate index.php or index_empty.php and add there the code needed for you.

It is not suitable creating big blocks, it should be better to add blocks to forum page in this case...

For the moment I can just state that you need to specify the global vars to be able to use them.

When I have some free time I'll try to create a block for the forum.

P.S.: you can have a look to ajax_chat block to see what I've done to include that page in a block.


Thanks luca, i'll take a look

at the moment, 've add it to nav bar
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events