Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
etoiledemoon
Hangin' Around



Joined: Apr 29, 2010
Posts: 31

PostPosted: Sun May 02, 2010 6:05 am Reply with quote

Hi

On my old phpnuke , I use internet radio v3 and I install it on raven release
Each time in admin I try to access to setup the radios , I have blank page
and when I activate the block same thing

Any idea ?
This is a great module to add lot of internet radios
can download it here : Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sun May 02, 2010 6:37 am Reply with quote

It uses the old database abstraction layer. http://www.ravenphpscripts.com/postp126352.html#126352 I will look at it today and see if I can convert it .

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
etoiledemoon







PostPosted: Sun May 02, 2010 6:41 am Reply with quote

many thanks in advance
 
nuken







PostPosted: Sun May 02, 2010 12:05 pm Reply with quote

Even with all the $dbi converted to $db, the popup window does not load correctly. Other than that, it seems to function. I will look at the popup file tomorrow and see what I can do.
 
nuken







PostPosted: Mon May 03, 2010 5:28 am Reply with quote

See if this works for you.

http://trickedoutnews.com/nuken/InternetRadioV3.0.zip
 
etoiledemoon







PostPosted: Mon May 03, 2010 6:11 am Reply with quote

awesome work man , it's work in admin , in mainpage & popup works too
Many thanks for your help :clap:
you can check it working on my website

Only registered users can see links on this board! Get registered or login!
 
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Mon May 03, 2010 6:28 am Reply with quote

in the popup.php you can find this deprecated line

Code:
$title = ereg_replace("_", " ", $module_name);


Replace with this one if you want

Code:
$title = preg_replace("/_/", " ", $module_name);



Find this one

Code:
if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); }


Replace with this one

Code:
if (!defined('ADMIN_FILE')) { die ("Access Denied"); }


Find this one

Code:
if (!eregi("modules.php", $PHP_SELF)) {

    die ("You can't access this file directly...");
}


Replace with

Code:
if (!defined('MODULE_FILE')) {

    die ("You can't access this file directly...");
}


Warning!!! It is really important to get rid of deprecated codes in order to be ready for PHP 6, the future.

Nuken, I want to thank you for all your support you have been giving to all users. THANKS A LOT!!! I love the way you work with phpnuke. I love to see how serious you treat nuke files. You rock!!! Very Happy
 
View user's profile Send private message
nuken







PostPosted: Mon May 03, 2010 11:24 am Reply with quote

I agree that planning for the future is important, but php 6 is still a while away. IMO older modules and blocks have way more issues than deprecated warnings to be worried about.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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 ©