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: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 181
Total: 182

Author Topic: SMF Links  (Read 388495 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Links
« Reply #180 on: January 07, 2007, 02:47:25 pm »
In the future. If it is urgently needed you can make a donation and I can work on it faster.
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 matthen

  • Member
  • *
  • Posts: 12
    • View Profile
Re: SMF Links
« Reply #181 on: January 07, 2007, 04:28:12 pm »
Ok I'll guess I'll have a go at coding it.
Shall I post the patch here?

Offline makphisto

  • Member
  • *
  • Posts: 1
    • View Profile
Re: SMF Links
« Reply #182 on: January 15, 2007, 04:43:19 pm »
I can't seem to get it set up so that anyone but me can see the links.  When logged in as Admin, I can see them, but if I'm a guest, or logged in as a member, I get "An Error Has Occurred!"  I'm using the most recent download, and SMF 1.1.1.

Also, this is my first package to install - should I have a link somewhere in Admin to be able to click to admin the links?

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Links
« Reply #183 on: January 15, 2007, 04:51:30 pm »
Goto Permissions and make sure they each group has permissions to view links or add links if you want them to.
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 Raven

  • Member
  • *
  • Posts: 5
    • View Profile
    • Altered Universe
Re: SMF Links
« Reply #184 on: January 21, 2007, 02:20:24 am »
I love this mod, it works great! You've done a fantastice job with this :)

I would also agree about the number of links (shown) in the parent catagory being very misleading when it shows (0) links, yet in subdirectories inside there could be hundreds.  so when users see the 0 they won't bother to look. Also under 'Stats', it only counts the first main catagories but none of the sub catagories inside them. ;)

Also something that would be VERY useful are buttons(or links) to navagate between catagories(such as 'Up one level', 'Down one level' or even just a 'Back' button or link :)

Keep up the good work! :)

Offline benny

  • Member
  • *
  • Posts: 17
    • View Profile
Re: SMF Links
« Reply #185 on: January 24, 2007, 10:12:02 pm »
Here is how I have arranged SMF Links
http://machsupport.com/forum/index.php?action=links

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Links
« Reply #186 on: January 24, 2007, 10:15:56 pm »
Here is how I have arranged SMF Links
http://machsupport.com/forum/index.php?action=links
Looks good!

I noticed you had two links button if you want that fixed ask me. Its in index.template.php the button was created twice.
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 benny

  • Member
  • *
  • Posts: 17
    • View Profile
Re: SMF Links
« Reply #187 on: January 26, 2007, 06:37:36 am »
Yeh the two links buttons is a drag, Its just a matter of my lazyness to try and find where to edit.
I have found your links mod fantastic. The main reason is because I am asking others to also host my link as a trade off.
I recon I have my link on 50 sites now. This really helps with my google listing.

Offline tones_ie

  • Member
  • *
  • Posts: 6
    • View Profile
Re: SMF Links
« Reply #188 on: January 27, 2007, 01:17:30 am »
where do i edit to get the button text to change from "links" to say bookmarks....

thanks in advance

@ benny...very nice use of the mod...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Links
« Reply #189 on: January 27, 2007, 08:37:06 am »
Try modifications.english.php or links.english.php
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 caliope

  • Member
  • *
  • Posts: 2
    • View Profile
    • Caliope's Corner
Re: SMF Links
« Reply #190 on: March 30, 2007, 08:02:19 pm »
This is a great mod, thanks.

it has just been installed and i have managed to get it working correctly.

One question.... is it possible to re-set all counters to zero as I have had to click links and rate sites to check they work?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Links
« Reply #191 on: March 30, 2007, 08:09:26 pm »
It is but you would need to edit the database via phpmyadmin or another way. Then open the smf_links table and find the links to update.
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 caliope

  • Member
  • *
  • Posts: 2
    • View Profile
    • Caliope's Corner
Re: SMF Links
« Reply #192 on: March 31, 2007, 10:30:08 am »
OK thanks for the reply  :)

Offline mdshare

  • Member
  • *
  • Posts: 2
    • View Profile
Re: SMF Links
« Reply #193 on: March 31, 2007, 09:48:44 pm »
Page Rank and Alexa do not work yet.

just remove the alexa.php and change at links.php the following function

Code: [Select]
function GetAlexaRank($url)
{
global $modSettings,$sourcedir;
if($modSettings['smflinks_setgetalexa'])
{
$aadress = 'http://data.alexa.com/data/+wQ411en8000lA?cli=10&dat=snba&ver=7.0&cdt=alx_vw%3D20%26wid%3D12206%26act%3D00000000000%26ss%3D1680x16t%3D0%26ttl%3D35371%26vis%3D1%26rq%3D4&url='.$url;
preg_match ( '/TEXT=\"(\d+)\"\/>/', file_get_contents ( $aadress ) , $ainfo ) ;
if ( empty ( $ainfo[1] ) )
{
$rank = '-';
}
else
{
$rank = $ainfo[1] ;
}


return $rank;
}
else
return 0;

}

should work perfect, next I do the google pagerank -file is way to big- , should be a few lines like the alexa function, I'll add a yahoo one also by tomorrow or so

Quote
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.

This error is because you try to insert a non numeric character at the alexa field (db smf_links table) as it is set as int(10) just change the field to avoid this error easy
« Last Edit: April 01, 2007, 12:08:44 am by mdshare »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Links
« Reply #194 on: April 01, 2007, 06:09:16 pm »
Good work. The thing with alexa they will start to block your ip if you do many queries. I wanted to use the offical alexa request with their api key for alexa.
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/

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
6610 Views
Last post December 10, 2006, 03:12:00 pm
by stefanp
0 Replies
4339 Views
Last post January 25, 2009, 03:37:27 am
by darklord
1 Replies
5006 Views
Last post February 18, 2013, 06:53:13 pm
by SMFHacks
0 Replies
3259 Views
Last post March 03, 2016, 06:26:28 pm
by SMFHacks
0 Replies
2756 Views
Last post July 30, 2019, 11:52:28 am
by SMFHacks

+- 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