Quote:
|
Originally Posted by IACOJ
Ok I know I said I would leave it alone, but I think I'm hooked now
What about this?
Code:
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$aid\">$informant</a> ";
} else {
$content = "$anonymous ";
}
I know you said uid, but I put aid in there because there was already an "if" command in there. This is from subSystem theme.php btw
Am I way off on this? If I am I promise I wont bug you about it anymore.
|
That will just produce a broken link.
The same method of change you are trying to apply there is sort of the same method used to point the links of the users in the User Info block to the Forums profile. Look at the code in the phpBB User info block from our downloads to get more of an idea.
One reason we opted to stay away from the code you are messing with there is because that affects the NEWS in Nuke. That is why we use our phpBB fetch all news on our site instead of Nuke's NEWS module. We wanted to hack the least amount of code as possible.
It all goes back to our themes. WE change so many themes all the time that any code changes may not stay in effect each time we change, thus we decided to stick to mostly stock parts of Nuke in order to eliminate problems when we change themes.
But, as for your situation, you are right on track. Keep plugging away..you'll figure it out.
mikem
mikem
mikem
did I actually type my name threee times..WOW..I better go to bed :?