vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - vBorg Thread Rating (https://vborg.vbsupport.ru/showthread.php?t=142733)

PoetJA-1975 05-05-2007 04:37 AM

OK - hopefully someone can help me with this code :o
I've a customized template and trying to use the extra "Upgrade" code .
The thing is sometimes both the voting block AND the "you've already voted" block shows at the same time. I'm sure there is an if conditional that will allow a correction for that issue....

At anyrate - the code:

Code:

<!---------------------- / UPGRADE------>
 <if condition="$show['rating'] AND $vbphrase[rate_thread]">
 <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_lft.gif" alt="" /></td>
        <td width="100%" class="cat-top_x">
 Thank You For Your Rating
 </td>
        <td><img src="$stylevar[imgdir_misc]/_cat-top_rht.gif" alt="" /></td>
  </tr></table>
 <table cellpadding="4" cellspacing="1" width="100%" border="0" class="tborder" align="center">
                <tr>
                        <td class="alt1">
                                <div align="center" id="threadrating_current">
 You have already rated this thread.  <font color="#8B008B"><strong><phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase></strong></font>
 </div>
 </td>
 </tr>
 </table>
 <div class="cat-btm_x"><div class="cat-btm_lft"></div><div class="cat-btm_rht"></div></div>
 
 </if>
 <br />
 <!---------------------- / UPGRADE------>

Any help will be appreciated ;)

Thanx,

Jacquii.

jahshaka 05-17-2007 10:06 AM

i think after reading through all the posts in this thread that i am the 3rd person to report that this doesnt work on ie7 - the other 2 people got the same error as me:

"Object doesn't support this property or method"

is there a fix for this?

jahshaka 05-17-2007 10:22 AM

i cashed this down with my debugger in ie7 and got the following, hopew it helps

this is the file that throws the error:
vbulletin_ajax_threadrate.js

this is the routine

/**
* OnReadyStateChange callback. Uses a closure to keep state.
* Remember to use me instead of this inside this function!
*/
this.handle_ajax_response = function()

view the source snd scroll down a few lines to the alert(error) and you can see the loop that its triggered in

4x4 Mecca 05-30-2007 03:43 AM

I too have installed this and it's working fine to vote, but when I come back later, it doesn't show the rating above the post like it does right after you vote. I tried the edits here. Has anyone gotten that working and which did they use?

4x4 Mecca 06-01-2007 05:20 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1257348)
I too have installed this and it's working fine to vote, but when I come back later, it doesn't show the rating above the post like it does right after you vote. I tried the edits here. Has anyone gotten that working and which did they use?

:confused:

Ronak 06-02-2007 03:45 AM

Nice Hack ...

Quote:

For a demo, scroll up to the big orange rectangle, select "Excellent" then click "Vote Now!"
:D :D :D :D :D

eNforce 06-08-2007 11:22 PM

How do I make the upgrade addition appear after I vote? It appears when someone else votes which makes me unable to vote myself.

(it shows up after Vote, but if I refresh the voting menu comes back!)

Ohiosweetheart 06-13-2007 05:48 PM

Does the rating show on every thread on your forum? Or do you have an option for it to appear only on release threads?

PoetJA-1975 06-14-2007 12:15 AM

Apparently modification is not supported :(

Jacquii.

obmob 06-14-2007 02:57 AM

It's a great idea, but there seems to be missing conditionals in this mod. :(

Mazinger 06-20-2007 03:33 PM

Very nice one, thanks.

Thought there's a small problem with it for RTL versions, I'll try to fix this.

Vizionz 06-23-2007 05:47 PM

Can someone do this up where it works for everyone :P like vb.org

Quantnet 06-23-2007 06:09 PM

If you have Forum Event mod, this will be below that RSVP form. How would we change to move it on top of the RSVP form ?

Hollister 06-24-2007 02:23 PM

Is it possible to make this available only on certain sub forums

humanbeatbox 07-11-2007 09:59 AM

Superb. Thanks for this - and also for the extra code bits...

Adam21 07-11-2007 02:14 PM

This mod is working good on 367pl1 and on IE7.Thank you!

obmob 07-15-2007 11:42 PM

When you rate, the box is still there... the big box is not hidden like vborgs do... how to hide it? :(

Mecho 07-17-2007 11:29 AM

Quote:

Originally Posted by Adam21 (Post 1288370)
This mod is working good on 367pl1 and on IE7.Thank you!

works exact like a vb.org rate system ??? can i take a look if its possible ?

thanks

fpattberg 07-17-2007 12:06 PM

Hi. I have the same problem.

Once I have voted I still have the possibility but obviously can not vote twice. But I still have the option.

Can we get rid of that?

Thanks.

obmob 07-17-2007 03:30 PM

Have tried setting more <if> statements, but if i add and extra <if> then the box hides after you vote, but no one else is able to vote... the box hides for everyone...

Any ideas? :p

Ba$im 07-17-2007 05:09 PM

I want this for forum f=X
not for all forum
how can I do that?

SuSpect 07-19-2007 06:53 AM

How can we do this: if already voted, not show rating bar?

Good mod thanks, installed :)

ragtek 07-21-2007 08:51 PM

for all who have installet this: https://vborg.vbsupport.ru/showthread.php?t=152931
just install this

i've made one little modifikation
instead of the orange background i took alt1

dooch 07-26-2007 01:47 PM

Is there a fix yet for the way it doesnt close after rating?

obmob 07-27-2007 05:35 PM

Not yet, my efforts are wothless so far, sorry... not a coder :p

Yours Truly 07-27-2007 05:50 PM

Quote:

Originally Posted by dooch (Post 1302200)
Is there a fix yet for the way it doesnt close after rating?

Whats wrong with it?

obmob 07-30-2007 11:57 PM

Quote:

Originally Posted by Yours Truly (Post 1303262)
Whats wrong with it?

Just rate a thread, then visit the same thread... the big box won't hide, even if you rated before. >.<

exc1te 08-13-2007 04:07 PM

yeah.. it ain't woking.. not with 3.6.8 anyway :/

Mecho 08-14-2007 08:38 AM

i'm wondering y vb.org dont like that ppl have this mod :D

magnus 08-14-2007 11:09 AM

Quote:

Originally Posted by Mecho (Post 1317121)
i'm wondering y vb.org dont like that ppl have this mod :D

Who says vB.org doesn't like that people have this mod? Where did you get an idea like that?

Mecho 08-14-2007 05:01 PM

Quote:

Originally Posted by magnus (Post 1317247)
Who says vB.org doesn't like that people have this mod? Where did you get an idea like that?

noone said that anywhere ! if u check this topic many ppl like to have a rate system like this one that vb.org using ! but i didnt see that anybody try to help ppl in this topic or release a new version !

obmob 08-14-2007 10:49 PM

Quote:

Originally Posted by Mecho (Post 1317470)
noone said that anywhere ! if u check this topic many ppl like to have a rate system like this one that vb.org using ! but i didnt see that anybody try to help ppl in this topic or release a new version !

Tha't's because noone has been able to make it work as it's supposed. :(

I thought i was close, but it didn't work... there must be a custom made conditional, cause when i use the rating conditionals, everythign is hidden after one vote. No matter if you do it ot someone else... in other words, it would be a one vote only funtion. :mad:

Roxie 08-15-2007 01:46 AM

Quote:

Originally Posted by exc1te (Post 1316631)
yeah.. it ain't woking.. not with 3.6.8 anyway :/

Works fine in 3.6.8.

Mecho 08-15-2007 08:27 AM

Quote:

Originally Posted by obmob (Post 1317683)
Tha't's because noone has been able to make it work as it's supposed. :(

I thought i was close, but it didn't work... there must be a custom made conditional, cause when i use the rating conditionals, everythign is hidden after one vote. No matter if you do it ot someone else... in other words, it would be a one vote only funtion. :mad:

yea exactly same problem here ! i hope finally someone fix this :)

obmob 08-16-2007 03:45 PM

Quote:

Originally Posted by Mecho (Post 1317953)
yea exactly same problem here ! i hope finally someone fix this :)

me too! >.<

Steigeisen 08-16-2007 07:16 PM

same here! If it works on this site, why don't we get the fix? :(

obmob 08-17-2007 04:43 PM

Quote:

Originally Posted by Steigeisen (Post 1319130)
same here! If it works on this site, why don't we get the fix? :(

Maybe the vb.org coder doesn't want us to have it! :eek:

exc1te 08-17-2007 08:31 PM

Quote:

Originally Posted by obmob (Post 1319730)
Maybe the vb.org coder doesn't want us to have it! :eek:

I will go through the code tomorrow after work and I will try to make it working.. ;)

Steigeisen 08-17-2007 08:59 PM

great! Looking forward to it, thank you very much!

rayphua 08-17-2007 11:20 PM

Thanks in advance, Exite!


All times are GMT. The time now is 05:03 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.01549 seconds
  • Memory Usage 1,817KB
  • 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
  • (1)bbcode_code_printable
  • (13)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
  • (40)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