Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Any Function To Show Which Variables Are Active On The Current Page? 
 
The programmer guy of my site team ask me if Icy has any function to show which variables are active on the current page, and their content. I'm not a programmer, so I didn't understand him very well, but he left me a couple of pics which show what he meant:

1_anadircodigo

3_debugerconvalores

This is an application of Zikula CMS, so the question is if Icy brings something similar. Anyway, our target is to find the code to show the Online users in a column, instead of a row, in order to set this column on a side frame in the Shoutbox. Any help?

Thanks in advance for your attention.
 




____________
Support Info

Ivory Tower URL: : http://www.torredemarfil.es/foro/ Version: 2.0
 
SarakinSend private message  
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: Any Function To Show Which Variables Are Active On The Current Page? 
 
Icy uses the eXtreme Styles MOD Great MOD by CyberAlien!!!

To include PHP file in templates (TPL) use PHP Code:
Code: [Download] [Hide]
  1. <?php  
  2. Your PHP Code  
  3. ?> 

If you want to include PHP file...
Code: [Download] [Hide]
  1. <?php include($phpbb_root_path . '../my_website/file.php'); ?> 

If you want to include remote PHP file via http you should use function readfile():
Code: [Download] [Hide]
  1. <?php @readfile('http://website/file.php'); ?> 

Remote files are treated as html files, not as php files. And you'd better add @ before function to suppress warning in case if remote file is temporary unavailable.

Test please!
 




____________
ThE KuKa - www.phpBB-Es.COM - Custom Installations phpBB
 
ThE KuKaSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Any Function To Show Which Variables Are Active On The Current Page? 
 
ThE KuKa wrote: [View Post]
Icy uses the eXtreme Styles MOD Great MOD by CyberAlien!!!

To include PHP file in templates (TPL) use PHP Code:
Code: [Download] [Hide]
  1. <?php  
  2. Your PHP Code  
  3. ?> 

Yep, I've been doing some testing with the TPL's and I watched on some templates this codes to use PHP, but I guess this is not what our programmer is seeking for.

Quote:
If you want to include PHP file...
Code: [Download] [Hide]
  1. <?php include($phpbb_root_path . '../my_website/file.php'); ?> 

If you want to include remote PHP file via http you should use function readfile():
Code: [Download] [Hide]
  1. <?php @readfile('http://website/file.php'); ?> 

Remote files are treated as html files, not as php files. And you'd better add @ before function to suppress warning in case if remote file is temporary unavailable.

Maybe this could be useful on another tasks we're planning, but not on this one (if not so, please, tell me how). We only want to know how to find the needed vars or code to show the online users (last 15 minutes) in a column. After that, I guess we'll be able to get the led colour balls to show which ones are more active (like on your PHPbb-es Shoutbox).

We'll try it, of course.
 




____________
Support Info

Ivory Tower URL: : http://www.torredemarfil.es/foro/ Version: 2.0
 
SarakinSend private message  
Back to topPage bottom
Post new topic  Reply to topic  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