SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
February 08, 2012, 06:23:18 pm

Login with username, password and session length
Members
Total Members: 9898
Latest: zlmember
Stats
Total Posts: 27745
Total Topics: 4856
Online Today: 77
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 63
Total: 65
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Link Page  (Read 23296 times)
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« 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 Wink

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

Jump1979man
Sr. Member
****
Offline Offline

Posts: 274



View Profile WWW
« Reply #1 on: June 04, 2007, 12:45:51 pm »

nice upgrade to the links mod.
Logged

Midwest Motorcycles Forum
http://www.mwmotorcycles.com

Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #2 on: June 04, 2007, 12:48:36 pm »

thanks bro
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #3 on: June 04, 2007, 07:04:45 pm »

That is awesome glad you got the alexa and pagerank built in now.
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« 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.
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« 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.
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« 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:
$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 » Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« 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.
Logged
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« Reply #8 on: June 05, 2007, 06:51:23 pm »

hmm ok
Logged

Jump1979man
Sr. Member
****
Offline Offline

Posts: 274



View Profile WWW
« Reply #9 on: June 05, 2007, 10:32:05 pm »

so when will this be re-packaged and available?
Logged

Midwest Motorcycles Forum
http://www.mwmotorcycles.com

Riverway Racing
https://www.riverwayracing.com
Motorcycle parts, gear, and accessories.
stormlrd
Full Member
***
Offline Offline

Posts: 136



View Profile WWW
« 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.
Logged

Nite
Newbie
*
Offline Offline

Posts: 45



View Profile WWW
« 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!
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« 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.
Logged
ltdeta
Newbie
*
Offline Offline

Posts: 1


View Profile
« 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

Logged
catchpen
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #14 on: October 13, 2007, 10:31:27 pm »

Link example on first post is 404 - is this still going?
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 06:14:06 pm]

[Today at 04:36:21 pm]

[Today at 09:56:10 am]

[Today at 09:11:02 am]

[Today at 09:07:32 am]

[Today at 03:46:49 am]

[February 07, 2012, 09:45:42 pm]

[February 07, 2012, 06:09:23 pm]

[February 07, 2012, 02:56:36 pm]

[February 06, 2012, 08:16:24 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.295 seconds with 19 queries.