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)
-   -   Forum Home Enhancements - User Of The Month (https://vborg.vbsupport.ru/showthread.php?t=222579)

Cableguy69 09-08-2009 05:49 PM

Mine is similar, but mine appears like this.

https://vborg.vbsupport.ru/external/2009/09/46.jpg

the image location is at the following.

Code:

http://www.mysite.com/avatars/a.gif?dateline=1239911870&type=thumb
That location doesn't exist, so should the image location be

Code:

http://www.mysite.com/images/avatars/a.gif?dateline=1239911870&type=thumb
If you look at line 86.

Code:

$avatar = $url."thumbs/avatar".$uid."_".$revision.".gif";

multiplex 09-08-2009 06:19 PM

this is the best! avatars working fine for me on 3.8.3

voted 5/5, marked as installed, and nominated for MOTM :up:

but please answer one question. what does message count signify? do you mean Private Message count?

would make more sense to have Post Count and Reputation like in the post bits

also what does thread count signify? if its supposed to mean post count, i think its calculating wrong. mine is showing higher than my actual post count (which includes threads and posts created)

Cableguy69 09-08-2009 06:52 PM

It means replies, to threads. Thread count is threads that have been started by the user.

multiplex 09-08-2009 09:49 PM

Quote:

Originally Posted by Cableguy69 (Post 1881730)
It means replies, to threads. Thread count is threads that have been started by the user.

ok i have a total post count of 950. how can my "thread count" be 1057 ??? and my message count is over 1600???

doesnt make sense

Mellymonster 09-08-2009 11:44 PM

Quote:

Originally Posted by Cableguy69 (Post 1881706)
Mine is similar, but mine appears like this.

https://vborg.vbsupport.ru/external/2009/09/46.jpg

the image location is at the following.

Code:

http://www.mysite.com/avatars/a.gif?dateline=1239911870&type=thumb
That location doesn't exist, so should the image location be

Code:

http://www.mysite.com/images/avatars/a.gif?dateline=1239911870&type=thumb
If you look at line 86.

Code:

$avatar = $url."thumbs/avatar".$uid."_".$revision.".gif";

Ok I'm confused how can I fix this avatar not showing up issue?

HappyFeet 09-09-2009 02:25 AM

Many thanks vLkn, I re-downloaded it and installed. It works perfect now!

I did however have to re-edit my templates because I manually added $vum and the new version with auto insertion gave me two of them, I just removed the one I added from each style.

See it HERE

Thanks again, this is something I was looking for. If we can show why the member is user of the month, it would be even better.;)

This one is a keeper!!!

gigaenvy 09-09-2009 09:49 AM

I'm not sure what you were trying to accomplish. In other words, what problem or limitation were you trying to solve by creating this mod?

User of the month should be determined by some criteria or many selectable types of criteria. For example, I would love this mod if it could give me a list of sortable users that had top posts, top activity, most thanks, etc. Then give me the option to clear the monthly results or export them. You can get crazy and have it automatically determine who was the user of the month by the pre-configured admincp settings each month. It would be best if users were emailed telling them how they're doing - "You need two more quality posts to be in the lead"....

This has potential, but so does VBExperience if they took this recommendation.

MiBot 09-09-2009 11:17 AM

So Leechers,

here's your solution for the avatars...

Open the product xml file and search for:

Code:

$avatar = "image.php?u=1&dateline=".$dtyaz['dateline']."&type=thumb";
replace with

Code:

$avatar = "image.php?u=$uid&dateline=".$dtyaz['dateline']."&type=thumb";
It's not that hard aight?

Best reagards,
MiBo

New Joe 09-09-2009 11:50 AM

Quote:

Originally Posted by MiBot (Post 1881989)
So Leechers,

here's your solution for the avatars...

Open the product xml file and search for:

Code:

$avatar = "image.php?u=1&dateline=".$dtyaz['dateline']."&type=thumb";
replace with

Code:

$avatar = "image.php?u=$uid&dateline=".$dtyaz['dateline']."&type=thumb";
It's not that hard aight?

Best reagards,
MiBo

Thank you, nice to see someone giving time to help out the users who don't know about coding. :D

Faizan 09-09-2009 01:23 PM

oh Thanks alot MiBot Great......

MiBot 09-09-2009 01:30 PM

Here is another - maybe useful - change... If you have vbexperience installed!!!!! (else there will be some nice error drops *g*) you can do some changes and the best-ranked user will be viewed... I don't know, if the xperience-points are actual everytime, so this is a fast and dirty change, don't set to much hope in it. You should backup your product xml before the changes, maybe something failes...

// After this changes, the mod is an "User of the Moment"-Mod i think, cause the experience points are dynamic and recalculated more often?

Open the product xml and search for:

Code:

$sql = $vbulletin->db->query_read("Select userid, username, avatarrevision From ".TABLE_PREFIX."user
 Where userid = $uid");

The line can change a bit, cause there are linebreaks inside... if you doesn't find this line, search for:

Code:

$sql = $vbulletin->db->query_read("Select userid, username, avatarrevision From
Should be the same line, whatever i haven't tested it.

Replace the line/s with the following code. If you are unsure, you mustn't replace the line, you can write the code below the line you found.

Code:

$sql = $vbulletin->db->query_read("SELECT userid, usergroupid, username, avatarrevision, xperience From ".TABLE_PREFIX."user WHERE (usergroupid <> 6 AND usergroupid <> 8) order by xperience DESC LIMIT 1");
This SQL statement filters the usergroups with the id 6 (Admins) and 8 (Banned) from the experience top list. So these usergroups won't be shown. You can add or remove the usergroups in this statement... to add a ignored usergroup, you hafe to wirte "AND usergroupid <> X" after the "8". X is the placeholder for the usergroup. It's pretty simple.

If you are unsure, do not change anything and only copy the code.

Next search for:

Code:

//////////END SQL
If you found it, add below:

Code:

$uid = $yaz['userid'];
So. That's all the magic. Go to Admin CP and reimport the manipulated product xml... don't forget to change to "override product" else it won't work.

Maybe you could give some feedback, i think it should work but i'm not that sure.

If you get SQL Errors, you can easily reimport the original product xml.

The templates won't change via reimport.

I hope, the next release will have this stuff all inside and maybe some nice xperience-bridged-options...

vLkn 09-10-2009 05:23 AM

Version 1.4.0 Added

apiasto 09-10-2009 09:35 AM

for some reason avatar still don't work :confused:

New Joe 09-10-2009 09:49 AM

What version of vB are you using?

odonel 09-10-2009 10:39 AM

Quote:

Originally Posted by gigaenvy (Post 1881964)
I'm not sure what you were trying to accomplish. In other words, what problem or limitation were you trying to solve by creating this mod?

User of the month should be determined by some criteria or many selectable types of criteria. For example, I would love this mod if it could give me a list of sortable users that had top posts, top activity, most thanks, etc. Then give me the option to clear the monthly results or export them. You can get crazy and have it automatically determine who was the user of the month by the pre-configured admincp settings each month. It would be best if users were emailed telling them how they're doing - "You need two more quality posts to be in the lead"....

This has potential, but so does VBExperience if they took this recommendation.

I totally agree with you giga... good MOD, but useless to me without these things...

EidolonAH 09-10-2009 10:44 AM

Quote:

Originally Posted by gigaenvy (Post 1881964)
User of the month should be determined by some criteria or many selectable types of criteria. For example, I would love this mod if it could give me a list of sortable users that had top posts, top activity, most thanks, etc. Then give me the option to clear the monthly results or export them. You can get crazy and have it automatically determine who was the user of the month by the pre-configured admincp settings each month. It would be best if users were emailed telling them how they're doing - "You need two more quality posts to be in the lead"....

This has potential, but so does VBExperience if they took this recommendation.

I agree 100%,
I have just installed this mod and found it to be completely pointless as it is, I have to decide for myself who is to be the member of the month by typing in a userID. That is not user of the month, that is most favoured by admin user of the month. I've posted a mod request to at least get some kind of choice that is not biased on the admins behalf, if anyone wants to support the request by seconding the request that would be great, it's here:
https://vborg.vbsupport.ru/showthread.php?t=222849

Theo-zzzz 09-13-2009 02:18 PM

Quote:

Originally Posted by EidolonAH (Post 1882462)
I agree 100%,
I have just installed this mod and found it to be completely pointless as it is, I have to decide for myself who is to be the member of the month by typing in a userID. That is not user of the month, that is most favoured by admin user of the month. I've posted a mod request to at least get some kind of choice that is not biased on the admins behalf, if anyone wants to support the request by seconding the request that would be great, it's here:
https://vborg.vbsupport.ru/showthread.php?t=222849


Do it like vbulletin.org..
Make a nomination thread and a poll, and let your users decide.

Ronald127 09-13-2009 03:52 PM

Is there anyway of putting it above the shoutbox?

COL NIL SATIS 09-13-2009 07:23 PM

works fine for me!!! thank u

nomoreturn 09-14-2009 01:28 AM

install newr version but I still have problem with avtar still there is no avtat or pic

gsmlover4u 09-14-2009 05:54 PM

working fine with 3.8.2 hehehehehehehehe

chrisdaman77 09-15-2009 10:31 AM

Just finally got around to updating with the new file and all is fine now for me. One thing I would like to see different though would be the Thread Count changed to the persons Post Count

apiasto 09-15-2009 11:55 AM

Quote:

Originally Posted by New Joe (Post 1882446)
What version of vB are you using?

i'm using 3.8.3

movslow 09-15-2009 04:39 PM

If this were somehow more automated in regards to how the user was choosen, I'd be using it 110%

Great idea, just needs more content.
:up:

solarhosts 09-15-2009 11:17 PM

Clicks *Install*

Tibia4 09-16-2009 01:59 AM

Ok, now work fine~

but if my avatar is GIF (Animation) doesnt move :(

BucWiLd 09-20-2009 05:23 PM

i cant find this in my options. where the hell do i edit it.. lol

i got it had to reinstall like 3 times. but got it

spirittina 09-22-2009 07:24 AM

is there anyway i can change the title from user to member and how do i do it thanks :)

Nadeemjp 09-22-2009 07:55 AM

the user of the month block appears twice once upgraded......how do i cure it?

TheInsaneManiac 09-24-2009 04:37 AM

I think this should be called member of the month and it should be displayed in a notice. So that people can easily click the X and make the message go away.

spirittina 09-24-2009 05:07 AM

yes i think it should be called member of the month as well any idea on how to change this ???

SVTCobraLTD 09-24-2009 03:26 PM

Any chance of this working on 3.6.11?

Reef Man 09-25-2009 06:50 PM

Hi,

I installed it and works just great.
My site is totally in spanish, I can provide the translation if you tell me where I need to do it.

I looked on the phrases and I didnĀ“t find it.

Can you help?

thanks.

bigcurt 09-25-2009 10:40 PM

Not sure if author is still around, but anyway to make this to where I can add more than one user as member of the month? We have 2 every month.

Rckcrwlr 10-01-2009 12:59 AM

Is it possible to change the title so that it can be:

Car of the Month or something like that?

New Joe 10-01-2009 03:37 AM

Quote:

Originally Posted by Rckcrwlr (Post 1893097)
Is it possible to change the title so that it can be:

Car of the Month or something like that?

Open the xml file and edit it.

spirittina 10-02-2009 01:00 PM

Quote:

Originally Posted by New Joe (Post 1893140)
Open the xml file and edit it.

thankyou sooo much

Rckcrwlr 10-02-2009 01:33 PM

Ditto...worked perfect!!!!

SVTCobraLTD 10-02-2009 03:01 PM

Any chance this works on 3.6.x?

apiasto 10-06-2009 05:00 AM

instead of avatar it shows the link for profile page


All times are GMT. The time now is 01: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.01455 seconds
  • Memory Usage 1,830KB
  • 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
  • (15)bbcode_code_printable
  • (9)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