
December 12, 2018

I dont recall if I had modified Pligg a while back or there was a module that allowed for items to be added similar to how reddit does it.
If you dont want to share a link you could post anything else. Right now having the link be the first thing a user sees may deter them from continuing but if they have the option to select discussion or whatever you want to call it that would be perfect.
Also the link is great at the top but can there be an option so that it can be at the bottom as well?
Once the summary text is done right below that a link with an icon next to it showing its a link would be great.
Or maybe just share what file we can change to add it.
I currently disabled requiring a link so it would need an if statement to check if a link is there.
Last suggestion. On one of my websites when the site is scraped I have it get the image url from the twitter or facebook meta tags. I dont save the image locally I just have the script put the link to the original image so there is a good image (not default) when facebook/twitter scrape it. Saves me resources and potentially copyright issues.
Amazing work guys! I installed it on PHP 7 and it works like a charm just the RSS import tool shows its incompatible.
"I dont recall if I had modified Pligg a while back or there was a module that allowed for items to be added similar to how reddit does it.
If you dont want to share a link you could post anything else. Right now having the link be the first thing a user sees may deter them from continuing but if they have the option to select discussion or whatever you want to call it that would be perfect."
Cesar, thank you for your encouragement and again, welcome to Plikli and we do really appreciate users who were using the original Pligg!
If I understood you correctly, you are referring to the EDITORIAL story submission. If so:
Dashboard -> Settings -> Submit -> Require a URL when Submitting
The default is true. Set it to false if no URL is required to submit a story.
Also, when set to false, another settings (below on the same page):
Dashboard -> Settings -> Submit -> No URL text
The default is Editorial.
The Require a URL when Submitting setting was not working properly in the latest versions of Pligg, and was not informing the user that they can submit a story without a link (Discussion). I fixed it and now it displays the notification as intended. (See picture)
https://www.plikli.com/img/editorial.png
_________________________________________________
"I currently disabled requiring a link so it would need an if statement to check if a link is there."
You don't need to do anything at all. Just set them as I mentioned and the code is there (the one that was missing in Pligg) to work as the settings!
I will answer the rest of your suggestions in another post so that the answer don't get crowded and overwhelming.
"Also the link is great at the top but can there be an option so that it can be at the bottom as well?
Once the summary text is done right below that a link with an icon next to it showing its a link would be great.
Or maybe just share what file we can change to add it."
You mean like in the picture?
https://www.plikli.com/img/link.png
If yes, I will take it into consideration to add an optional setting in the dashboard (Display source link at the bottom of the story: true/false)
Meanwhile, I will post the temporary modifications to make this happen.
"Last suggestion. On one of my websites when the site is scraped I have it get the image url from the twitter or facebook meta tags. I dont save the image locally I just have the script put the link to the original image so there is a good image (not default) when facebook/twitter scrape it. Saves me resources and potentially copyright issues."
You mean the story image that was fetched with the submitted story?
Could please elaborate on this?

December 12, 2018

redwine said
You mean like in the picture?
https://www.plikli.com/img/link.pngIf yes, I will take it into consideration to add an optional setting in the dashboard (Display source link at the bottom of the story: true/false)
Meanwhile, I will post the temporary modifications to make this happen.
Yes exactly like that. Not sure what it would show if it’s an editorial with no outgoing link though. Maybe a way for nothing to appear at all if it has no outgoing link?
redwine said
You mean the story image that was fetched with the submitted story?
Sure let me give you some additional details.
Currently if you enter a url on Plikli it will get an image and tell the user if it wants to use that image to save and upload.
If an image is not uploaded then a broken link is placed by Plikli in the meta tags.
What I am suggesting is to save that url to use for only the social media meta tags og:image etc.
If a user uploads a photo then that photo overrides the external url.
This doesn’t benefit those that are viewing the Plikli site as they don’t see an image but it would benefit the webmaster as the links would generate a nice image with text on the respective websites (twitter/Facebook) increasing traffic to the site.
For editorials were no image is scraped possibly an option to have a default image assigned in the dashboard if one is not uploaded
"Yes exactly like that. Not sure what it would show if it’s an editorial with no outgoing link though. Maybe a way for nothing to appear at all if it has no outgoing link?"
In the picture, you see the tools line, where the user avatar and name, category, tags, source link and share and save...
Simply the word Editorial will appear in place of the link source.
Cesar said
Sure let me give you some additional details.
Currently if you enter a url on Plikli it will get an image and tell the user if it wants to use that image to save and upload.
If an image is not uploaded then a broken link is placed by Plikli in the meta tags.What I am suggesting is to save that url to use for only the social media meta tags og:image etc.
If a user uploads a photo then that photo overrides the external url.
This doesn’t benefit those that are viewing the Plikli site as they don’t see an image but it would benefit the webmaster as the links would generate a nice image with text on the respective websites (twitter/Facebook) increasing traffic to the site.For editorials were no image is scraped possibly an option to have a default image assigned in the dashboard if one is not uploaded
Here is how it works:
When you upload the image that is fetched with the article, a $_SESSION['uploaded_image'] is assigned a value of the URL to the image.
In /templates/bootstrap/meta.tpl:
LINE 40 (meta for og:image) and 47 (meta for twitter:image) check for the $_SESSION['uploaded_image'] if is not empty and assign the its value to the meta og:image and twitter:image
If $_SESSION['uploaded_image'] is empty, then the default site's NAME_OF_THE_IMAGE-og.jpg is assigned instead.
The missing part of this process is the presence of the site's NAME_OF_THE_IMAGE-og.jpg, which is not included with Plikli or any other cms for that matter.
I will add a note for the Admins to create the default NAME_OF_THE_IMAGE-og.jpg image, with the recommended size, and save it in the root of the CMS.
Thank you for bringing this up!
Most Users Ever Online: 16
Currently Online:
3 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
john: 47
Nishant kumar: 33
Mosage: 25
Punk: 23
Martin Gold: 22
Felipe: 16
StaticMove: 13
Cesar: 12
yami: 12
Hiro: 9
Newest Members:
Sandra William
Nirmal
igobim
udekife
Hiro
faisal waqas
Lawnservice
npswhitefield
egofate
omycusex
Forum Stats:
Groups: 1
Forums: 8
Topics: 104
Posts: 622
Member Stats:
Guest Posters: 0
Members: 89
Moderators: 0
Admins: 1
Administrators: redwine