PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Sat Apr 24, 2010 12:37 am Reply with quote Back to top

I had video stream in my php-nuke 8.0. but when i added da same module to raven nuke layout tables going crazy. i mean its not where its supposed to be. if someone can help me to fix this i really appreciate it. tnx in advance. i only need the fix in watch.php, random videos thumbs.


here is the link to module.
Only registered users can see links on this board!
Get registered or login to the forums!


please help.
View user's profile Send private message
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 410

PostPosted: Sat Apr 24, 2010 7:54 am Reply with quote Back to top

Hi zacklk

Of course it is going to be crazy. This module still use old abstraction. RavenNuke is using the new abstraction $db and other new things


Code:
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
   die ("You can't access this file directly...");
}
global $dbi, $user, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;


I just open one file from the plugin folder.

Change to

Code:
if ( !defined('MODULE_FILE') )
{
    die('You can\'t access this file directly...');
}

global $db, $user, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4;


If you want I can make it compatible with RavenNuke but you need to give me time. I need to change some things so you dont get errors.

Source
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Sat Apr 24, 2010 8:25 am Reply with quote Back to top

ok thank you. take your time. this module is very impotent for me. coz there is lot of hits for this. thanks again for helping me out.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Sat Apr 24, 2010 8:32 am Reply with quote Back to top

unicornio wrote:
Hi zacklk

Of course it is going to be crazy. This module still use old abstraction. RavenNuke is using the new abstraction $db and other new things



It does not use the old db layer.
View user's profile Send private message Visit poster's website
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 410

PostPosted: Sat Apr 24, 2010 8:53 am Reply with quote Back to top

Am I missing something here Palbin?

Isnt this old abstraction?

Instead of

global $dbi

Should be

global $db
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Sat Apr 24, 2010 9:00 am Reply with quote Back to top

I didn't see that globalization, but all the db calls use $db->. I think all the issues are CSS related.
View user's profile Send private message Visit poster's website
unicornio
Involved
Involved


Joined: Aug 13, 2009
Posts: 410

PostPosted: Sat Apr 24, 2010 9:23 am Reply with quote Back to top

In the plugin folder there are some files which have that globalizacion.
View user's profile Send private message
zacklk
Regular
Regular


Joined: Mar 06, 2010
Posts: 79

PostPosted: Fri May 07, 2010 2:56 am Reply with quote Back to top

so is there no way to fix this issue?
View user's profile Send private message
maribelajar
New Member
New Member


Joined: Oct 17, 2007
Posts: 2

PostPosted: Wed May 12, 2010 12:56 pm Reply with quote Back to top

Hi,

You can try this
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum