Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> For Hire
Author Message
jumus
Hangin' Around



Joined: Jul 15, 2008
Posts: 30

PostPosted: Wed Jul 16, 2008 2:48 pm Reply with quote

I have a file which is connecting to a different website db and retrieve on daily basis (same data every year) data and display them on joomla site.
The module only displays needed information in Joomla.
I would like to make it work for our beloved PHPNUKE so I can use it on my site.
If interested to work on this block used for religious purposes, please let me know .
Here is the link where it is located:

http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2970/Itemid,35/

Again thanks
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Wed Jul 16, 2008 10:03 pm Reply with quote

You can do this yourself pretty easily if you like.

First, using IE (Firefox doesn't work for some reason), go here to create the code based on your location, preferences, etc.

Then, copy the /blocks/block-Sample_Block.php to something like /blocks-Prayer_Times.php.

Edit that file, and paste the code from the website in the content variable. Save it, then activate the block.

Here's a sample I created (note that this will only work with RavenNuke or maybe a patched site):
Code:
<?php


/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if ( !defined('BLOCK_FILE') ) {
    Header('Location: ../index.php');
    die();
}

$content = '
<iframe src="http://www.islamicfinder.org/prayer_service.php?country=usa&city=miami&state=FL&zipcode=&latitude=25.7738&longitude=-80.1936&timezone=-5&HanfiShafi=1&pmethod=5&fajrTwilight1=10&fajrTwilight2=10&ishaTwilight=10&ishaInterval=30&dhuhrInterval=1&maghribInterval=1&dayLight=1&page_background=&table_background=&table_lines=&text_color=&link_color=&prayerFajr=&prayerSunrise=&prayerDhuhr=&prayerAsr=&prayerMaghrib=&prayerIsha=&lang=" frameborder=0 width=175 height=280 marginwidth=0 marginheight=0 scrolling="no"> </iframe>
';

?>

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> For Hire

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©