Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
2Bob
Hangin' Around


Joined: Jan 24, 2006
Posts: 25

PostPosted: Mon Feb 27, 2006 4:50 am Reply with quote

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 Smile
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Feb 27, 2006 5:20 am Reply with quote

look in the file for a table probably...
set table width to 100% if there is any,or show the code here...
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Mon Feb 27, 2006 7:39 am Reply with quote

2Bob, is it possible that the block was written to be a Center block as apposed to a left/right block?

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
2Bob
PostPosted: Sun Mar 12, 2006 2:42 am Reply with quote

<?php

/********************************************************/
/* NSN Mailing List */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/* Only registered users can see links on this board! Get registered or login! */
/* 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&amp;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 Smile

Thanks again for the replies


**OOps that is not for the ts block but same problem
 
montego
PostPosted: Sun Mar 12, 2006 6:44 am Reply with quote

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
PostPosted: Mon Mar 13, 2006 8:40 am Reply with quote

Image 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) */
/* Only registered users can see links on this board! Get registered or login! */
/* 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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©