Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.5
Author Message
tonydg
Hangin' Around



Joined: Jul 16, 2003
Posts: 26

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

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!
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: 17088

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

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
tonydg







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

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
 
Raven







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

Check your td tags. You need to close the first one before the div tag.
 
tonydg







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

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!

Tnanks

TonyDG
 
Raven







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

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.
 
tonydg







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

Raven -

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

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
 
Raven







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

The link doesn't work.
 
tonydg







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

Raven,

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

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
 
tonydg







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

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]
 
tonydg







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

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!

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


thanks Tony
 
Raven







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

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?
 
tonydg







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

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
 
Raven







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

I fixed this in the actual blocks by moving the form tags around.
 
tonydg







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

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 FTP. 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!
 
Raven







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

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.
 
tonydg







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

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
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.5

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 ©