anzes
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] Form submissions not showing up in DBHey jahstah,
one of our clients had a similiar problem to yours – the emails sent with contact from 7 didn’t get logged properly. In the end, it was all about the form name – a form which name contained any special characters (even characters like /, (, ), or anything of that sort). Forms with names that contain special characters did not get saved to the db.
Hope this is the issue for you aswell, or that it helps you a bit at least 🙂
Best regards,
AnzeHey Bernat,
thanks for your reply. The copy content from <language> is also disabled, only the overwrite button is enabled (and that is not what we want).
Best regards,
AnzeForum: Plugins
In reply to: [Wp-Pro-Quiz] PaginationI’ve actully managed to solve the problem. It’s probably a horrible way to do it as I’m quite new to programming, but it works, and so far I’ve had no problems with it. I hope U’ll find it helpful.
First, U’ll want to open your plugins folder, go to wp-pro-quiz, lib, view and open the WpProQuiz_View_FrontQuiz.php file.U’ll have to find the start button – just search the file for Start quiz string.
U’ll want to add onclick event:
onclick="$('ol.wpProQuiz_list li').hide().slice(0, 245).show(); $('ol.wpProQuiz_list div').hide().slice(0, 263).show(); $( '#level2' ).show();$( '#finish' ).hide();"
What this does is basically hide the whole list of answers and question and then shows first 245 items – in my case that was the first 25 questions, your numbers will probably vary and U’ll probably have to give it a couple of tries to catch the right number. The same goes for number of Div’s u’d like to show – I’ve been using some divs in questions and answers – if you don’t, your number will probably be a lot lower. As for the end of the code, we’ll hide the finish quiz button and show the level 2 button – the button that will display questions on level 2.
Further on, just below the Finish test button in the same file, I’ve added<div style"margin-top:200px;" style="display:none;" class="button" id="level2" onclick="$('ol.wpProQuiz_list li').slice(0, 515).show(); $('ol.wpProQuiz_list div').slice(0, 529).show();$( '#level3' ).show();$( '#level2' ).hide();">Continue to level 2</div> <div style"margin-top:200px;" style="display:none;" id="level3" class="button" onclick="$('ol.wpProQuiz_list li').slice(0, 788).show(); $('ol.wpProQuiz_list div').slice(0, 805).show();$( '#level4' ).show();$( '#level3' ).hide();">Continue to level 3</div> <div style"margin-top:200px;" style="display:none;" id="level4" class="button" onclick="$('ol.wpProQuiz_list li').slice(0, 1400).show(); $('ol.wpProQuiz_list div').slice(0, 1400).show();$( '#finish' ).show();$( '#level4' ).hide();">Continue to level 4</div>This adds three aditional buttons – the one to go to level 2, level 3 and level 4 – I havent hidden the questions from previous level so the user can still check them if they’d like. The principle is the same – find the number of list items and divs you’d like to show for each category/level. We’re also hiding/showing the buttons accordingly.
That’s about it. Not an elegant solution at all, but a working one :). You can see a working example at
http://www.delavec.si/sterling/english-test/?lang=enHope this helps, for as long as functionality like this is not added to the plugin itself.
Cheers
Managed to solve it with the use of additional plugin, custom permalinks
http://ww.wp.xz.cn/extend/plugins/custom-permalinks/