| Author |
Message |
2Bob Hangin' Around

Joined: Jan 24, 2006 Posts: 25
|
Posted:
Mon Feb 27, 2006 4:50 am |
|
Hi, I recently added a 3rd party block to a phpnuke 7.8 site, But when activated the block seems to works fine BUT it is twice the width of other blocks ?
What is it that dictates the size that a block will be displayed ?
the Block I added is a Teamspeak block
"tsnuke" is the zip download file name
"http://darkknights.dk " author though I dont recall where I downloaded from.
Im useing nuke 7.8
thanks in advance  |
|
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Mon Feb 27, 2006 5:20 am |
|
look in the file for a table probably...
set table width to 100% if there is any,or show the code here... |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Mon Feb 27, 2006 7:39 am |
|
2Bob, is it possible that the block was written to be a Center block as apposed to a left/right block? |
|
|
|
 |
2Bob Hangin' Around

Joined: Jan 24, 2006 Posts: 25
|
Posted:
Sun Mar 12, 2006 2:42 am |
|
<?php
/********************************************************/
/* NSN Mailing List */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* */
/* Copyright © 2000-2005 by NukeScripts Network */
/********************************************************/
if (eregi("block-Mailing_List.php", $_SERVER['PHP_SELF'])) { Header("Location: index.php"); }
$modname = "Mailing_List";
get_lang($modname);
$content = "";
global $nukeurl, $prefix, $db, $bgcolor2, $sitekey;
$user2 = base64_decode($user);
$cookie = explode(":", $user2);
if ($cookie[0] > 0) {
list($usermail) = $db->sql_fetchrow($db->sql_query("SELECT user_email, user_id FROM ".$user_prefix."_users WHERE user_id = '$cookie[0]'"));
}
$content .= _ML_WELCOMEMESSAGE."<br>\n";
$content .= "<table align='center' border='0'>\n";
$content .= "<form action='modules.php?name=$modname&op=MLAction' method='POST'>\n";
$content .= "<tr><td bgcolor='$bgcolor2'><b>"._ML_EMAILADDRESS."</b></td><td><input type='text' name='email' value='".$usermail."' size='20' maxlength='100'></td></tr>\n";
$content .= "<tr><td bgcolor='$bgcolor2'><b>"._ML_MAIN."</b></td><td><select name ='lid'>\n";
$result = $db->sql_query("SELECT * FROM ".$prefix."_nsnml_lists");
while($list_info = $db->sql_fetchrow($result)) { $content .= "<option value='".$list_info['lid']."'>".$list_info['title']."</option>\n"; }
$content .= "</select></td></tr>\n";
$content .= "<tr><td bgcolor='$bgcolor2'><b>"._ML_CHOOSEPLEASE."</b></td><td><select name ='sub'>\n";
$content .= "<option value='sub'>"._ML_SUBSCRIBE."</option>\n";
$content .= "<option value='unsub'>"._ML_UNSUBSCRIBE."</option>\n";
$content .= "</select></td></tr>\n";
$content .= "<tr><td bgcolor='$bgcolor2'><b>"._ML_CHOOSETYPE."</b></td><td><select name ='type'>\n";
$content .= "<option value='0'>"._ML_TYPETEXT."</option>\n";
$content .= "<option value='1'>"._ML_TYPEHTML."</option>\n";
$content .= "</select></td></tr>\n";
$content .= "<tr><td align='center' colspan='2'><input type='submit' value='"._ML_SEND."'></td></tr>\n";
$content .= "</form>\n";
$content .= "</table>\n";
?>
I hope that may help
Thanks again for the replies
**OOps that is not for the ts block but same problem |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Sun Mar 12, 2006 6:44 am |
|
I am somewhat familiar with that block and I do believe it was meant to be a side block. By chance did you change any of the _ML_ text in the language files? Can you post a link to your site or image so that we can see what you are seeing? This block looks pretty standard to me. |
|
|
|
 |
2Bob Hangin' Around

Joined: Jan 24, 2006 Posts: 25
|
Posted:
Mon Mar 13, 2006 8:40 am |
|
The RED line shows the standard width of blocks above and below. Total clean install of this block.
NSN Mailing List */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* */
/* Copyright © 2000-2005 by NukeScripts Network
- It requires PHP-Nuke 7.5.0 thru 7.6.0 be installed.
NSN_Mailing_List_750_100
Useing phpnuke7.8 |
|
|
|
 |
|
|
|
|