Multitopsite ?

Boardhopper

Member
If your talking categories, I like it. I think on the front page of my topsites, I'll make it so that it lists the top 5 or so in each category. Some website Categories just are not big draws for traffic, this will give them a chance to be on the front page.

If you are talking taking multiple topsites and bringing them into one, I'm not a fan of that. I like topsites to stay a niche and not be general. You will generate more traffic having a topsite niche.
 
B

Blink70v

Guest
I raise this issue! I wish I had SEVERAL topsite in one. Let me explain:
www.top.com/top1
www.top.com/top2
www.top.com/top3

Top each with its ranking. But the root of the site that I can view recently registered members, and the top 5 of each top. The best example is gowonda.com!

I will use joomla as the site of different top ranking.
 
B

Blink70v

Guest
How to call the first 5 members of every top? And the last registered?
 

Basti

Administrator
Staff member
You call on your main toplist for top 5
Code:
{include "http://www.yoursite.com/top1/ssi.php"}
for last 5
Code:
{include "http://www.yoursite.com/top1/ssi.php?a=new"}
To change number of latest 5 or top members add to the adress &num=10 or any number

To edit the template for each, see the ssi.html files of each of your topsites
 

Morus

www.votezone.eu , www.privateserversranking.com
Code:
{include "http://www.yoursite.com/top1/ssi.php"}
Where that need to be placed? in wrapper.html?
 

Basti

Administrator
Staff member
Exactly in wrapper.html on your main topsite to include top 5 of subfolder topsite. Although i never used this method myself, as long s its on the same domain that method should work,
 

Basti

Administrator
Staff member
That should work yes, as they are virtually subfolders. Guess you should try it out, not that experienced with subdomains :)
 

Morus

www.votezone.eu , www.privateserversranking.com
I tried above code but didnt work.

I wanted to place that code on my main website www.votezone.eu and get the info from the subdomains websites www.l2.votezone.eu and aion.votezone.eu
Maybe something in ssi.php need to be changed? don't know.
 

Mark

Administrator
Staff member
what is the exact code you used? did you verify the path to ssi.php was correct? this should work just fine.
 

Morus

www.votezone.eu , www.privateserversranking.com
{include "http://www.l2.votezone.eu/ssi.php"}
and i have that error

Code:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/46/d339036285/htdocs/votezone/sources/misc/skin.php(130) : runtime-created function on line 1
 
Warning: file_get_contents(http://www.l2.votezone.eu/ssi.php) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/46/d339036285/htdocs/votezone/sources/misc/skin.php(130) : runtime-created function on line 1
 

Mark

Administrator
Staff member
thanks, error messages are always helpful.

that error means your server has disabled URL file-access, if you want to use this method, you will need to enable allow_url_fopen and allow_url_include.
 

Morus

www.votezone.eu , www.privateserversranking.com
hmm, i have a hosting not server so not sure how can I enable this options, need to search a bit.
 

Mark

Administrator
Staff member
all hosting accounts are on a server ;) if your on a shared web host without access to your own php.ini then most likely your host has disabled this feature and you will need to find another way to include this.

But to get the fastest answer, ask your host.
 

Morus

www.votezone.eu , www.privateserversranking.com
1and1 disabled it by default, so I need to create php.ini to enable it.
 

Morus

www.votezone.eu , www.privateserversranking.com
what would be the code to see only premium ranking? I added that
Code:
{include "http://www.l2.votezone.eu/ssi.php?a=premium_rankings"}
but is still showing me top 5.
 

Mark

Administrator
Staff member
ssi.php actually does not have an option for that right now, BUT I will add this for 0.7 final release for sure. Good one.
 
Top