PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Mon Aug 11, 2003 9:09 pm Reply with quote Back to top

Hi Raven,

Do you know if the Nukecops site is going to be down long? The only reason I'm trying to get you here is that you answered part of this question for me today at Nukecops- I'm on deadline to launch my site - and now I went back to copy and implement the code you gave me in their forums and Nukecops is down!!!!

Trying to get image in as background for module

Ripped apart Metechnik's theme and made a blocks.html to give me more control artistically.

Code:
<table border="1" cellpadding="0" cellspacing="0" bgcolor="\" width="165"><tr><td>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr><td><img src="themes/Mtechnik_Ultra/images/bb.png" width="100%" height="15"></td></tr>
<table border="1" cellpadding="3" cellspacing="1" bgcolor="\" width="100%">
<tr><td bgcolor="#FFFCD9" align="center" bordercolor="#000000"> <font class="content"><b>$title</b></font></td></tr>
<tr><td bgcolor="81CFFE" bordercolor="#ccdfcdf"><font class="content">$content</font></td></tr>
</table></td></tr></table><br><br>
<br>


1) I'm trying to replace the bg color with an image in lines 5 and 6 and can't access teh code you sent me this morning in Nukecops forums.

2) I f you look at beta site
Only registered users can see links on this board!
Get registered or login to the forums!

you can see ther is a black cell between the header gradient image and the title cell - I don't know how I inadvertently got that when i converted the that portion of the theme.php file into my blocks.html file coded above.

Sorry to bother you with a PM here but I'm now 15 hours past the time for the site llaunch and I'm sesperate. As usual you are the best.

Thanks


Tony DG


PS - why is it that you have the right answers when no one else d
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Aug 11, 2003 9:26 pm Reply with quote Back to top

I can't remember exactly the code I told you, but I probably told you to use either a SPAN or DIV tag, with a style property, something like
Code:
<div style="background-image: url(someimage.gif);">blah blah</div>

Does that sound familiar?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Mon Aug 11, 2003 9:38 pm Reply with quote Back to top

Raven sort of : you did tell me there was two ways to do it :

Do I replace
Code:
<tr><td bgcolor="#FFFCD9" align="center" bordercolor="#000000"> <font class="content"><b>$title</b></font></td></tr>


with

Code:
<tr><td <div style="background-image: url(themes/Mtechnik_Ultara/images/bb.gif);"</div>bgcolor="#FFFCD9" align="center" bordercolor="#000000"> <font class="content"><b>$title</b></font></td></tr>


where themes..bah...blah.gif is my image location?Thanks

TonyDg
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Aug 11, 2003 9:42 pm Reply with quote Back to top

Check your td tags. You need to close the first one before the div tag.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Mon Aug 11, 2003 10:03 pm Reply with quote Back to top

Raven,

Not quite working - I must have coded this wrong:



Code:
<table border="1" cellpadding="0" cellspacing="0" bgcolor="\" width="165"><tr><td>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr><td><img src="themes/Mtechnik_Ultra/images/bb.png" width="100%" height="15"></td></tr>
<table border="1" cellpadding="0" cellspacing="1" bgcolor="\" width="100%">
<tr><td><div style="background-image: url(themes/XtremeDream/images/bgbluetexture.gif);"</div><font class="content"><b>$title</b></font></td></tr>
<tr><td bgcolor="81CFFE" bordercolor="#ccdfcdf"><font class="content">$content</font></td></tr>
</table></td></tr></table><br><br>
<br>




Cell is now all black and not title:
Only registered users can see links on this board!
Get registered or login to the forums!


Tnanks

TonyDG
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Aug 11, 2003 10:09 pm Reply with quote Back to top

You have a syntax error and also I think you misplaced the tags. Try this
Code:
<td><div style="background-image: url(themes/XtremeDream/images/bgbluetexture.gif);"><font class="content"><b>$title</b></font></div></td>

If not, try this
Code:
<td><font class="content"><div style="background-image: url(themes/XtremeDream/images/bgbluetexture.gif);"><b>$title</b></div></font>

I'm going off line until morning.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Mon Aug 11, 2003 10:36 pm Reply with quote Back to top

Raven -

Almost works perfect - if you look at site
Only registered users can see links on this board!
Get registered or login to the forums!


You can see images work great - however if yo ulook at teh "Site Info" and Survey blocks - they now have a black area at the bottom that wasn't there before lst changes.

code im using is hopefully revise for last syntax error

Code:
<table border="1" cellpadding="0" cellspacing="0" bgcolor="\" width="165"><tr><td>
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr><td><img src="themes/Mtechnik_Ultra/images/bb.png" width="100%" height="15"></td></tr>
<table border="1" cellpadding="0" cellspacing="1" bgcolor="\" width="100%">
<tr><td> <div style="background-image: url(themes/XtremeDream/images/bgbluetexture.gif);"align="center"<font class="content"><b>$title</b></div></font></td></tr>
<tr><td> <div style="background-image: url(themes/XtremeDream/images/psbg2.gif);"bordercolor="#ccdfcdf"><font class="content">$content</div></font></td></tr>
</table></td></tr></table><br><br>
<br>



thanks

TonyDg
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Aug 12, 2003 7:35 am Reply with quote Back to top

The link doesn't work.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Tue Aug 12, 2003 11:23 am Reply with quote Back to top

Raven,

Correct URL is
Only registered users can see links on this board!
Get registered or login to the forums!


Sorry after ten straight hours of coding I forget my own name!
Embarassed

Anyway - when you put use a color instead of a image - the color goes where the black is now visible in the cell. Thought it might be a tiling problem with image size - but site map block is twice as long and image goes in no problem. Also tried three other images and all exhibit samd - black hole- in User Info and Survey blocks.

Moved launch up bak till midnight tonight to fix layout then we can finish reloading the content!

Thanks once again - you are the patron saint of phpnewbies!

Tony DG
View user's profile Send private message
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Tue Aug 12, 2003 11:35 am Reply with quote Back to top

Raven,

As an afterthought I did hack your site-user-info block, to take out th ecounters at the bottom - but I never touched the Survey block that came with php 6.5.

Anyway here is the code for the hack I made - I don't think the hack is the problem thous as if you use a color and not an image the black hole is filled with the right color.

Regards

Tony

[Edited by Admin - Thanks Tony, I grabbed the code, but prefer to not have it for the public as I then am expected to support it Laughing]
View user's profile Send private message
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Tue Aug 12, 2003 3:04 pm Reply with quote Back to top

Raven,

Any thoughts as to what to do to fix the black hole problem I referred to in my earlier post.

URL is up and working. (Was offline for about 30 mins a litle while ago.)


Only registered users can see links on this board!
Get registered or login to the forums!


I'm launch minus seven hours and at a total loss.


thanks Tony
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Aug 12, 2003 8:19 pm Reply with quote Back to top

Just a thought. I notice that both the UserInfo and Survey blocks use the FORM tags. Are the other blocks where you do not have a problem using them?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Tue Aug 12, 2003 10:18 pm Reply with quote Back to top

I'm new so ... do you mean code like

Code:
$boxContent .= "<form action=\"modules.php?name=$module_name\" method=\"post\">";


If so you are correct the blocks that do not have FORM tags do not have the problem?

What should I do?

Thanks


Tony
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Aug 13, 2003 5:00 pm Reply with quote Back to top

I fixed this in the actual blocks by moving the form tags around.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Wed Aug 13, 2003 10:21 pm Reply with quote Back to top

Raven,

I the problem is resolved in IE but checked in other browsers,
Camino, Mozilla, Netscape, and Safari ---problem still there in other browsers.

Weirrd. What now.


You site admin is the same.
Changed
Only registered users can see links on this board!
Get registered or login to the forums!
PMing you the new infor.

Thanks

Couldn't have gone live w/o you. You're the best.

TonyDg


Site is now live
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Thu Aug 14, 2003 6:03 am Reply with quote Back to top

In your PM you clarify and say the problem is only with the Survey block under Netscape. What version are you using? It is NOT there under NN7.02. I do not use NN at all, other than for testing. I made a change in the block. See if that helps.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tonydg
Hangin' Around


Joined: Jul 16, 2003
Posts: 26

PostPosted: Fri Aug 15, 2003 9:07 am Reply with quote Back to top

Figured out what happened.
We got spammed as you made last set of changes.

They totally filled up teh hard drive with e-mail. Locked machine so changes you made in FTP didn't get written to drive.

I looked at how you fixed code on the beta site and made teh changes on teh live site and it worked perfectly.

Thanks

TonyDg
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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