PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
2Bob
Hangin' Around


Joined: Jan 24, 2006
Posts: 25

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

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 Back to top

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: 9136
Location: Arizona

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

2Bob, is it possible that the block was written to be a Center block as apposed to a left/right block?
View user's profile Send private message Visit poster's website
2Bob
Hangin' Around


Joined: Jan 24, 2006
Posts: 25

PostPosted: Sun Mar 12, 2006 2:42 am Reply with quote Back to top

<?php

/********************************************************/
/* NSN Mailing List */
/* By: NukeScripts Network (webmaster@nukescripts.net) */
/*
Only registered users can see links on this board!
Get registered or login to the forums!
*/
/* 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
View user's profile Send private message
montego
Site Admin


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

PostPosted: Sun Mar 12, 2006 6:44 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
2Bob
Hangin' Around


Joined: Jan 24, 2006
Posts: 25

PostPosted: Mon Mar 13, 2006 8:40 am Reply with quote Back to top

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 to the forums!
*/
/* 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
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum