Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#244162 - 07/08/11 06:44 AM Wordpress Menu
SGHB1138 Offline

member
Registered: 12/12/06
Posts: 195
Loc: UK
Hey Guys, I would like to inser the menu here:

http://cinemageek.co.uk/

Into here:

http://cinemageek.co.uk/ubbthreads/

But don't know how to do it

I've tried copying the sidebar.php into the table but no luck

Code:
<div id="sidebar">

		<ul>

			<?php 	/* Widgetized sidebar, if you have the plugin installed. */

					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

			<li>

				<?php include (TEMPLATEPATH . '/searchform.php'); ?>

			</li>



			<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.

			<li><h2>Author</h2>

			<p>A little something about you, the author. Nothing lengthy, just an overview.</p>

			</li>

			-->



			<?php if ( is_404() || is_category() || is_day() || is_month() ||

						is_year() || is_search() || is_paged() ) {

			?> <li>



			<?php /* If this is a 404 page */ if (is_404()) { ?>

			<?php /* If this is a category archive */ } elseif (is_category()) { ?>

			<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>



			<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>

			<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives

			for the day <?php the_time('l, F jS, Y'); ?>.</p>



			<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>

			<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives

			for <?php the_time('F, Y'); ?>.</p>



			<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>

			<p>You are currently browsing the <a href="<?php bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives

			for the year <?php the_time('Y'); ?>.</p>



			<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>

			<p>You have searched the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives

			for <strong>'<?php the_search_query(); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>



			<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>

			<p>You are currently browsing the <a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a> blog archives.</p>



			<?php } ?>



			</li> <?php }?>



			

			

			<li><h2>Archives</h2>

				<ul>

				<?php wp_get_archives('type=monthly'); ?>

				</ul>

			</li>



			<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>



			<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>

				<?php wp_list_bookmarks(); ?>



				<li><h2>Meta</h2>

				<ul>

					<?php wp_register(); ?>

					<li><?php wp_loginout(); ?></li>

					

					<?php wp_meta(); ?>

				</ul>

				</li>

			<?php } ?>



			<?php endif; ?>

		</ul>

		<!--Uncomment this to show a notice to your IE visitors to upgrade to Firefox

		

		<div id="ie_notice">

			Hohoho!<br/>

			It appears that you are using Internet Explorer 6 or 7...<br/>

			both of which show crappy css support and also have some security issues <br/>

			Thankfully there are a number of good alternatives to Internet Explorer which you can use for your daily surfing tasks, emailing or for any other purpose<br/>

			FireFox for example , is a great web browser which is faster and more secure than Internet Explorer 6 or 7...<br/>

			you can download FireFox for free at :<br/><a href="http://www.mozilla.com" title="Download Fire Fox">www.Mozilla.org</a>

		</div>.-->

	</div>


Any ideas?
_________________________
Stephen G
Geek Out @ Cinema Geek
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#244166 - 07/08/11 03:36 PM Re: Wordpress Menu [Re: SGHB1138]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Easiest method would be to use a table (dirty, but easy). How I do it is make a table, one side has a sidebar cell, and the other cell is the UBB; then I take and add all of my content for the table in the header and footer includes, with the area where the UBB should be being the split (table start to the td open (for the ubb) in the header, then td end (for the ubb) to the table end in the footer.

You can see this in action here.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#244169 - 07/08/11 05:21 PM Re: Wordpress Menu [Re: SGHB1138]
SGHB1138 Offline

member
Registered: 12/12/06
Posts: 195
Loc: UK
I have the table set up (that part is where I've typed M E N U) but don't know what to put in the Sidebar cell to have the menu appear the same as it does in the wordpress page
_________________________
Stephen G
Geek Out @ Cinema Geek
Top
#244171 - 07/08/11 05:27 PM Re: Wordpress Menu [Re: SGHB1138]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I have only dabbled in wordpress but I don't think you can just stick some tables in the html includes and make it work.
Might get some conflicts due to WP uses div tags not tables. Also since it it a dynamic wp side bar it is looking for some other includes needed to make it work the same.

Sirdude has done some work on his site with this.
But your site is a little cleaner than his.

Have you tried doing this in reverse.
For example.
Add a page in WP and add ubb to the page with say iframe
_________________________
Blue Man Group
Top
#244172 - 07/08/11 05:28 PM Re: Wordpress Menu [Re: SGHB1138]
SGHB1138 Offline

member
Registered: 12/12/06
Posts: 195
Loc: UK
I think it may have somthing to do with the style.css as it needs the .css file but there's nothing in the sidebr.php to call it
_________________________
Stephen G
Geek Out @ Cinema Geek
Top
#244173 - 07/08/11 05:30 PM Re: Wordpress Menu [Re: SGHB1138]
SGHB1138 Offline

member
Registered: 12/12/06
Posts: 195
Loc: UK
No ruben, I haven't tried that...

...hmmm

smile
_________________________
Stephen G
Geek Out @ Cinema Geek
Top
#244176 - 07/08/11 05:48 PM Re: Wordpress Menu [Re: SGHB1138]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
It is not just the css file there are a few WP files called when the WP page loads to make the sidebar.
Just sticking the code from sidebar.php will not work.
Because the file has paths that look for values stored in other WP files.

If you don't care about the dynamic part. You could just do as Gizmo suggested and manually fatfinger them in.
But of course it would be a static menu.
_________________________
Blue Man Group
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image