Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4342
Latest: eva
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 44312
Total Topics: 7676
Most Online Today: 607
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 345
Total: 345

Author Topic: Link Page  (Read 42592 times)

0 Members and 1 Guest are viewing this topic.

Link Page
« on: »
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 »

Re: Link Page
« Reply #1 on: »
nice upgrade to the links mod.
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

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

Re: Link Page
« Reply #2 on: »
thanks bro

Re: Link Page
« Reply #3 on: »
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/

Re: Link Page
« Reply #4 on: »
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.

Re: Link Page
« Reply #5 on: »
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/

Re: Link Page
« Reply #6 on: »
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 »

Re: Link Page
« Reply #7 on: »
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/

Re: Link Page
« Reply #8 on: »
hmm ok

Re: Link Page
« Reply #9 on: »
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.

Re: Link Page
« Reply #10 on: »
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.

Re: Link Page
« Reply #11 on: »
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!

Re: Link Page
« Reply #12 on: »
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/

Re: Link Page
« Reply #13 on: »
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


Re: Link Page
« Reply #14 on: »
Link example on first post is 404 - is this still going?

 

Related Topics

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

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as &#39; in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal