vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - [AJAX] Threads rating (https://vborg.vbsupport.ru/showthread.php?t=185117)

mad@Max 12-01-2008 06:09 PM

Sarthek, no, this future only for members.
Taragon, hm, if rating working in blogs, you can add condition like
PHP Code:

if(THIS_SCRIPT == 'blog')
{
code



Tarfandestan 12-04-2008 01:26 PM

tanx for your hack.
how can change the place of this bar in threads?
I want set it between quick reply and posts.

mad@Max 12-04-2008 04:15 PM

Tarfandestan, hm, you need little rewrite code...
Find in plugin Threads rating (showthread_complete)
PHP Code:

$vbulletin->templatecache['SHOWTHREAD'] = str_replace('$navbar''$navbar'.$vbulletin->templatecache['trate'], $vbulletin->templatecache['SHOWTHREAD']); 

Replace with
PHP Code:

$vbulletin->templatecache['SHOWTHREAD'] = str_replace('$trcode'$vbulletin->templatecache['trate'], $vbulletin->templatecache['SHOWTHREAD']); 

Now put $trcode in template SHOWTHREAD
Quote:

between quick reply and posts
:)

Tarfandestan 12-04-2008 09:16 PM

tanx a lot man. its ok right now.

mad@Max 12-04-2008 11:56 PM

Welcome ;)

kmohamed 12-11-2008 02:04 AM

this is one of the greatest hacks (my opinion) lol its small but it makes ur site looks great
thank u
should i be afraid of any bugs

kruchczan 12-14-2008 12:31 PM

After the vote, zie shows me the result :(, the option does not work who voted :(, what I was doing wrong? please help

kmohamed 12-14-2008 05:01 PM

Quote:

Originally Posted by kruchczan (Post 1685179)
After the vote, zie shows me the result :(, the option does not work who voted :(, what I was doing wrong? please help

you have to upload all of the files inside the zip file to your forum

clientscript---------------------------------->forum
images-------------------------------------->forum
threadratinginfo.php--------------------->forum
:)

kruchczan 12-14-2008 05:37 PM

I have sent files and partly working, but I have an error javascript :(.

Code:

openDreamTRI is not defined
javascript:openDreamTRI(2204)


mad@Max 12-14-2008 06:24 PM

kruchczan, you need handly add js code...
Quote:

Tuning:

If you use non default style or just autoreplace in templates not worked, did this:

1) In mod settings enable hand setting

2) In the top of "navbar" template add:

$mdm_tr


All times are GMT. The time now is 06:29 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.01347 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_php_printable
  • (3)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