Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: I would like to have "include/function_video_rating.php"

  1. #1
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default I would like to have "include/function_video_rating.php"

    Hi admin
    I would like to have "include/function_video_rating.php" dezend because i want to make that everyone can rate videos even guests users.
    That will help me very much.
    thank you

  2. #2
    Join Date
    Jan 2008
    Posts
    216

    Default Re: I would like to have "include/function_video_rating.php"

    Me tooooooooooo! ;)

  3. #3
    Join Date
    Dec 2008
    Posts
    152

    Default Re: I would like to have "include/function_video_rating.php"

    Since the next version is going to be unencrypted i didnt think it would hurt to decrypt this file for these guys?
    Code:
    <?php
    function insert_video_rating($_obfuscate_NHIjmrYÿ)
    {
    		global $config;
    		$_obfuscate_0W8ÿ = $_obfuscate_NHIjmrYÿ['id'];
    		$_obfuscate_zOVUj6Eÿ = 5;
    		$_obfuscate_3y0Y = "SELECT `ratedby`, `rate`, `voter_id`, `be_rated` FROM `video` WHERE `VID`=" . $_obfuscate_0W8ÿ;
    		if (!($_obfuscate_xs33Yt_k = mysql_query($_obfuscate_3y0Y)))
    		{
    				mysql_die($_obfuscate_3y0Y);
    		}
    		$_obfuscate_ss5FfHDZaUmtQÿÿ = mysql_fetch_assoc($_obfuscate_xs33Yt_k);
    		if ($_obfuscate_ss5FfHDZaUmtQÿÿ['ratedby'] < 1)
    		{
    				$_obfuscate_gftfagwÿ = 0;
    		}
    		else
    		{
    				$_obfuscate_gftfagwÿ = $_obfuscate_ss5FfHDZaUmtQÿÿ['ratedby'];
    		}
    		$_obfuscate_pQ83s68r5AVQEfdANA8ÿ = $_obfuscate_ss5FfHDZaUmtQÿÿ['rate'];
    		$_obfuscate_Jb9amb0ÿ = $_obfuscate_gftfagwÿ == 1 ? "vote" : "votes";
    		if ($config['video_rating'] == "Once")
    		{
    				$_obfuscate_AR_jlPHcwpRR = $_obfuscate_ss5FfHDZaUmtQÿÿ['voter_id'];
    				$_obfuscate_r6MQU9AgCgWeBwÿÿ = explode("|", $_obfuscate_AR_jlPHcwpRR);
    				if (in_array($_SESSION['UID'], $_obfuscate_r6MQU9AgCgWeBwÿÿ))
    				{
    						$_obfuscate_U1oSA_iihCMÿ = 1;
    				}
    				else
    				{
    						$_obfuscate_U1oSA_iihCMÿ = 0;
    				}
    		}
    		else
    		{
    				$_obfuscate_U1oSA_iihCMÿ = 0;
    		}
    		$_obfuscate_NIqh6rW0waOhRvBcKC9ypwÿÿ = 20;
    		$_obfuscate_qX3yLFuOwXkKmqdC = number_format($_obfuscate_pQ83s68r5AVQEfdANA8ÿ / $_obfuscate_gftfagwÿ, 2) * $_obfuscate_NIqh6rW0waOhRvBcKC9ypwÿÿ;
    		$_obfuscate_dyEaZGmuWgÿÿ = @number_format($_obfuscate_pQ83s68r5AVQEfdANA8ÿ / $_obfuscate_gftfagwÿ, 1);
    		$_obfuscate_kUjCYsSL7gÿÿ = @number_format($_obfuscate_pQ83s68r5AVQEfdANA8ÿ / $_obfuscate_gftfagwÿ, 2);
    		$_obfuscate_mzwSmYÿ = "<div>";
    		$_obfuscate_mzwSmYÿ .= "<div>";
    		$_obfuscate_mzwSmYÿ .= " <ul id=\"unit_ul" . $_obfuscate_0W8ÿ . "\" class=\"unit-rating\" style=\"width:" . $_obfuscate_NIqh6rW0waOhRvBcKC9ypwÿÿ * $_obfuscate_zOVUj6Eÿ . "px;\">";
    		$_obfuscate_mzwSmYÿ .= "<li class=\"current-rating\" style=\"width:" . $_obfuscate_qX3yLFuOwXkKmqdC . "px;\">Currently " . $_obfuscate_kUjCYsSL7gÿÿ . "/" . $_obfuscate_zOVUj6Eÿ . "";
    		$_obfuscate_Ckv19OWb = 1;
    		for (; $_obfuscate_Ckv19OWb <= $_obfuscate_zOVUj6Eÿ; ++$_obfuscate_Ckv19OWb)
    		{
    				if (!($_obfuscate_U1oSA_iihCMÿ == 0) && !($_obfuscate_ss5FfHDZaUmtQÿÿ['be_rated'] == "yes"))
    				{
    						$_obfuscate_mzwSmYÿ .= "[*]<a href=\"javascript:video_rate(" . $_obfuscate_0W8ÿ . ",{$_obfuscate_Ckv19OWb});\" title=\"{$_obfuscate_Ckv19OWb} out of {$_obfuscate_zOVUj6Eÿ}\" class=\"r" . $_obfuscate_Ckv19OWb . "-unit rater\" rel=\"nofollow\">" . $_obfuscate_Ckv19OWb . "</a>";
    				}
    		}
    		$_obfuscate_Ckv19OWb = 0;
    		$_obfuscate_mzwSmYÿ .= "[/list]<p";
    		if ($_obfuscate_U1oSA_iihCMÿ == 1)
    		{
    				$_obfuscate_mzwSmYÿ .= " class=\"voted\"";
    		}
    		$_obfuscate_mzwSmYÿ .= ">Rating:  " . $_obfuscate_dyEaZGmuWgÿÿ . "/" . $_obfuscate_zOVUj6Eÿ . " (" . $_obfuscate_gftfagwÿ . " " . $_obfuscate_Jb9amb0ÿ . " cast)";
    		$_obfuscate_mzwSmYÿ .= "</p></div></div>";
    		return $_obfuscate_mzwSmYÿ;
    }
    
    ?>
    NOTE IM NOT SURE IF IT WAS DECRYPTED CORRECTLY

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: I would like to have "include/function_video_rating.php"

    Actually, what you posted will not work as it isn't decrypted properly.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #5
    Join Date
    Dec 2008
    Posts
    152

    Default Re: I would like to have "include/function_video_rating.php"

    I was wondering i didn't try to run the code afterwards

  6. #6
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: I would like to have "include/function_video_rating.php"

    Yes that code do not work. I have seen this at dezent vshare code :roll: .

    admin can you PM me the code?? or publish it??

  7. #7
    Join Date
    Dec 2008
    Posts
    152

    Default Re: I would like to have "include/function_video_rating.php"

    [quote=" I have seen this at dezent vshare code :roll: .[/quote]

    What does that mean?

  8. #8
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: I would like to have "include/function_video_rating.php"

    There are illegal versions of vShare on the Internet have been "dezend" (Zend is what was used to encrypt vShare). Because the "dezend" process isn't accurate, most people who run illegal versions of vShare quickly find out that it doesn't work. He has probably seen the file you posted from one of those dezended versions.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  9. #9
    Join Date
    Dec 2008
    Posts
    152

    Default Re: I would like to have "include/function_video_rating.php"

    Yeah i knew it was encrypted with that software just could figure out what he was talking about by saying dezent.
    \Thanks

  10. #10
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: I would like to have "include/function_video_rating.php"

    where is the admin???? :(

Page 1 of 2 12 LastLast

Similar Threads

  1. allowing absolute url in fckeditor in "email users" option
    By paolo in forum General Discussions
    Replies: 1
    Last Post: 11-22-2008, 12:59 AM
  2. Getting this include/config.php" FILE to 777 Error
    By rkc11 in forum Installation Support
    Replies: 0
    Last Post: 02-08-2008, 01:30 PM
  3. Where is "guest bar" also bar "most viewed" etc
    By abeez in forum Template Modifications
    Replies: 2
    Last Post: 01-21-2008, 03:33 AM
  4. Bottom Advert Broken in "Recently Added Groups" page
    By grynmoors in forum Installation Support
    Replies: 2
    Last Post: 09-09-2007, 01:24 AM
  5. "Classified " Site, and "Image Hosting"
    By chiefody in forum Sales Questions
    Replies: 1
    Last Post: 07-04-2007, 08:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •