| Author |
Message |
Mister
Nuke Cadet


Joined: Mar 05, 2003
Posts: 4
|
Posted:
Wed Mar 05, 2003 1:15 pm |
  |
Hi,
I' ve installated block forums.. on nuke 6.... works correctly, but don't show the name of user....
Ex: Last post by in Off-Topic on Mar 05, 2003 at 15:36:38
Could you help me??
Thanks.. Mister
Sorry for my bad eng. |
|
|
   |
 |
FHFGhost
Lieutenant


Joined: Jan 26, 2003
Posts: 279
Location: Huntsville, AL
|
Posted:
Mon Mar 10, 2003 12:50 pm |
  |
Is your forums standalone or ported.
Check the block-forums.php file, search for a word
uname and uid
if you find those you need to change them to username and user_id.
Make sure you back up your files before doing this. |
_________________ "I don't know what the key to success is, but the key to failure is trying to please everybody"..Bill Cosby
 |
|
      |
 |
Imago
Captain


Joined: Jan 17, 2003
Posts: 629
Location: Europe
|
Posted:
Mon Mar 10, 2003 1:10 pm |
  |
And vice versa, if the nuke version is 6.0, as it seems to me.
To Paul:
The link to the Forum in the block-Forums is the only one following the old standard (with pure ampersands). It would be nice if you change it to conform to the link in the GT header.php |
|
|
    |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Mon Mar 10, 2003 2:34 pm |
  |
| FHFGhost wrote: |
Is your forums standalone or ported.
Check the block-forums.php file, search for a word
uname and uid
if you find those you need to change them to username and user_id.
Make sure you back up your files before doing this. |
FHFGhost. If he were to change the variable names to username and user_id in Nuke 6.0 it'd work even less than it does already.
The variables in the SQL lines wiht the _users table as the search table need to be uid and uname
AI |
|
|
   |
 |
FHFGhost
Lieutenant


Joined: Jan 26, 2003
Posts: 279
Location: Huntsville, AL
|
Posted:
Mon Mar 10, 2003 8:31 pm |
  |
Well then I'm confused, cuz mine is PHPNuke 6.0 with stand alone phpbb and my tables in phpbb2 tables are like that:
username
user_id
Now my phpnuke users table is listed as
uname
uid
Now if he correclty integrated the phpbb2 forums into phpnuke using the bbtonuke portal then yes his tables will be
uname
uid
But I asked him if he was using standalone or ported so I guess it will only work on standalone.  |
_________________ "I don't know what the key to success is, but the key to failure is trying to please everybody"..Bill Cosby
 |
|
      |
 |
Mister
Nuke Cadet


Joined: Mar 05, 2003
Posts: 4
|
Posted:
Wed Mar 12, 2003 11:28 am |
  |
Hi,
my code "block_forums"
-----------------
$topic_title=parseEmoticons($topic_title);
// Remove the comment below to add the counter
//$content .="<STYLE=\"text-decoration: none\"><font color=\"#666666\"><b>Message: $count<br></b>";
$content .= "<img src=\"modules/Forums/templates/subSilver/images/icon_mini_message.gif\" border=\"0\" alt=\"\"><a href=\"postp.html$topic_last_post_id#$topic_last_post_id\"STYLE=\"text-decoration: none\"><b> $topic_title </b></a><br><font color=\"#666666\"><i>Last post by <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"STYLE=\"text-decoration: none\"> $username </a> in <a href=\"forum.html$forum_id\">$forum_name</a> on $post_time</i></font><br><br>";
$count = $count + 1;
}
$content .= "<br><center>[ <a href=\"modules.php?name=Forums\"STYLE=\"text-decoration: none\">$sitename ]</center>";
?>
---------------------------------------
username
user_id
Could you help me?
Thanks |
|
|
   |
 |
FHFGhost
Lieutenant


Joined: Jan 26, 2003
Posts: 279
Location: Huntsville, AL
|
Posted:
Wed Mar 12, 2003 8:04 pm |
  |
Are you running phpbb2 forums standalone or bbtonuke ported forums? |
_________________ "I don't know what the key to success is, but the key to failure is trying to please everybody"..Bill Cosby
 |
|
      |
 |
Mister
Nuke Cadet


Joined: Mar 05, 2003
Posts: 4
|
Posted:
Thu Mar 13, 2003 11:00 am |
  |
| FHFGhost wrote: |
| Are you running phpbb2 forums standalone or bbtonuke ported forums? |
phpBB 2.0.3 ...........Ported to the phpBB Nuke module by coldblooded
Thanks..  |
|
|
   |
 |
FHFGhost
Lieutenant


Joined: Jan 26, 2003
Posts: 279
Location: Huntsville, AL
|
Posted:
Thu Mar 13, 2003 3:58 pm |
  |
Change username to uname and change user_id to uid. |
_________________ "I don't know what the key to success is, but the key to failure is trying to please everybody"..Bill Cosby
 |
|
      |
 |
Mister
Nuke Cadet


Joined: Mar 05, 2003
Posts: 4
|
Posted:
Fri Mar 14, 2003 4:21 am |
  |
| FHFGhost wrote: |
| Change username to uname and change user_id to uid. |
Thanks a lot
Now works!!!
Bye |
|
|
   |
 |
FHFGhost
Lieutenant


Joined: Jan 26, 2003
Posts: 279
Location: Huntsville, AL
|
Posted:
Fri Mar 14, 2003 5:02 am |
  |
Anytime.  |
_________________ "I don't know what the key to success is, but the key to failure is trying to please everybody"..Bill Cosby
 |
|
      |
 |
|
|