13:59 Mon Sep  3, 2007
Cheap Hummer!

12:18 Tue Jul  4, 2006
Hummer Camp After

12:15 Tue Jul  4, 2006
Hummer Camp

Help Me Humpa
PHP and MMS Server Help
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PHP for my pages..
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Help Me Humpa Forum Index -> Anything PHP
View previous topic :: View next topic  
Author Message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Wed Sep 27, 2006 10:28 pm    Post subject: Reply with quote

Depends how good you are with front page.

Just edit the logoTop.html file - it is simply 2 tables, but you can delete all of that and use anything at all.
Back to top
View user's profile Send private message
Mark_Venture



Joined: 26 Sep 2006
Posts: 16

PostPosted: Thu Sep 28, 2006 5:51 am    Post subject: Reply with quote

Ok, I got them in there... still converting...
Back to top
View user's profile Send private message Visit poster's website
Mark_Venture



Joined: 26 Sep 2006
Posts: 16

PostPosted: Fri Sep 29, 2006 1:25 pm    Post subject: Reply with quote

I have about 25 HTML files left to convert...

so far -> http://mark.cdmaforums.com/mark/

I could not get the upper portion to "dynamically" expand.. so I just shifted to the left...
Back to top
View user's profile Send private message Visit poster's website
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri Sep 29, 2006 2:40 pm    Post subject: Reply with quote

Your logoTop.html should not have the <html> and <head> and <meta> and <body> tags.
Your logoTop.html should only be normal html code that goes in the body or an html page.

If you have a certain meta tag or javascript code that needs to be in the head code, let me know and I'll help you with that.
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri Sep 29, 2006 2:44 pm    Post subject: Reply with quote

You should think about ditching that top navigation crap.
Just start fresh and create something - after all, it is merely 6 links.
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri Sep 29, 2006 4:29 pm    Post subject: Reply with quote

www.humpa.com/mark

Here's something simple for the logoTop.html:
Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#005cb9">
<tr valign="middle">
<td align="center">

<table width="550">
<td  align="right">
<a href="http://www.howardforums.com/member.php?userid=17655"><img src="http://mark.cdmaforums.com/mark/Upperframe_images/venture-w.jpg" border=0></a>
</td>
<td align="center">
<span style="font-size: 18pt; font-weight: bold">Mark_Venture's V710/E815/V3C Info Page</span>
<br><br>Space  provided thanks to
<a target="_blank" href="http://cdmaforums.com"><font color="black">CDMAFORUMS.COM</font></a>
</td>
</tr>
</table>

</td>
</tr>
<tr valign="middle">
<td  width="100%" align="center" background="http://mark.cdmaforums.com/mark/img/topbar.jpg" height="40">
<center>
<a href="Search.htm">
<img src="http://mark.cdmaforums.com/Upperframe_images/Image8064818_0.gif" border="0"  width="86" height="20"></a>
<a href="contact.htm">
<img src="http://mark.cdmaforums.com/Upperframe_images/Image8056679_0.gif" border="0" width="86" height="20"></a>
<a href="News.htm">
<img src="http://mark.cdmaforums.com/Upperframe_images/Image8056021_0.gif" border="0" width="86" height="20"></a>
<a href="FAQ.htm">
<img src="http://mark.cdmaforums.com/Upperframe_images/Image8055114_0.gif" border="0" width="86" height="20"></a>
<a href="about.htm">
<img src="http://mark.cdmaforums.com/Upperframe_images/Image8050836_0.gif" border="0" width="86" height="20"></a>
<a href="index.php">
<img src="http://mark.cdmaforums.com/Upperframe_images/Image7938657_0.gif" border="0" width="86" height="20"></a>
</center>

</td>
</tr>
</table>

That's what is at www.humpa.com/mark at the moment. Just copy and paste that into the logoTop.html (delete or overwrite everything else in the logoTop.html, you know?)

Your mark.cdmaforums.com never looked right in firefox anyway - at least not that top stuff. It looks fine in IE, but have you ever looked at it in firefox? Some of the words overlap the button links.
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri Sep 29, 2006 4:42 pm    Post subject: Reply with quote

I have something else that you can do for the owner of cdmaforums.com

Make a file, and name it google_ads.html - use this code (he might want to use a different channel, so he can see which income is coming from your page - but this is his google code I grabbed from the forums. It seems he doesn't use google channels though, since the google_ad_channel variable is blank, as you can see):
Code:
      
<script type="text/javascript"><!--
google_ad_client = "pub-5339904577083510";
google_alternate_ad_url = "http://www.cdmaforums.com/collapsible_ad.html";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al_s";
google_ad_channel ="";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "22229C";
google_color_url = "000000";
google_color_text = "000000";
//--></script>

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Put that file in your mark folder, then edit the index.php I made.
Open the index.php in a text editor and change this:
Code:
<?php
include("$page");
?>

To this:
Code:
<?php
include("google_ads.html");
include("$page");
?>

I haven't tested that - and I was thinking it might look better if the google ads were centered, so you can try this to center the google code:
Code:
<?php
echo "<center>\n";
include("google_ads.html");
echo "</center>\n";
include("$page");
?>
Back to top
View user's profile Send private message
Mark_Venture



Joined: 26 Sep 2006
Posts: 16

PostPosted: Sat Sep 30, 2006 10:08 am    Post subject: Reply with quote

I will look at this.

I tried some variations of using those same buttons, but in the original logoTop.html and I will tweak it some more before I completely replace the pages...

One thing I like about it... the FAQ and "Search Site" links are RIGHT THERE... and stand out more...

All HTML's are coverted.. and ready to go... I just need to work that logoTop.html and look at the google add stuff before I make the switch..

BTW, I found that I do NOT want to "publish" these with Frontpage... I want to just upload via regular FTP to get them up there... publishing with FP messed it up so that ALL LINKS opened in NEW WINDOWS Confused but what I edited, saved, then used WSFTP to upload (or command line FTP) was just fine... so...

AND I don't think I thanked you yet Embarassed so... THANK YOU FOR YOUR HELP!!! Exclamation
Back to top
View user's profile Send private message Visit poster's website
Mark_Venture



Joined: 26 Sep 2006
Posts: 16

PostPosted: Sat Sep 30, 2006 1:28 pm    Post subject: Reply with quote

Ok, I added the Ads...

And I just changed the order of the buttons.... and made the text white.. I think it stands out more than black...

Btw, HOW did you do that? I could not get the two lines of text because of the Mark Venture graphic.. and when I added the buttons to click... I ended up with and extra blue bar Confused

I really want to learn this stuff.. too bad all I have for software is front page... Something tells me I need something different...
Back to top
View user's profile Send private message Visit poster's website
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Sat Sep 30, 2006 1:40 pm    Post subject: Reply with quote

Yeah, you need an html book. Wink

When i first got a computer in 2000, I was clueless about pc's and the web.
But after a few months I decided I wanted a website.

I had an illegal copy of FP and started with that - but after an extremely short amount of time (a day?), I realised that it was just not going to do it for me.
I found it so much more natural to just edit the code - it made so much more sense to me. Granted, it might be easier/quicker in FP, but I found it too limiting.
HTML code is so basic - it isn't like it is real programming code, it is simply formatting - and that's about it.

I'd suggest just using a text editor, and edit the html code - it is quite easy.

If you want the text over the graphic, you need to make the graphic a background image, and not a regular img tag.
And gif's usually work much better for background images than jpg's.

I merely used a color instead of an image for the background on my "mark" test page - oh, I just looked - you did the same thing. Yeah, that looks good.

I'd still suggest editing the html code yourself - it might be a little time consuming at first, because of the learning curve. But then you'll find it so much easier when you want to make little (or even big) changes. Just edit the code and ftp it. That's the other thing I hated about FP, was the damn publishing - I was never sure what the hell it was doing. I like to have control of everything myself.

A lot of times I'll see something I like and I'll just View Source and copy and paste it. Then edit it till it works. Very Happy
Back to top
View user's profile Send private message
Mark_Venture



Joined: 26 Sep 2006
Posts: 16

PostPosted: Sun Oct 01, 2006 11:00 am    Post subject: Reply with quote

going to look for an HTML book.. this could get fun... with project at work (only 8 weeks left!!!).... this training program at night (goes to Feb)... wont leave much time to learn this "short term".. but...

btw, looking at the nav list, I want to make it narrower so that there is more room for the main body of the pages. In navLinks.html I adjusted where it said... width="201" and make it width="175" that is better, but I can't get the Gray background and verticle bar to change widths... I went back to the index.php and adjusted the <td width="150"> right before the include("navLinks.html"); part, but it is still the same width...

If I'm looking at this correctly, the statement... <body bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0" background="img/background.jpg"> is what sets up the gray behind the Navlist... so I'd have to open/edit that background.jpg (I'll use paint shop pro), right?
Back to top
View user's profile Send private message Visit poster's website
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Sun Oct 01, 2006 11:07 am    Post subject: Reply with quote

sure, just edit that image.

Or, you can use a bgcolor instead of background
<body bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0" bgcolor="#f0f0f0">
... at least I think that is the color - I was messing with that the other day, and I think that was the color gray that was used in that jpg

Not sure what vertical bar you are talking about though.
Back to top
View user's profile Send private message
Mark_Venture



Joined: 26 Sep 2006
Posts: 16

PostPosted: Sat Feb 03, 2007 11:53 am    Post subject: Reply with quote

btw, the .htaccess trick worked as a redirect for every page at the old http://v710.org/mark url...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Help Me Humpa Forum Index -> Anything PHP All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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