News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 15, 2019, 08:51:18 PM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188888
  • Total Topics: 20752
  • Online Today: 80
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 38
Total: 38

Author Topic: OPTIMUS Mod And TinyPortal  (Read 690 times)

0 Members and 1 Guest are viewing this topic.

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
OPTIMUS Mod And TinyPortal
« on: June 28, 2019, 05:31:47 AM »
Hi guys, I don't know where else to put this. Please move if necessary  O0

GREAT NEWS!

Optimus is fully functional for posting both SMF topics and TinyPortal Articles on Twitter and Facebook.

Bugo worked several days on this to get it working properly for everybody. I made a donation to thank him for his hard work. This mod helps IMMENSELY with search engine optimization. Without it my site was virtually unknown. Now with the social media optimization it's even better. I strongly encourage anybody who can use this to also make a donation, it's a GREAT mod and I'm so happy it works entirely with TinyPortal now.  :D :D :D

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: OPTIMUS Mod And TinyPortal
« Reply #1 on: June 28, 2019, 06:09:05 AM »
Thats good News! Which version of the Optimus MOD are you using Exactly ?
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
Re: OPTIMUS Mod And TinyPortal
« Reply #2 on: June 28, 2019, 08:53:41 AM »
Hi @rjen I'm using 2.2. You don't see any downloads yet because he just added it to the mod site this morning. He sent me the new package directly for testing. After we confirmed everything worked as designed he added it to the mod site for public use.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #3 on: June 28, 2019, 12:36:09 PM »
Just gave it a try on my Guitarist Guild site.  Shared a BBC article, This one, https://guitaristguild.com/index.php?page=amplitube-4

and it picked up the first image just fine, but it seems to be posting the bbcode from the content as well. Was this tested with bbc articles?

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #4 on: June 28, 2019, 12:52:55 PM »
And another bbc article, looks like its also picking up and posting the bbcode https://guitaristguild.com/index.php?page=Ampeg-SVX-2

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
Re: OPTIMUS Mod And TinyPortal
« Reply #5 on: June 28, 2019, 01:23:14 PM »
Hi Mick, all of my articles are html. I don't use the WYSIWYG editor or BBC at all so unfortunately that wasn't tested.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #6 on: June 28, 2019, 02:40:40 PM »
Thanks,  thought that might be the case.

I did post in the support thread as you've seen, wonder if Bugo can fix it for this scenario, I use BBC articles a lot. 

Apart from that it seems to work ok.  ;)

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
Re: OPTIMUS Mod And TinyPortal
« Reply #7 on: June 28, 2019, 04:08:40 PM »
I saw @rjen posted about php articles doing weird stuff. I have no clue how Bugo figures out the OG Meta stuff but it's strange how it works for HTML but not BBCode or PHP. Did you guys try emptying your SMF File cache then do a Shift F5 before trying your links? I try everything in the Facebook developers scraper and Twitter Card validator before I post them.

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: OPTIMUS Mod And TinyPortal
« Reply #8 on: June 28, 2019, 04:18:55 PM »
I did the same thing: use the scraper to test and then post. I am sure it is not related to browser cache: the scraper does not use my browser...

It seems that the body text is always interpreted as HTML, even when it is not. I am sure that there is some more work to be done in the Optimus code for that...
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: OPTIMUS Mod And TinyPortal
« Reply #9 on: June 29, 2019, 02:31:10 AM »
Quick action from Bugo! It seems the bbc article issue is fixed! Php article still leaves something to be desired.

I am wondering though if it would not be more appropriate to include an article description field in the articles that could be used when posting to social media.
Now the Optimus mod gets challenged with interpreting different article types... just a thought though...
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
Re: OPTIMUS Mod And TinyPortal
« Reply #10 on: June 29, 2019, 03:36:32 AM »
Quick action from Bugo! It seems the bbc article issue is fixed! Php article still leaves something to be desired.

I am wondering though if it would not be more appropriate to include an article description field in the articles that could be used when posting to social media.
Now the Optimus mod gets challenged with interpreting different article types... just a thought though...

I format my HTML articles like this, (top down):

Article Subject = Social media title
Quick Blurb at the top of my article body = Social media description
Image for my article = Social media image

Then I begin my article detail

Everything shows up perfectly as designed on both Twitter and FB. LOVE IT!

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #11 on: June 29, 2019, 03:50:47 AM »
Since Bugo added the fixes for TP in Optimus 2.2.1 The sharing bbc articles now seems to work with facebook, and no longer showing the bbcode which is great.  HTML articles are showing code, not sure if that's just the way my articles are layed out, but it doesn't look right to me.  If I have a adsense code for example at the top of the article it prints part of the code on facebook.

Twitter, well I'm at a loss.  Do you have to set this up in some way to make it scrape the images.  What's all this twitter card stuff, and how do I use it? Much reading up required methinks. Edit: Twitter seems to be picking everything up now, strange, but great..  O0

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
Re: OPTIMUS Mod And TinyPortal
« Reply #12 on: June 29, 2019, 03:58:27 AM »
Since Bugo added the fixes for TP in Optimus 2.2.1 The sharing bbc articles now seems to work with facebook, and no longer showing the bbcode which is great.  HTML articles are showing code, not sure if that's just the way my articles are layed out, but it doesn't look right to me.  If I have a adsense code for example at the top of the article it prints part of the code on facebook.

Twitter, well I'm at a loss.  Do you have to set this up in some way to make it scrape the images.  What's all this twitter card stuff, and how do I use it? Much reading up required methinks.

Twitter card validator is the same thing as the FB developer tool scraper. This is it, you can test your links before posting https://cards-dev.twitter.com/validator

I don't put any ads into my articles. So I don't see any of that. Here's my newest article.
Code: [Select]
https://www.youthhockeyinfo.com/index.php?page=12

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #13 on: June 29, 2019, 04:23:51 AM »

Twitter card validator is the same thing as the FB developer tool scraper. This is it, you can test your links before posting https://cards-dev.twitter.com/validator

I don't put any ads into my articles. So I don't see any of that. Here's my newest article.
Code: [Select]
https://www.youthhockeyinfo.com/index.php?page=12

Ross, Thanks, I've just been using the validator actually, seems some images don't show unless I validate a couple of times, maybe my server is to slow for them to pick up, and it just ignores them. I don't get any errors.

By the way, I see you don't use the Query Titles for your articles, so just shows a page number in the url, any particular reason for not using it?

Offline jernatety

  • Sr. Member
  • ****
  • Posts: 273
Re: OPTIMUS Mod And TinyPortal
« Reply #14 on: June 29, 2019, 05:40:50 AM »
Yeh, that's why I use the validator and FB scraper. Sometimes I post them and no image comes up. So I delete the posts, run the link through the validator until it pulls the pic then re-post. I mostly validate everything now before I post to social media.

Optimus was giving a "Query string" error when query titles. No problem I just add "Follow" + URL to my robots.txt file so the bots crawl them and they don't get 301's.

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: OPTIMUS Mod And TinyPortal
« Reply #15 on: June 29, 2019, 12:17:33 PM »
Regarding PHP articles..I wager its harder to add meta tags/extract keywords etc. from PHP-based articles since the final result isn't reachable until it actually renders.

HTML is already "saved" so the mod can read it, and BBC can be tailored towards it too..but PHP can quite complex. Especially if its also renders the head tag(is that possible anymore in TP? From what I have picked up here and there its not) , ultimately making it very hard for the mod to find patterns of code to use.

It would proabably be better if TP supplied containers for meta/OG tags itself, adding it to the the headers dynamically, than letting a SMF based mod do it. But that may not be something planned in the near future so I guess its a moot point. :)


Offline @rjen

  • Support Team
  • *
  • Posts: 1807
    • FJR-club Nederland
Re: OPTIMUS Mod And TinyPortal
« Reply #16 on: June 29, 2019, 12:35:57 PM »
Thats Exactly my point, but you said it better... ;)
Running TP1.6.3 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 6216
    • Camera Craniums
Re: OPTIMUS Mod And TinyPortal
« Reply #17 on: June 29, 2019, 12:40:14 PM »

It would proabably be better if TP supplied containers for meta/OG tags itself, adding it to the the headers dynamically, than letting a SMF based mod do it. But that may not be something planned in the near future so I guess its a moot point. :)

Hi bloc, great to see you posting, long time no hear.  ;)

meta/OG tags stuff incorporated into TP has been mentioned recently, but not sure any of us understand it enough, or have the time atm to do anything with it.

Personally I don't have any php articles, or not ones I'd want to share, they just get used to run scripts more than anything.  I should imagine the majority of articles will be written in either bbc, or html.  The Optimus mod does seem to cope with those pretty well, just have to give some thought where you place stuff.