vb.org Archive

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

Skyrider 07-17-2012 10:35 PM

I shall wait for the vB4 version!

Scandal 07-18-2012 06:47 AM

1 Attachment(s)
Quote:

Originally Posted by maki_69 (Post 2349056)
Great mod but I have problem with permissions of usergroups. Where Can I enable / disable voting for usergroups? I check all options in plugin setting but I get error about permissions.

On admincp settings about Thumbs Up? there is the option to Ban Usergroups of using the system:
Attachment 139898
This option is on settings, not on usergroup manager. ;)
Quote:

Originally Posted by maki_69 (Post 2349056)
Another thing is problem with voting after changing forum language. I use polish language and when I want check error message in english, I change forum language and vote but buttons disappear and my vote didn't count.

hmm I don't understand the problem. :o
If the language of your site is set to English, the system works fine, but if you turn to Polish, and try to thumb, the box disappear? What with error message?

(sorry for my bad English :erm: )

maki_69 07-18-2012 07:23 AM

Quote:

Originally Posted by Scandal (Post 2349188)
On admincp settings about Thumbs Up? there is the option to Ban Usergroups of using the system:
Attachment 139898
This option is on settings, not on usergroup manager. ;)

I saw this option but when I want vote I get error about permissions my usergroup but banned usergroups field is empty.


Quote:

Originally Posted by Scandal (Post 2349188)
hmm I don't understand the problem. :o
If the language of your site is set to English, the system works fine, but if you turn to Polish, and try to thumb, the box disappear? What with error message?

This problem You can see when You install mod on language number 1 (in my example polish) and next you change language to number 2 (english). Now try vote. Box with thumbnails disappear and error doesn't appear.

BTW. And what you thing about my proposition about box on forumdisplay?
Example (but in this example looks ugly):
https://vborg.vbsupport.ru/
This box can be like optional function :)

Scandal 07-18-2012 07:41 AM

Quote:

Originally Posted by maki_69 (Post 2349191)
I saw this option but when I want vote I get error about permissions my usergroup but banned usergroups field is empty.

Can you let me know what is your usergroup ID its users has this problem? (no permission). Also check if the problem is only for your test account. Other users on this usergroup has the same problem?

Quote:

Originally Posted by maki_69 (Post 2349191)
This problem You can see when You install mod on language number 1 (in my example polish) and next you change language to number 2 (english). Now try vote. Box with thumbnails disappear and error doesn't appear.

Try this change temporary to see the error: Go to admincp > vBulletin Options > General Settings, and disable All AJAX features. Then try to vote and let me know the error message.


Quote:

Originally Posted by maki_69 (Post 2349191)
BTW. And what you thing about my proposition about box on forumdisplay?
Example (but in this example looks ugly):
http://iv.pl/images/88229702496831398859.png
This box can be like optional function :)

The box you describe is for "thumb up/down" threads, or a sum of post thumbs for each thread?

maki_69 07-18-2012 09:52 AM

Quote:

Originally Posted by Scandal (Post 2349197)
Can you let me know what is your usergroup ID its users has this problem? (no permission). Also check if the problem is only for your test account. Other users on this usergroup has the same problem?

I test mod on localhost like admin and registered user. Both usergorups have this error.


Quote:

Originally Posted by Scandal (Post 2349197)
Try this change temporary to see the error: Go to admincp > vBulletin Options > General Settings, and disable All AJAX features. Then try to vote and let me know the error message.

I disabled ajax features and got the same error:
"admin, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."


Quote:

Originally Posted by Scandal (Post 2349197)
The box you describe is for "thumb up/down" threads, or a sum of post thumbs for each thread?

Described box is for sum of thumbs up for first post. Of course You can do this box for others options like counting every thumbs in topic or displaying sum of thumbs up and sum of thumbs down.

Scandal 07-18-2012 02:32 PM

Very strange :(
What your vBulletin version?

If you couldn't thumb a post, the buttons would be "grey" ("not allowed"). Has anyone the same problem?

hmm, do a right click on a button (up or down), copy the url and paste it here.

maki_69 07-18-2012 02:53 PM

Quote:

Originally Posted by Scandal (Post 2349267)
Very strange :(
What your vBulletin version?

I use 3.8.6 on localhost but in few minutes I install and check mod on my forum.

EDIT: On my forum I have the same problem (I use vBulletin 3.8.7 Patch Level 3).

Quote:

Originally Posted by Scandal (Post 2349267)
hmm, do a right click on a button (up or down), copy the url and paste it here.

URL:
Code:

http://localhost/vbulletin/thumbs.php?do=add&contenttype=post&thumb=-1&contentid=2&securitytoken=1342626612-cf8705a736092af96d2083ce350a15fff2c20d0f

3raq4all 07-18-2012 06:28 PM

https://vborg.vbsupport.ru/external/2012/07/31.png


Hello
How do I get on the variable for the number?
I want to add the number to the Post template
I hope to help

Fluke667 07-18-2012 10:08 PM

i want import from reputation system to thumbs up... howto do this?

Scandal 07-19-2012 11:04 AM

Quote:

Originally Posted by maki_69 (Post 2349270)
I use 3.8.6 on localhost but in few minutes I install and check mod on my forum.

EDIT: On my forum I have the same problem (I use vBulletin 3.8.7 Patch Level 3).


URL:
Code:

http://localhost/vbulletin/thumbs.php?do=add&contenttype=post&thumb=-1&contentid=2&securitytoken=1342626612-cf8705a736092af96d2083ce350a15fff2c20d0f

Let's do some edits, just for testing.
1. Open file thumbs.php and delete the lines:
Quote:

// check security
if (!verify_security_token($securitytoken, $vbulletin->userinfo['securitytoken_raw'])) {
print_no_permission();
}
then try to use the system.
2. Open file includes/functions_sc_thumbs.php and find the function:
Quote:

function thumbed_already_check
change the line:
Quote:

return false;
to
Quote:

return true;
then try to use the system
3. On the same file, find the function:
Quote:

function is_in_banned_usergroup()
change the line:
Quote:

return false;
to
Quote:

return true;
then try to use the system
4. On the same file, find the function:
Quote:

function is_in_banned_list()
change the line:
Quote:

return false;
to
Quote:

return true;
then try to use the system
5. On the same file, find the function:
Quote:

function is_a_banned_forum($forumid)
change the line:
Quote:

return false;
to
Quote:

return true;
then try to use the system

Quote:

Originally Posted by 3raq4all (Post 2349325)
https://vborg.vbsupport.ru/external/2012/07/31.png


Hello
How do I get on the variable for the number?
I want to add the number to the Post template
I hope to help

What exactly you want to do? These numbers refers the thumbs has been given on the whole site.

Quote:

Originally Posted by Fluke667 (Post 2349372)
i want import from reputation system to thumbs up... howto do this?

I haven't check reputation system. will see.


All times are GMT. The time now is 07:21 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.01200 seconds
  • Memory Usage 1,768KB
  • 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
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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