vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Your One Click Thread Ratings (https://vborg.vbsupport.ru/showthread.php?t=136162)

DPSR 01-11-2007 03:35 PM

Don't know :( i have tested the hack without any modification but still in ff its don't work. Maybe author *(fci) will update it .....

fci 01-11-2007 04:39 PM

DPSR, I registered on your forum and was unable to reproduce the issues when using Firefox 2(Windows).

abramelin, when I registered on your forum I was able to reproduce the issue.
Please add the part in red to your current template:
Code:

<script type="text/javascript">
<!--
var threadid = $threadinfo[threadid];
vB_AJAX_OneClick_ThreadRate_Init('oneclick_vote_one');
vB_AJAX_OneClick_ThreadRate_Init('oneclick_vote_two');
vB_AJAX_OneClick_ThreadRate_Init('oneclick_vote_three');
vB_AJAX_OneClick_ThreadRate_Init('oneclick_vote_four');
vB_AJAX_OneClick_ThreadRate_Init('oneclick_vote_five');
-->
</script>

I will include this change in future versions in case other people have wiped out the old thread rating template stuff. Please confirm that this corrects the issue, thanks.

abramelin 01-11-2007 05:35 PM

i added but nothing changed :/

fci 01-11-2007 06:54 PM

mmmm, I didn't have any errors when I tried testing your site just now

try changing this part and let me know how it goes:
Code:

var threadid = $threadinfo[threadid];
document.write('<div class="news" style="line-height:12px;vertical-align:middle;"><div align="center" class="smallfont">');
document.write(' <strong>Aninda Oyla:</strong>');
document.write(' Vasat <input type="radio" name="rating" id="oneclick_vote_one_submit" value="1" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' K?t? <input type="radio" name="rating" id="oneclick_vote_two_submit" value="2" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' Fena degil <input type="radio" name="rating" id="oneclick_vote_three_submit" value="3" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' G?zel <input type="radio" name="rating" id="oneclick_vote_four_submit" value="4" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' Nefis <input type="radio" name="rating" id="oneclick_vote_five_submit" value="5" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write('</div></div>');

be sure to load a page fresh by either clearing the cache or pressing CTRL+F5

Do you have any Firefox extensions installed? if so, which ones? (ones that would create issues would be NoScript or other JS specific ones)

COBRAws 01-11-2007 07:12 PM

Thanks man! I requested this half a year ago: https://vborg.vbsupport.ru/showthread.php?t=97778


:D

TTG 01-11-2007 09:21 PM

Doesn't seem to work on firefox 2 but works fine in IE !?

abramelin 01-11-2007 10:44 PM

Quote:

Originally Posted by fci (Post 1156452)
mmmm, I didn't have any errors when I tried testing your site just now

try changing this part and let me know how it goes:
Code:

var threadid = $threadinfo[threadid];
document.write('<div class="news" style="line-height:12px;vertical-align:middle;"><div align="center" class="smallfont">');
document.write(' <strong>Aninda Oyla:</strong>');
document.write(' Vasat <input type="radio" name="rating" id="oneclick_vote_one_submit" value="1" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' K?t? <input type="radio" name="rating" id="oneclick_vote_two_submit" value="2" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' Fena degil <input type="radio" name="rating" id="oneclick_vote_three_submit" value="3" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' G?zel <input type="radio" name="rating" id="oneclick_vote_four_submit" value="4" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write(' Nefis <input type="radio" name="rating" id="oneclick_vote_five_submit" value="5" onclick="javascript:void(0);" />&nbsp;&nbsp;');
document.write('</div></div>');

be sure to load a page fresh by either clearing the cache or pressing CTRL+F5

Do you have any Firefox extensions installed? if so, which ones? (ones that would create issues would be NoScript or other JS specific ones)

still not working :(

GFX Brands 01-12-2007 12:27 AM

yup i just uninstalled to many bugs and dosent work on mozilla =(

DPSR 01-12-2007 01:50 AM

Quote:

Originally Posted by fci (Post 1156452)
mmmm, I didn't have any errors when I tried testing your site just now

try changing this part and let me know how it goes:


be sure to load a page fresh by either clearing the cache or pressing CTRL+F5

Do you have any Firefox extensions installed? if so, which ones? (ones that would create issues would be NoScript or other JS specific ones)

Now it works fine for me, thanks for your help :D

Mr Chad 01-12-2007 07:07 AM

hmm is there a way to hide it, if you already voted.


All times are GMT. The time now is 03:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01169 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete