Post Background

Indonesian Arsalan Shah 4 years ago

DON'T INSTALL THIS COMPONENT IT IS PART OF CORE, INSTALLING IT AGAIN WILL CRASH YOUR WEBSITE

Select a post background from pre-defined backgrounds.
This component is tested on Ossn v5.2 GoBlue theme

NOTE IF CHARACTERS ARE MORE THAN 125 IT WILL CONSIDER A NORMAL POST WITH BACKGROUND

enter image description here

1.2
- User can now reset background by clicking brush again.

1.3
- Fixes the post edit more than 125 characters

1.4
- Change colors for dark background. You can change it in ossn_com.php

Comments
in Balamurali Govindan Replied 3 years ago

Great component.

I found one issue, when I "Share" the post, the background disappears, but the content gets posted. Please try to fix this. Thank You.

us Justin Derby Replied 3 years ago

If I have the OSSN premium package script, and I deleted the OssnPostBackground component, would it crash my site if I uploaded this post background component into my components list and enabled it?

Indonesian Arsalan Shah Replied 3 years ago

The component is part of core and hence your website crashed, delete PostBackground from your components folder not OssnPostBackground. I'll disable this component from community.

Just question: Not sure why you installed blindly when you have this feature already in your website?

us David Anderson Replied 3 years ago

Crashed my entire site when enabled. I am running version 5.6 Running default GoBlue theme.

us Tim Dishong Replied 3 years ago

Is there an availabilty to input image backgrounds like facebook uses?

Catalan Stephen Holton Replied 4 years ago

Kindly disregard my earlier request... I found the issue. I was running an older version of PHP, and everything was fixed once I moved to v7.4.

Catalan Stephen Holton Replied 4 years ago

When I enable any version of this component I lose the ability to "like" posts, add pictures to comments, edit posts/comments and I get the following in my error log:

[21-Aug-2020 02:42:50 America/NewYork] PHP WARNING: 2020-08-21 02:42:50 (EDT): "Constants may only evaluate to scalar values" in file /home/vetsspace/publichtml/components/PostBackground/ossn_com.php (line 57)

I've not customized my OSSN in any way. I'm running version 5.4.

Any suggestions on what might be wrong?

S.

German Michael Zülsdorff Replied 4 years ago

Franco, please provide more details as advised in https://www.opensource-socialnetwork.org/wiki/view/1101/how-to-report-a-bug-error (case B)

Italian Franco Spinella Replied 4 years ago

I using greenbygreen 1.21 but like stephen barnes i can add the colours to post but when i submit the post it does not show colour background. I just tested also with 1 only word

ly Naser Naser Replied 4 years ago

~Z~ Man
It became functional after the cache was deleted.

Component

Developer: Arsalan
License ossnv4
Type: User admin
Requires Ossn Version : 5.2
Latest Version:
Last Updated
Repository Url View Repository

Versions