help with theme

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   help with theme
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
hello i just notice that the theme is making my supporter block go off to the right side of the page here is the link so you can see what i mean
[ Register or login to view links on this board. ]




_________________
Back to top Reply with quote
#2   
Staffie
CZ Revered Member
 Codezwiz Site Donator
uk.gif
Occupation: Investigation Officer
Age: 40
Gender: Male
Website:
Status: Offline
Joined: May 27, 2003
0.18 posts per day
Posts: 1454
Points: 401,085
   
looks like the marquee is too big, go into that block and try reducing the width of the marquee.




_________________
Back to top Reply with quote
#3   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
i am not sure at all on how to do that in the supporter block you mean




_________________
Back to top Reply with quote
#4   re: help with theme
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Post the code for that block and I'll take a look at it and see if I can see what needs to be adjusted.

Kelly



Back to top Reply with quote
#5   re: help with theme
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
ok here it is

<?php

/********************************************************/
/* NSN Supporters for NSN-Nuke                          */
/* By: NukeScripts Network (webmaster@nukescripts.net)  */
/* http://www.nukescripts.net                           */
/* Copyright © 2000-2004 by NukeScripts Network         */
/********************************************************/

if (eregi("block-Supporters_Lt.php",$_SERVER['PHP_SELF'])) {
    Header("Location: ../index.php");
    die();
}
get_lang("Supporters");
global $prefix, $db, $user, $admin;
$supporterlt = $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_supporters_config"));
$content = "<center>Supported by<br><br>";
$content .= "<MARQUEE behavior='scroll' direction='left' height='31' width='160' scrollamount='3' scrolldelay='90' width='100' onmouseover='this.stop()' onmouseout='this.start()'>\n";
$result = $db->sql_query("SELECT site_id, site_name, site_image FROM $prefix"._supporters." WHERE site_status>'0' ORDER BY site_name");
while (list($site_id, $site_name, $site_image) = $db->sql_fetchrow($result)) {
    $content .= " ;;<a href='modules.php?name=Supporters&op=go&site_id=$site_id' target='_blank'><img src='$site_image' height='31' width='88' title='$site_name' border='0'></a> ;;\n";
}
$content .="</MARQUEE><br><br>\n";
if ($supporterlt['require_user'] == 0 || is_user($user)) { $content .= "[ <a href='modules.php?name=Supporters&amp;file=submit'>"._BESUPPORTER."</a> ]<br>\n"; }
if (is_admin($admin)) { $content .= "[ <a href='modules.php?name=$module_name&amp;file=admin'>"._GOTOADMIN."</a> ]<br>\n"; }
$content .= "[ <a href='modules.php?name=Supporters'>"._SUPPORTERS."</a> ]</center>\n";

?>




_________________
Back to top Reply with quote
#6   re: help with theme
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Try this instead:

<?php

/******************************************************* */
/* NSN Supporters for NSN-Nuke                          */
/* By: NukeScripts Network (webmaster@nukescripts.net)  */
/* http://www.nukescripts.net                           */
/* Copyright © 2000-2004 by NukeScripts Network         */
/********************************************************/

if (eregi("block-Supporters_Lt.php",$_SERVER['PHP_SE LF'])) {
    Header("Location: ../index.php");
    die();
}
get_lang("Supporters");
g lobal $prefix, $db, $user, $admin;
$supporterlt = $db->sql_fetchrow($db->sql_query("SELECT * from ".$prefix."_supporters_config"));
$content = "<center>Supported by<br><br>";
$content .= "<MARQUEE behavior='scroll' direction='left' height='31' width='100' scrollamount='3' scrolldelay='90' onmouseover='this.stop()' onmouseout='this.start()'>\n";
$result = $db->sql_query("SELECT site_id, site_name, site_image FROM $prefix"._supporters." WHERE site_status>'0' ORDER BY site_name");
while (list($site_id, $site_name, $site_image) = $db->sql_fetchrow($result)) {
    $content .= " ;;<a href='modules.php?name=Supporters&op=go&site_id=$site_id' target='_blank'><img src='$site_image' height='31' width='88' title='$site_name' border='0'></a> ;;\n";
}
$content .="</MARQUEE><br><br>\n";
if ($supporterlt['require_user'] == 0 || is_user($user)) { $content .= "[ <a href='modules.php?name=Supporters&amp;file=submit'>"._BESUP PORTER."</a> ]<br>\n"; }
if (is_admin($admin)) { $content .= "[ <a href='modules.php?name=$module_name&amp;file=admin'>"._GOTO ADMIN."</a> ]<br>\n"; }
$content .= "[ <a href='modules.php?name=Supporters'>"._SUPPORTERS."</a&g t; ]</center>\n";

?>


Let me know if that fixes it.

Kelly


Back to top Reply with quote
#7   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
nope it gave me a paras error.




_________________
Back to top Reply with quote
#8   re: help with theme
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
If you copied and pasted it correctly, it shouldn't give you an error. The only thing I changed was the width of the marquee.

Try again and if you still get the parse error, paste the error here please.

Kelly



Back to top Reply with quote
#9   
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
Parse error: parse error in /home/stealths/public_html/html/blocks/block-Supporters_Lt.php on line 15




_________________
Back to top Reply with quote
#10   re: help with theme
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Somehow you got a space in the word global on line 15. Take out that space and see if it fixes it.

Kelly



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum