How do I prevent empty rating at the beginning?
Hi Dan,
How do I prevent empty rating at the beginning, when my blog is new and no one has visited in the early phrase? Or is there a way for the rating table to be rated by the editor?
Thanks
Roy
Posted 04 Oct 09
Hi Dan,
The footer is short compared to the standard "page" or "post"
page: http://www.truewebreviews.com/about/
http://www.truewebreviews.com/category/ebook-ecourse/
Would you please tell me how to fix it?
Thanks
Roy
Posted 04 Oct 09
Affiliate Link In A New Window
For the affiliate link to be opened in a new window, where should I put the
TARGET="_blank" code?
Here is the affiliate php code in its entirety. Thanks in advance.
================================
<?php
if (isset($_POST['rs_keywords'])) {
$keywords = array();
foreach ($_POST['rs_keywords'] as $id => $keyword)
if (!empty($keyword) && !empty($_POST['rs_urls'][$id])) {
$keywords[] = array(str_replace('"', '', stripslashes($keyword)), stripslashes($_POST['rs_urls'][$id]));
}
update_option('rs_keywords', $keywords);
}
$keywords = get_option('rs_keywords');
$css = get_option('rs_css');
?>
<script type="text/javascript">
function removeElement(id) {
var pd = document.getElementById('keywords_td');
var old = document.getElementById('rs_keywords_' + id);
pd.removeChild(old);
var old = document.getElementById('rs_urls_' + id);
pd.removeChild(old);
var old = document.getElementById('rs_remove_' + id);
pd.removeChild(old);
}
</script>
<div class="wrap">
<h2>WP Review Site Affiliate Link Settings</h2>
<form method="post" action="" id="rs_aff_conf">
<p>WP Review Site can automatically turn keywords in your post text into affiliate links. Specify keywords on the left,
and the URL those keywords should be linked to on the right.</p>
<table class="form-table">
<tr valign="top">
<th scope="row"><label for="keywords">Edit Keywords</label></th>
<td id="keywords_td">
<?php
if (!empty($keywords)) {
foreach ($keywords as $id => $arr) {
$keyword = $arr[0];
$url = $arr[1];
echo 'Keyword: <input type="text" id="rs_keywords_' . $id . '" name="rs_keywords[' . $id . ']" value="' . $keyword . '" /> ';
echo 'URL: <input type="text" id="rs_urls_' . $id . '" name="rs_urls[' . $id . ']" value="' . $url . '" /> ';
?>
<a href="" id="rs_remove_<?php echo $id; ?>" />
</form>
</div>
======================
Roy
Posted 20 Mar 09
WPRS - Visit Site URL does not save?!
Hi Dan,
I am using 2.7 in certain blogs. One of them was not able to put in the "Visit Site Url". When I clicked update or entered the link, the link did not save. Do you know why such would be the case?
Thanks
Roy
Posted 28 Dec 08
Hi, I would like to use xtreme conversion which requires .php extension. Will wp review site support .php? If so, which .php extension plugin is recommended?
Posted 17 Nov 08
How to get people to post reviews
Hi Dan, it's good to share a tip or two in how you do getting paid customers to review your topic? Keen to discover from the guru.![]()
Posted 17 Nov 08
Hi Dan,
I noticed that on your demo site, there is a place for "Visit The Site", how do we get that installed in the script?
Appreciate your answer.
Thanks
Roy
Posted 13 Nov 08
Total Messages: 18
Topics Created: 7