Visualizzazione dei risultati da 1 a 6 su 6

Discussione: script per votare foto

  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    21

    script per votare foto

    Salve, sto cercando uno script che permetta agli utenti di inserire le proprie fot e di farsi votare dagli altri utenti... una cosa simile al clarendario di clarence.
    Ho provato rateapic ma è un casino perchè non mi visualizza le miniature... esiste qualche cosa di simile?

  2. #2

  3. #3

    Rateapic

    Qualcuno ha capito come configurarlo per far vedere le miniature?
    Giuseppe

    Mi lamentavo delle scarpe strette, poi vidi un uomo senza gambe......

  4. #4

    Rateapic

    Non lo usa nessuno?
    Giuseppe

    Mi lamentavo delle scarpe strette, poi vidi un uomo senza gambe......

  5. #5

    Rateapic...l'esasperazione

    Il sito di prova è qui
    Il codice del settings è questo:

    codice:
    <? 
    
    /* DB VARIABLES*/
    $sqlhost = "localhost";
    $sqluser = "miaroot";
    $sqlpass = "miapassword";
    $sqldb = "miodb";
    
    /* TABLE NAMES */
    $r_ucomments = "r_ucomments"; // user comments
    $r_picuploads = "r_picuploads";
    $r_banip ="r_banip";
    $r_catagory = "r_catagory";
    $r_links = "r_links";
    $r_messages = "r_messages";
    $r_users = "r_users";
    $r_usersonline = "usersOnline";			
    $r_faq = "r_faq";					
    
    /* PATHS */
    $mainurl = "/rateapic/";
    $thumbType = "0";  // 0 = GD, 1 = ImagageMagic
    $thumbdir = "thumb";  // short path
    $imagedir = "uploads";  // short path
    $fullpathuploads = "/var/www/html/rateapic/uploads";
    $fullpaththumb = "/var/www/html/rateapic/thumb";
    $theme = "templates/default";			
    
    /*ADMINISTRATION OPTIONS*/
    $adminpassword = "password";
    $notifyAdmin ="1";		// 0 = off, 1 = on when new photo submitted
    $preapprove ="0";      // 0 = admin approves first  = everything approved
    $showvotes = "1";  // 0 = off, 1 = on vote tracking on and off.
    $maxupSize = "900000"; // maximum upload size in bytes
    $new_w = "320";					// thumbnail width after upload.
    $maxupWidth = "1024";  // maximum width of pic to accept
    $maxupHeight = "768";  // maximum height of pic to accept
    $maxvotes="30"; 	// if showvotes off, ignore.
    $maxcomments ="3"; // max comments to show before displaying more
    $maxlinks = "10";   // max links to show before displaying more
    $maxfaq = "4";		// maximum faq questions to display before the more.
    
    /* PAGE VARIABLES */
    $infoText="Simply rate each picture by clicking on the themometer and we'll advance you to the next available entry. If you would like to submit your own photo, click on the signup and we'll do the rest.";
    /*	Customize what <:INFOTEXT:> displays on each page.
    	By default, main page is default to what infoText is set for.
    	However, you can customize each one.
    Just make sure what ever
    	you supply, make sure it's not blank, else the formatting may not
    	look correct.
    		 
    	Example:
    	$JoininfoText="After filling out the form below, we'll email you your user name and password.";
    */
    $FeedbackinfoText=$infoText;
    $InboxinfoText=$infoText;			
    $CommentinfoText=$infoText;
    $PrivateinfoText=$infoText;			
    $JoininfoText=$infoText;
    $AboutinfoText = $infoText;
    $FaqinfoText = $infoText;	
    $UploadinfoText = $infoText;				
    $aftervote ="";		   // not recommend to use.  Ignore this and keep it blank.
    
    /* SITE VARIABLES*/
    $mailadmin = "youremail";			
    $sitetitle = "RateApic";		// used when emailing users
    $sitename = "yoursite.com";		// used for page title in browswer.
    $siteurl ="http://yoursite.com/rateapic/";  //With trailing slash!!
    $mailname = "RateApic";
    $msgText = "<html><head><title>$sitename</title></head>
    					<body style=\"margin:8px 9px 9px 12px\" bgcolor=\"#ffffff\"> 
    					<font face=\"Verdana,Arial\" size=\"2\">
    					You're receiving this message because you recently signed up for a username and password on <a href=\"$siteurl\">$sitetitle</a>.  We want to personally thank you for taking the time for contributing to our site.
    You're username and password is listed below.
    After signing in, please make sure to change your password by clicking on the Your Profile option after logging in.
    At anytime, you can change a number of options including your email address and things of that nature.
    					</font>
    					</body></html>";
    					
    $footer = "(c) 2002 phpRateApic iFuller.com";
    				
    
    ?>
    Qualcuno riesce a capire perchè non si vedono le anteprime? :maLOL:
    Giuseppe

    Mi lamentavo delle scarpe strette, poi vidi un uomo senza gambe......

  6. #6
    Allora, credo che il problema principale è che carica le foto, ma non crea le "thumbs"
    Giuseppe

    Mi lamentavo delle scarpe strette, poi vidi un uomo senza gambe......

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.