WESECE Forum
August 01, 2010, 03:04:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Calendar Links Login Register  
phpld Mods index LifeTime membership LifeTime members Sites Create a Thumb! SEO Desktop
New from Iwebtools! Adsflip...A Must have advertising Tool!!
Pages: [1]   Go Down
  Print  
Author Topic: List top sites that link back to your Dirtectory  (Read 871 times)
0 Members and 1 Guest are viewing this topic.
wesece
Board Administrator
Administrator
Hero Member
*****

Karma: 14
Offline Offline

Gender: Male
Posts: 559


459048412 sidneyrill@insightbb.com
WWW
« on: December 18, 2007, 07:04:41 PM »

Here is a little motivation for your customers to link back to your site.

See the "Top Sites with Recip." link on our Home page on the left side.

This will list the most popular links that have a reciprocal link!

here is how to get this done...

Edit Index.php:

Find:
Code:
      case 'top':
         $links = $db->GetAll ("SELECT * FROM `{$tables['link']['name']}` WHERE `STATUS` = '2' {$expire_where} ORDER BY `HITS` DESC LIMIT 0, ".LINKS_TOP);
$path[] = array ('ID' => '0', 'TITLE' => _L('Top Hits'), 'TITLE_URL' => '', 'DESCRIPTION' => '');
         break;

After add:
Code:
      case 'linkback':
         $links = $db->GetAll ("SELECT * FROM `{$tables['link']['name']}` WHERE `STATUS` = '2' AND `RECPR_URL` > '0' {$expire_where} ORDER BY `HITS` DESC LIMIT 0, ".LINKS_TOP);
$path[] = array ('ID' => '0', 'TITLE' => _L('LinkBack Sites'), 'TITLE_URL' => '', 'DESCRIPTION' => '');
         break;

Thats it..
Simply call this link using:
Code:
<a href="{$smarty.const.DOC_ROOT}/index.php?list=linkback">some text here</a>

For support start a new thread please.
Logged

R.I.P. Wesece

DO NOT CONTACT THIS ID! ANY AND ALL CONTACTS WILL NOT BE SEEN!

CONTACT SHADAV OR POST IN THE FORUMS

This Id has been left in tact out of respect for wesece.
shadav
The Forgotten One
Administrator
Jr. Member
*****

Karma: 5
Offline Offline

Gender: Female
Posts: 67


TheOnlyShadav shadav
WWW Email
« Reply #1 on: February 20, 2009, 05:05:19 PM »

v3.4
index.php
Find:
Code:
      case 'top':
         $links = $db->CacheGetAll ("SELECT * FROM `{$tables['link']['name']}` WHERE (`STATUS` = '2' OR {$permission_links_arts}) {$email_conf} {$expire_where} ORDER BY `HITS` DESC LIMIT 0, ".LINKS_TOP);
         $path[] = array ('ID' => '0', 'TITLE' => _L('Top Hits'), 'TITLE_URL' => '', 'DESCRIPTION' => '');
         break;
Logged

WESECE Forum
« Reply #1 on: February 20, 2009, 05:05:19 PM »

Is your website SEO Ready?
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Directory Toolbar



Directory Tools
Latest Featured Links
wesece.net Toolbar
Free Text Message

Partners




Powered by MySQL Powered by PHP Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!