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)
-   -   Show Thread Enhancements - Week / Month Topic Nominations (https://vborg.vbsupport.ru/showthread.php?t=223607)

vbboarder 09-21-2009 04:47 PM

Quote:

Originally Posted by apiasto (Post 1888267)
very nice work i installed it on 3.8.3 and when i click on withdraw all nominations i get this error
Warning: implode() [function.implode]: Bad arguments. in [path]/includes/functions_nominate_topic.php on line 1003
Invalid SQL:
DELETE FROM vb_reputation WHERE postid = '364050' AND whoadded IN ();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Error Number : 1064
but when i refresh the page it goes away but the image stays without the user who nominated the post.i have to refresh the page again in order to remove that,then after refreshing the page it comes back.any idea to resolve this,thanks

Your problem can occur if you didn't give reputation points for nominating when that user nominated, then you gave reputation points for nominating, then you withdrew the nominations. Since no reputation points were recorded initially, the error resulted. This is a relatively rare bug, but I'll fix it in a later update.

Note: The 2.0 mod has give reputation points for nominating by default; I think versions 1.x didn't so that can cause a problem.

matthewhotdude 09-21-2009 04:54 PM

So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo

apiasto 09-21-2009 07:10 PM

Quote:

Originally Posted by vbboarder (Post 1888526)
Your problem can occur if you didn't give reputation points for nominating when that user nominated, then you gave reputation points for nominating, then you withdrew the nominations. Since no reputation points were recorded initially, the error resulted. This is a relatively rare bug, but I'll fix it in a later update.

Note: The 2.0 mod has give reputation points for nominating by default; I think versions 1.x didn't so that can cause a problem.

thnx for the reply,i tried that but still same.I will wait for the update :up:

vbboarder 09-21-2009 09:23 PM

Quote:

Originally Posted by psychobike (Post 1888213)
[s]I'm still getting the following page "The Administrator(s) did not defined a receiving forum for hosting poll results of the TOTW/TOTM contest.".[/s]

Edit: Everything is working just fine now. Thank you for the support as well as for a nice mod.

Quote:

Originally Posted by AzzidReign (Post 1888219)
UPDATE!
It's working good so far! I'll let you know how everything goes here in a week and a half when the current poll ends and the new one starts! :D But no more errors thus far!
THANK YOU!

Thanks for testing guys! :D

vbboarder 09-21-2009 09:27 PM

Quote:

Originally Posted by apiasto (Post 1888587)
thnx for the reply,i tried that but still same.I will wait for the update :up:

Actually the scenario I wrote in the previous post is what could potentially cause the error.... you shouldn't have tried it.

Stifmeister2 09-21-2009 09:28 PM

Any screenshots?

matthewhotdude 09-21-2009 09:31 PM

So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo

Please help

TimberFloorAu 09-21-2009 09:33 PM

hmm https://vborg.vbsupport.ru/showpost....2&postcount=35

vbboarder 09-21-2009 09:35 PM

Quote:

Originally Posted by matthewhotdude (Post 1888527)
So if I want it to the right of the username, where do I put $template_hook[postbit_userinfo_left]
The thing is I think the experience bars use the same hook. So how can I just move the "nominated" logo

If you go to ACP -> Plugin Manager, find the Topic Nominations plugin HOOKED TO postbit_display_start:
FIND:
eval('$template_hook[postbit_userinfo_left]
AND REPLACE WITH:
eval('$template_hook[postbit_userinfo_right]
OR: whatever other $template_hook that you want and is available in postbit template so that the images don't conflict.

vbboarder 09-21-2009 09:37 PM

Quote:

Originally Posted by Stifmeister2 (Post 1888662)
Any screenshots?

Read the 1st paragraph of the 1st post....


All times are GMT. The time now is 10:15 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.01344 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
  • (7)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