Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11832
Latest: balasahu
New This Month: 7
New This Week: 1
New Today: 0
Stats
Total Posts: 42232
Total Topics: 7369
Most Online Today: 52
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 49
Total: 51

Author Topic: Link Page  (Read 35034 times)

0 Members and 1 Guest are viewing this topic.

Offline stormlrd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • Expanding Tiny Portals
Link Page
« on: June 04, 2007, 10:08:18 am »
http://www.tinyportalmedia.com/main/index.php?action=links

Once i get the pagerank code sorted I'll get the modifications to hacks and see what he thinks ;)

hope you enjoy.
« Last Edit: October 14, 2007, 05:03:41 am by stormlrd »

Offline Jump1979man

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Midwest Motorcycles Forum
Re: Link Page
« Reply #1 on: June 04, 2007, 12:45:51 pm »
nice upgrade to the links mod.
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.

Offline stormlrd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • Expanding Tiny Portals
Re: Link Page
« Reply #2 on: June 04, 2007, 12:48:36 pm »
thanks bro

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16005
    • View Profile
Re: Link Page
« Reply #3 on: June 04, 2007, 07:04:45 pm »
That is awesome glad you got the alexa and pagerank built in now.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline stormlrd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • Expanding Tiny Portals
Re: Link Page
« Reply #4 on: June 04, 2007, 09:04:07 pm »
lol, well i cheated but it does work. I do have the alogrithm and whatnot for setting it up ourselves but cant get it work yet.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16005
    • View Profile
Re: Link Page
« Reply #5 on: June 04, 2007, 09:38:27 pm »
Yeah I noticed the cheats but looks good.

Alexa is pay for use I think .20 cents per 1000 queries.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline stormlrd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • Expanding Tiny Portals
Re: Link Page
« Reply #6 on: June 05, 2007, 08:28:27 am »
Yeah I noticed the cheats but looks good.

Alexa is pay for use I think .20 cents per 1000 queries.

hmm i dont know bro i have an account with them and i dont get charged for it. your promoting alexia so as far as i know there is no charge.

http://www.alexa.com/site/site_stats/signup but i didnt use the graph from here the graph is simply this:

Code: [Select]
$idlink = $row['ID_LINK'];
$dbresult5 = db_query("SELECT url FROM {$db_prefix}links WHERE ID_LINK = $idlink ", __FILE__, __LINE__);
$row5 = mysql_fetch_assoc($dbresult5);
$targeturl = $row5['url'];
mysql_free_result($dbresult5);


$replacement = '';
$pattern = 'http://';
$pattern2 = 'www.';

$targeturl = strtolower($targeturl);
$targeturl = eregi_replace($pattern, $replacement, $targeturl);
$targeturl = eregi_replace($pattern2, $replacement, $targeturl);

if(!empty($modSettings['smflinks_disp_alexa'])){
//echo '<p  class="smalltext"><b><em>' . $txt['smflinks_alexa'] . ':</em></b> ' . $row['alexa'] . '</p>';
   
echo '</div><h5 class="caption">WebSite Alexa Ranking Details</h5><table width="100%"><td align="center" valign="middle">';
echo '<!-- Alexa Graph Widget from http://www.alexa.com/site/site_stats/signup -->

<img border="0" src="http://traffic.alexa.com/graph?w=250&h=175&r=6m&z=&y=r&u=www.'.$targeturl.'&u=">

<!-- end Alexa Graph Widget -->';

you can adjust width and height in the src url path if you want it larger or smaller

and the page rank code is from here: http://www.googleprr.com/
« Last Edit: June 05, 2007, 08:31:41 am by stormlrd »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16005
    • View Profile
Re: Link Page
« Reply #7 on: June 05, 2007, 06:45:29 pm »
Hmm. That works when I use Alexa I use their API to grab the direct Alexa rank and that does cost a small fee.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline stormlrd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • Expanding Tiny Portals
Re: Link Page
« Reply #8 on: June 05, 2007, 06:51:23 pm »
hmm ok

Offline Jump1979man

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
    • Midwest Motorcycles Forum
Re: Link Page
« Reply #9 on: June 05, 2007, 10:32:05 pm »
so when will this be re-packaged and available?
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.

Offline stormlrd

  • Full Member
  • ***
  • Posts: 136
    • View Profile
    • Expanding Tiny Portals
Re: Link Page
« Reply #10 on: June 05, 2007, 11:46:20 pm »
Thats up to Hacks, it still needs some tweaking on the pagerank script so that its not bouncing off another site but all in all should take to long.

Offline Nite

  • Member
  • *
  • Posts: 45
    • View Profile
    • Texas Mall
Re: Link Page
« Reply #11 on: June 10, 2007, 07:28:48 pm »
Hmm. That works when I use Alexa I use their API to grab the direct Alexa rank and that does cost a small fee.

Strange.

In my directories, I display the Traffic Rank for the site that one performs a "details" on. All, I did here was do some variable manipulation -- because you can have your own Alexa box on your own site, and it doesn't cost. So I thought, "Hey. I'll just use the same code that someone would use on their own site, but substitute the domain for a variable that changes depending up on the site being detailed."

And it works!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16005
    • View Profile
Re: Link Page
« Reply #12 on: June 10, 2007, 07:40:01 pm »
That might be the better way to go then the alexa api since this way is free and the results are real time and I would not have to update the cached data every 24 hours.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline ltdeta

  • Member
  • *
  • Posts: 1
    • View Profile
Re: Link Page
« Reply #13 on: June 22, 2007, 01:57:55 am »
is it possible implementing something like "new entrys" or "updatet entrys"

so everyone can see with one or two clicks what has changed since last visit

Similar to "show unread" in SMF-Forum


Offline catchpen

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Link Page
« Reply #14 on: October 13, 2007, 10:31:27 pm »
Link example on first post is 404 - is this still going?

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2737 Views
Last post June 16, 2012, 11:47:54 am
by SMFHacks
1 Replies
1800 Views
Last post July 14, 2015, 02:15:45 pm
by pasqualino77
2 Replies
2357 Views
Last post February 14, 2016, 06:13:57 pm
by Siirist
1 Replies
1539 Views
Last post August 20, 2018, 02:40:58 pm
by SMFHacks
4 Replies
163 Views
Last post April 06, 2022, 08:54:55 am
by davejo

+- Recent Topics

Anti AdBlock is blocking Version Info by SMFHacks
Today at 12:11:13 pm

Dark background text color help needed by Shades
May 22, 2022, 04:51:25 pm

Database Error During Store Purchase After SMF 2.1 and Store 5.0 Beta Upgrades by Michael Vail
May 20, 2022, 08:58:15 pm

Default License Agreement by SMFHacks
May 18, 2022, 08:18:15 pm

Email Note - Included in order purchase by Shades
May 18, 2022, 02:54:54 pm

[Feature Request] Keywords by Shades
May 18, 2022, 02:20:19 pm

Undefined index: down_path by Shades
May 18, 2022, 10:19:09 am

Delete custom rating and change default icons/change icons back to default? by SMFHacks
May 18, 2022, 10:06:01 am

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Powered by EzPortal