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-13-2007 01:36 AM

Quote:

Originally Posted by fci (Post 1157199)
Oh... that is very interesting. That would indicate that you have AJAX either disabled by vBulletin or your browser. This clarification gives me a very clear picture of what I will need to do to test and correct it. I should be able to have time to focus on this on the weekend, I will PM when the issue is resolved.

Please inform me also about some sol of this prob ;)

ubblite 01-13-2007 08:15 AM

Quote:

Originally Posted by fci (Post 1157000)
Yes.
in vBulletin Options > Poll and Thread Rating Options, set "Allow Thread Rating Vote Changes" to No

Quote:

Originally Posted by Mr Chad (Post 1157434)
im still getting prompted to rate topics that have already been rated by me.

Same problem here. The prompt still comes up and when you try to vote again it says:

"According to our records you have already voted on this thread. Changing votes is not allowed."

The ideal way to have it is not show the vote prompt at all once you've voted.

edit: or have it show something like "You've already voted" instead of the vote bar.

ubblite 01-13-2007 08:41 AM

Quote:

Originally Posted by DPSR (Post 1156182)
Add the code below any where you want in SHOWTHREAD tempate
(PS i have added this code above <!-- / controls above postbits --> to show this form under Newtopic or new reply button)

I could only get your modification to work properly when it's listed under $poll instead of the above. Maybe that's the problem you're having with this hack?

DPSR 01-13-2007 09:06 AM

Quote:

Originally Posted by ubblite (Post 1157857)
I could only get your modification to work properly when it's listed under $poll instead of the above. Maybe that's the problem you're having with this hack?

Cool :eek: , now its working... thanks for the tip bro ;)

abramelin 01-13-2007 05:37 PM

yes now its working! thanks :)

abramelin 01-13-2007 06:56 PM

but when you rate a thread it shows the rating options again when you revisited the thread . can you make an if condition for this?

Mr Chad 01-13-2007 07:44 PM

thats what i asked b4...

Mr Chad 01-13-2007 07:45 PM

Quote:

Originally Posted by ubblite (Post 1157841)
Same problem here. The prompt still comes up and when you try to vote again it says:

"According to our records you have already voted on this thread. Changing votes is not allowed."

The ideal way to have it is not show the vote prompt at all once you've voted.

edit: or have it show something like "You've already voted" instead of the vote bar.

we just need it to not display anymore. like vb.org

DPSR 01-14-2007 04:23 PM

Only one question, how can i make it display rate result message in a box? anybody know?

fci 01-14-2007 06:31 PM

as long as you have this surrounding the rating thing it should hide it you have already voted and you need to do "in vBulletin Options > Poll and Thread Rating Options, set "Allow Thread Rating Vote Changes" to No"
Code:

<if condition="$show['threadrating']">
    <if condition="$show['ratethread']">
</if>
</if>

since someone said this didn't work, you could try modifying it to this (untested but should work):
Code:

<if condition="$show['threadrating']">
    <if condition="$show['ratethread'] && $threadinfo['vote']==NULL">
</if>
</if>

if it still shows it, I'm not sure what else to suggest

DPSR, you mean in a JavaScript alert message box? this would then make it a two-click thread rating system as the user would have to click 'OK' + clicking the rating they wanted.. I can tell you how if you really want it though


All times are GMT. The time now is 06:19 AM.

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.01310 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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