Discussions | Plikli Feature Requests | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Discussions
Avatar
Cesar
Member
Members
Forum Posts: 12
Member Since:
December 12, 2018
sp_UserOfflineSmall Offline
1
December 12, 2018 - 4:28 am
sp_Permalink sp_Print sp_EditHistory

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.

Avatar
redwine
Admin
Forum Posts: 338
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
2
December 12, 2018 - 4:04 pm
sp_Permalink sp_Print sp_EditHistory

"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.

Avatar
redwine
Admin
Forum Posts: 338
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
3
December 12, 2018 - 4:23 pm
sp_Permalink sp_Print

"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.

Avatar
redwine
Admin
Forum Posts: 338
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
4
December 12, 2018 - 4:28 pm
sp_Permalink sp_Print

"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?

Avatar
Cesar
Member
Members
Forum Posts: 12
Member Since:
December 12, 2018
sp_UserOfflineSmall Offline
5
December 12, 2018 - 11:38 pm
sp_Permalink sp_Print sp_EditHistory

redwine said
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.  

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

Avatar
redwine
Admin
Forum Posts: 338
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
6
December 13, 2018 - 11:34 am
sp_Permalink sp_Print

"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.

Avatar
redwine
Admin
Forum Posts: 338
Member Since:
February 21, 2018
sp_UserOfflineSmall Offline
7
December 13, 2018 - 1:36 pm
sp_Permalink sp_Print

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!

Forum Timezone: Asia/Beirut

Most Users Ever Online: 19

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

john: 47

Nishant kumar: 33

Mosage: 25

Punk: 23

Martin Gold: 22

Felipe: 21

StaticMove: 13

Hiro: 13

yami: 13

Cesar: 12

Newest Members:

Mohi Uddin

Sandeep Verma

sansui

Shah

Swapnil

Digital WebCogitate

Phelix

nathan

Mylove

Nilantha

Forum Stats:

Groups: 1

Forums: 8

Topics: 116

Posts: 684

 

Member Stats:

Guest Posters: 0

Members: 137

Moderators: 0

Admins: 1

Administrators: redwine