Author |
Message |
shimshon
Hangin' Around

Joined: Sep 25, 2005
Posts: 48
|
Posted:
Sun Aug 27, 2006 2:22 pm |
|
Tried to install that block but it doesn't work!
It's on the right side on the bottom at www.shimshon9.com
Thanks |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Sun Aug 27, 2006 3:47 pm |
|
well i think you uploaded the wrong folder,check your install....
and is the module uploaded and active? |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 9:09 am |
|
I loaded them up to the right folder but I think my problem is this:
Quote: | edit index.php. On or about line 24
[FIND]
$home = 1;
[INSERT AFTER]
/////////////////
include_once('includes/RWH_wiw.inc.php');
/////////////////
edit modules.php. On or about line 22
[FIND]
$name = trim($name);
[INSERT AFTER]
/////////////////
include_once('includes/RWH_wiw.inc.php');
///////////////// |
I don't have the lines in index or in modules where I have to insert something after! |
|
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 11:44 am |
|
well i see your using ravennuke...
You did created the table...?
so in your root.....open up modules.php
at the beginning you see ..
define('MODULE_FILE', true);
require_once("mainfile.php");
$module = 1;
$name = trim($name); < < <
You see ? ^ ^ ^
So after that line put :
include_once('includes/RWH_wiw.inc.php');
As for the index.php
put
include_once('includes/RWH_wiw.inc.php');
after
define('HOME_FILE', true);
Try that.... |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 11:53 am |
|
I have the table and I did as you said.
It is not working.
I double checked the files I uploaded and they are ok.
Don't know whats wrong. |
Last edited by shimshon on Mon Aug 28, 2006 11:57 am; edited 1 time in total |
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 11:57 am |
|
open up your block and put your whole www addresss in the frame..
try that.. |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 12:00 pm |
|
What do you mean? With admin?
Which Frame? |
|
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 12:03 pm |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 12:07 pm |
|
I have it twice. Should I replace both? |
|
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 12:10 pm |
|
do us both a favor and pm me a temp ftp login so i can help you better with this.. |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 12:13 pm |
|
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 12:16 pm |
|
hallo,
i need the FTP login...
Not your Vdeck host panel.. |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 1:00 pm |
|
Thanks,
It's working now! What did you do?
Now I just have to change the fonts. Will read the posts about that. |
|
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 1:00 pm |
|
ok solved and working..
you did messed it up a bit....
but its fine now.. |
|
|
|
 |
shimshon

|
Posted:
Mon Aug 28, 2006 1:11 pm |
|
Great.
Now I just have to fix the Fonts problem. Looked at the Sticky Post about it and it seems to be quite a challenge - for tomorrow.... |
|
|
|
 |
hitwalker

|
Posted:
Mon Aug 28, 2006 1:39 pm |
|
its working so good luck...
the rest shouldnt be to difficult..  |
|
|
|
 |
LaMpiR
Regular


Joined: Oct 31, 2004
Posts: 50
|
Posted:
Thu Aug 31, 2006 3:54 pm |
|
I have problem also. I've installed it, didn't find the lines in readme so find similar ones like this
modules.php
Quote: | define('MODULE_FILE', true);
require_once("mainfile.php");
if (isset($name) && $name == $_REQUEST['name']) {
$name = addslashes(trim($name));
include_once('includes/RWH_wiw.inc.php'); |
index.php
Quote: |
require_once("mainfile.php");
global $prefix, $db, $admin_file;
if (isset($op) AND ($op == "ad_click") AND isset($bid)) {
$bid = intval($bid);
$sql = "SELECT clickurl FROM ".$prefix."_banner WHERE bid='$bid'";
$result = $db->sql_query($sql);
list($clickurl) = $db->sql_fetchrow($result);
$clickurl = filter($clickurl, "nohtml");
$db->sql_query("UPDATE ".$prefix."_banner SET clicks=clicks+1 WHERE bid='$bid'");
update_points(21);
Header("Location: ".addslashes($clickurl));
die();
}
$modpath = '';
define('MODULE_FILE', true);
$_SERVER['PHP_SELF'] = "modules.php";
$row = $db->sql_fetchrow($db->sql_query("SELECT main_module from ".$prefix."_main"));
$name = $row['main_module'];
define('HOME_FILE', true);
include_once('includes/RWH_wiw.inc.php');
if (isset($url) AND is_admin($admin)) {
Header("Location: $url");
die();
} |
Problem is that my block shows
Only registered users can see links on this board! Get registered or login!
and from phpMyAdmin i see this
Only registered users can see links on this board! Get registered or login!
I tried to do the same thing
ofc changed my website
I am using 7.9 with patch from nukescripts.com, think i have latest version |
|
|
|
 |
hitwalker

|
Posted:
Thu Aug 31, 2006 5:08 pm |
|
and the problem is?
It shows who's online... no? |
|
|
|
 |
LaMpiR

|
Posted:
Fri Sep 01, 2006 10:33 am |
|
hitwalker wrote: | and the problem is?
It shows who's online... no? |
No, it doesn't. See the mysql table. That user isn't even listed in mysql! |
|
|
|
 |
|