Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 54
2 members and 52 guests
go84afcrnfhere, got2wpoap2gt9si
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
Layout bug in the "Your Account" module
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2003
Layout bug in the "Your Account" module - 06-07-2003, 04:59 AM

Hi!

In the PHPNuke "Your Account" / "Messages", the topic (tittle) is not on same place as it is on other sections (e.g your home, comments, etc.)

Click "messages" in the "Your Account" module so you will see that the "Nukemods.com: Private Messages" topic drops to under of the icons.

If you don't notice anything, please click few times between "Comments" and "Messages" so you will see what is different...

Does anybody know how to fix this? This layout bug appears to be on every PHPNuke v6.5 site. This has to do something about forum php.file (?).

Thanx
 Send a message via ICQ to crypto  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-07-2003, 02:20 PM

in modules/Private_Messages/index.php find this
Code:
if (is_user($user)) {
	include("modules/Your_Account/navbar.php");
	OpenTable();
	nav();
	CloseTable();
	echo "
";
    }
and change it to
Code:
    /*if (is_user($user)) {
	include("modules/Your_Account/navbar.php");
	OpenTable();
	nav();
	CloseTable();
	echo "
";
    }*/
That will remove the icons


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2003
06-07-2003, 03:10 PM

Quote:
That will remove the icons
Hmmm, I dont want to remove Icons! I'd like that the layout is similar in each of those pages! Topic should be above the Icons, not below as it is on that privat message case. The layout bug can be seen over here (in nukemods) as well.

 Send a message via ICQ to crypto  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-07-2003, 03:17 PM

so you want the title and then the images?? Or you want the images also on the comments page??


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2003
06-07-2003, 03:23 PM

Quote:
so you want the title and then the images?? Or you want the images also on the comments page??
Yes, as it is on the other pages (e.g. in "Comments Configuration" page).
http://www.nukemods.com/modules.php?...nt&op=editcomm

:-)
 Send a message via ICQ to crypto  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-07-2003, 03:25 PM

Okay, I got it.
It is due to some stupid coding of the forums, I almost fixed it when I do you'll need to do some coding to get it work


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-07-2003, 03:36 PM

Ihave it working on my site watch this

I'm going to write down the needed changes for you


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Jun 2003
06-07-2003, 03:39 PM

Quote:
I'm going to write down the needed changes for you
Great! If you can solve this out, maybe you could send the fix also to the FBC (author of PHPNuke) so he can add the bug fix to all PHPNuke 6.5 users and correct it to upcoming versions as well :-)

8)
 Send a message via ICQ to crypto  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-07-2003, 03:41 PM

I don't think that would make a difference because the fixes for the phpBB module, he included them in the package only in release 6.7.
So I think I'm going to send them to chatserv over at nukefixes.com


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-07-2003, 03:45 PM

Open includes/page_header.php
find this code
Code:
if (!$is_inline_review) {
    title("$sitename: $mod_name");
    OpenTable();
}
and replace it with this one
Code:
if (!$is_inline_review & $mod_name != "Private Messages") {
    title("$sitename: $mod_name");
}
    OpenTable();
then open modules/Private_Messages/index.php
and find this code
Code:
if ($popup != "1") {
    $module_name = basename(dirname(__FILE__));
    require("modules/Forums/nukebb.php");
    if (is_user($user)) {
	include("modules/Your_Account/navbar.php");
	OpenTable();
	nav();
	CloseTable();
	echo "
";
    }
and change it to
Code:
if ($row[custom_name] == "") {
    $mod_name = ereg_replace("_", " ", $name);
} else {
    $mod_name = $row[custom_name];
}
if ($popup != "1") {
    $module_name = basename(dirname(__FILE__));
    require("modules/Forums/nukebb.php");
    title("$sitename: $mod_name");
    if (is_user($user)) {
	include("modules/Your_Account/navbar.php");
	OpenTable();
	nav();
	CloseTable();
	echo "
";
    }
ok hope this helps

PS This only works if the folder on your server is named Private_Messages (like it is originally)


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing nav bar in "Your Account"..help please Sarge Nuke 7.x - General 0 04-20-2005 12:59 PM
Button .gif's in "your account" wildefire Theme packs 2 02-19-2003 10:43 AM
how do you remove "create account" option from pub Crazy8 Purged Topics 5 02-18-2003 02:25 PM
Problem with "Create an account".... Ryetsu Purged Topics 1 01-04-2003 05:42 PM
"Edit" and "Delete" -links in section? zlaxzzor Purged Topics 0 12-10-2002 12:04 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31