vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Karma BETA (https://vborg.vbsupport.ru/showthread.php?t=109716)

Lea Verou 04-07-2006 06:06 AM

Extilus, no I need to see the ratingform one.

The Chief I didn't understand what you said.

The Chief 04-07-2006 12:45 PM

Quote:

Originally Posted by Michelle
Extilus, no I need to see the ratingform one.

The Chief I didn't understand what you said.

ah, now I need to write it again...lol

ok, well would it be possible to make this hack as simple as can be, by like having a different link for people to vote, like let's say, http://www.myetalk.com/forums/rating.php?u=MEMBERID here or something like that, then anybody could vote, then the average voting of the user is displayed in the profile represented in a cool image or something?

I would like to make this as easy as possible, no need of like all the extra stuff like the comments and other things..?

hope you will be able :)

Exitilus 04-07-2006 08:37 PM

Here's the rating form:

PHP Code:

<form action="$thiscriptmethod="post">
            <
input type="hidden" name="do" value="rateuser">
            <
input type="hidden" name="userid" value="$userinfo[userid]">
            <
input name="rating" type="radio" value="-5">
            <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m5]">
            <
input name="rating" type="radio" value="-4">
    <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m4]"
            <
input name="rating" type="radio" value="-3">
    <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m3]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m3]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m3]">
    <
input name="rating" type="radio" value="-2">
    <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m2]"><img src="images/karma_minus.gif" alt="$vbphrase[karma_m2]">
    <
input name="rating" type="radio" value="-1">
  <
img src="images/karma_minus.gif" alt="$vbphrase[karma_m1]">
    <
br />
    <
input name="rating" type="radio" checked="checked" value="0">
    <
img src="/images/neutral.gif" alt="$vbphrase[karma_0]"><br />
    <
input name="rating" type="radio" value="1">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p1]">
    <
input name="rating" type="radio" value="2">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p2]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p2]">
    <
input name="rating" type="radio" value="3">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p3]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p3]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p3]">
    <
input name="rating" type="radio" value="4">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p4]">
    <
input name="rating" type="radio" value="5">
    <
img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><img src="images/karma_plus.gif" alt="$vbphrase[karma_p5]"><br />
            <
br />
            &
nbsp;<input class="button" type="submit" name="submit" value="$vbphrase[userrating_ratenow]"><br />
            </
form


Lea Verou 04-07-2006 08:40 PM

Quote:

Originally Posted by The Chief
ah, now I need to write it again...lol

ok, well would it be possible to make this hack as simple as can be, by like having a different link for people to vote, like let's say, http://www.myetalk.com/forums/rating.php?u=MEMBERID here or something like that, then anybody could vote, then the average voting of the user is displayed in the profile represented in a cool image or something?

I would like to make this as easy as possible, no need of like all the extra stuff like the comments and other things..?

hope you will be able :)

:confused:
There are no comments in this hack...

Lea Verou 04-07-2006 08:42 PM

Extilus, the problem is on the alt tags or on the number of images?

Exitilus 04-07-2006 11:58 PM

Yup. just checked those phrases. Sure enough they were set for 9 & 10 ... Quite odd :laugh

The Chief 04-08-2006 12:28 AM

Quote:

Originally Posted by Michelle
:confused:
There are no comments in this hack...

ok but did you get the thing about the seperate link?

Allan 04-15-2006 07:44 PM

Thanks for this hack :)

Click Install ;)

Allan 04-15-2006 08:03 PM

i'm a big problem with this hack:

- On "karma_stats.php" page, on top, i have:
"Warning: array_count_values(): The argument should be an array in /karma_stats.php on line 146

Warning: array_count_values(): The argument should be an array in /karma_stats.php on line 205"

- In postbit, nothing show

- And, on "member.php" page, nothing show also

ps: permissions to usergroup OK, permissions hack OK

ConKien 05-07-2006 07:11 PM

Michelle, r u still working on this?


All times are GMT. The time now is 09:57 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.01175 seconds
  • Memory Usage 1,790KB
  • 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
  • (1)bbcode_php_printable
  • (3)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