inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Jun 10, 2012 12:08:56 GMT -8
Hello, One of the members on the General Support board suggested that this might be a coding problem and to try here. I started a new, weekly POLL section recently at www.catholicdeacon.net and emailed all the members to alert them of that fact. I was wondering why I would have as many as 30 members logged in over a 24 hour period, but only getting 7 or 8 responses to the polls. One person alerted me by posting in the POLL section itself that when they clicked the submit button, nothing happened. And a longtime member recently emailed me alerting me to the same problem for him. So I'm betting others have had the problem as well. Any ideas? Thanks, Tim
|
|
#FF6600
Apprentice of the Universe
42712
0
1
Apr 22, 2024 6:04:54 GMT -8
🎶Sossity🎶
24,125
May 2005
nhs5
|
Post by 🎶Sossity🎶 on Jun 10, 2012 12:47:27 GMT -8
Hello, One of the members on the General Support board suggested that this might be a coding problem and to try here. I started a new, weekly POLL section recently at www.catholicdeacon.net and emailed all the members to alert them of that fact. I was wondering why I would have as many as 30 members logged in over a 24 hour period, but only getting 7 or 8 responses to the polls. One person alerted me by posting in the POLL section itself that when they clicked the submit button, nothing happened. And a longtime member recently emailed me alerting me to the same problem for him. So I'm betting others have had the problem as well. Any ideas? Thanks, Tim Hi Voting problems are usually caused by a global footer code. Try removing the following code from you global footer: <script type="text/javascript"> <!-- /* remove last edit */ var font=document.getElementsByTagName("font"); if(location.href.match(/on=(displ|search2|(user)?rece)/)){ for(i=0;i<font.length;i++){ if(font .innerHTML.match(/Last\sEdit:/i) && font.parentNode.align=="left"){ font.style.display="none"; } } } // --> </script>
See how it goes after that.
*You also already have another version of the code in your footer.
If the problem persist after removing that code, remove all the codes from your global footer then, put them back one at a time, 'til the problem is located. Be sure to copy and save your codes first.
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Jun 10, 2012 14:25:13 GMT -8
Thank you! More work than I was hoping for, but hopefully removing that first code will do the trick.
I will let you know.
Tim
|
|
#FF6600
Apprentice of the Universe
42712
0
1
Apr 22, 2024 6:04:54 GMT -8
🎶Sossity🎶
24,125
May 2005
nhs5
|
Post by 🎶Sossity🎶 on Jun 10, 2012 14:39:23 GMT -8
Ok
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jun 10, 2012 16:36:59 GMT -8
I think it will more likely be this one:
<script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(i=0; i<tt.length; i++) if(tt.width == '20%') { tt.innerHTML = tt.innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
you have it twice, and it modifies innerHTML of ANY cell that is 20% wide and contains the word "posts"
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 8, 2013 18:00:47 GMT -8
I think it will more likely be this one: <script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(i=0; i<tt.length; i++) if(tt .width == '20%') { tt.innerHTML = tt.innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
you have it twice, and it modifies innerHTML of ANY cell that is 20% wide and contains the word "posts"
Well, Sossity's suggestion didn't work (though I didn't try going through and adding codes one-by-one). Wormopolis' suggestion worked, BUT... my little stat counter disappeared from the bottom of the page. I hope it's still counting. Think I can get it back and STILL have the submit button work for people? Thanks, Tim PS I put this off all this time because I knew it wouldn't be a simple cut and/or paste.
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 8, 2013 18:04:57 GMT -8
Just checked... it quit counting.
Tim
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 8, 2013 20:59:56 GMT -8
I put everything back the way it was because I discovered that not only did my stat counter disappear, but the people's Personal Text the brackets used for line breaks ( ) were visible. After I went back to the original code, the brackets disappeared, but the stat counter did not appear. So, right now (I'm assuming) some people still can't submit poll votes AND (now) my stat counter isn't around.
Any advice would be appreciated.
Thanks,
Tim
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Mar 9, 2013 2:35:57 GMT -8
when I wrote that 9 months ago, it would have worked because PB wouldnt have converted the code incorrectly.
so remove THIS
<script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(i=0; i<tt.length; i++) if(tt[i].width == '20%') { tt[i].innerHTML = tt[i].innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
that little code is what is keeping you rpolls from working. it should not affect any other codes unless you removed other stuff as welL
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 9, 2013 3:49:54 GMT -8
Thank you, but... isn't that the same code you suggested 9 months ago? (Again, sorry about the long wait - I just closed the polls all this btime until I felt like dealing with it. But people have been asking for the polls, so I "finally" got around to it.)
I WILL try it again as well as going to statcounter.com to make sure I have their code inserted correctly. (But probably not until later today)
Tim
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 11, 2013 13:21:28 GMT -8
when I wrote that 9 months ago, it would have worked because PB wouldnt have converted the code incorrectly. so remove THIS <script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(i=0; i<tt.length; i++) if(tt [i] .width == '20%') { tt[i] .innerHTML = tt[i].innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
that little code is what is keeping you rpolls from working. it should not affect any other codes unless you removed other stuff as welLSo, I got the stat counter working (by dropping the code to the bottom of the global footer - why it worked before just above the last code I don't know). At any rate, I removed the code above (which IS the same one mentioned before) and now the brackets and "br" that separates lines in member's Personal Text in their Profile shows up next to their posts. So, in a nutshell I "think" removing the code suggested by Wormopolis does, in fact, allow people who previously could not click the submit button in polls to do so, but now allows the <br> to be seen in people's personal text. Anbody got a suggestion for me? Thank you, Tim
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Mar 11, 2013 16:29:05 GMT -8
now insert this where that code used to be:
<script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(ii=0; ii<tt.length; ii++) if(tt[ii].width == '20%' && !tt[ii].getElementsByTagName('input')[0]) { tt[ii].innerHTML = tt[ii].innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 11, 2013 17:14:04 GMT -8
now insert this where that code used to be: <script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(ii=0; ii<tt.length; ii++) if(tt[ii].width == '20%' && !tt[ii].getElementsByTagName('input')) { tt[ii].innerHTML = tt[ii].innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
I appreciate your time, but that didn't work. The immediately showed up under people's screen names and avatars within their personal text line, including mine (of course ). I reinserted the old code for the time being. Got any other suggestions? Tim
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Mar 11, 2013 21:24:33 GMT -8
try that one
|
|
inherit
33215
0
Sept 28, 2013 4:23:22 GMT -8
Big Kill
93
November 2004
catholicdeacon
|
Post by Big Kill on Mar 12, 2013 6:30:01 GMT -8
Now I am beginning to get frustrated. This is exactly why I didn't dive right into this nine months ago!
You appear not to understand... 1) I removed the code you suggested.
<script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(i=0; i<tt.length; i++) if(tt[i].width == '20%') { tt[i].innerHTML = tt[i].innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
That seemed to have fixed the problem of the non-working (for some members) SUBMIT button, at least according to one member. BUT, it screwed up my stat counter (which I have subsequently fixed) AND it created a new problem in that the "bracket BR bracket" immediately showed up under people's screen names and avatars within their personal text line, including mine.
2) When I reported this, it was suggested that I not only remove the code above, but now I should insert a new code in its place... this one:
<script type="text/javascript"> <!-- var tt = document.getElementsByTagName("td"); for(ii=0; ii<tt.length; ii++) if(tt[ii].width == '20%' && !tt[ii].getElementsByTagName('input')[0]) { tt[ii].innerHTML = tt[ii].innerHTML.replace(/\[br\]/gi,'<br/>'); } //--> </script>
3) I reported that removing the original code inserting that code STILL caused the "bracket BR bracket" to be visible in people's Personal Text. (And I don't even know if that affect the poll SUBMIT button as I have to wait for someone to report it.)
4) The response to my request for another suggestion is "try that one." (The one I just said still allowed the "bracket BR bracket" to be visible in the Personal Text. And that was just from my initial viewing. I have no idea if it affectd anything else.
I will "try it again," in case I screwed something up, but I have a feeling I will reply to this message that the problem still exists.
In the meantime, if anyone has another suggestion, I am open to anything.
Tim
|
|