Post Background Download 1.4

German Arsalan Shah 9 months 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
us Justin Derby Replied 3 weeks 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?

German Arsalan Shah Replied 2 months 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 2 months ago

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

us Tim Dishong Replied 2 months ago

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

Catalan Stephen Holton Replied 5 months 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 5 months 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 ~Z~ Man Replied 7 months 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 8 months 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 9 months ago

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

German ~Z~ Man Replied 9 months ago

@Naser
it shows you are using some additional Javascript on your site which gives a syntax error.
click on that "home 1337" and make another screenshot ... maybe we're getting an idea then,

Aside from that: disable any third-party components step by step until the issue disappears

Component

Developer: Arsalan
License ossnv4
Type: User admin
Minimum Requirement: 5.2
Latest Version: 1.4
Last Updated 9 months ago
Repository Url View Repository

Versions