Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 198
Total: 198

Author Topic: question  (Read 9330 times)

0 Members and 1 Guest are viewing this topic.

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
question
« on: August 12, 2010, 04:22:48 pm »
How do I add the banners to the bottom of my main website.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #1 on: August 12, 2010, 04:29:58 pm »
Part of the forum? or On an external webpage?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #2 on: August 12, 2010, 04:32:01 pm »
on a html page outside of the forum

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #3 on: August 12, 2010, 04:38:06 pm »
An html page would be a little tricky if you host is apache what you could do is make .html pages process php code. From there you could then call SSI and then the location php code.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #4 on: August 12, 2010, 04:39:26 pm »
ok I have no idea of what you said.

How much would you charge to get it done?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #5 on: August 12, 2010, 04:46:54 pm »
If you are on an apache host you can try this not sure if it will work but worth a shot.
Open in the root of your site .htaccess file if it does not exist create an empty file with that name.

Inside it put
Code: [Select]
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
That should make html pages run php code.

After that create a test html page.
like test.html
And enter code
Code: [Select]
<?php
phpinfo
();
?>

Upload it to the site and run it from the browser.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #6 on: August 12, 2010, 04:48:24 pm »
I will give it a try thanks again. I will let you know if it works or not

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #7 on: August 12, 2010, 04:57:06 pm »
the server will not allow me to add this file .htaccess. So what do I do now?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #8 on: August 12, 2010, 05:06:35 pm »
Another open would be an iframe link to ad location
<iframe src="http://www.yoursite.com/forum/adlocationpage.php" frameborder="0"></iframe>

In your smf forum make a file like adlocationpage.php
Code: [Select]
<?php
include 'SSI.PHP';

// Add ad location code here.

?>


Create a new ad location in ad seller pro replace "// Add ad location code here." with that php code it gives when the location is created.

Next insert the iframe code from the very top in your html page
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #9 on: August 12, 2010, 05:56:55 pm »
I have gottton this far but I do not know what to do next and I am hoping I did it correctly http://www.ushogoutfitters.com/test.htm

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #10 on: August 13, 2010, 12:08:04 am »
You need to replace in your html ""http://www.yoursite.com/forum/" with the link to the php file that you created
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #11 on: August 13, 2010, 12:18:24 pm »
Ok I fixed that issue and added the code but still not showing the banners.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #12 on: August 13, 2010, 12:23:41 pm »
It looks like the php page was not saved in text mode. Since I can see the colors.
Create the file in a text editor such as notepad with just the ad location code that should fix that issue.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ushog

  • Member
  • *
  • Posts: 20
    • View Profile
Re: question
« Reply #13 on: August 13, 2010, 12:42:29 pm »
Ok I fixed the php page but now it is just blank.    http://www.ushogoutfitters.com/test.htm

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: question
« Reply #14 on: August 13, 2010, 12:48:22 pm »
Do you have an ad assigned to that new created ad location?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3688 Views
Last post September 03, 2008, 02:06:17 pm
by MS7XWDC
2 Replies
5026 Views
Last post May 02, 2007, 09:02:33 am
by kroxx
4 Replies
6011 Views
Last post May 11, 2007, 01:16:26 pm
by epa4wd
1 Replies
2804 Views
Last post June 25, 2007, 08:25:28 pm
by Tick
14 Replies
17724 Views
Last post July 17, 2007, 07:56:08 pm
by seelie

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal