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)

AzzidReign 09-20-2009 10:31 PM

Quote:

Originally Posted by jazz_aaf (Post 1888226)
No answer on this post?!

If you have a custom skin, you probably have to go upload the images to that directory.

jazz_aaf 09-20-2009 10:47 PM

Quote:

Originally Posted by ExplosiveGFX (Post 1888228)
Have you checked the images are in the right place on the FTP?

Nvm my last post btw, fixed it.

All images are in the right place.
/vb/images/buttons/nominate
/vb/images/icons/nominate
/vb/images/misc/nominate

Quote:

Originally Posted by AzzidReign (Post 1888231)
If you have a custom skin, you probably have to go upload the images to that directory.

It is installed on a fresh installation of vb. I installed vbulletin 3.8.4 and the first thing after that was installing this mod.

apiasto 09-21-2009 01:01 AM

1 Attachment(s)
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

woffie 09-21-2009 11:54 AM

It is now working for me with Legacy. Great mod!

derandechser 09-21-2009 12:37 PM

Hi, i?m using legacy and the nominate-button appears, but when i click the nominate-button there?s only a blank page.
Btw: great mod, mark as installed and nominated:up:

greets, Peter

1320Nation 09-21-2009 01:42 PM

Quote:

Originally Posted by ExplosiveGFX (Post 1888224)
It's good, works on postbit_legacy, but when selecting a nomination forum, it says none has been selected when I nominate a post, also, the maintainence tools redirect to admincp/ when I use a custom admincp dir.

Did you do number 5 on install setup?

5. For new installs only, start a new nomination poll at:
ACP side menu -> Nominate Topic -> Special Actions -> Create New Poll Thread

matthewhotdude 09-21-2009 02:29 PM

Does this not work with the post thanks, post groan hacks? as they use the 3 plugins

Sorted.

But how do I solve this?

http://premium1.uploadit.org/chattab...//Untitled.jpg

vbboarder 09-21-2009 04:31 PM

Quote:

Originally Posted by jazz_aaf (Post 1888236)
All images are in the right place.
/vb/images/buttons/nominate
/vb/images/icons/nominate
/vb/images/misc/nominate



It is installed on a fresh installation of vb. I installed vbulletin 3.8.4 and the first thing after that was installing this mod.

I'll try to brainstorm some more as to why you installation is not working.

Thanks AzzidReign & ExplosiveGFX for helping out with some tips for him.

vbboarder 09-21-2009 04:36 PM

Quote:

Originally Posted by derandechser (Post 1888413)
Hi, i?m using legacy and the nominate-button appears, but when i click the nominate-button there?s only a blank page.
Btw: great mod, mark as installed and nominated:up:
greets, Peter

Quote:

Originally Posted by psychobike (Post 1888434)
Did you do number 5 on install setup?

5. For new installs only, start a new nomination poll at:
ACP side menu -> Nominate Topic -> Special Actions -> Create New Poll Thread

Thanks for your support & nomination! Let me know if psychobike's tip solved your problem.

Thanks psychobike for your tip :)

vbboarder 09-21-2009 04:41 PM

Quote:

Originally Posted by matthewhotdude (Post 1888456)
Does this not work with the post thanks, post groan hacks? as they use the 3 plugins

Sorted.

But how do I solve this?

http://premium1.uploadit.org/chattab...//Untitled.jpg

This mod should work with the 2 other mods you mentioned. Although they have similar code framework, but actual codes are different. You can easily fix your overlapping image by moving $template_hook[postbit_userinfo_left] to your desired location in the postbit or postbit_legacy templates.

Please use VB uploader to upload images - you need to click "post reply" or "go advanced" instead of using the quick reply. It's easier & safer to view, thanks ;)

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....

vbboarder 09-21-2009 09:44 PM

Quote:

Originally Posted by TimberFloorAu (Post 1888212)
Are you just supporting those that installed ? and ignoring those that are asking pre-install questions?
Just checking !


Users who marked "installed" have priority in getting the questions/ problems answered. I'll answer other questions as time permits.

If you're wondering about postbit_legacy support, read this post.. It has already been confirmed to work with postbit_legacy by several users.

matthewhotdude 09-21-2009 09:45 PM

Thanks, But I don't know what hook to use, even if it'spossible to get it just to the right of the username

vbboarder 09-21-2009 09:50 PM

Quote:

Originally Posted by matthewhotdude (Post 1888681)
Thanks, But I don't know what hook to use, even if it'spossible to get it just to the right of the username

What do you mean? I just gave you an example....

matthewhotdude 09-21-2009 09:55 PM

That hook sent it to the far right and messed up with something else, See screen shot
http://premium1.uploadit.org/chattab...//Untitled.jpg
I would like it where the red arrow is pointing if thats possible?

vbboarder 09-21-2009 09:57 PM

Quote:

Originally Posted by matthewhotdude (Post 1888687)
That hook sent it to the far right and messed up with something else, See screen shot
http://premium1.uploadit.org/chattab...//Untitled.jpg
I would like it where the red arrow is pointing if thats possible?

As before, please upload image to VB.org; I don't like visiting unknown sites on my development computer.

TimberFloorAu 09-21-2009 09:58 PM

Quote:

Originally Posted by vbboarder (Post 1888680)
Users who marked "installed" have priority in getting the questions/ problems answered. I'll answer other questions as time permits.

If you're wondering about postbit_legacy support, read this post.. It has already been confirmed to work with postbit_legacy by several users.

Question asked here : https://vborg.vbsupport.ru/showpost....5&postcount=26

matthewhotdude 09-21-2009 10:00 PM

1 Attachment(s)
Like that?

vbboarder 09-21-2009 10:08 PM

Quote:

Originally Posted by matthewhotdude (Post 1888692)
Like that?

No, you probably should remove the image because I think VB moderators don't like big images dominating the thread. You need to CLICK ON "Go Advanced" button and then "Manage Attachments".

To answer you Q, you can either test out another $template_hook or move the postbit_userinfo_right hook to where you want. Look at the postbit template (or postbit_legacy) for possible hooks (ACP -> Style Manager -> Edit Templates).

matthewhotdude 09-21-2009 10:26 PM

<span style="text-decoration: line-through">Thanks, one last thing. Can it be changed from Topic of the month to "post of the month"
?</span>

Never mind, sorted

apiasto 09-22-2009 07:16 AM

Quote:

Originally Posted by vbboarder (Post 1888659)
Actually the scenario I wrote in the previous post is what could potentially cause the error.... you shouldn't have tried it.

sorry,i meant i made sure that there are some rep points added :D

chick 09-22-2009 12:42 PM

Looking good so far. I have it working on blogs (latest version) and on postbit legacy, 3.8.4... hopefully it will auto generate on the first of the month, I have it set for monthly. Will report back on 10/1/09.

nascartr 09-23-2009 03:17 PM

Quote:

Originally Posted by chick (Post 1888886)
Looking good so far. I have it working on blogs (latest version) and on postbit legacy, 3.8.4... hopefully it will auto generate on the first of the month, I have it set for monthly. Will report back on 10/1/09.

Same here, everything looks and works great...but wonder if things will go right at the beginning of October...

vbboarder 09-23-2009 03:58 PM

Quote:

Originally Posted by chick (Post 1888886)
Looking good so far. I have it working on blogs (latest version) and on postbit legacy, 3.8.4... hopefully it will auto generate on the first of the month, I have it set for monthly. Will report back on 10/1/09.

Thanks for confirming that it works with VB Blogs & postbit_legacy. Please click "Installed" to show your support & receive support ;)

matthewhotdude 09-23-2009 04:01 PM

Just wondering, if you have joint nominations, do both nominations recieve the award, Also when someone nominates a thread should the poll be open for everyone to vote in, or are they supposed to nominate the thread also?

vbboarder 09-23-2009 04:06 PM

Quote:

Originally Posted by matthewhotdude (Post 1889504)
Just wondering, if you have joint nominations, do both nominations recieve the award, Also when someone nominates a thread should the poll be open for everyone to vote in, or are they supposed to nominate the thread also?

If you're talking about nominations ties, this mod accounts for that up to 3 winners. If you want to limit users/ usergroups able to receive nominations and users/ usergroups able to give nominations, there are settings for that in VB Options > Topic Nominations.

matthewhotdude 09-23-2009 04:08 PM

1 Attachment(s)
Something strange has happened!!

I just went to chek the topic of the month thread and the poll seems to have well gone!

All the threads are still marked as nominated tho, but nothing it appearing in the poll!!

And just test nominated another post and it didnt come up in the poll

Also, if someone nominates a topic, where it says "Multiple Choice Poll. Voters: 20. This poll is closed"

The number 20 will go up, but the poll will still be empty

vbboarder 09-23-2009 04:16 PM

First, make sure you are looking at the right thread/poll (ie: the most recent one vs. an older one). If so, you can refresh the poll by going to: ACP > Nominate Topic > Refresh Poll Thread.
If this ever happens again, you should set your Topic Nominations options to the default settings in the xml; see the bottom of the xml file and look for values between <defaultvalue> tags (reinstalling the xml will not reset the option values).

matthewhotdude 09-23-2009 04:17 PM

I tried the refresh, nothing happened will try to set the default options...If I can...where do I find the xml file?

Also could it be becuse there are more that 10 threads nominated?

vbboarder 09-23-2009 04:19 PM

Quote:

Originally Posted by nascartr (Post 1889466)
Same here, everything looks and works great...but wonder if things will go right at the beginning of October...

I made an effort to make the automatic & manual contest finalizations more reliable & intuitive than the previous versions. I don't foresee any problems, but nothing is bug-free....

vbboarder 09-23-2009 04:23 PM

Quote:

Originally Posted by matthewhotdude (Post 1889516)
I tried the refresh, nothing happened will try to set the default options...If I can...where do I find the xml file?

Also could it be becuse there are more that 10 threads nominated?

The xml is the file that you used to install this mod. The settings in VB Options should correspond to those listed in the xml file in the same order as the xml's displayorder attribute. It may take some time to do this if you're not used to reading xml files.


All times are GMT. The time now is 12:05 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.01649 seconds
  • Memory Usage 1,849KB
  • 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
  • (26)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
  • (40)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