Advertisement:

Author Topic: SMF Links  (Read 372255 times)

Offline Tricky-Ricky

  • Semi-Newbie
  • *
  • Posts: 47
Re: SMF Links
« Reply #1140 on: September 17, 2018, 02:48:40 PM »
Hmmmm its saying

Function name must be a string?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Links
« Reply #1141 on: September 17, 2018, 02:49:56 PM »
What SMF version are you using?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Tricky-Ricky

  • Semi-Newbie
  • *
  • Posts: 47
Re: SMF Links
« Reply #1142 on: September 17, 2018, 02:50:51 PM »
I'm using 2.0.15

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Links
« Reply #1143 on: September 17, 2018, 02:52:43 PM »
Code: [Select]
Try
[code
global $smcFunc;

 $dbresult = $smcFunc['db_query']('', "
SELECT
l.ID_LINK,l.title,l.date, l.pagerank, l.alexa, l.rating, m.real_name, l.ID_MEMBER, l.description,l.hits
FROM {db_prefix}links AS l
LEFT JOIN {db_prefix}members AS m  ON (l.ID_MEMBER = m.ID_MEMBER)
WHERE l.approved = 1 ORDER BY l.ID_LINK DESC
LIMIT 5");
while ($row = $smcFunc['db_fetch_assoc']($dbresult))
{
echo '<a href="' . $scripturl . '?action=links;sa=visit;id=' . $row['ID_LINK'] . '" target="blank">' . $row['title'] . '</a><br />';
}
$smcFunc['db_free_result']($dbresult);
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Tricky-Ricky

  • Semi-Newbie
  • *
  • Posts: 47
Re: SMF Links
« Reply #1144 on: September 17, 2018, 03:00:58 PM »
Wow man your good.

works a treat thanks ever so much.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Links
« Reply #1145 on: September 17, 2018, 03:01:34 PM »
Glad to help
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: SMF Links
« Reply #1146 on: April 08, 2019, 07:40:12 PM »
I see it SMF 2.0.15 compat but 
Is this (or is it likely to be updated to be)  SMF 2.1 RC2 compatible?
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,626
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Links
« Reply #1147 on: April 08, 2019, 07:54:43 PM »
Maybe one day.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: SMF Links
« Reply #1148 on: April 08, 2019, 07:57:21 PM »
A very prompt and very safe reply   :laugh:

Cheers mate
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 967
Re: SMF Links
« Reply #1149 on: April 08, 2019, 08:10:30 PM »
I don't get what purpose a link directory serves? Who uses this and why? What is it for?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,571
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Links
« Reply #1150 on: April 08, 2019, 08:14:02 PM »
I use a link directory on 4 different sites,  and only 3 of then run smf...

It serves exactly the purpose you would imagine. It's a directory.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 967
Re: SMF Links
« Reply #1151 on: April 08, 2019, 08:18:06 PM »
I use a link directory on 4 different sites,  and only 3 of then run smf...

It serves exactly the purpose you would imagine. It's a directory.

For what? Your links, somebody elses links? Links to what, a directory of what? I've seen links directory mods since the vbulletin days all the way back to 05. Does it help with SEO? I read about it but still don't see a purpose for it.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,571
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Links
« Reply #1152 on: April 08, 2019, 08:21:51 PM »
No,   it doesn't help seo at all.
It's put there for the benefit of your users.

Links are typically to other sites.

This one is not smf, but it's a perfect example

https://www.chelmsforddogassociation.org/links/
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 863
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: SMF Links
« Reply #1153 on: April 09, 2019, 01:55:23 AM »
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline njtweb

  • Sr. Member
  • ****
  • Posts: 967
Re: SMF Links
« Reply #1154 on: April 09, 2019, 08:06:22 AM »
Ok, I see. So it's basically a page for links to anywhere.

I did that with coaches tools but I just made a post so others can comment on it to add or remove links or to ask questions. Pretty much the same idea, I think.

Code: [Select]
https://www.youthhockeyinfo.com/index.php?topic=627

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,571
  • Gender: Male
    • Kindred-999 on GitHub
Re: SMF Links
« Reply #1155 on: April 09, 2019, 08:54:07 AM »
But that is a topic.... there is no tracking of what links are clicked,  how many times or gathered statistics...  its not a menu linked page that users can easily find.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.