[advanced search]
18 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Website Development
User Name
Password

Old 05-09-2008, 06:16 PM   · #1
Billy!
NamePros Regular
 
Billy!'s Avatar
 
Name: Billy!
Location: Perth > Western Australia
Trader Rating: (10)
Join Date: Dec 2003
Posts: 931
NP$: 84.00 (Donate)
Billy! will become famous soon enoughBilly! will become famous soon enough
Question 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

Basically the same as the main forum page of namepros.

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

https://sedo.com/partner/example/in...=&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&keyword=<? 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 -->



Please register or log-in into NamePros to hide ads

Last edited by Billy! : 05-09-2008 at 06:29 PM.
Billy! is offline   Reply With Quote
Old 05-09-2008, 07:03 PM   · #2
netzilla
Senior Member
 
netzilla's Avatar
 
Name: Josh Evans
Location: Ohio
Trader Rating: (28)
Join Date: Aug 2005
Posts: 1,545
NP$: 56.75 (Donate)
netzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to behold
Billy - I ran this exact code and it works for me. See attachment. Where exactly are you trying to put this on your vb ?
Attached Images
File Type: gif script.gif (2.5 KB, 6 views)
netzilla is offline   Reply With Quote
Old 05-09-2008, 07:20 PM   · #3
Billy!
NamePros Regular
 
Billy!'s Avatar
 
Name: Billy!
Location: Perth > Western Australia
Trader Rating: (10)
Join Date: Dec 2003
Posts: 931
NP$: 84.00 (Donate)
Billy! will become famous soon enoughBilly! will become famous soon enough
It is currently on my forumhome page on the right hand side underneath the sedo domain search box ... but it is not showing.

Do I enter the exact script or do I have to change it?

Thanks heaps for replying to my question. rep added!
Billy! is offline   Reply With Quote
Old 05-09-2008, 07:28 PM   · #4
netzilla
Senior Member
 
netzilla's Avatar
 
Name: Josh Evans
Location: Ohio
Trader Rating: (28)
Join Date: Aug 2005
Posts: 1,545
NP$: 56.75 (Donate)
netzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to behold
Ok...after taking a look it appears that the location you chose to add the script to is not a .php page therefore the code is not being executed properly. Do a view source in your browser and search for <!-- Sedo Code --> and will see that right below that the php code is showing there and it should not be.
netzilla is offline   Reply With Quote
Old 05-09-2008, 07:53 PM   · #5
DomainManDave
NamePros Regular
 
Trader Rating: (6)
Join Date: Jun 2007
Posts: 587
NP$: 13.30 (Donate)
DomainManDave is just really niceDomainManDave is just really niceDomainManDave is just really niceDomainManDave is just really niceDomainManDave is just really nice
Cancer
Edit: nevermind
__________________
Bodzo.com Free advertising
DomainManDave is offline   Reply With Quote
Old 05-09-2008, 07:57 PM   · #6
Billy!
NamePros Regular
 
Billy!'s Avatar
 
Name: Billy!
Location: Perth > Western Australia
Trader Rating: (10)
Join Date: Dec 2003
Posts: 931
NP$: 84.00 (Donate)
Billy! will become famous soon enoughBilly! will become famous soon enough
Originally Posted by netzilla
Ok...after taking a look it appears that the location you chose to add the script to is not a .php page therefore the code is not being executed properly. Do a view source in your browser and search for <!-- Sedo Code --> and will see that right below that the php code is showing there and it should not be.



Thanks, so what do I need to do to get it working? Sorry, bit confused, do I add a new template and call it sedo.php and add the code also to that template?
Billy! is offline   Reply With Quote
Old 05-09-2008, 08:12 PM   · #7
netzilla
Senior Member
 
netzilla's Avatar
 
Name: Josh Evans
Location: Ohio
Trader Rating: (28)
Join Date: Aug 2005
Posts: 1,545
NP$: 56.75 (Donate)
netzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to behold
I don't have anywhere to look at the code because I don't have access to a vb forum...however...in order for the php code to execute properly it must be executed via the php interpreter and typically all that requires is a .php file extension. Yes, give the template thing a try with the .php extension and put your code in that.
netzilla is offline   Reply With Quote
Old 05-09-2008, 08:28 PM   · #8
Billy!
NamePros Regular
 
Billy!'s Avatar
 
Name: Billy!
Location: Perth > Western Australia
Trader Rating: (10)
Join Date: Dec 2003
Posts: 931
NP$: 84.00 (Donate)
Billy! will become famous soon enoughBilly! will become famous soon enough
Originally Posted by netzilla
I don't have anywhere to look at the code because I don't have access to a vb forum...however...in order for the php code to execute properly it must be executed via the php interpreter and typically all that requires is a .php file extension. Yes, give the template thing a try with the .php extension and put your code in that.




I can give you access if you could help me get it working, I have no clue.

Anyone?
Billy! is offline   Reply With Quote
Old 05-10-2008, 05:53 AM   · #10
netzilla
Senior Member
 
netzilla's Avatar
 
Name: Josh Evans
Location: Ohio
Trader Rating: (28)
Join Date: Aug 2005
Posts: 1,545
NP$: 56.75 (Donate)
netzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to beholdnetzilla is a splendid one to behold
Cool! I am glad you got it going
netzilla is offline   Reply With Quote
Reply

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
http://www.internetinvestments.com/ http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 07:51 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0