Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 64
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 135
Total: 135

Author Topic: Link Page  (Read 37144 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
3689 Views
Last post June 16, 2012, 11:47:54 am
by SMFHacks
1 Replies
2459 Views
Last post July 14, 2015, 02:15:45 pm
by pasqualino77
2 Replies
3400 Views
Last post February 14, 2016, 06:13:57 pm
by Siirist
1 Replies
2758 Views
Last post August 20, 2018, 02:40:58 pm
by SMFHacks
4 Replies
617 Views
Last post April 06, 2022, 08:54:55 am
by davejo

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal