ckalan1
Forum Replies Created
-
Forum: Reviews
In reply to: [WooCommerce] The best of E-Commerce PlatformsI can not get the registration button to work after I install Woocommerce. I have all the settings set correctly according to the documentation.
Do you know any tricks that will make it work?
My site is not for public consumption yet but here is the link clics.online. I installed the Avada Classic Shop demo just to see if I could get that to work.
clics.online
- This reply was modified 8 years, 1 month ago by ckalan1.
Forum: Plugins
In reply to: [WooCommerce] Register and Login do not workI am having the same problem. If anyone has a solution to this issue please share.
Thank you very much.Craig
Forum: Plugins
In reply to: [YOP Poll] View Results Option "Poll Page Url"Thanks
Craig
I inserted the code like this. After I did that, I could not login as an administrator. After I removed it everything went back to normal.
if ( !$is_voted $actual_link = “https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”;
if($actual_link==”your archive url”){
$template = str_ireplace( ‘%POLL-VOTE-BUTTON%’, ‘<button style=”visibility:hidden” class=”yop_poll_vote_button” id=”yop_poll_vote-button-‘ . $poll_id . $unique_id . ‘” onclick=”yop_poll_register_vote(\” . $poll_id . ‘\’, \” . $location . ‘\’, \” . $unique_id . ‘\’); return false;”>’ . $poll_options[‘vote_button_label’] . ‘</button>’, $template ); )Is this the correct way to insert the line of code you provided
I found “return_poll_html() but I still cannot find “if(!is_voted)”
This is what is on line 2951-2956
public function return_poll_html( $attr = array( ‘tr_id’ => ”, ‘location’ => ‘page’, ‘load_css’ => false, ‘load_js’ => false ) ) {
$tr_id = isset( $attr[‘tr_id’] ) ? $attr[‘tr_id’] : ”;
$location = isset( $attr[‘location’] ) ? $attr[‘location’] : ‘page’;
$unique_id = $this->unique_id;
$load_css = isset( $attr[‘load_css’] ) ? $attr[‘load_css’] : false;
//$load_js = isset( $attr[‘load_js’] ) ? $attr[‘load_js’] : false;I am not very experienced with PHP so I am probably doing something wrong.
Any ideas?
Thanks,
CraigHello YOP Team,
I searched yop_poll_model.php and could not find “return_poll_html()” function, or “if(!is_voted)”
I added the quotes here but not in my search.
Could you give me a line number.
Thanks,
CraigThank you very much. I will let you know how it works.
By the way, I am definitely interested in beta testing the new version.
https://www.iamadreammaker.com/dm/Craig
Forum: Themes and Templates
In reply to: [Customizr] Slider Missing !!Can someone explain how to create and edit a slider.