<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>No Keyword in URL</title>
	<atom:link href="http://nokeywordinurl.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nokeywordinurl.com</link>
	<description>SEO tips and tricks</description>
	<lastBuildDate>Thu, 17 May 2012 11:22:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Site Naming Practice</title>
		<link>http://nokeywordinurl.com/site-naming/</link>
		<comments>http://nokeywordinurl.com/site-naming/#comments</comments>
		<pubDate>Thu, 17 May 2012 11:22:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO Tips]]></category>

		<guid isPermaLink="false">http://www.nokeywordinurl.com/site-naming/</guid>
		<description><![CDATA[While Google provides us with more than 38.000.000 pages for "naming" request results, I am starting to recollect my personal experience of choosing the names (URLs) for my projects. It is always very difficult to agree that the variant you have just approved for yourself will be a "prize-winner" in search engine positioning race. But [...]]]></description>
			<content:encoded><![CDATA[<p>While Google provides us with more than <a rel="nofollow" style="background-color: #ff99ff" href="http://www.google.com/search?num=100&#038;hl=en&#038;lr=&#038;q=naming&#038;btnG=Search">38.000.000</a> pages for "naming" request results, I am starting to recollect my personal experience of choosing the names (URLs) for my projects.</p>
<p>It is always very difficult to agree that the variant you have just approved for yourself will be a "prize-winner" in search engine positioning race. But look at the URLs of Google-toppers and maybe that will make you think another way. Creativity and some luck (you must be lucky to find the domain name you would like to get free) are major players here!!</p>
<p>I wouldn't like to list all those "globalwarming-awareness2007" coms, nets, orgs, and other. I am aiming at the most witty variants I can find on the net.</p>
<p>Here are some of them: <font size="-1"><span class="a">www.<strong>globalwarming</strong>-awareness2k7.info/, </span></font><font size="-1"><span class="a">www.e-<strong>globalwarming</strong>-<strong>awareness2007</strong>.com/, </span></font><font size="-1"><span class="a">earth-<strong>globalwarming</strong>-<strong>awareness2007</strong>.com/, </span></font><font size="-1"><span class="a"><strong>globalwarming</strong><strong>awareness2007</strong>theblog.com/, </span></font><font size="-1"><span class="a">www.<strong>globalwarming</strong><strong>awareness2007</strong>contest.com/, </span></font><font size="-1"><span class="a">www.e<strong>globalwarming</strong><strong>awareness2007</strong>.com/, </span></font><font size="-1"><span class="a"><strong>globalwarming</strong>.<strong>awareness2007</strong>.com/, </span></font><font size="-1"><span class="a">www.see-<strong>globalwarming</strong>-<strong>awareness2007</strong>.com/... The list can be too long to cover all the variants possible, but even here one can see how adding a word or only one letter - let it be even smth not topic related one - can help you preserve the keyword (key phrase) in your URL.</span></font></p>
<p><font size="-1"><span class="a" /></font>Hyphens are mostly common in such variants, but we can find even subdomains consisted of the divided key phrase. Some lucky people (I am) can find even this: <font size="-1"><span class="a"><strong>globalwarming</strong>-<strong>awareness2007</strong>.seocontestssuck.com/  <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></font></p>
<p>If you've found something of interest - post it here! Let other people know the variants!</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/site-naming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many inbound links per day is safe?</title>
		<link>http://nokeywordinurl.com/how-many-new-links-per-day-are-safe/</link>
		<comments>http://nokeywordinurl.com/how-many-new-links-per-day-are-safe/#comments</comments>
		<pubDate>Mon, 07 May 2012 13:28:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO Tips]]></category>

		<guid isPermaLink="false">http://www.nokeywordinurl.com/how-many-new-links-per-day-are-safe/</guid>
		<description><![CDATA[Some internet sources consider that organizing a link campaign, the number of new links per month should be less than 10 % of the overall number of links that the site has. Do you think it is right? That 10 % refers to all the links ( outbound, inbound )? Or does it refer to [...]]]></description>
			<content:encoded><![CDATA[<p>Some internet sources consider that organizing a link campaign, the number of new links per month should be less than 10 % of the overall number of links that the site has. Do you think it is right?<br />
That 10 % refers to all the links ( outbound, inbound )?<br />
Or does it refer to the unique links ( considering several links from the same site a s an unique link)?</p>
<p>My impression, in these days, is that it's not necessary a big number of links, but few good links per month.<br />
I think that Google is implementing something like a "sandbox" for sites getting too many links in a short term.</p>
<p>I think that is largely dependent on the level of authority your site commands, but even more dependent on the quality of those links.</p>
<p>If you have an established authoritative domain I don't believe there are negative implications with getting too many links too soon. There are many examples we can point to where a site can naturally gain thousands of links within a few days such as an exclusive news story breaking on a site that gets picked up by the media and blogs, or a new widget getting picked up thousands of customers.</p>
<p>With a newer site I might take a more conservative approach when building links...but the same concept applies.</p>
<p>How many links do you think some site acquired within the first few days it launched? Hundreds? Thousands? And it wasn't penalized.....</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/how-many-new-links-per-day-are-safe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running out of potential link partners.</title>
		<link>http://nokeywordinurl.com/34/</link>
		<comments>http://nokeywordinurl.com/34/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 05:07:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO Tips]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/2008/04/29/34/</guid>
		<description><![CDATA[We are starting to run thin on potential link partners. I have sent hundreds of requests (most of them customized) to high values sites and now the pool is running dry. For you guys who have been in my situation, where do you turn to find new link partners?So far, I've hit the search engines [...]]]></description>
			<content:encoded><![CDATA[<p>We are starting to run thin on potential link partners. I have sent hundreds of requests (most of them customized) to high values sites and now the pool is running dry. For you guys who have been in my situation, where do you turn to find new link partners?So far, I've hit the search engines and went through all the industry link sections of my competitors and related sites/industries.</p>
<p>Oops Links Links and Links......</p>
<p>We need to be #1, how can we get links? Almost every other client has this question.</p>
<p>My answer:</p>
<p>1. Content: If you don't have content on your website, you don't deserve links. So work on the content, make it worthy of a read.<br />
2. Services: Do you really exist? What do you do? Do you offer something unique? If you are doing something useful probably there are a bunch who want to talk about your site.<br />
3. Don't live in an era of Link exchange. Those days are almost over, rely on creating talkable content. There are tons of articles on it.<br />
4. Focus on few links, get the relationship moving. If a public speaker is impressed with your website, he will spread to many who will link back. So make sure you take your site to people who are talkers for your subject.<br />
5. Press releases are tricky, don't publish one article across many sites, max 5 and if possible, let all of these articles contain a link to one article so that you can cash in more juice.<br />
6. News websites: There are tons of services that offer paid exposure and getting you to news sites.<br />
7. Gadgets: Make gadgets and get links from there. It will also prompt many people to talk about your services.<br />
8. Target technical neighborhood, they like to talk about things, so keep doing something that they can talk about.</p>
<p>There is a ton that one can write about links. I wish I had enough time. You can get some good links for $s too (most of them do it but very smartly).</p>
<p>But remember this formula<br />
Year 2003: - Page based optimization, get links to targeted pages only.<br />
Year 2008: Site based optimization, get links to site, make your site credible, pages of a credible websites are credible, get some topical links to the pages and you rock the SERPS.</p>
<p>Easy said than done <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Do your dirty work yourself or pay the experts.</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/34/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing &amp; Fixing Donate module in CubePoints Reputation system on WP</title>
		<link>http://nokeywordinurl.com/customizing-fixing-donate-module-in-cubepoints-reputation-system-on-wp/</link>
		<comments>http://nokeywordinurl.com/customizing-fixing-donate-module-in-cubepoints-reputation-system-on-wp/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 20:20:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=240</guid>
		<description><![CDATA[First of all I don't like the word "donate" in context of reputation/relations. Just imagine, user thinks and want to say: "Hey, Bro! Thanks! Take this 10 points to your rep!" And here we do offer him to tell another phrase: "Hello. Please take my handout of 10 points..." I think this alternatives are much [...]]]></description>
			<content:encoded><![CDATA[<p>First of all I don't like the word "<em>donate</em>" in context of reputation/relations.<br />
Just imagine, user thinks and want to say: "<em>Hey, Bro! Thanks! Take this 10 points to your rep!</em>"<br />
And here we do offer him to tell another phrase: "<em>Hello. Please take my handout of 10 points...</em>"<br />
I think this alternatives are much better: <strong>Add/Share/Give points, say Thanks!</strong></p>
<p>We need passing username to the first field ("<em>Recipient:</em>") and value="10" to field "<em>Amount:</em>" (or 5, or 20 or any value you consider better).</p>
<p>Find function <strong>cp_module_donate()</strong> in the script <strong>/wp-content/plugins/cubepoints/modules/donate/donate.js</strong><br />
and function <strong>cubepoints_bp_profile()</strong> in the file <strong>/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-functions.php</strong></p>
<p>We will just add "<em>username</em>" variable to <strong>cp_module_donate()</strong><br />
I've added <strong>value="'+username+'"</strong> to the first input, and <strong>value="10"</strong> to second input.<br />
<strong>function cp_module_donate(){</strong> changed to <strong>function cp_module_donate(username){</strong></p>
<p>Here is my result for mentioned function (<strong>donate.js</strong> file):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">...
<span style="color: #003366; font-weight: bold;">function</span> cp_module_donate<span style="color: #009900;">&#40;</span>username<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  confirmation <span style="color: #339933;">=</span> cp_donate.<span style="color: #660066;">confirmation</span><span style="color: #339933;">;</span>
  thebox <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Boxy<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'&lt;form name=&quot;cp_donate&quot; id=&quot;cp_donate&quot; method=&quot;post&quot; onsubmit=&quot;Boxy.confirm(confirmation,function(){cp_module_donate_do();});return false;&quot;&gt;&lt;label for=&quot;cp_recipient&quot;&gt;'</span><span style="color: #339933;">+</span>cp_donate.<span style="color: #660066;">recipient</span><span style="color: #339933;">+</span><span style="color: #3366CC;">':&lt;/label&gt;&lt;br /&gt;&lt;input type=&quot;text&quot; id=&quot;cp_recipient&quot; name=&quot;cp_recipient&quot; style=&quot;width:300px;&quot; value=&quot;'</span><span style="color: #339933;">+</span>username<span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;label for=&quot;cp_points&quot;&gt;'</span><span style="color: #339933;">+</span>cp_donate.<span style="color: #660066;">amount</span><span style="color: #339933;">+</span><span style="color: #3366CC;">':&lt;/label&gt;&lt;br /&gt;&lt;input type=&quot;text&quot; id=&quot;cp_points&quot; name=&quot;cp_points&quot; style=&quot;width:300px;&quot; value=&quot;10&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;label for=&quot;cp_message&quot;&gt;'</span><span style="color: #339933;">+</span>cp_donate.<span style="color: #660066;">message</span><span style="color: #339933;">+</span><span style="color: #3366CC;">':&lt;/label&gt;&lt;br /&gt;&lt;textarea id=&quot;cp_message&quot; name=&quot;cp_message&quot; style=&quot;width:300px;height:50px;&quot;&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;input type=&quot;submit&quot; value=&quot;'</span><span style="color: #339933;">+</span>cp_donate.<span style="color: #660066;">donate_points</span><span style="color: #339933;">+</span><span style="color: #3366CC;">'&quot; style=&quot;width:300px;&quot; /&gt;&lt;/form&gt;'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>title<span style="color: #339933;">:</span> cp_donate.<span style="color: #660066;">donate</span><span style="color: #339933;">,</span> modal<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Now we need set variable "username" when cp_module_donate(username) function was called.<br />
It should look somehow like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">onclick<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;Javascript:cp_module_donate('&lt;?php echo bp_core_get_username($bp-&gt;displayed_user-&gt;id); ?&gt;');&quot;</span></pre></td></tr></table></div>

<p>In addition I've changed title for link: title="<?php _e('Share Points(say Thanks!)', 'cp_buddypress'); ?>"<br />
And removed "Rank - " from user-rank. I think word "Newbie" is enough and looks better than "Rank - Newbie".</p>
<p>Ok, here is result of customized function cubepoints_bp_profile() (file <strong>/wp-content/plugins/cubepoints-buddypress-integration/includes/bp-cubepoint-functions.php</strong>)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">...
function cubepoints_bp_profile() {
&nbsp;
	global $bp;
&nbsp;
	if(function_exists('cp_displayPoints')){ ?&gt;
		&lt;span class=&quot;cubepoints_buddypress&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> cp_displayPoints<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">displayed_user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/span&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>cp_module_activated<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'donate'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_user_logged_in<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			&lt;span class=&quot;cupepoints_buddypress_donate&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Share Points(say Thanks!)'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp_buddypress'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; onclick=&quot;Javascript:cp_module_donate('<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> bp_core_get_username<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">displayed_user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>');&quot; class=&quot;thickbox cp_donateLink&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Add Points'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp_buddypress'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/span&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>cp_module_activated<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ranks'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;span class=&quot;cupepoints_buddypress_rank&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/*_e('Rank', 'cp_buddypress');*/</span> <span style="color: #000000; font-weight: bold;">?&gt;</span><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> cp_module_ranks_getRank<span style="color: #009900;">&#40;</span><span style="color: #000088;">$bp</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">displayed_user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/span&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Additionally you can change output for donation popup window.<br />
Check file <strong>/wp-content/plugins/cubepoints/modules/donate/donate.php</strong><br />
Here is example of customized values:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">wp_localize_script<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'cp_donate_script'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp_donate'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
  ajax_url<span style="color: #339933;">=&gt;</span>get_bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/wp-admin/admin-ajax.php'</span><span style="color: #339933;">,</span>
  confirmation<span style="color: #339933;">=&gt;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Are you sure you want to share your points?'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  recipient<span style="color: #339933;">=&gt;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Recipient'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  message<span style="color: #339933;">=&gt;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Message'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  amount<span style="color: #339933;">=&gt;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Amount (10 points should be Ok)'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  donate_points<span style="color: #339933;">=&gt;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Submit!'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  donate<span style="color: #339933;">=&gt;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Add Points from your Score'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'cp'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Any questions or suggestions?</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/customizing-fixing-donate-module-in-cubepoints-reputation-system-on-wp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing CubePoints Reputation and Rank in WP comments</title>
		<link>http://nokeywordinurl.com/implementing-cubepoints-reputation-and-rank-in-wp-comments/</link>
		<comments>http://nokeywordinurl.com/implementing-cubepoints-reputation-and-rank-in-wp-comments/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 13:34:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=223</guid>
		<description><![CDATA[After installing CubePoints(+CubePoints Buddypress Integration) plugin I was disappointed that I didn't found reputation points and ranks for users in their comments on blog and bbpress forum. I think that this is important part of such plugin - show user's reputation to public. After couples of hours of searching for solution, I did found only [...]]]></description>
			<content:encoded><![CDATA[<p>After installing <a href="http://wordpress.org/extend/plugins/cubepoints/">CubePoints</a>(+<a href="http://wordpress.org/extend/plugins/cubepoints-buddypress-integration/">CubePoints Buddypress Integration</a>) plugin I was disappointed that I didn't found reputation points and ranks for users in their comments on blog and bbpress forum. I think that this is important part of such plugin - show user's reputation to public.<br />
After couples of hours of searching for solution, I did found only <a href="http://wordpress.org/support/topic/plugin-cubepoints-displaying-points-in-comments">that</a>. But nobody told there how to embed this correctly in WP.<br />
Anyway I've found solution after reading some topics and WP functions descriptions. Here is result:</p>
<p><img src="http://caregivermom.com/wp-content/uploads/2012/04/cubepoints-in-comments.png" alt="CubePoints and Ranks in WordPress Comments" /><br />
<span id="more-223"></span><br />
I think your theme contains <strong>comments.php</strong> and this file calls <em><a href="http://codex.wordpress.org/Function_Reference/wp_list_comments">wp_list_comments</a></em> function to show replies. Something like that:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>or this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'avatar_size'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">70</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p><span style="color: #ff0000;">Don't modify <strong>wp-includes/comment-template.php</strong>!</span> It is not correct and will be removed after your next WP update.<br />
We can set for <em>wp_list_comments</em> callback function, the function that will be called instead of main part of <em><a href="http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/comment-template.php#L1329">start_el</a></em>.</p>
<p>Ok, here is my example of making CubePoints and Ranks displayed in comments for WordPress 3.3.1<br />
For <em>wp_list_comments</em> I've set callback-function <em>comment_template_cp</em> (<strong>comments.php</strong> file of my wp theme):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span> ABSPATH <span style="color: #339933;">.</span> <span style="color: #0000ff;">'wp-admin/includes/plugin.php'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_plugin_active<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cubepoints/cubepoints.php'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'avatar_size'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">70</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'callback'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'comment_template_cp'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'avatar_size'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">70</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>In <strong>functions.php</strong> file of my theme I've inserted <em>comment_template_cp</em> function (modified <em><a href="http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/comment-template.php#L1329">start_el</a></em>):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">function comment_template_cp($comment, $args, $depth) {
&nbsp;
    $GLOBALS['comment'] = $comment;
    extract($args, EXTR_SKIP);
&nbsp;
    if ( 'div' == $args['style'] ) { $tag = 'div'; $add_below = 'comment';
      } else { $tag = 'li'; $add_below = 'div-comment'; }
?&gt;
    &lt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$tag</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_class<span style="color: #009900;">&#40;</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'has_children'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">''</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">'parent'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> id=&quot;comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'div'</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'style'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;div id=&quot;div-comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;comment-body&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;div class=&quot;comment-author vcard&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'avatar_size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> get_avatar<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">,</span> <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'avatar_size'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;cite class=&quot;fn&quot;&gt;%s&lt;/cite&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> get_comment_author_link<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> get_userdata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cp_displayPoints'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;span class=&quot;cubepoints_buddypress&quot;&gt;'</span><span style="color: #339933;">;</span> cp_displayPoints<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/span&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cp_module_ranks_getRank'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">' &lt;span class=&quot;cupepoints_buddypress_rank&quot;&gt;'</span><span style="color: #339933;">.</span>cp_module_ranks_getRank<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/span&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;span class=&quot;says&quot;&gt;&lt;/span&gt;
    &lt;/div&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_approved</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'0'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;em class=&quot;comment-awaiting-moderation&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> _e<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Your comment is awaiting moderation.'</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/em&gt;
    &lt;br /&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
    &lt;div class=&quot;comment-meta commentmetadata&quot;&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span> get_comment_link<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_ID</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;
      <span style="color: #000000; font-weight: bold;">&lt;?php</span>
        <span style="color: #666666; font-style: italic;">/* translators: 1: date, 2: time */</span>
        <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%1$s at %2$s'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> get_comment_date<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>  get_comment_time<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> edit_comment_link<span style="color: #009900;">&#40;</span>__<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'(Edit)'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'&amp;nbsp;&amp;nbsp;'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">''</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;/div&gt;
&nbsp;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_text<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
    &lt;div class=&quot;reply&quot;&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_reply_link<span style="color: #009900;">&#40;</span><span style="color: #990000;">array_merge</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$args</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'add_below'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$add_below</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'depth'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$depth</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'max_depth'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'max_depth'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;/div&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'div'</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'style'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;/div&gt;
    <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Here is our code for showing cubepoints if you don't see that in function above.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$user</span> <span style="color: #339933;">=</span> get_userdata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cp_displayPoints'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;span class=&quot;cubepoints_buddypress&quot;&gt;'</span><span style="color: #339933;">;</span> cp_displayPoints<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/span&gt;'</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">function_exists</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'cp_module_ranks_getRank'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">' &lt;span class=&quot;cupepoints_buddypress_rank&quot;&gt;'</span><span style="color: #339933;">.</span>cp_module_ranks_getRank<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/span&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Ok, next my step is implementation CubePoints to bbPress replies.</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/implementing-cubepoints-reputation-and-rank-in-wp-comments/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Important plugins for bbPress 2.0</title>
		<link>http://nokeywordinurl.com/important-plugins-for-bbpress-2/</link>
		<comments>http://nokeywordinurl.com/important-plugins-for-bbpress-2/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 07:13:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=208</guid>
		<description><![CDATA[bbPress 2.0 Released on September 21, 2011. Version 2.1 in progress. If you are setting up new bbPress installation you wouldn't use old version for sure. But the problem is that most of plugins are developed for bbPress 0.9 and wouldn't work on 2.0 version. Developers do not hurry update their plugins... Here is some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/bbpress/">bbPress 2.0</a> Released on September 21, 2011. Version 2.1 in progress.<br />
If you are setting up new bbPress installation you wouldn't use old version for sure.<br />
But the problem is that most of plugins are developed for bbPress 0.9 and wouldn't work on 2.0 version.<br />
Developers do not hurry update their plugins... <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Here is some really useful plugins for bbPress 2.0 that I'd like to share with you.</p>
<p><strong>Tested:</strong></p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/bbpress-quotes/">bbPress Quotes</a><br />
Gives the ability to quote bbPress forum topics and replies. A quote button appears to the end of replies so users can easily quote another user.</li>
<li><a href="http://wordpress.org/extend/plugins/bbpressmoderation/">bbPress Moderation</a><br />
Add the ability to moderate and approve new topics and replies in the bbPress V2.0 plugin</li>
<li><a href="http://wordpress.org/extend/plugins/bbpress-post-toolbar/">bbPress Post Toolbar</a><br />
Enables uploading/embedding images in a bbPress post. User can embed video from YouTube, Metacafe, Vimeo (and others) with shortcodes.</li>
<li><a href="http://wordpress.org/extend/plugins/bbpress-bbcode/">bbPress2 BBCode</a><br />
This plugin adds support for popular bbcode forum code to posts, comments, pages, bbpress 2.0 forum posts and buddypress activity and group forum post.<br />
<em>It was tested and it works. But it doesn't offer any script+buttons for marking the text. You can setup simple <a href="http://corpocrat.com/2008/08/15/free-wysiwyg-bbcode-editor-in-javascript/">BBCode Editor in JS</a> for that (<a href="http://corpocrat.com/2010/10/18/integrating-htmlbbcode-markup-editor-to-wordpress-comments-form/">here is instruction</a>). But there is no big sense while <a href="http://wordpress.org/extend/plugins/bbpress-post-toolbar/">bbPress Post Toolbar</a> works pretty good.<br />
But BBCode Editor is a really simple solution, customizable, can be implemented everywhere and works like a charm. TinyMCE, CKEditor are brutal in comparison to this.</em></li>
</ul>
<p><span id="more-208"></span><br />
<strong>Not tested yet:</strong></p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/bbp-topic-views/">bbPpress Topic Views</a><br />
Counts the number of times a bbPress topic has been viewed, and allows the administrator to display the count in various places. </li>
<li><a href="http://bbpress.org/plugins/topic/bbpress-latest-discussion-for-wp/">bbPress Latest Discussion</a><br />
This plugin will generates Latest Discussion list from your bbpress forum into your wordpress. It has the ability to generate latest discussion on sidebar also.</li>
<li><a href="http://wordpress.org/extend/plugins/bbpress-post-topics/">bbPress Topics for Posts</a><br />
Replace the comments on your WordPress blog posts with topics from an integrated bbPress install<br />
<em>I didn't test it because just don't wish make comments as replies in a forum. </em></li>
</ul>
<p>I'll update this post if find something else.<br />
Please post in comments if you've found something interesting.</p>
<p>Now I'm looking for mini-stats for bbPress 2.0<br />
Something like <a href="http://bbpress.org/plugins/topic/mini-stats/">this</a> but for bbpress2</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/important-plugins-for-bbpress-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AddThis Vertical Bar position relative to the page content</title>
		<link>http://nokeywordinurl.com/addthis-vertical-bar-position-relative-to-the-page-content/</link>
		<comments>http://nokeywordinurl.com/addthis-vertical-bar-position-relative-to-the-page-content/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 20:06:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML&CSS]]></category>
		<category><![CDATA[SEO Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=187</guid>
		<description><![CDATA[I was trying to setup Sociable plugin for WP. Skyscrapper didn't work. I remember about AddThis buttons and found that they do offer Vertical Bar now. Instruction there is very poor, but vertical floating bar with social buttons is very popular among bloggers! And they really offer webmasters set position of sharing bar relative to [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to setup Sociable plugin for WP. Skyscrapper didn't work.<br />
I remember about AddThis buttons and found that they do offer <a href="http://www.addthis.com/labs/floating-vertical-bar">Vertical Bar</a> now.</p>
<p>Instruction there is very poor, but vertical floating bar with social buttons is very popular among bloggers! And they really offer webmasters set position of sharing bar relative to the left top corner of visitors' browsers . <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Most of sites I visit has centered body, I think you too. And what if I want place this bar to the right of content???<br />
According to the logic We must post notice on our sites like this: "Please change resolution of your monitor to 1280x1024 for better view."<br />
Crap! <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-187"></span></p>
<p>Ok, I've found solution.<br />
All you need is add one more div over AddThis code.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">...
&lt;div style=&quot;top: 60px; left: 50%; position: fixed; width: 0pt; height: 0pt;&quot;&gt;
&lt;div class=&quot;addthis_bar addthis_bar_vertical addthis_bar_large&quot; style=&quot;left: -560px; position: relative; height:275px; width:65px; background-color:#EEEEEE;&quot;&gt;
&lt;div class=&quot;addthis_toolbox addthis_default_style&quot;&gt;
&lt;span&gt;&lt;a class=&quot;addthis_button_facebook_like&quot; fb:like:layout=&quot;box_count&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span&gt;&lt;a class=&quot;addthis_button_tweet&quot; tw:count=&quot;vertical&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span&gt;&lt;a class=&quot;addthis_button_google_plusone&quot; g:plusone:size=&quot;tall&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span&gt;&lt;a class=&quot;addthis_counter&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
...</pre></td></tr></table></div>

<p>In the first div you can see <strong>top:60px</strong>. Right, it's top space between bar and top border of browser window.<br />
As for horizontal positioning you need set "left" style property.<br />
If you need it to appear to the left, you need set it to number below zero (like here <strong>left: -560px;</strong>).<br />
How to find this number?<br />
<strong>-( (your site body width)/2 + (bar width) + (bar paddings) + (your padding) )</strong><br />
On this site I use: <em>-560 = -( 950/2 + 65 + 5*2 + 10 )</em><br />
For the right position use positive numbers. Formula is very simple:<br />
<strong>(your site body width)/2 + (your padding)</strong><br />
For this site it would be: <em>485 = 950/2 + 10</em></p>
<p>Got 2 problems:<br />
1) height for background rounded bar wouldn't work, it will be collapsed if not set. I just set it to 275px manually.<br />
2) orange share button glitches <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
When you scroll page (even a little) if you move mouse over this button you'll see that menu goes down.</p>
<p>Please share with us your idea on how to make this code better...</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/addthis-vertical-bar-position-relative-to-the-page-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple PHP code for getting value of current URL</title>
		<link>http://nokeywordinurl.com/simple-php-code-for-getting-value-of-current-url/</link>
		<comments>http://nokeywordinurl.com/simple-php-code-for-getting-value-of-current-url/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 09:17:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripts & Apache]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=201</guid>
		<description><![CDATA[Today I've started making sitewide login form for WordPress based site with specific scripts. wp-login.php uses redirect_to variable. That mean - after login user can be redirected back to the page where he was before. We must send this info to wp-login.php So, for complete my login form I needed the value of current URL. [...]]]></description>
			<content:encoded><![CDATA[<p>Today I've started making sitewide login form for WordPress based site with specific scripts.<br />
<em>wp-login.php</em> uses <em>redirect_to</em> variable. That mean - after login user can be redirected back to the page where he was before. We must send this info to <em>wp-login.php</em></p>
<p>So, for complete my login form I needed the value of current URL.<br />
WP has function <em>get_permalink()</em>, but I needed something like this for script that is not under WP control.<br />
And <em>get_permalink()</em> will cut GET request. For example if the user is on the page <em>http://host.com/jobs/?query=nurse&#038;location=CA</em> after login he will be redirected to <em>http://host.com/jobs/</em></p>
<p>There are lots of variants of code I found. For example specific functions like <a href="http://dev.kanngard.net/Permalinks/ID_20050507183447.html">this</a> or <a href="http://webcheatsheet.com/php/get_current_page_url.php">this</a>.<br />
That's too huge code for me and mostly for those who uses specific ports maybe.<br />
But all I need is just the value of the URL in user address bar!</p>
<p>I found pretty good code <a href="http://www.bradino.com/php/get-current-url/">here</a>.<br />
It checks the URL only if it HTTP or HTTPS, and that's enough!<br />
After little minimization I've got this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTPS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">&quot;https://&quot;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;http://&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$url</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'SERVER_NAME'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/simple-php-code-for-getting-value-of-current-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating ribbon-style button with Photoshop (best for Join-Now/Register signs)</title>
		<link>http://nokeywordinurl.com/creating-ribbon-style-button-with-photoshop-best-for-join-now-register-signs/</link>
		<comments>http://nokeywordinurl.com/creating-ribbon-style-button-with-photoshop-best-for-join-now-register-signs/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 15:07:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=166</guid>
		<description><![CDATA[Recently I was looking for attractive "Join Now!" button. I was trying to find Photoshop tutorial with keywords like strip, tape and etc. Got some interesting options for ribbon word. ...but nothing what I need. And rapidly found this button that could perfectly fit in my layout. It's a vector image, but it's possible to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was looking for attractive "Join Now!" button.<br />
I was trying to find Photoshop tutorial with keywords like strip, tape and etc. Got some interesting options for <a href="http://www.google.com/search?hl=en&#038;q=ribbon+button+photoshop&#038;um=1&#038;ie=UTF-8&#038;tbm=isch&#038;source=og&#038;sa=N&#038;tab=wi">ribbon word</a>.<br />
...but nothing what I need.</p>
<p>And rapidly found <a href="http://www.shutterstock.com/pic-86224315/stock-vector-left-and-right-side-signs-register-join-now-sign-up-vector-illustration.html">this button</a> that could perfectly fit in my layout. It's a vector image, but it's possible to make something like that with Photoshop.<br />
I was googling for any tutorial for about an hour, but got nothing similar.<br />
I decided to make it myself using all my little experience with Photoshop.<br />
Here is what I've made in the end:</p>
<p><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-join-now.png" alt="Ribbon Button example"><br />
<span id="more-166"></span><br />
So, here are steps for Photoshop.</p>
<p><strong>1)</strong> create an image, set background similar to your site's header</p>
<p><strong>2)</strong> create desired shape (rounded rectangle)</p>
<p><strong>3)</strong> add your text (Join Now / Register / SignUp and etc.).<br />
I've set it to "Subscribe!".<br />
<a href="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step3.png" target="_blank"><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step3.png" width="500" alt="creating Ribbon button: adding text"></a></p>
<p><strong>4)</strong> rotate both (shape and text) to about -10..-20 degrees<br />
Go to <em>Edit->Transform->Rotate</em>.<br />
<a href="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step4.png" target="_blank"><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step4.png" width="500" alt="creating Ribbon sign: Edit->Transform->Rotate"></a></p>
<p>rotate both to about -10..-20 degrees<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step4-1.png" alt="creating tape-style button: rotate"></p>
<p>Fix text position using arrows on your keyboard.<br />
We could merge both layers, but we'll loose ability to change text later.<br />
Text we could add later, but in this case we wouldn't see what dimensions of button we need.</p>
<p><strong>5)</strong> Rasterize shape and cut right side<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step5-1.png" alt="creating strip-style button: rasterize vector mask"></p>
<p>Cutting right side<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step5-2.png" alt="creating ribbon-styled button: cut right side"></p>
<p><strong>6)</strong> create ellipse shape, move it to the right bottom of main shape, rasterize this ellipse and remove unnecessary left part from it<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step6.png" alt="creating ribbon-styled button: cut ellipse"><br />
Moving to direct position is like a jewelry work <img src='http://nokeywordinurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I've used zoom for that for sure. (You can use <strong>CTRL</strong>+<strong>+</strong>/<strong>CTRL</strong>+<strong>-</strong> hotkeys)</p>
<p><strong>7)</strong> copy our cutted ellipse<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step7.png" alt="making ribbon button: copy ellipse"></p>
<p>move ellipse to the right top corner of main shape<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step7-1.png" alt="making ribbon sign: move ellipse to the right top corner"></p>
<p>fill it with Gradient tool (white->gray)<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step7-2.png" alt="create ribbon button: fill ellipse with Gradient tool"></p>
<p>In the properties for gradient you will find 4 bars. 2 top bars for Opacity, 2 bottom bars for colors. You can add your own bars, or move existent.<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step7-3.png" alt="make ribbon button: Gradient tool"></p>
<p><strong>8</strong> <strong>)</strong> create rectangle to knock into one shape both ellipses<br />
Edit rectangle for best fit and Merge it with red ellipse.</p>
<p><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step8.png" alt="make ribbon button: plain work is done"></p>
<p><strong>9)</strong> add shadow to the right using gradient tool<br />
Create new layer for that, click with CTRL on our shape and fill it with gradient (set color Black, opacity 50% for first point and 0% for second)</p>
<p><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step9.png" alt="make ribbon button: add shadow"></p>
<p><strong>10)</strong> add shadow for our main shape<br />
Right click on Shape 1 Layer and choose Blending options. Check drop shadow, choose preferences.</p>
<p>We need to separate shadow from main layer. Now make right click on <em>Effects</em>, and choose "<em>Create Layer</em>..."<br />
(This trick I found here - <a href="http://onwired.com/blog/better-drop-shadows/">Better Drop Shadows</a>)<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step10-1.png" alt="make ribbon button: separate shadow from main layer"></p>
<p>If the notice appear, just click Ok.<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step10-2.png" alt="make ribbon button: photoshop warning"></p>
<p>Now you have your shadow on external layer!<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step10-3.png" alt="make ribbon button with photoshop: shadow on external layer!"></p>
<p>So choose this shadow and use warp on it.<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step10-4.png" alt="make ribbon button with photoshop: using warp transformation"></p>
<p>Drag right-bottom joints to down, press Enter when done.<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step10-5.png" alt="ribbon button with photoshop: use warp transform"></p>
<p>Now your sign is much more realistic!</p>
<p>Cut your shadow to the right (otherwise it will appear on your side-background).<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step10-6.png" alt="ribbon button with photoshop: Cut shadow"></p>
<p><strong>11)</strong> Select main shape Layer(Shape 1), choose Blending options and check Stroke.<br />
Set options like on scrinshot.<br />
<a href="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step11.png" target="_blank"><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step11.png" width="500" alt="creating Ribbon sign: Blending options -> Stroke"></a></p>
<p><strong>12)</strong> Add Stroke to our top cuttered ellipse (see step 11)<br />
Set options like on scrinshot.<br />
Move stroke to external layer (see step 10)<br />
<a href="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step12.png" target="_blank"><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step12.png" width="500" alt="creating Ribbon sign: Move stroke to external layer"></a></p>
<p>remove 1px line to the left of figure.<br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step12-1.png" alt="creating Ribbon sign: remove 1px line"></p>
<p><strong>13)</strong> Last step - make it glossy<br />
Create new layer, select it and click on our main Shape 1 with CTRL.<br />
Choose Rectangular Marque Tool. Unselect right half of the shape with pressed ALT.<br />
<a href="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step13.png" target="_blank"><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step13.png" width="500" alt="creating Ribbon sign: make button glossy"></a></p>
<p>Now use Gradient tool on our selection with colors white->transparent<br />
<a href="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step13-1.png" target="_blank"><img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button-step13-1.png" width="500" alt="creating Ribbon sign: make button glossy - Gradient"></a></p>
<p>Set Opacity to 25-30 for this layer.</p>
<p><strong>Done!</strong><br />
<img src="http://nokeywordinurl.com/wp-content/uploads/ribbon-button/ribbon-button.png" alt="Ribbon-style sign for your site"></p>
<p>All you need is add this button into your HTML template. Ask me here if you need HowTo for that.<br />
<strong><br />
PS:</strong><br />
for Professional Designers: I'm sure that you know better ways for some steps. Will be glad to see your proposals!<br />
for Newbies: I know, tutorial isn't perfect. I'm ready to answer your questions if something not clear for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/creating-ribbon-style-button-with-photoshop-best-for-join-now-register-signs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Separate BuddyPress and WordPress installations sharing users</title>
		<link>http://nokeywordinurl.com/separate-buddypress-and-wordpress-installations-sharing-users/</link>
		<comments>http://nokeywordinurl.com/separate-buddypress-and-wordpress-installations-sharing-users/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 09:34:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://nokeywordinurl.com/?p=159</guid>
		<description><![CDATA[After sharing this solution with you I've started testing it for Buddypress. It works. Example here: http://bp.nokeywordinurl.com/ - Buddypress http://bp.nokeywordinurl.com/test/ - WordPress - both installations share 1 users table. For testing use this test user: login: test pass: test ...or you can register here your own and visit test blog. Installation is the same like [...]]]></description>
			<content:encoded><![CDATA[<p>After sharing <a href="http://nokeywordinurl.com/2-wordpress-blogs-with-1-users-table-and-1-login/">this solution</a> with you I've started testing it for Buddypress.</p>
<p>It works. Example here:<br />
<a href="http://bp.nokeywordinurl.com/">http://bp.nokeywordinurl.com/</a> - Buddypress<br />
<a href="http://bp.nokeywordinurl.com/test/">http://bp.nokeywordinurl.com/test/</a> - WordPress<br />
- both installations share 1 users table.</p>
<p>For testing use this test user:<br />
login: <strong>test</strong><br />
pass: <strong>test</strong><br />
...or you can <a href="http://bp.nokeywordinurl.com/register/">register here</a> your own and visit test blog.</p>
<p>Installation is the same like <a href="http://nokeywordinurl.com/2-wordpress-blogs-with-1-users-table-and-1-login/">here</a>.<br />
But WordPress user registration differs from Buddypress and has less options. In this case registration on secondary blog disabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://nokeywordinurl.com/separate-buddypress-and-wordpress-installations-sharing-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

