Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Cache system do not work

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

    Default Re: Cache system do not work

    Quote Originally Posted by grynmoors
    how did you get rid of the weird date thing?
    I have deleted a lot of template code,:D ( to make the script fast)

    Quote Originally Posted by grynmoors
    the polls get broken returning a smarty error!
    I don't know. I have not putted polls to my site.


    We can't do some changes due to the Zent Optimizer. OK Zent make the PHP fast but we can't make our own plugins and changes.

    There is a website with vshare that is using this cache system. xhamster.com.

  2. #12
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Cache system do not work

    OMG!!!! PLEASE WARN US ABOUT LINKS TO SMUT SITES!!!!!!!!!!!!!!

    If they 're already using the cache system, ask their webmaster how they got the cache system to work.

    Turning on the cache system breaks the polls, when you view "current status" it returns a smarty error! (I am advising you, not asking...if you try to put a poll, it will be broken).

    I also still need to know how you got rid of the date thing. I understand you removed a lot of code, but which one, in particular, is creating the date that needs to be removed?
    If it's not fun, stop doing it!

  3. #13
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default Re: Cache system do not work

    I think script developers should look at this because they know what they have done. I cannot see the PHP script because is in zent. Maybe they gave the script to xhamster.com in PHP.

    Note: If you want 30% more speed just :

    1. Delete the info comments at files "include/smarty/libs/Smarty.class.php" & "include/smarty/libs/Smarty_Compiler.class.php"

    2. Go to "public_html/include/player.inc" and add player settings from there not from admin panel..

  4. #14
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Cache system do not work

    I would imagine that removing the comments from *everything* wouldn't hurt either!

    UPDATE

    Eliminating the comments in ALL the files in the 'libs' directory shrunk the size of the directory by nearly 100K!!!

    I'll be going thru every uncoded file and eliminating every comment that I can find!
    If it's not fun, stop doing it!

  5. #15
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Cache system do not work

    Rammstein

    Could you give me an example of the settings to use for the player? Every time I do something to it, it completely screws up the player. Let's say the player in admin is set for 440W x 360H...what would be the player settings I'd need to use in player.inc?
    If it's not fun, stop doing it!

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

    Default Re: Cache system do not work

    Code:
    <script type="text/javascript" src="http://yoursite.com/player/swfobject.js"></script>    
    <?php
    $vshare_player = <<<EOT
    <p id="vshare_player">Get Flash to see this player.</p>
    <script type="text/javascript">
    var so = new SWFObject("http://yoursite.com/player/player.swf","vshare_player","540","440","8");
    so.addParam("allowfullscreen","false");
    so.addVariable("file","{$file}");
    so.addVariable("image","http://yoursite.com/thumb/$video_id.jpg");
    so.addVariable("logo","http://yoursite.com/templates/images/watermark.gif");
    so.addVariable("link","http://yoursite.com/index.php");
    so.addVariable("width","540");
    so.addVariable("height","440");
    so.addVariable("displayheight","420");
    so.addVariable("overstretch", "true");
    so.addVariable("autostart", "false");
    so.addVariable("bufferlength", "7");
    so.write('vshare_player');
    </script>
    EOT;
    You can make the settings you want. :wink:

  7. #17
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Cache system do not work

    THANKS!!!!!!!!!!!!!!!!!!!!
    If it's not fun, stop doing it!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Rating system/?
    By k3lvin in forum Template Modifications
    Replies: 4
    Last Post: 04-02-2011, 04:49 AM
  2. Point System
    By Anthony in forum Feature Requests
    Replies: 24
    Last Post: 02-03-2011, 04:21 AM
  3. Plugin System
    By nitramf in forum Feature Requests
    Replies: 1
    Last Post: 06-16-2009, 06:19 PM
  4. [add-on] Advert system - Only $15!
    By pepio in forum Template Modifications
    Replies: 28
    Last Post: 07-20-2008, 04:28 PM
  5. I have a problem, vshare script have a cache in server???
    By joako30 in forum General Discussions
    Replies: 1
    Last Post: 08-13-2007, 09:33 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
  •