My EVB

Register an Account
Reply
 
Thread Tools Display Modes
  #141 (permalink)  
Old 07-06-2007, 03:51 PM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 277
Couldn't you do that now by using your own images and re-naming them to the image names in the EVB package?

Haven't tried it but seems like it would work...
Reply With Quote
  #142 (permalink)  
Old 07-06-2007, 04:32 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
If you changed the images and css in url.php, then yes. But I assumed it really related to letting webmasters (not the pligg site owner) choose from a range of styles, rather than a single one.
Reply With Quote
  #143 (permalink)  
Old 07-06-2007, 05:04 PM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 277
Gotcha - not a bad idea, though wouldn't you want an EVB that is similar to the one on your website? If this is the case, having a choice of EVB without having the choice of vote buttons to use on the Pligg site seems a bit odd?

Then again, maybe I haven't thought this one thru all the way....
Reply With Quote
  #144 (permalink)  
Old 07-18-2007, 04:33 PM
New Pligger
 
Join Date: Jul 2007
Posts: 12
Hi Simon,
first of all, tanx for this ... it is really a nice work !

I'm i dumb to ask how do you put it on your index ? It works fine for me now but 1 cannot figure out where to put the EVB mention on the index.
Reply With Quote
  #145 (permalink)  
Old 07-19-2007, 02:29 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
Quote:
Originally Posted by Coolaid View Post
I'm i dumb to ask how do you put it on your index ? It works fine for me now but 1 cannot figure out where to put the EVB mention on the index.
I'm not quite sure what you're referring to. Do you mean displaying the EVB on a particular kind of site?

Plugin updated thanks to Savant, who picked up on the fact that there were some missing quotes around the anon user check. And thanks to betagirl for reporting it.
Reply With Quote
  #146 (permalink)  
Old 07-19-2007, 04:36 PM
Pligg Donor
 
Join Date: Mar 2007
Posts: 85
Quote:
Originally Posted by Simon View Post
I'm not quite sure what you're referring to. Do you mean displaying the EVB on a particular kind of site?

Plugin updated thanks to Savant, who picked up on the fact that there were some missing quotes around the anon user check. And thanks to betagirl for reporting it.

Thanks so much for your quick response in shoring this up!
Reply With Quote
  #147 (permalink)  
Old 07-27-2007, 11:20 PM
Casual Pligger
 
Join Date: Jul 2007
Posts: 58
not sure what i am doing wrong.. my test page

the result
Code:
Not Found

The requested URL /v2/pliggit.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Reply With Quote
  #148 (permalink)  
Old 07-29-2007, 02:52 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
Sorry, didn't see this until just now. I checked your test page, and the button seems to be showing now, so I assume you managed to fix the problem?

Btw, I just noticed this thread is now the 2nd hottest thread on the board. I don't know whether that's really a good thing (replies = things wrong), but still, I want that number 1 spot.
Reply With Quote
  #149 (permalink)  
Old 07-29-2007, 10:25 PM
Casual Pligger
 
Join Date: Jul 2007
Posts: 58
yeah, odd it works now, guess i did something right lol

Last edited by silent1643; 08-06-2007 at 03:58 PM.
Reply With Quote
  #150 (permalink)  
Old 08-07-2007, 11:10 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 58
edit*

how do i get it to say vote under the vote count instead of what appears to be the site name?



my button.php code
Code:
<?php

header('Content-Type: text/javascript; charset=UTF-8');
header("Expires: " . gmdate("D, d M Y H:i:s", time() + 3600) . " GMT");
header("Cache-Control: max-age=3600, must-revalidate");

$server = 'http://littleubuntu.com/v2'; //enter the url to your pligg installation no trailing slash

$url_mod = '0'; //change value to 1 if you are having problems with 406 errors, otherwise don't touch!

?>

function pliggit() {
	var check = window.parent.submit_url;
	if(!check) { 
		var url1 = document.URL; 
	} else { 
		var url1 = window.parent.submit_url; 
	}
	<?php if($url_mod == 1) { ?>
	url1 = url1.replace(/http:\/\//i,'');
	<?php } ?>
	var url2 = '<?php echo $server; ?>/evb/url.php?url='+url1;
	document.write('<iframe name="pliggit" width="54" height="71" scrolling="no" frameborder="0" src="'+url2+'"></iframe>');	
}

pliggit();

Last edited by silent1643; 08-07-2007 at 11:17 AM.
Reply With Quote
Reply

Thread Tools
Display Modes




Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development