Go Back   Netpond ™ > Webmaster Forums and Resources > Tutorials
Register FAQ Calendar Radio and TV NP Shop Search Today's Posts Mark Forums Read

Tutorials Tutorials and helpful articles made by ponders for ponders

Anal, Ethnic, Pornstar, Shemale
Shemale Reality, Celeb Dating
Reply
 
LinkBack Thread Tools Display Modes
Old 12-01-2007, 06:05 AM   #1 (permalink)
ninja
Its not always sunny on sundays
 
Join Date: Jan 2005
Posts: 310
Points: 1,030
Newbie tutorial: Changing a WP template into a BO template

Here I show you step by step how to transform a wordpress template into a Blogs Organizer template.

Prepare your site in Blogs Organizer. Go to 'Regular Blogs > Add New' and fill out all the fields. At 'Blog Template' just choose anyone, it doesn't matter which one you take at this point, it will change anyway.

After setting everything up press 'ADD' at the bottom of the page. Before you continue working with Blogs Organizer choose a wordpress template of your choice. Wordpress templates look difficult because it uses include for the header, footer and so on, forget about that just copy the source code of the RENDERED wordpress template into your favorite text editor.

Now go back to Blogs Organizer and scroll down the page until you see the section '* Main Template:' Above the content part of this section you see all the tokens you can use in the blog template. Copy %%TITLE%% and place it in the title tag of the template you have in your text editor. Let's say (since we used the already rendered wordpress template) there is already a title like for example:

PHP Code:
<title>This title was here already</title
replace that with

PHP Code:
<title>%%TITLE%%</title
What happens is that the token '%%TITLE%%' will be replaced with the title you entered for your blog in BO. Do the same with the tokens %%DESCRIPTION%%, %KEYWORDS%% for the meta description and meta keywords. Just replace the existing content with the tokens like you did with the title. Also place the tokens %%LINKTRADES,10%%, RECENTPOSTS,10%% (or %%RECENTPOSTS_LI,10%%), %%SITEMAP%% and %%BLOG_RSS%% into the sidebar(S) of the template in your text editor. Put it in the right format. If you don'T know what I'm talking about just place it there and look at the output once we're done, you'll see what this tokens are good for and will understand how to format them. If you wish to manage your linktrades with Blogs Organizer (I'd suggest you use Links Organizer for this) also place %%LINKTRADES,10%% into the sidebar. This token will be replaced with
another template, the 'Link Trades Template' which you find right above the 'Main Template'.

Now comes something some newbies might find complicated. You need to understand the 'loop' in blogs. Take a look at the content part in the template you have in your text editor. Most blog templates are mostly CSS templates and very often the content part of such a blog is within a 'content' div:

PHP Code:
<div id="content">
... 
the posts ...
</
div
Now there will be some posts aready in this content part, we don't need them, we just need ONE post. You need to find out which DIV tags are for the posts. It may sound complicated but it's not. Each posts starts with the same div tag like for example <div class="entry">. So when you see something like

PHP Code:
<div class="entry">
... 
blog post content...
</
div>

<
div class="entry">
... 
you see see where the post starts and where it ends. Now grab exactly one post and copy it into a new page in your text editor. Delete all the posts in the content section of your wordpress blog but not the content DIVs.

Let's take a look at a sample post:

PHP Code:
<div class="entry">
                <
h2 id="post-8" class="pen"><a href="http://themes.wordpress.net/testrun/?p=8" rel="bookmark" title="Permanent Link to Blockquotes galore">

Blockquotes galore</a></h2>
                <
small>October 24th2005 <!-- by Matt --></small>
                
                
                    <
p>Lorem ipsum dolor sit ametconsectetuer adipiscing elitQuisque sed felisAliquam sit amet felisMauris sempervelit  Ut a miEtiam nullaMauris interdum.</p>
                
                <
class="postmetadata">Posted in <a href="http://themes.wordpress.net/testrun/?cat=2" title="View all posts in Test Category 1" rel="category tag">Test Category 1</a> <strong>|</strong>   <a href="http://themes.wordpress.net/testrun/?p=8#respond" title="Comment on Blockquotes galore">No Comments »</a></p
                
                
                <
rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
            
xmlns:dc="http://purl.org/dc/elements/1.1/"
            
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">

        <
rdf:Description rdf:about="http://themes.wordpress.net/testrun/?p=8"
    
dc:identifier="http://themes.wordpress.net/testrun/?p=8"
    
dc:title="Blockquotes galore"
    
trackback:ping="http://themes.wordpress.net/testrun/wp-trackback.php?p=8" />
</
rdf:RDF>                
            </
div
First of all, delete everything we don't need like for example the trackback. Also place the tokens you find in the section 'Post Template:' in bo at the right spots in the post template in your text editor. For example

PHP Code:
<small>October 24th2005 <!-- by Matt --></small
would be replace with

PHP Code:
<small>%%DATE%%</small
the footer part should look like this after changing it:

PHP Code:
<class="postmetadata">Posted in %%CATEGORIES%%</p
Notice that I deleted the comment part, simply because Blogs Organizer doesn't support comments at the moment. So we don't need that part and delete it. Also replace the whole content of the post in your editor with %%BODY%% and place all other tags at the correct position. After changing my sample post it should look like this:

PHP Code:
<div class="entry">
<
h2 class="pen">%%TITLE%%</h2>
<
small>%%DATE%%</small>                
%%
BODY%%
<
class="postmetadata">Posted in %%CATEGORIES%%</p>
</
div
There are some more tags you can use in your post template, if you want to know what they are good for simply place them in your post template and take a look at the output once the blog is ready!

Now copy this post template and past the code into the '* Post Template:' section of Blogs Organizer.

We deleted everything in the content section of the wordpress template before, remember? Now it's time to place another token right in the content section. In Blogs Organizer there is a token available in the main template section called %%POSTS%%. Put this in the content part of your wordpress template now, it should look similar to this:

PHP Code:
<div id="content">
%%
POSTS%%
</
div

copy the whole wordpress template from your editor and replace the existing content from '* Main Template:' in Blogs Organizer with it.

Click update at the bottom of the page.

Upload your blog files where you want your blog to appear.

Now you will notice that you blog will look fucked up, simply because we didn't upload the images and the css file of the wordpress template yet (in case it has images). So upload the images and the css file and make sure the paths in the template are correct...

This is it actually, this might look much for a newbie but once you actually understand it (this will happen if you just do it a couple of times) the whole procedure shouldn't take longer than 5 minutes...

thx for your attention :-)
ninja is offline   Reply With Quote Send a private message to ninja
Old 12-01-2007, 08:20 AM   #2 (permalink)
kaktusan
Kaktusan Corp taking over the Coding biz
 
kaktusan's Avatar
 
Join Date: May 2004
Location: Bulgaria
Posts: 4,517
Points: 290
Send a message via ICQ to kaktusan Send a message via AIM to kaktusan
now thats great tutorial, thanks!

i'm sure it will help lots of people
__________________


#1 Mass Blogging Script: Blogs Organizer | #1 Mass RSS Feeder Script Blogs Automater
#1 Multidomain Hardlink Trade Script : Links Organizer | #1 Blog Posts Builder Script: Gallery Scraper
Complete List of Affiliate RSS Feeds! | A-B-C Blog Linktrades
kaktusan is online now   Reply With Quote Send a private message to kaktusan
Old 12-01-2007, 10:12 AM   #3 (permalink)
kaz
Is Aga really Little Buddha?
 
Join Date: Mar 2007
Posts: 2,449
Points: 130
This should be made into a sticky, as I'm sure it will come in handy for lots of people. Thanks Ninja for the info!
__________________
My #1 Selling Sponsor. Ratio 1:770
Platinum Bucks: Earn 80% revshare with teens, solos, milfs, amateurs, and cum
NS Cash: 60% revshare for Squirting, big breasts, voyeur, and more
kaz is online now   Reply With Quote Send a private message to kaz
Old 12-01-2007, 10:24 AM   #4 (permalink)
R.V
I have achieved guppy status
 
Join Date: Jul 2007
Posts: 109
Points: 20
Wow nice tutorial. Thanks a lot Ninja
R.V is online now   Reply With Quote Send a private message to R.V
Old 12-01-2007, 10:36 AM   #5 (permalink)
Globofun
I'm a Moderator and a TWIT
 
Globofun's Avatar
 
Join Date: May 2005
Location: Montreal, Canada
Posts: 9,773
Points: 3,165
Send a message via ICQ to Globofun
Nice tutorial for sure!
__________________


Become a Shemale Master, even if there's NO MONEY in that niche!

NicheCastle ** ExoticGold ** KinkyDollars Make me NO MONEY!

"Work honestly and build, build, build. That's all I can tell you" -John Richard Simplot
Globofun is online now   Reply With Quote Send a private message to Globofun
Old 12-01-2007, 11:49 AM   #6 (permalink)
zivko82
Trcim Pa Zapinjem!
 
zivko82's Avatar
 
Join Date: Aug 2006
Location: Europe
Posts: 604
Points: 190
Send a message via ICQ to zivko82
Nice Tutorial man Thanks!
__________________
zivko82 is offline   Reply With Quote Send a private message to zivko82
Old 12-01-2007, 02:25 PM   #7 (permalink)
jibstar
Im addicted to Netpond
 
jibstar's Avatar
 
Join Date: Mar 2005
Location: Gangaworld
Posts: 464
Points: 1,990
Send a message via ICQ to jibstar
Nice tutorial, I've been doing for a while now the only problem I have is when I add the %%CALENDAR%% tag the calendar numbers are so big they take up a quarter width of the page, do you know how to make the calendar smaller?
jibstar is online now   Reply With Quote Send a private message to jibstar
Old 12-01-2007, 04:29 PM   #8 (permalink)
DrPimp
Still learning...
 
DrPimp's Avatar
 
Join Date: Nov 2005
Location: QC, Canada
Posts: 183
Points: 110
Send a message via ICQ to DrPimp
Nice tutorial! I was actually looking how to do it. Now that's gonna be easier.

Thanks!

__________________
*** My Top 3 Moneymakers For January 2008 ***

1. Sunny Dollars 2. Cash Uncovered 3. Jaymancash
DrPimp is offline   Reply With Quote Send a private message to DrPimp
Old 12-01-2007, 08:45 PM   #9 (permalink)
ninja
Its not always sunny on sundays
 
Join Date: Jan 2005
Posts: 310
Points: 1,030
Quote:
Originally Posted by jibstar
Nice tutorial, I've been doing for a while now the only problem I have is when I add the %%CALENDAR%% tag the calendar numbers are so big they take up a quarter width of the page, do you know how to make the calendar smaller?
Although it's not the best solution because the table is set to 280px you can still define everything with css.

For example when you put this in your css file:

PHP Code:
.cal_table {
width:150px;

the table won't be 280px, it will be 150px

I didn't try it now but I'm sure you can somehow change the size of the numbers with css too, here are all classes you can use:

http://support.cheapestwebsoftware.c...topic.php?p=46
ninja is offline   Reply With Quote Send a private message to ninja
Old 12-02-2007, 07:52 AM   #10 (permalink)
kaktusan
Kaktusan Corp taking over the Coding biz
 
kaktusan's Avatar
 
Join Date: May 2004
Location: Bulgaria
Posts: 4,517
Points: 290
Send a message via ICQ to kaktusan Send a message via AIM to kaktusan
Quote:
Originally Posted by ninja
Although it's not the best solution because the table is set to 280px you can still define everything with css.

For example when you put this in your css file:

PHP Code:
.cal_table {
width:150px;

the table won't be 280px, it will be 150px

I didn't try it now but I'm sure you can somehow change the size of the numbers with css too, here are all classes you can use:

http://support.cheapestwebsoftware.c...topic.php?p=46
yes, with all the css classes listed at that support page, one can customize the calendar to look exactly like he wants.
__________________


#1 Mass Blogging Script: Blogs Organizer | #1 Mass RSS Feeder Script Blogs Automater
#1 Multidomain Hardlink Trade Script : Links Organizer | #1 Blog Posts Builder Script: Gallery Scraper
Complete List of Affiliate RSS Feeds! | A-B-C Blog Linktrades
kaktusan is online now   Reply With Quote Send a private message to kaktusan
Old 12-05-2007, 06:00 PM   #11 (permalink)
wizzbang
Me and Sarah in Vegas
 
wizzbang's Avatar
 
Join Date: Oct 2004
Location: In the Alps
Posts: 447
Points: 545
Send a message via ICQ to wizzbang
It seems I have a RAM problem on my server and have to Upgrade. My technician tells me that Wordress Blogs use a lot more database that Blog Organizer.

So I should save a lot of RAM if I make my current wordpress template workable on Blog Organizer - Yes?
__________________
Hmm, got to find something good to put in here
wizzbang is online now   Reply With Quote Send a private message to wizzbang
Old 12-06-2007, 03:08 AM   #12 (permalink)
R.V
I have achieved guppy status
 
Join Date: Jul 2007
Posts: 109
Points: 20
Quote:
Originally Posted by wizzbang
It seems I have a RAM problem on my server and have to Upgrade. My technician tells me that Wordress Blogs use a lot more database that Blog Organizer.

So I should save a lot of RAM if I make my current wordpress template workable on Blog Organizer - Yes?
Yes thats correct, the template doesn't matter, if you have a blogs organizer based blog it will use considerably less server resources than a wordpress based blog.
R.V is online now   Reply With Quote Send a private message to R.V
Old 05-05-2008, 10:26 AM   #13 (permalink)
mm107
Is Aga really Little Buddha?
 
Join Date: Jul 2005
Posts: 635
Points: 625
GREAT MOTHER Fin Tutorial

=]

just add
.cal_table {
width:150px;
}

into your CSS File, or HTML (if u don't use a style sheet).

My Calendar is ALWAYS messed up until i specificy how big i want the cal,

Also, make a note, if your WP Template calls for a "title image", make sure to edit it in the post template.

I converted a WP Theme,
Real Ex Girlfriends Exploited! - WP

to

Young Teen Models Free Picture and Video Galleries - BO

There is an image that is behind each post title(the pink area with the hearts above/behind each post title) i just had to add the style into the post template and it worked great.

Make sure to Add a Sitemap + Google Sitemap to the footer for better crawling.

This tutorial will help me greatly! Thanks!

Now ill be buying some WP Templates to convert =]

Thanks for this tutoria, now i can start up my BO network of blogs, as i was using WP because the themes with BO, are not up to my standards, but now i can edit them!!!!!!
mm107 is offline   Reply With Quote Send a private message to mm107
Old 05-08-2008, 02:28 PM   #14 (permalink)
l13st
Im starting to love this place and the points dont matter lol
 
Join Date: Apr 2008
Posts: 26
Points: 130
nice thanks friend
l13st is offline   Reply With Quote Send a private message to l13st
Old 06-22-2008, 03:32 PM   #15 (permalink)
mcluvin
I want to be a point slut like Scream
 
Join Date: Sep 2007
Posts: 33
Points: 60
nice ill give it a try
mcluvin is offline   Reply With Quote Send a private message to mcluvin
Reply


Thread Tools
Display Modes



Netpond Resources
Resource Directory Tutorials & Articles Webmaster Tools Netpond News
 
Netpond Resources
LoveDollars WildCash PussyCash SilverCash
Fetish Hits Cyberwurx Platinum Bucks Python
AEBN GroobyBucks Score-Cash XMoney
Rabbits Reviews CraziesCash TrafficCashGold EvilAngelCash
Orgycash BigClicks Webcams Cyberbit
Free Porn Paradise British Porno British Porn Models
Orgy, Pissing, Shemale Live Sex Cams
All times are GMT -4. The time now is 01:42 AM.


Powered by vBulletin® Version 3.6.10