Author |
Message |
zacklk
Regular


Joined: Mar 06, 2010
Posts: 79
|
Posted:
Sat Apr 24, 2010 12:37 am |
|
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.
http://www.sendspace.com/file/v7tx9s
please help. |
|
|
|
 |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm

Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Sat Apr 24, 2010 7:54 am |
|
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
http://www.ravenphpscripts.com/postt16627.html |
|
|
|
 |
zacklk

|
Posted:
Sat Apr 24, 2010 8:25 am |
|
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. |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Sat Apr 24, 2010 8:32 am |
|
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. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
hicuxunicorniobestbuildpc

|
Posted:
Sat Apr 24, 2010 8:53 am |
|
Am I missing something here Palbin?
Isnt this old abstraction?
Instead of
global $dbi
Should be
global $db |
|
|
|
 |
Palbin

|
Posted:
Sat Apr 24, 2010 9:00 am |
|
I didn't see that globalization, but all the db calls use $db->. I think all the issues are CSS related. |
|
|
|
 |
hicuxunicorniobestbuildpc

|
Posted:
Sat Apr 24, 2010 9:23 am |
|
In the plugin folder there are some files which have that globalizacion. |
|
|
|
 |
zacklk

|
Posted:
Fri May 07, 2010 2:56 am |
|
so is there no way to fix this issue? |
|
|
|
 |
maribelajar
New Member


Joined: Oct 17, 2007
Posts: 2
|
Posted:
Wed May 12, 2010 12:56 pm |
|
|
|
 |
|