macnetis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I insert an image into custom menu widget?Enter the html tag in the Labels field.
i.e.
<img src="PATH_TO_IMAGE_FILE" />Forum: Plugins
In reply to: [Login Logo] Login Logo Domain Mapping Issues on Multi Site?Hi, I’ve created another topic which has a similar issue but doesn’t involve domain mapping, so that it isn’t so misleading.
Basically I want to:
- Use the png in the individual blog’s folder,
- Or revert to the default png in the wp-content folder
- Or revert to the default WordPress logo
- Whatever it is, just don’t crash or give the White Screen of Death
It’s good to know that you back into active development.
Feature request: being able use custom thumbs up images per child theme. I currently hard-coded the image link into the plugin directly. Not a huge priority though.
Take care, and hope you have a speedy recovery.
I found a bug.
In image browser mode for nextgen gallery, and like/display mode for nextgen voting.
Problem Description:
After I “thumbs up” an image, the url is amended with a “&r=1”. The links for the “Previous” and “Next” buttons of the image browser would also include the “&r=1”, and what happens is that all subsequent images will automatically be “liked” the moment the “Previous” and “Next” buttons are clicked.I found this bug in 1.5 as well, and had to clear the database entries manually to reset this.
I am currently using a modified version of the dropdown to serve as a workaround. Instead of having 10 drop-down options, I reduced it to only 1 option, with a hidden value of 100. Therefore reducing the 10 options to just 1 “Like” option.
Starting from Line 1046:
}else{ /* dev note. you can set any values from 0-100 (the api will only allow this range) */ $out .= '<div class="nggv-image-vote-container">'; $out .= '<form method="post" action="">'; $out .= '<input type="hidden" name="nggv[vote_pid_id]" value="'.$pid.'" />'; $out .= '<input type="hidden" name="nggv[vote_image]" value="100" />'; $out .= '<input type="submit" value="Like!" />'; $out .= '</form>'; $out .= '</div>';Hey no worries shauno. Your voting plugin is awesome, and you’re appreciated for your contributions to the WordPress community.
Have you considered merging it with Alex Rabe on this? It might be a good idea for you 2 to work together, so that the integration would be better, and it won’t be so taxing on you as well.
You only live once, so take good care of your health!
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery Voting] 1-star voting (how to add a rating type)I came up with a solution. Please refer to the thread I started here.
You need to add the code into the nextgen template. Refer to the FAQ for more info.
Forum: Plugins
In reply to: Voting does not show upYou need to add the code into the nextgen template. Refer to the FAQ for more info.
Forum: Plugins
In reply to: [NextGEN Gallery Voting] [Plugin: NextGEN Gallery Voting] Change Rating TypeUpdate:
I hacked the database to change the rating type to like/dislike. However, it was causing problems with the nextgen gallery’s imagebrowser. Because of the “?r=1” appended to the end of the url, clicking on the “Back” or “Next” button will automatically include the “?r=1” inside the link. What this means is that the image will automatically be “liked” for subsequent images.
So, what I did instead was to hack the database again to change it the default dropdown rating type, but I hacked the form instead. Instead of the standard 1-10 dropdown options, i changed the “submit” button to a “Like!” button instead.
Here’s the code I used:
$out .= '<div class="nggv-image-vote-container">'; $out .= '<form method="post" action="">'; $out .= '<input type="hidden" name="nggv[vote_pid_id]" value="'.$pid.'" />'; $out .= '<input type="hidden" name="nggv[vote_image]" value="100" />'; $out .= '<input type="submit" value="Like!" />'; $out .= '</form>'; $out .= '</div>';I tried to change the input type from a submit button to an image, but it wasn’t successful.
I hope this helps you guys who want a like/dislike voting type for images.
If anyone knows how to use an image to submit instead of the generic submit button, please reply.
Forum: Fixing WordPress
In reply to: wordpress app for iphone xmlrpc endpointI’m trying to add a subsite (subsite.example.com) into my wordpress app. Entering
doesn’t work.