vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - [AJAX] Thumbs Up? (https://vborg.vbsupport.ru/showthread.php?t=285720)

Alex@bulletin 07-25-2012 04:16 PM

1 Attachment(s)
One more bug report from me till I provide my translation: (i sent you a pm, concerning some phrases)

Screenshot:

https://vborg.vbsupport.ru/attachmen...1&d=1343236533

There is the following issue:
If I double click on a vote button unfortunately, the voting box disappears and the phrase "nopermission_loggedin_ajax" appears within the postbit. A very strange bug..... :D

can you fix that ;)

Martyn1983 07-25-2012 05:10 PM

I disabled stats in postbit - when I double click on a vote the voting options for that particular post dissapear completely. Refresh the page and the vote options return, complete with the vote as cast.



Quote:

Originally Posted by Alex@bulletin (Post 2351359)
One more bug report from me till I provide my translation: (i sent you a pm, concerning some phrases)



There is the following issue:
If I double click on a vote button unfortunately, the voting box disappears and the phrase "nopermission_loggedin_ajax" appears within the postbit. A very strange bug..... :D

can you fix that ;)


Scandal 07-25-2012 05:32 PM

Quote:

Originally Posted by Martyn1983 (Post 2351377)
I disabled stats in postbit - when I double click on a vote the voting options for that particular post dissapear completely. Refresh the page and the vote options return, complete with the vote as cast.

Quote:

Originally Posted by Alex@bulletin (Post 2351359)
Screenshot:

There is the following issue:
If I double click on a vote button unfortunately, the voting box disappears and the phrase "nopermission_loggedin_ajax" appears within the postbit. A very strange bug..... :D

can you fix that ;)

It is not a bug, it occurs for the reason that the box does not have the time (when you do a fast double click) to refresh its buttons, so the system recognize that you try to vote again.
This system works with one click, not with double.

May a improvement to the code fix this problem to next releases. :)

Alex@bulletin 07-25-2012 06:20 PM

1 Attachment(s)
Hi there, German translation is available for Download now:
http://www.vbulletin-germany.org/sho...0831#post80831

I will upload my first version of the translation in this thread too, so you can test it, but I won't update it anymore, as I'll give only support and updates on the German modification page ;)

SY

Alex

sandboa 07-25-2012 09:16 PM

1 Attachment(s)
Great mod. But can you help me get the Name field above the thumbs up/down field?

SilverBoy 07-25-2012 09:32 PM

Quote:

Originally Posted by SilverBoy (Post 2351136)
Already nominated.

We still need this great mod to work with blog entries and comments :)
BTW I use vbtube and I wish I get this awesome mod to work with it (videos and comments).

Again Scandal :)

Mr_Running 07-25-2012 09:45 PM

Quote:

Originally Posted by SilverBoy (Post 2351136)
BTW I use vbtube and I wish I get this awesome mod to work with it (videos and comments).

:up:

I would also like this to work with vbtube video and comments...
and vbtube photos would be awesome. :)

AURFSCAN 07-27-2012 12:03 AM

1 Attachment(s)
I didnt want the thumbs box in each post displaying a '0'

I only wanted it to display a number if someone thumbed up/down.

Heres how to,

edit sc_thumbs_box template

find

Code:

{vb:raw amount}
and replace with

Code:

<vb:if condition="$amount !=0 ">{vb:raw amount}</vb:if>

:) thanks again for a great mod Scandal

Mr_Running 07-27-2012 01:10 AM

Quote:

Originally Posted by AURFSCAN (Post 2351746)
I didnt want the thumbs box in each post displaying a '0'

I only wanted it to display a number if someone thumbed up/down.

Heres how to,

edit sc_thumbs_box template

find

Code:

{vb:raw amount}
and replace with

Code:

<vb:if condition="$amount !=0 ">{vb:raw amount}</vb:if>

:) thanks again for a great mod Scandal

I like the idea :up:
Current I only have this mod set up for Album Pictures and Picture Comments.
The above template change does not seem to work as it is displaying (zero) 0...
at least for me.

AURFSCAN 07-27-2012 01:26 AM

Maybe Scandal can sort the code.. works for me though


All times are GMT. The time now is 10:29 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.01555 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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)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