Go Back   vBulletin Setup > vBulletinSetup Information > Blogging Forum

Reply 
 
LinkBack (1) Thread Tools Display Modes
Old 09-14-2006, 10:31 PM   1 links from elsewhere to this Post. Click to view. #1
vBulletin Owner
 
Aylwin's Avatar
 
Join Date: Aug 2006
Location: Finland
Posts: 15
Aylwin will become famous soon enough
Blogging with Wordpress, Gallery & WPG2

There are quite a few blogging tools out there, from the simple to complicate, from free to paid. For me, I've settled with Wordpress. It's not very simple (at least not for complete newbies) but it's not too complicated to get working. But, it can actually be as complicated as you want it to be and with the right skills you can build a very impressive blog site.

I take lots of photos so naturally I want to share them also. My tool of choice is Gallery (version 2.x.x). It's probably more bulky and complex compared to the other options but it's modular, feature-rich, flexible and quite powerful.

The nice thing with Wordpress and Gallery is that I can integrate the two seamlessly together using a Wordpress plugin called WPG2. The result is a single site with my photos and posts all together with a uniform layout and design.

Of course, there are many different choices you can make when putting together a blog, an online photo gallery or both. Wordpress+Gallery+WPG2 might not be the best but it's the path I chose. In case anyone's interested in doing the same, I'll share some tips and tricks on this thread about how to put together a WPG2 site. If you have any tips/tricks of your own, please do share.
__________________
rapidshare downloads
Aylwin is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old 09-15-2006, 10:28 PM   #2
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,110
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Blogging with Wordpress, Gallery & WPG2

I don't know any wordpress/gallery tips yet.. I've sorta lost time to finish up my wife's site After I get the sites on the new server, I'll have more time for her site.
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.
Confirm your vBulletinSetup account / Read the-> Forum Rules
Are you on Twitter? @BrandonSheley I'm offering a few vBulletin Services & here is my General Forums experiment | Google fiber project

Brandon Sheley is offline   Reply With Quote
Old 09-15-2006, 11:08 PM   #3
vBulletin Owner
 
Aylwin's Avatar
 
Join Date: Aug 2006
Location: Finland
Posts: 15
Aylwin will become famous soon enough
Re: Blogging with Wordpress, Gallery & WPG2

Getting Started

Before you can start integrating your site, obviously you'll first need to install Wordpress and Gallery. My advice here is to install Wordpress and Gallery one after the other and make sure that each is working fine on its own before attempting to integrate the two using the WPG2 plugin. Also, I recommend installing Gallery under your Wordpress directory. For example, if Wordpress is at yourdomain.com/blog/ then Gallery will be at yourdomain.com/blog/gallery2/. This is not really necessary but I find it easier to maintain the integrated site.

As for the actual installation and configuration, both Wordpress and Gallery are well documented:
Wordpress Codex
Gallery Codex

If you need help, their respective forums are very good:
Wordpress Support
Gallery Forum

IMPORTANT: Make sure you install Wordpress 2.0.x and Gallery 2.1.x. These version are required for WPG2 version 2.0.

Once both Wordpress and Gallery are working fine independently, the next step is to install the WPG2 plugin. You can find the documentation and support forums below:
WPG2 Wiki
WPG2 Forums

Of course, if anyone has any questions I can also try to answer them here.

Next time, I'll share some tips about optimizing your Wordpress theme for WPG2...
__________________
rapidshare downloads
Aylwin is offline   Reply With Quote
Old 09-16-2006, 01:16 PM   #4
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,110
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Blogging with Wordpress, Gallery & WPG2

I stickied this
I don't have time to look really cuz the format and new server..

but I will asap

thank you Aylwin
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.
Confirm your vBulletinSetup account / Read the-> Forum Rules
Are you on Twitter? @BrandonSheley I'm offering a few vBulletin Services & here is my General Forums experiment | Google fiber project

Brandon Sheley is offline   Reply With Quote
Old 09-21-2006, 04:04 AM   #5
vBulletin Owner
 
Aylwin's Avatar
 
Join Date: Aug 2006
Location: Finland
Posts: 15
Aylwin will become famous soon enough
Re: Blogging with Wordpress, Gallery & WPG2

One of the important things you need to decide is which Wordpress Theme to use. There are many many themes available out there so you're very likely to find a theme of your liking.

Once you've downloaded and installed the theme of your choice, you'll most likely need to modify it a bit so it works well with your integrated WPG2 site.

I've optimized a few popular themes and made them available for download on my dev site. There are also some on the WPG2 forums.

If there's no optimized version of the theme of your choice, you can always make the necessary modifications yourself. I've written some instructions how to do that.

Wordpress theme optimization guide for WPG2

Before you begin
- if you need to modify the header.php file of the Wordpress theme to suite your needs, try to do this before proceeding
- it's recommended that you use a Gallery2 theme which is optimized for Wordpress integration, like the WordpressEmbedded Gallery2 Theme for Gallery 2.1.

Create wpg2header.php
- make a copy of your Wordpress theme's header.php file and name it wpg2header.php
- open wpg2header.php and look for:
Code:
	<head profile="http://gmpg.org/xfn/11">
- below this line, add:
Code:
	<?php if (isset($g2data['headHtml'])) {
		list($g2_title, $g2_css, $g2_javascript) = GalleryEmbed::parseHead($g2data['headHtml']);
		foreach ($g2_css as $css) { echo "$css \r\n"; }
		foreach ($g2_javascript as $javascript) { echo "$javascript \r\n"; }
	} ?>
- look for a line like:
Code:
	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
- in the line, replace
Code:
<?php wp_title(); ?>
with
Code:
 &raquo; <?php echo $g2_title; ?>
- at the end of the file look for something like:
Code:
<div id="content">
If the code doesn't exist, no problem. It's probably in the index.php file.

- replace it with or add:
Code:
<div id="wpg2content">
Update the style.css file
- open style.css and look for something like the example below:
Code:
#content {
	width:510px;
	float:left;
	padding:5px;
	margin:0;
	overflow:hidden;
	display:inline;
}
- create a copy of this block and name it #wpg2content:
Code:
#content {
	width:510px;
	float:left;
	padding:5px;
	margin:0;
	overflow:hidden;
	display:inline;
}
#wpg2content {
	width:510px;
	float:left;
	padding:5px;
	margin:0;
	overflow:hidden;
	display:inline;
}
- in most cases, the width of #content is the width of your theme minus the sidebar. Usually, we don't include the WP sidebar in the embedded gallery to have more space for the photos. So, we can make #wpg2content as wide as the theme. Example:
Code:
#wpg2content {
	width:740px;
	float:left;
	padding:0px;
	margin:0;
	overflow:hidden;
	display:inline;
}
Note: The above code for #content and #wpgcontent are just examples. The actual code will depend on your particular theme. Also, other parameters (like padding or margin) may need to be tweaked.

Add the WPG2 alignment classes
- at the end of style.css, add:
Code:
/* WPG2 alignment classes */

.g2image_normal {
	margin: 4px;
}

.g2image_float_left {
	float: left;
	clear: left;
	margin: 4px;
}

.g2image_float_right {
	float: right;
	clear: right;
	margin: 4px;
}

.g2image_centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
Revalidate
- go to Wordpress Site Admin and click on the WPG2 menu
__________________
rapidshare downloads
Aylwin is offline   Reply With Quote
Old 10-13-2006, 12:07 AM   #6
vBulletin Owner
 
emiratesmac's Avatar
 
Join Date: Oct 2006
Posts: 4
emiratesmac will become famous soon enough
Re: Blogging with Wordpress, Gallery & WPG2

I've used a particular forum with corresponding RSS feed as a sort of blog on my site. I wouldn't mind using WP, in fact I do on many other sites I run, but I'd love to see integration with vB. At least so that a post to the blog in WP automatically creates a new thread in a vB forum, whereby users can comment on the story in vB. And a count of the number of comments showing up in WP would also be nice.

Any such thing exists somewhere? If not, I'll probably just keep using vB however limited it is.
emiratesmac is offline   Reply With Quote
Old 10-13-2006, 04:42 AM   #7
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,110
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Blogging with Wordpress, Gallery & WPG2

That would be nice, I haven't seen anything that does that but I haven't been looking.. I still have some work to do on our blog, one of these days I'll have time for it.
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.
Confirm your vBulletinSetup account / Read the-> Forum Rules
Are you on Twitter? @BrandonSheley I'm offering a few vBulletin Services & here is my General Forums experiment | Google fiber project

Brandon Sheley is offline   Reply With Quote
Old 10-29-2006, 04:07 AM   #8
vBulletin Owner
 
Join Date: Oct 2006
Location: Durham UK
Posts: 37
vwdforum will become famous soon enough
Send a message via MSN to vwdforum Send a message via Skype™ to vwdforum
Re: Blogging with Wordpress, Gallery & WPG2

I've had a RSS feeder installed from vbulletin.org where It creates posts from any rss feed. That might be usefull in this case. Get it to post the feed every 12 hours and then get it to auto delete and duplicate threads
__________________
rapidshare downloads
vwdforum is offline   Reply With Quote
Old 10-29-2006, 11:14 PM   #9
Community Manager
Supporters
vBulletin Owner
vBSetup Mods
 
Brandon Sheley's Avatar
 
Join Date: Jul 2006
Location: Topeka, KS
Posts: 14,110
Blog Entries: 35
Brandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to beholdBrandon Sheley is a splendid one to behold
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
Re: Blogging with Wordpress, Gallery & WPG2

Quote:
Originally Posted by vwdforum View Post
I've had a RSS feeder installed from vbulletin.org where It creates posts from any rss feed. That might be usefull in this case. Get it to post the feed every 12 hours and then get it to auto delete and duplicate threads
The 3.6.x series has an RSS mod like this built in. We're using it here to post the vBulletin.com updates in the one forum section.

A better version of this would be available at Code Monkeys site

Articlebot RSS Feed Poster For vBulletin - vBulletin Modder
__________________
Brandon Sheley / vBulletinSetup Staff
Check the Newsletter & Marketplace for the latest deals.
Looking for a place to Support vBulletinSetup?
Submit your Forum and other Quality Websites.
Confirm your vBulletinSetup account / Read the-> Forum Rules
Are you on Twitter? @BrandonSheley I'm offering a few vBulletin Services & here is my General Forums experiment | Google fiber project

Brandon Sheley is offline   Reply With Quote
Reply 
vBulletin Setup > vBulletinSetup Information > Blogging Forum

Tags
blogging, gallery, wordpress, wpg2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forum.vbulletinsetup.com/f20/blogging-wordpress-gallery-wpg2-322.html
Posted By For Type Date
Pages tagged with This thread Refback 12-14-2006 10:40 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you keep WordPress MU bloggers blogging? ArnyVee Blogging Forum 7 08-04-2008 01:49 PM
Looking for a Photo Gallery MnTom Troubleshooting vBulletin Problems 12 04-21-2008 11:31 AM
Which gallery mod should I use in your opinion? ArnyVee Troubleshooting vBulletin Problems 5 04-20-2008 09:34 AM
gallery ukfg Troubleshooting vBulletin Problems 3 09-04-2007 06:29 AM
My Gallery Shining Photoshop Tutorials 17 05-12-2007 03:01 PM


All times are GMT -8. The time now is 10:43 PM.