Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Page bar + smf (html?)


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 3, 2010, 10:18 AM
fullmetalgirl
 
26 posts · Aug 2010
Hi,

Ok thnx to this forum i custumized my page bar perfectly...
so thanks for that.

now i want to add this page menu bar to my smf based forum.
i want it on top of the forum page.

After putting up a post on the smf forums i found out there is a way to put html into a header.

so my question:
is it possible to find my custum made page bar html ??
or is it best to use the php of the bar in the php template of smf? (wich parts do i need to have of the php?)

im pretty new with website building so easy words please

again thanks,

ps this is the site and forum: www.gras-valkparkieten.nl and www.gras-valkparkieten.nl/smf/

Last edited by fullmetalgirl; Aug 3, 2010 at 10:28 AM.
  #2  
Old Aug 3, 2010, 10:48 AM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
You can't just drop code from one site into another. You will have to build a menu for SMF.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 3, 2010, 11:06 AM
fullmetalgirl
 
26 posts · Aug 2010
Quote:
Originally Posted by lmilesw
You can't just drop code from one site into another. You will have to build a menu for SMF.
Hi,

theres a mod for smf so you can actually drop html..
php probably wont be as simple...

but if theres some kind of html its a mather of copy paste
  #4  
Old Aug 3, 2010, 11:19 AM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
What I was referring to was that the code is most likely going to reference locations in the site and if you drop it into a different site the code would need to be changed for that new site. Also there is no way I know of to get the code for a menu in WordPress.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Aug 3, 2010, 11:22 AM
fullmetalgirl
 
26 posts · Aug 2010
but its the same site?
so guess i dont understand that...
but ok, no html code...

would there be any way to do it with pasting code in the index.template?
or is that code also hard to find?
  #6  
Old Aug 3, 2010, 11:39 AM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
What it looks like you have is WordPress and SMF installed with a bridge plugin. Is that correct? Are you trying to make SMF look like your main WP site? If so I am not familiar enough with the plulgin or SMF to give you an definitive answer but my guess would be you can't. I have see other forum plugins that work that way but I'm not sure about SMF
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Aug 3, 2010, 11:46 AM
fullmetalgirl
 
26 posts · Aug 2010
i dont know what a bridge plugin is?

I am busy making the 2 pages of the same site a like,
same logo, same kind of colors etc.

right now im trieing this to get the navigation bar above the forum: (a less atractive way though)
http://www.gras-valkparkieten.nl/test/

using an iframe.

my plan right now is to delete the header image and try to make the iframe go more to the left,
you think that will work??
  #8  
Old Aug 3, 2010, 12:50 PM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
iframes won't work in a WordPress page without adding a plugin for that function.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Aug 3, 2010, 12:55 PM
fullmetalgirl
 
26 posts · Aug 2010
I actually already have that plugin

tried the iframe,
but the 2 scrolls where bugging me.
scrolling up didnt go the way i liked it..

guess i need to figure out something else...
since therese no real place of where the navigation bar code is?

maybe ill just add a html navigation without dropdown *if im even capable of doing that* )
  #10  
Old Aug 3, 2010, 03:25 PM
STB
 
762 posts · Apr 2010
What lmislesw is saying is that the menubars in wordpress are not just some static HTML
the menu is build with data from the wordpress database, it is not made in HTML but in php.
that is why you cannot just copy/paste the HTML code

If you want to really "mix" the blog and the forum you need a bridge plugin that lets the forum use the wordpress database (or vice versa).

See here for example here:
http://wordpress.org/extend/plugins/wp-smf-bridge/
but this only shares the users .. not the menu or the lay-out (!)

For more you would have to ask around at the SMF forums:
http://www.simplemachines.org/commun...topic=329627.0

About using an iframe,
an iframe is a complete full window inside another window, if you put the blog in an iframe above the forum, you get the whole blog .. you cannot put "only the menubar of the blog" in an iframe.

Easiest way would be to mimic the wordpress menu in HTML .. and style it to look just like the wordpress menubar
You can even make dropdown menus in HTML. Google for: CSS dropdown menu.
Only drawback would be that you have to manually update your HTML menu when you change the wordpress menu.

Last edited by STB; Aug 4, 2010 at 11:46 AM. Reason: typo
  #11  
Old Aug 3, 2010, 05:29 PM
juggledad's Avatar
juggledad
 
20,001 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
you could go visit your site, view the source and grab the html that makes up the menu
  #12  
Old Aug 3, 2010, 06:46 PM
STB
 
762 posts · Apr 2010
Quote:
Originally Posted by juggledad
you could go visit your site, view the source and grab the html that makes up the menu
Right ..
but you'd need the relevant CSS as well (to keep the styling).

I'd set admin panel -> Ata -> Configure CSS & JS -> CSS: External file or inline? ->to external

then next, grab the URL to the CSS stylesheet file, and include it to your forum as external stylesheet
  #13  
Old Aug 4, 2010, 12:06 PM
fullmetalgirl
 
26 posts · Aug 2010
trieing a lot of things right now...
but having a lot of problems on the smf part.

i almost succeded in putting my forum in an iframe in wordpress..
the iframe worked, i removed the header image on that page...
but the scrollbar was bugging me..

also i couldnt get the iframe as far to the left as i wanted.

im trieing to find a way to put html above my smf page to mimic the navigation (without dropdowns)
but even with that im struggling cause im not using a default. but thats an smf problem...

so its either: remove vertical scrollbar on 1 page + placing iframe on that page more to the left.
or: smf with mimic html navigation.

maybe you got a solution for my first option?
  #14  
Old Aug 4, 2010, 12:32 PM
STB
 
762 posts · Apr 2010
Please make it easy for people to help you. URL of your current testing page?

As far as scrollbars for iframe goes .. I take it you used "scrolling=no" argument in the iframe tag?

Last edited by STB; Aug 4, 2010 at 12:37 PM. Reason: added link
  #15  
Old Aug 4, 2010, 01:25 PM
fullmetalgirl
 
26 posts · Aug 2010
im sorry, since my english is bad and since im not used to webdesign language i may come over a bit random

its not the iframe i wanted without scrolling bar, but wordpress...

right now im working on this:
http://www.gras-valkparkieten.nl/menu.html

i made my own css/html navigation bar.
if i know how to make an iframe with html/css ill probably be set?
or am i dreaming again?
  #16  
Old Aug 4, 2010, 01:54 PM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
I'm not clear on what you are trying to do but if you want to eliminate the scrolling on WordPress just make you iframe height small enough.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #17  
Old Aug 4, 2010, 02:04 PM
fullmetalgirl
 
26 posts · Aug 2010
well after a lot of trieing,

here:
http://www.gras-valkparkieten.nl/menu.html

this is what i wanted...
but couldnt really accieve it using wp.

just need to make the menu bar go more to the right now...
then its only smf edits left

i rebuild the entire nav bar....
  #18  
Old Aug 4, 2010, 02:16 PM
STB
 
762 posts · Apr 2010
from what i see fullmetalgirl took the route the other way around,
and put the forum in an iframe in wordpress

if you want to do it that what, try:
<iframe width="1042" height="3000" frameborder="0" scrolling="no" src="http://www.gras-valkparkieten.nl/smf/"> </iframe>
You have to play around with the height .. make it smaller or bigger than 3000 .. see what works.
  #19  
Old Aug 4, 2010, 02:30 PM
fullmetalgirl
 
26 posts · Aug 2010
right now i got everything set...

except i cant get the i frame centered:

<div style='align: center; width:1000px; height: 2000px; overflow: hidden;'>
<IFRAME SRC="http://www.gras-valkparkieten.nl/smf/" WIDTH="1042" HEIGHT="2000" FRAMEBORDER="0" align="middle"> </IFRAME>
</div>

(as you see i tried on multiple places) also i made the scroll bar go away without losing its function

http://www.gras-valkparkieten.nl/menu.html

apart from the center and maybe some beautifications: this is what i wanted
  #20  
Old Aug 4, 2010, 02:34 PM
lmilesw's Avatar
lmilesw
 
9,393 posts · Jul 2009
Central New York State USA
This is now outside what we supply support for as it looks like you are doing all your configuration in SMF. That is unknown territory for most here.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #21  
Old Aug 4, 2010, 02:39 PM
fullmetalgirl
 
26 posts · Aug 2010
actually,
im doing nothing in smf....

this is just html+css
but i gues it isnt really wordpress related anymore .. since its just html.
anyways,
thnx for all the help so far
i actually got further today ...
  #22  
Old Aug 4, 2010, 02:40 PM
STB
 
762 posts · Apr 2010
margin:0 0 0 160px;

soyou get:
Code:
<div style="width: 1000px; height: 2000px; overflow: hidden; margin:0 0 0 160px;">
<iframe width="1042" height="2000" frameborder="0" align="middle" src="http://www.gras-valkparkieten.nl/smf/" id="ifr"> </iframe>
</div>
shorthand code for margin has 4 numbers, start at top and goes clockwise
so it is: top right bottom left,
which means: margin:0 0 0 160px; gives a margin of 160 px on the left hand side


And agree with lmilesw. .. this is actually far beyond the scope of this forum.
So .. do yourself a big favour and check the 2nd + 3rd link in my signature .. you may be surprized by how fast you can learn more stuff

Well done here!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with HTML in page roymogg Forum How-To 0 Jun 25, 2010 01:43 PM
[SOLVED] How to provide html link in side bar text widget and center colum gladiator Sidebars & Widgets 4 Dec 6, 2009 04:12 PM
[SOLVED] Problems with HTML in Page Title fields ins 3.4.2 bcorrigan New Versions, & Updating 2 Jul 16, 2009 09:06 AM
[SOLVED] Editing Html Codes for Page Body? Craig Mattice Atahualpa 3 Wordpress theme 8 May 23, 2009 06:58 AM


All times are GMT -6. The time now is 02:00 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.