Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Put forum inside website template?

Aloittaja Kat9119, syyskuu 15, 2011, 08:16:17 IP

« edellinen - seuraava »

Kat9119

I need to take the following code:

<body bgcolor="#000000" background="1.jpg">
<table width="942" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
  <tr>
    <td bordercolor="#000000" bgcolor="#000000"><div align="center"><a href="http://halloween.shiversofhorror.com/blog"><img src="header-dark.jpg" alt="Haddonfield: The Home of Michael Myers" width="531" height="102" border="0" /></a></div></td>
  </tr>
  <tr>
    <td bordercolor="#e68a0f" bgcolor="#e68a0f"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a href="http://halloween.shiversofhorror.com/blog">BLOG</a> :: <a href="http://halloween.shiversofhorror.com/blog/halloween-series/">HALLOWEEN SERIES</a> :: <a href="http://halloween.shiversofhorror.com/blog/rzs-halloween-series/">RZ'S HALLOWEEN</a> :: <a href="http://halloween.shiversofhorror.com/blog/category/halloween-3d/">HALLOWEEN 3D</a> :: <a href="http://halloween.shiversofhorror.com/blog/multimedia/photo-gallery/">MULTIMEDIA</a> :: <a href="http://halloween.shiversofhorror.com/blog/store/">STORE</a> :: <a href="http://halloween.shiversofhorror.com/blog/links/">LINKS</a> :: <a href="http://halloween.shiversofhorror.com/blog/contact/">CONTACT</a> </font></div></td>
  </tr>
  <tr>
    <td bordercolor="#e68a0f" bgcolor="#000000">&nbsp;</td>
  </tr>
</table>


And basically where "&nbsp;" is at the end, I need to have my entire forum. I'm not sure how the heck to do this. I have it done on another forum I did, but a friend did it for me way back. I know I fiddled with it over the years but for the life of me I can't get it to work now.  Attached is my index.template.php

Ricky.

I have added code at required position in your index.template.php

Test it check if everything is fine and is as you desired..

Kat9119

Nope, that didn't work. It looked like the attached image. Maybe the CSS of the header has something to do with it? I've attached that as well. Thanks for the attempt :) any other ideas?

Joker™

A link to your forum might be more helpful as by seeing a screen shot I don't think anyone can help you out.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

Lainaus käyttäjältä: Joker™ - syyskuu 16, 2011, 12:31:06 IP
A link to your forum might be more helpful as by seeing a screen shot I don't think anyone can help you out.

Oops, sorry I thought I included it in the first post. I changed it back to the regular way it is because the updated way (in the screenshot) would have made it look really odd to leave up.

http://halloween.shiversofhorror.com/forum

Joker™

#5
Try the attached file
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

Nope, the table is there, but the board isn't inside of it, its below.

I forgot to update the image links, thats why the images aren't appearing in this photo but no biggie

Joker™

I've updated my last post with the new file. Also if the code doesn't work as expected try to leave it for a bit on your forum so that I can inspect it closely with Firebug.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

Nope still not working. I've left it up like that for now.

Joker™

I missed to close body tag somehow

Try these edits on the same file


Koodi (Find:) [Valitse]
</tbody></table> </html>';

Koodi (Replace it with:) [Valitse]
</tbody></table></body></html>';
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

Hum....Nope, still not working

I don't know much about these things, but could it have to do with the fact there are like 6 different "header" parts? I have no clue...

Joker™

Well try this file.

P.S. which theme are you using?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

#12
A slightly color tweaked version of GoldMoon for 1.1.x

Nope, still not working.

EDIT: I tried adding the background image to my CSS, just like my other forum here : www.campblood.net/forum but nothing is showing up weirdly....as you can see on that page, the forum is inside the table, just like I want with this forum

Joker™

Ok this much of code is creating the issue (mentioned below). Remove it and see if it fixes your issue.

if (allowedTo('aeva_access'))
echo ($current_action == 'media' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '', '
<td valign="top" class="maintab_', $current_action == 'media' ? 'active_back' : 'back', '">
<a href="', $scripturl, '?action=media">', isset($txt['aeva_gallery']) ? $txt['aeva_gallery'] : 'Media', $aeva_unseen ? '</a> <a href="' . $scripturl . '?action=media;sa=unseen">[<b>' . $aeva_unseen . '</b>]' : '', '</a>
</td>', $current_action == 'media' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


This is just a temporary fix, I'll try to give you some other fix.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

Hum, is that due to my Avea Media install? I will remove the code and see if it works...might be removing the gallery completely because its useless to me now anyhow

Joker™

Lainaus käyttäjältä: Kat9119 - syyskuu 16, 2011, 07:06:00 IP
Hum, is that due to my Avea Media install? I will remove the code and see if it works...might be removing the gallery completely because its useless to me now anyhow
Do post your feedback.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

Nope, still didn't work. Left it up so you could see

Joker™

Just for a try, can you uninstall the ads mod?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Kat9119

#18
Ads or the media one?

Also, I realized that I think I have to do the background in the CSS file cause I can't get it to repeat vertically otherwise which is what its supposed to be doing

EDIT: Apparently I can't uninstall them I get the following message : Unable to find package file!

Joker™

Lainaus käyttäjältä: Kat9119 - syyskuu 16, 2011, 07:37:32 IP
Ads or the media one?
How about both as one my test forum removing media code the layout came out fine. But as your live forum must be having ads mod activated as well so worth a try. I'll try to come up with a solution with at least ads mod installed ;).
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: