andromeda18_
New Member


Joined: Jun 17, 2009
Posts: 3
|
Posted:
Fri Jul 03, 2009 9:32 pm |
|
Hi!
I'm having some problems getting NukeFace v.3.0 to work properly and I was wondering if anybody here could give me a hand.
According to the instructions I had to:
Quote: | Install:
1.upload files but don't upload these files
language/lang-chinese.txt (open and add the translation to lang-chinese.php)
language/lang-english.txt (open and add the translation to lang-english.php)
sql/friendfinder.sql
UpGrade12x-130/
2.login as admin to friendfinder area and install and edit settings.
If you want to use Highlight function,you need to do step 3 and step 4.
3.open header.php
find line 30 and change to
global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4,$highlightcolor, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
4.Open themes/whatthemename/theme.php
Add
$highlightcolor="yellow"; // you can set it as yellow or other color.
after the line
$textcolor2 = "#000000";
5. Open admin/modules/stories.php( Mine is PHP-NUKE6.5)
Find the line 916 :
global $aid, $ultramode,$user_prefix, $prefix, $dbi;
After the line add:
$result = sql_query("select articleaddpoints from ".$user_prefix."_ff_config", $dbi);
$ffconfig = sql_fetch_array($result, $dbi);
sql_query("update ".$user_prefix."_user_profile2 set points=points+$ffconfig[articleaddpoints] where ffusername='$author'",$dbi);
6. Open admin/modules/City_Dating.php if you have
change
function approve_dating($id){
...
}
to
function approve_dating($id){
global $prefix,$user_prefix,$dbi;
$resultx=sql_query("select username from ".$prefix."_City_Dating where id='$id'",$dbi);
$row=sql_fetch_array($resultx,$dbi);
$result = sql_query("select partyaddpoints from ".$user_prefix."_ff_config", $dbi);
$ffconfig = sql_fetch_array($result, $dbi);
sql_query("update ".$prefix."_City_Dating set approved='1' where id='$id'",$dbi);
sql_query("update ".$user_prefix."_user_profile2 set points=points+$ffconfig[partyaddpoints] where ffusername='$row[username]'",$dbi);
Header("Location: admin.php?op=city_dating");
}
7.Use the Your_Account module for FriendFinder2.5, it can be downloaded from syber.hk.st for free.
8.Chmod the folders:
modules/FriendFinder/images/members
modules/FriendFinder/images/members/thumbs
modules/FriendFinder/membervoices
777.
9.add a variable in your config.php
$admin_file="admin";
After
$subscription_url = ""; |
I had no problems with steps 1, 2, 8 and 9 but when I try to access the NukeFace module on my website all I get is a blank page.
Steps 3 and 4 are optional so I skipped to step 5 but the problem is I can't find admin/modules/stories.php. I don't have admin/modules/City_Dating.php either.
Then, on step 7 it says to "Use the Your_Account module for FriendFinder2.5" but that module is nowhere to be found. I wonder if that's why I'm getting a blank page...
Can anybody please help me? I'm trying to create a social networking website so I really need to get this module working.
By the way, I believe I should let you know that I'm a complete noob when it comes to this. |
|
|
nuken
RavenNuke(tm) Development Team

Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sat Jul 04, 2009 8:36 am |
|
That module will probably need quite a bit of modification to work with RavenNuke. RavenNuke is using a different Your Account from the typical PHPNuke one. Plus I would also assume it is using the old $dbi layer which would also need work done on it to work with RN.
Edit: I just browsed over Nukeface 3.0 and it does appear to be using the correct $db and not the $dbi, so that is one less thing to worry about. Also I notice in the modifications to other modules, the instructions say Quote: | To Improve Security Level,Please Open config.php
FIND:
$subscription_url = "";
And Add after that:
//IF you are not using PHPNUKE 7.6 Add this line
$admin_file="admin";
//To improve security level, Add this line:
define('IN_MODULE',ture);
Also Open admin.php
ADD :
//To improve security level, Add this line:
define('IN_ADMIN',ture);
After | I would assume that should be true and not ture. |
_________________ Only registered users can see links on this board! Get registered or login! |
|