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)

optrex 08-18-2007 11:16 AM

Could really do with the option to vote not appearing again when you revisit the thread. Just displaying the rating would be better. Otherwise its a fantastic hack.

Rich 08-18-2007 02:38 PM

Hello,

Follow the instructions in the attached text file and the vote box will work EXACTLY like it does on vb.org. (This includes seeing the vote after it was made.)

Glad I could help.

optrex 08-18-2007 04:22 PM

rich you are a star - works great

Steigeisen 08-18-2007 06:59 PM

Gee, thank you very much!
But something is not working here. After I made the changes I got two yellow bars, of which one disappeared after rating. I tried this twice, and I can't figure out why.

I noticed that there is a code which I cannot find in the original showthread (the red line):
Quote:

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php?threadid=$threadinfo[threadid]&amp;p=$postid" method="post" id="inlinemodform">
$spacer_open
</if>

<a name="poststop" id="poststop"></a>

this is missing in the original. Since I'm not familiar with coding I just copy/paste the mod as the coder recommended. His attached file is the whole showthread template. However, in there I do not find that line. Is it that, what causes the problem?

I'd be glad if someone could send me the showthread template with the mod in full. Shame on me, but as I said, I'm not familiar with coding. Although I'm sure I made everything right and that second bar does work, it's just that I have two bars now, the old and a new one.

Or just let me know where I have to change something to get that old bar out. ;)

Thanks for your help!

Greets
Steigi

optrex 08-18-2007 07:05 PM

The code rich placed is for a fresh install. If you have already installed it, work backwards with the old code replacements, then just work your way around the additional deletes in the middle section - you'll see if you compare the 2 instructions.

Steigeisen 08-18-2007 07:07 PM

Gee great! Thank you very much! Silly me, I didn't think of that. ;)

Now it's working perfectly, just great!

Thanks again and greets
Happy Steigi :)

rayphua 08-18-2007 07:23 PM

Just installed the new code Rich provided. I'm not sure if it did manage tolve the 1 vote issue, where only 1 member needs to vote to get the thread rated. Does anyone know?

gokhan58 08-19-2007 10:56 AM

thank you

soletrader 08-19-2007 01:37 PM

Quote:

Originally Posted by Rich (Post 1320317)
Hello,

Follow the instructions in the attached text file and the vote box will work EXACTLY like it does on vb.org. (This includes seeing the vote after it was made.)

Glad I could help.

Im gettting an error:

The conditional on line 382 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.

Can you double check this? Thanks

Rich 08-19-2007 05:45 PM

Hello,

You should try redoing the modification. Everything I wrote in there works as is. I tested it several times, and as you can see, others have also made the same edits and the conditionals work fine for them as well.

I would suggest removing the mod, and then follow my instructions to the letter. If you do it as i have it outlined, it will work.

If you have already made modifications to your SHOWTHREAD template, its possible you are removing an "</if> from one that already exists.


All times are GMT. The time now is 05:03 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.01141 seconds
  • Memory Usage 1,736KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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