I knowed this it and i remove this animation, you can try new version files.
The chat disappears for a conflict caused of your template.totallybeautiful wrote: ↑Mon Dec 03, 2018 3:04 am For the mobile use this would have to be adapted, because it is more difficult to handle the chat, because it disappears in the template and still remains stubbornly open when clicking away.
Edit: It doesn't work on the desktop either. It also disappears and cannot be clicked away.
Screenshots will follow via PN, unfortunately you can't upload any here.
As i telled in last post i fixed important bugs of the chat.
Only with this informations i can't do so much. What version of mysql are you using?focp wrote: ↑Tue Dec 11, 2018 12:17 pm i found a few bugs when testing the ext,
(using ver 0.2 from github and phpbb 3.2.4 )
no1/ when adding a post, the ext creates an endless repeating no of posts, and can only be stopped by clicking on the refresh button of the browser,
and displays the following error,
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysql.php on line 275: mysql_fetch_assoc(): 231 is not a valid MySQL result resource
but the error log itself is empty.
----------
no3/ am unable to change the cover picture, i can add the picture ok, but when the "update profile" button is clicked on, nothing happens, and the refresh button has to be clicked on to escape back, at which point the original image is reverted to,
this is the same for both admin or a member.
I commited a new version files for fix this error, you can upload they
LIMIT
differs per database.$this->db->sql_query_limit($sql, 1)
.function addStatus
would become add_status
.{}
, so lines like if($text != "" || $extra != "") $sql = "INSERT INTO " .
would become
Code: Select all
if ($text != '' || $extra != '')
{
$sql = 'INSERT INTO ' . $this->pg_social_table . ' ' . $this->db->sql_build_array('INSERT', $sql_arr);
// etc..
}
i have optimized it withmrgoldy wrote: ↑Wed Dec 12, 2018 3:37 pm That's mostlikely because of this line: https://github.com/PGreca/pgsocial/blob ... s.php#L439
LIMIT
differs per database.
Try using$this->db->sql_query_limit($sql, 1)
.
$this->db->sql_nextid();
so i can remove a query useless.
I started to replace the camelCase and the backetsmrgoldy wrote: ↑Wed Dec 12, 2018 3:37 pm And I am just going to re-state what david already said.
If you wish to submit this extension the the Customisation Database at some point, I would highly suggest to read up on the coding guidelines and start applying them to your code.
No camelCase in PHP, only in javascript. So:function addStatus
would becomeadd_status
.
Use brackets{}
, so lines likeif($text != "" || $extra != "") $sql = "INSERT INTO " .
would becomeNote that the table is injected as a service, not just the table prefix.Code: Select all
if ($text != '' || $extra != '') { $sql = 'INSERT INTO ' . $this->pg_social_table . ' ' . $this->db->sql_build_array('INSERT', $sql_arr); // etc.. }
And the additional space between the table name and the 'build' array function.
{}
and use the tables's services, so i can remove table_prefix.Really really thank you and for you suggestions.
I have uploaded new files version, so check :3focp wrote: ↑Wed Dec 12, 2018 2:37 pm hi, i cant give you a link to the forum, as its just my test forum, running on a local server,
which a friend set up using an old computer for me,
its running on php 5.6.37 and mysql 5.0.11 if that helps,
the fix for the images worked fine, and images can be viewed ok now
so thanks for your time
Iwait to the new Version of the Chat that sounds intrestingPGreca wrote: ↑Mon Dec 10, 2018 9:59 pmAs i telled in last post i fixed important bugs of the chat.
I' m writing a new version of it so you need to wait for the new features.
Before new year i want release new version.
---
I wanna integrate the message chat with the pm (optional setting from acp) (as old system on facebook), replace the box of people with a sidebar with only avatar, icon for online/offline status and tooltip for username.
For the chat box only little update to the style.
I need suggestion for the mobile style...
-----
Vers. 0.2
ADDED - upload avatar for pages
UPDATE - when you edit a post, it's not publish new activity
FIXED - some errors
FIXED - optimize code
The new version is amost ready. I need to ultimate the mobile version and scrolling chat for oldest messages.