Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Locked Topic
[Solved] Submit Button Broken
Topic Started: Oct 4 2015, 08:08 PM (557 Views)
Sheyney Fox
Member Avatar
Member
[ *  * ]
I don't know what the problem is, but the last couple of days, the submit button does not seem to be working. I checked my own board but it seems it is just isolated to our clan board: Celestial Conspiracy.

Thanking you in advance for a solution. :D

Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Which submit button?
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
Submit button on polls, I should have been more specific, my apologies. I have moved this poll where it can be viewed.



Edited by Sheyney Fox, Oct 4 2015, 09:28 PM.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Oh okay. I still don't have access though.

Also, is it a specific person that has an issue? Everyone?
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
With the login access I gave you to view our board, were you able to find out what the problem is?
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Code:
 
<script type="text/javascript">
$(function() {
var fID = '4211557';
var tID = '10969849';

$('td.c_poll-vote button.btn_mod').click(function() {
var loc = window.location.href;
var uLink = $('#top_info strong a').attr('href');
var uName = $('#top_info strong a').text();
var pTitle = $(this).parents('table.poll').find('thead th').text();
var choice = $(this).parents('table.poll').find('input:checked').next('label').text();

$.get(main_url + 'post/?mode=2&type=1&f=' + fID + '&t=' + tID + '&force_ads', function(data) {
var ast = $('input[name="ast"]', data).val();
var xc = $('input[name="xc"]', data).val();
var qhash = $('input[name="qhash"]', data).val();

$.post(main_url + 'post/?mode=2&type=1&f=' + fID + '&t=' + tID + '&force_ads', {
mode: 2,
type: 1,
ast: ast,
f: fID,
xc: xc,
t: tID,
qhash: qhash,
p: 0,
sd: 1,
post: '[b]User[/b]: [url=' + uLink + ']' + uName + '[/url] \n [b]Topic[/b]: ' + loc + ' \n [b]Poll[/b]: ' + pTitle + '\n [b]Choice[/b]: ' + choice + ''
});
});
});
});
</script>
The problem seems to be this code. Try removing it just to confirm that this is the issue. If it is, you may want to contact the code creator to see if he/she can fix the issue. (This looks like something Cory made.)
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
Yes this script was to show who and how members voted, I have removed the script and added a different poll, however it is still not working. As per your suggestion I will send a support ticket.

Thank you very much for you time and help! :D
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
I have given access to our board but I have not heard anything from staff, any chance of a progress report please?
Offline Profile Goto Top
 
Sheyney Fox
Member Avatar
Member
[ *  * ]
I have removed the like/dislike code, but unfortunately the submit button is still not working.

Your help will be appreciated.

Same username and password.

Thank you!

^_^
Offline Profile Goto Top
 
Ben
Member Avatar
Quantum-locked when observed.

I replied to your ticket with what I think is the real, actual solution now. :) Sorry we didn't see it earlier.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Locked Topic