vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - e-steki Karma version 2.2 (https://vborg.vbsupport.ru/showthread.php?t=154264)

TheBlackPoet 08-07-2007 04:48 AM

okay.... but just so you know.... you did a fine job!!!! i will hit you up when you come back....

*update....

i got it working... and its working fine.... you are a winner in my book!!!

mktrilogy 08-07-2007 04:57 AM

gimme some time, i click installed but i will install it in my forums later.

cynthetiq 08-07-2007 10:34 AM

Okay, I installed it but still don't see anything in post bit.

I thought maybe I have another mod stepping on this one so I installed on an older 3.6.5 dev that had no mods except vBadvanced. Still no luck.

Lea Verou 08-07-2007 10:36 AM

Quote:

Originally Posted by cynthetiq (Post 1311802)
Okay, I installed it but still don't see anything in post bit.

I thought maybe I have another mod stepping on this one so I installed on an older 3.6.5 dev that had no mods except vBadvanced. Still no luck.

cynthetiq, this requires 3.6.8.

Black Poet, I'm back but very tired, I'll go to sleep, sorry.

cynthetiq 08-07-2007 10:50 AM

Quote:

Originally Posted by Michelle (Post 1311804)
cynthetiq, this requires 3.6.8.

Black Poet, I'm back but very tired, I'll go to sleep, sorry.

sleep well! I'll update that older dev to 3.6.8

edit:

Updated on the Dev system and installed.

It looks GREAT!!!!

Tho, I don't know why it's not working on my production system. I guess another mod is stepping on it?

As far as the updated dev goes, I can't rate anyone. The pop up works, the history works, stats work. But no ability to rate. I get an error stating:

Quote:

Sorry, we were unable to process your vote. This might be caused by one of the following reasons:

The appropriate time between rating two different users has not passed yet
You tried to rate yourself.
You tried to rate someone that is banned or has chosen not to participate in the karma system
You tried to rate someone that does not have the permission to participate in the karma system
You have chosen not to participate in the karma system
You are banned
You are not allowed to participate in the karma system

TheBlackPoet 08-07-2007 02:15 PM

Quote:

Originally Posted by cynthetiq (Post 1311814)
sleep well! I'll update that older dev to 3.6.8

edit:

Updated on the Dev system and installed.

It looks GREAT!!!!

Tho, I don't know why it's not working on my production system. I guess another mod is stepping on it?

As far as the updated dev goes, I can't rate anyone. The pop up works, the history works, stats work. But no ability to rate. I get an error stating:


the error is because whoever you are trying to rate... has not elected to participate in the Karma system..... I'm HOPING Michelle will re-wite this option to give the admin control of this little choice.. because getting 200+ Members to do it.., is like pulling tiger's teeth...


http://yoursite.com/forum/profile.php?do=editoptions at the bottom of the page is where you select the option to participate

cynthetiq 08-07-2007 02:53 PM

Quote:

Originally Posted by TheBlackPoet (Post 1311905)
the error is because whoever you are trying to rate... has not elected to participate in the Karma system..... I'm HOPING Michelle will re-wite this option to give the admin control of this little choice.. because getting 200+ Members to do it.., is like pulling tiger's teeth...


http://yoursite.com/forum/profile.php?do=editoptions at the bottom of the page is where you select the option to participate

That is what I had suspected as well, and I created a new user specifically so that I could test a number of items and made sure that this individual account is enabled.

still no luck.

subnet_rx 08-07-2007 02:58 PM

I think you have something really good going here. The problem is, I always here complaints about how the rep system is just a popularity contest. Many boards disable it because of this. Does this help that in any way? I'm looking for some type of improved rep system so that it doesn't turn into rep a few friends, neg rep that guy I don't like, and repeat in 24 hours.

TheBlackPoet 08-07-2007 04:11 PM

okay..., im trying to karma folks via posbit... and its giving me that error... is this only working for one time?? or can i give them neg or pos ratings anytimes (and im missing something)????

0tolerance 08-07-2007 09:35 PM

hopefully i when i get ALOT of time, i will update my board to 3.6.8 and then re-install all my mods and then install this!

In my eyes this is an excellent mod!
You just need to add the options to turn it on for a user group or not & take the option away from the user to select whether they participate.

Overall: Keep up the excellent work!

Lea Verou 08-08-2007 04:58 AM

Good morning.
You don't have to enable it for all the users, its enabled by default. You can look at the user table of your database, the karma is 1 for all.
I'm going to look at the rest of your posts now. :)

Lea Verou 08-08-2007 05:01 AM

Quote:

Originally Posted by subnet_rx (Post 1311936)
I think you have something really good going here. The problem is, I always here complaints about how the rep system is just a popularity contest. Many boards disable it because of this. Does this help that in any way? I'm looking for some type of improved rep system so that it doesn't turn into rep a few friends, neg rep that guy I don't like, and repeat in 24 hours.

I also didn't like the rep system, this is why I made this on the first place.
In this, you don't rate the posts, you rate the users. And you can't rate someone more than once (if you do, the new vote will replace the old one).

Lea Verou 08-08-2007 05:06 AM

Quote:

Originally Posted by TheBlackPoet (Post 1311996)
okay..., im trying to karma folks via posbit... and its giving me that error... is this only working for one time?? or can i give them neg or pos ratings anytimes (and im missing something)????

Rating via the postbit uses the same code as rating via the profile. It's just links. They take you momentarily to karma.php, which processes the vote, checks permissions and everything and takes you afterwards to the user's profile (I should make the postbit one via AJAX on the next version, if I ever learn AJAX good enough :p)
Check if the appropriate time has passed when you are trying to vote someone. That time is configurable via the settings. Most e-steki Karma settings apply to the admin as well (as I was mad when the other admin on my site turned his karma off :p)

Lea Verou 08-08-2007 05:07 AM

Quote:

Originally Posted by 0tolerance (Post 1312226)
hopefully i when i get ALOT of time, i will update my board to 3.6.8 and then re-install all my mods and then install this!

In my eyes this is an excellent mod!
You just need to add the options to turn it on for a user group or not & take the option away from the user to select whether they participate.

Overall: Keep up the excellent work!

These settings are already there, look at the screenshots ;)

Lea Verou 08-08-2007 07:05 AM

Btw check if the sceduled task has been added, as I've never have made before a sceduled task in a product of mine.

cynthetiq 08-08-2007 10:56 AM

Quote:

Originally Posted by Michelle (Post 1312433)
Rating via the postbit uses the same code as rating via the profile. It's just links. They take you momentarily to karma.php, which processes the vote, checks permissions and everything and takes you afterwards to the user's profile (I should make the postbit one via AJAX on the next version, if I ever learn AJAX good enough :p)
Check if the appropriate time has passed when you are trying to vote someone. That time is configurable via the settings. Most e-steki Karma settings apply to the admin as well (as I was mad when the other admin on my site turned his karma off :p)

Okay, I'll check the time in between rating, but I don't think that I rated a single person.

edit: I chanded the minimum time between rating 2 different users to 0
changed can rate self to yes, ignore users that haven't visited for x days to 0

and I still can't rate anyone.

:(

Lea Verou 08-08-2007 11:10 AM

Quote:

Originally Posted by cynthetiq (Post 1312600)
Okay, I'll check the time in between rating, but I don't think that I rated a single person.

edit: I chanded the minimum time between rating 2 different users to 0
changed can rate self to yes, ignore users that haven't visited for x days to 0

and I still can't rate anyone.

:(

Then its not it.
in your karma.php find:
PHP Code:

//oops! problem! 

add below that:
PHP Code:

echo "Userid: " $vbulletin->userinfo['userid'] . " Karma banned: $mysql_kbanned Restricted: $mysql_restricted Banned: $mysql_banned TimeOK: $timeok UsersOK: $users_temp"

Then vote again and paste me the message that is echoed at the top (don't forget to remove the line afterwards).

cynthetiq 08-08-2007 01:20 PM

Userid: 70 Karma banned: Restricted: Banned: TimeOK: 1 UsersOK: 1

Lea Verou 08-08-2007 01:29 PM

That's really weird :confused:
Thanks, I'll look into it.

Lea Verou 08-08-2007 01:32 PM

Are you trying to rate yourself?

cynthetiq 08-08-2007 01:36 PM

nope trying to rate a test account.

though I did try my own account as well.

Lea Verou 08-08-2007 06:19 PM

I'm trying to fix some newfound bugs for some hours now.
I will release an update tomorrow (I hope).
I would release it today, but I'm too tired to continue and I'm going to sleep.
It will not have new features, just bugfixes and better code (I finally learned to use a mysql join! :) )
So if you have problems wait until that please.
Goodnight!

Lea Verou 08-09-2007 07:52 AM

Version 2.2
---------------
-Various bugfixes
-Better coding & structure
-Separate admincp navigation menu

I hope the bugs are fixed now *sigh*

cynthetiq 08-09-2007 10:29 AM

Now that works!!!!!!!! and it's HOT! I really like it even more that I can use it. It will work great for the community. I can see exactly why you created it.

I added it to my actual production one but that still doesn't work for some reason. I don't see karma in the postbit at all. If you'd like to troubleshoot that maybe it would be helpful for others who have other mods and can't seem to get it to work.

I clicked on the Controversy link and got the following error:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT voteid, rating FROM vb_userrating WHERE userid=68 AND active=1 AND userid NOT IN () AND raterid NOT IN () ORDER BY `dateline` DESC;

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 ') AND raterid NOT IN () ORDER BY `dateline` DESC' at line 1
Error Number : 1064
Date : Thursday, August 9th 2007 @ 04:23:11 AM
Script : http://factanonverba.org/forums/karm...userstats&u=68
Referrer :
IP Address : X.X.X.X
Username : cynthetiq
Classname : vB_Database

Lea Verou 08-09-2007 10:46 AM

The error on the userstats popup is only at your production forum or the test forum as well?
Also please provide the main karma settings you have set.

cynthetiq 08-09-2007 10:54 AM

this is just the test forum, I can't get the whole karma system to work on the production forum.

Here's the screenie of my options

Lea Verou 08-09-2007 11:01 AM

The screenshot seems a bit messed up.
Anyway, try to put a userid (or 2 if one does not work) in the restricted userids list and tell me if its solved.
Of course thats not an "official" fix, but it will help me find the problem.

Lea Verou 08-09-2007 11:05 AM

Don't do anything, just found the cause.
new karma.php coming soon.

Lea Verou 08-09-2007 11:19 AM

Try this one and tell me.

cynthetiq 08-09-2007 12:08 PM

Beautiful!!!!!!!!! It works!

Lea Verou 08-09-2007 12:35 PM

:) I'm glad we found it. I'm going to update the zip with that then :):)
Phew, at last! :D

cynthetiq 08-09-2007 01:17 PM

The production forum doesn't have alot of data on it, but has alot a good number of mods. I keep track of them in a forum so that I can easily remember all the additions and changes I make.

So far, I cannot see the karma mod on the postbit at all nor the user profile options to participate in the karma system.

and yes, the mod is active. I just double checked that setting.

dprundle 08-09-2007 03:56 PM

* clicks install works great

cynthetiq 08-09-2007 10:51 PM

I had made some changes to the graphics. I thought the thumbs were a bit small so I changed the graphic.

I was trying to change the middle neutral and I was surprised that it wasn't neutral.gif, but it was. I think you'll want to change that.

http://www.e-steki.com/forum/images/...expression.gif

Khalid-B 08-09-2007 11:14 PM

wow ,,, great work man ,, finally its work great at 3.6.8 ..

Thanks for quick updated.
Clicked install.
Thanks

Lea Verou 08-10-2007 03:29 AM

Good morning everyone :)
Thanks nosherwan and dpruntle :)
cynthetic, do you you have msn? Can you sent it to me in a pm? I think IM will be better to solve this problem.

Lea Verou 08-10-2007 03:32 AM

Quote:

Originally Posted by cynthetiq (Post 1314040)
I had made some changes to the graphics. I thought the thumbs were a bit small so I changed the graphic.

I was trying to change the middle neutral and I was surprised that it wasn't neutral.gif, but it was. I think you'll want to change that.

http://www.e-steki.com/forum/images/...expression.gif

Have I left the full URL there? :eek:

Lea Verou 08-10-2007 06:17 AM

cynthetiq's problem is solved. He had confused the restricted usergroupids with the restricted userids in the settings. :)

Lea Verou 08-10-2007 10:38 AM

Please re-download the zip and replace karma_cron.php as I just found a small error in my query that was returning a database error.

cynthetiq 08-10-2007 12:12 PM

Quote:

Originally Posted by Michelle (Post 1314208)
cynthetiq's problem is solved. He had confused the restricted usergroupids with the restricted userids in the settings. :)


Aiigh!!!!!! PEBCAK!!!!!!

thanks for the assist. You taught me alot, may not seem like alot to you, but still learning all this after coming from the world of phpbb.

downloaded and donated!

Thanks again!!!!


All times are GMT. The time now is 03:28 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.01501 seconds
  • Memory Usage 1,836KB
  • 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_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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