DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
Quick Search:  
Register Now! Welcome to Dnforum.com You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.
Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Scripts
Reply
 
LinkBack Thread Tools Display Modes
Old 05-09-2008, 09:14 PM   #1 (permalink)
DNF Addict
 
ComScout.com's Avatar
DNF Verified Member
Verified Member
 
Name: Billy
Last Online: Today 09:18 AM
iTrader: (6)
Join Date: Jul 2003
Posts: 1,204
DNF$: 10,619
Location: Western Australia
Country:


Exclamation Sedo Script Help

Hi Guys,

I am trying to implement the below sedo script into my vbulletin forum, but nothing is showing up. The script is supposed to show Sedo's latest TOP Domains / Recent Sales

Some help on how to implement this correctly would be greatly appreciated.

https://sedo.com/partner/example/int...&language=us#1

Quote:
<!-- Sedo Code -->
<?php # Script for displaying the topdomains #

# file with list of topdomains from Sedo
$filecontent = file ("http://www.sedo.com/txt/topdomains_e.txt");
#

$x =0;
$topdomains = array();
while(list($line) = each($filecontent)) {
$topdomains [$x][0] = substr($filecontent[$x],0,strpos($filecontent[$x],'~'));
$topdomains [$x][1] = substr($filecontent[$x], strpos($filecontent[$x],'~')+1, (strlen($filecontent[$x])-strpos($filecontent[$x],'~')-3) );
$x++;
}

# Displaying the domains & prices as table

echo '<table border=0 cellpadding=2 cellspacing=0>';
echo '<tr><td bgcolor=#e0e8ef><span style="font-size:11px; font-weight:bold;">
TOP domains for sale</span></td></tr>';

for ($i=0;$i<10;$i++) { ?> <tr><td bgcolor=#f0f0f0><a href="http://www.sedo.com/search/showdetails.php4?partnerid=12824&language=e&keywor d=<? echo $topdomains[$i][0]; ?>" target="_blank">
<span style="font-size:10px; font-weight:bold;">
<?php echo $topdomains[$i][0]; ?></span></a></td></tr>
<tr><td bgcolor=#ffffff><span style="font-size:8px">
<?php echo $topdomains[$i][1]; ?></span></td></tr>
<?php
}
echo '</table>';
?>
<!-- Sedo Code Ende -->
ComScout.com is offline   Reply With Quote
Old 05-09-2008, 10:45 PM   #2 (permalink)
Platinum Lifetime Member
 
grevan's Avatar
 
Last Online: Today 06:17 PM
iTrader: (6)
Join Date: Aug 2006
Posts: 163
DNF$: 1,248
Location: Brasil
Country:


HI Billy, i have a Joomla site and i was having the same problem implementing this code. I found out i had to install a plugin to enable joomla to understand php code.
I don´t know about vbulletin, but it´s a good idea to ask at the vbulletin forums.
http://www.vbulletin.com/forum/
Cheers.
__________________
DGC Media Network - Internet Content and Valuable Domain Names

Pequim2008.com is for sale. Beijing Olympic Games 2008.
grevan is offline   Reply With Quote
Old 05-09-2008, 10:53 PM   #3 (permalink)
jdk
DNF Addict
 
jdk's Avatar
DNF Verified Member
Verified Member
 
Name: Doug
Last Online: Today 10:41 PM
iTrader: (145)
Join Date: Jul 2004
Posts: 5,791
DNF$: 12,966
Location: South Florida
Country:


Make sure your host does not have the file() command disabled.
jdk is offline   Reply With Quote
Old 05-10-2008, 01:14 AM   #4 (permalink)
DNF Addict
 
ComScout.com's Avatar
DNF Verified Member
Verified Member
 
Name: Billy
Last Online: Today 09:18 AM
iTrader: (6)
Join Date: Jul 2003
Posts: 1,204
DNF$: 10,619
Location: Western Australia
Country:


Quote:
Originally Posted by jdk View Post
Make sure your host does not have the file() command disabled.

How do I find that out?

FIXED AS PER HERE:

http://www.vbulletin.com/forum/showp...18&postcount=1

Last edited by ComScout.com; 05-10-2008 at 03:36 AM. Reason: Automerged Doublepost
ComScout.com is offline   Reply With Quote
Old 05-10-2008, 01:13 PM   #5 (permalink)
jdk
DNF Addict
 
jdk's Avatar
DNF Verified Member
Verified Member
 
Name: Doug
Last Online: Today 10:41 PM
iTrader: (145)
Join Date: Jul 2004
Posts: 5,791
DNF$: 12,966
Location: South Florida
Country:


Glad you got it working. Usually when you look at <?php phpinfo();?> it will show a list of disabled commands.
jdk is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:50 PM.
Copyright @2001-2008 DNForum.com