Questions tagged [socialengine]
SocialEngine is a PHP-based white label social network platform.
314
questions
0
votes
1
answer
69
views
Path of a new page in PHP SocialEngine
Can anyone tell me how to find path/root of a new page I have done in SocialEngine PHP?
Like: public_html/site/application, where I want to password the page.
0
votes
1
answer
309
views
How to post image using curl in php
I want to change profile image another application curl request i am trying below code can anyone help me please
$viewer = Engine_Api::_()->user()->getViewer();
$apiData = array(
"email" =&...
0
votes
0
answers
33
views
SocailEngine Signup Process
I have changed the signup process is in existing social engine signup process is three-step (Create Account, Personal Information, Photo).
But as per my project requirement made changes is show only ...
0
votes
1
answer
22
views
How to change UPDATES and INFO folers between each other (change their places between each other)?
How to change UPDATES and INFO folers between each other in SocialEngine profiles? I need INFO folder of user profile data to be before his UPDATES.
0
votes
1
answer
41
views
How to set a default action for SocialEngine module
I have created a module with two controllers: Index and Pay. There are actions for both controllers, i.e.
Index -> indexAction
Pay -> indexAction, callbackAction, etc.
I have defined routes in the ...
0
votes
0
answers
135
views
SocialEngine: Update password with Zend_Db_Table_Row_Abstract::save()
I am calling save() on a database item after assigning a value to $item->password. The problem is that it updates the database field weirdly. A string other than what I am assigning is saved. Check ...
0
votes
1
answer
111
views
Cannot use Zend_Session_Namespace in SocialEngine
I am trying to use Zend_Session_Namespace to help me with the task of changing a user's password. To this purpose, I need to store some values of their GET request when they first visit the reset page....
0
votes
1
answer
70
views
What is the best way to add a form from within a Zend controller?
I want to add a form that I have created inside my controller. But the page does not show anything.
This is the form code:
class Advancedsms_Form_ChangePassword extends Engine_Form {
//put ...
0
votes
1
answer
288
views
SocialEngine: getDbTable() vs. getItemTable()
I have often seen tables are retrieved in SocialEngine using Engine_Api::_()->getDbTable().
For example:
$usersTbl = Engine_Api::_()->getDbTable('users','user');
$row = $usersTbl->createRow(...
0
votes
0
answers
61
views
JavaScript is not executed in SocialEngine hooks
I used to employ Javascript alert as a way of debugging my PHP code. But, I just realized that it is not always executed. For example, when you register a hook to be run after the signup process, ...
0
votes
0
answers
60
views
SocialEngine hook does not work
I have created a new module to add a new step to the signup process to get the user's phone number. Everything works fine, except the fact that after the signup, I need to grab the phone number I have ...
2
votes
1
answer
188
views
How to update a table in SocialEngine
I know a table in SocialEngine is accessed as follows:
Engine_Api::_()->getDbTable('table_name','plugin_name');
For example, to access the users table, we use:
Engine_Api::_()->...
0
votes
1
answer
174
views
How to include external files in a SocialEngine module
I have created a SocialEngine module named MyAwesomeModule that adds a signup step to existing SocialEngine signup process. It is in application/modules/Myawesomemodule. Besides the files in this ...
0
votes
3
answers
550
views
How to validate digits when using Zend Framework addElement
I want to add a validator to the form element when adding it to the form by passing 'validator' sub-arrays to the function so that only digits are accepted for phone number.
class ...
0
votes
0
answers
24
views
How to create a module that changes other modules' behaviors
I want to create a module for SocialEngine that changes the signup behavior by adding the option to signup using phone number and sending text message to the user's phone and letting them confirm it. ...
-1
votes
1
answer
61
views
Using join with multiple table in zend social engine
I want to join multiple table more than 3 and remove duplicate rows.
0
votes
1
answer
68
views
How to set auto width and height of smoothbox in Socialengine based on content?
I am trying to change the width and height of smoothbox popup which in fact is the iframe. The traditional way of setting iframes width ain't working because of TB_Overlay.
I had just tried CSS way ...
0
votes
2
answers
212
views
How to translate language packs in SocialEngine
I know that SocialEngine stores language files as CSV files in application/languages. The common format in the CSV files is as follows:
"Source word"; "Translated word"
But, this sometimes gets ...
0
votes
1
answer
47
views
SocialEngine module installation: Query failed with error
I have created a simple SocialEngine module and created a package for its installation. In the installation process on the target system, I cannot install the module and when finalizing the ...
0
votes
1
answer
68
views
what is returned by Engine_Api::_()->getTable
I wonder if it is an array that is returned by calling getTable('tbl', 'module') or an object. I am facing problems when I try to insert the returned value into another array and then encode it as ...
0
votes
1
answer
164
views
How to create a custom API route in SocialEngine Zend
I have created a new REST API module in SocialEngine which can be browsed via http://server_address/mymodule or http://server_address/mymodule/index. I have a controller class Mymodule_IndexController ...
0
votes
1
answer
259
views
Unable to fetch a row set from a db table in SocialEngine Zend
I am creating a new Module in SocialEngine 4. Not much going on here. I have a model class for database table advancedrestapi_foods as follows:
class Advancedrestapi_Model_DbTable_Foods extends ...
0
votes
0
answers
23
views
How to prevent double quotes from being escaped in JSON code [duplicate]
I am outputting Json from my SocialEngine Zend module using the following code:
$data = array(
'response' => 200,
'body' => array (
'username' => 'johndoe',
'...
0
votes
1
answer
75
views
How a table is selected in SocialEngine
I used to think SocialEngine's convention for selecting tables is like this:
Engine_Api::_()->getDbTable('tableName', 'moduleName');
But, logging in the following code segment shows ...
0
votes
2
answers
1k
views
Too many redirects issue [redirect loop] after modifying htaccess to https redirect in SocialEngine 4.2.9
Recently I have installed the ssl certificate for our domain. And as part of https secure redirection, changed the htaccess to redirect to https. It works fine with the home page. But when I am login ...
0
votes
1
answer
236
views
Where to put HTML Code and CSS Code for socialengine widget
I have purchased a social engine php licence and I am trying to create a widget for a site-wide search bar via the "Developer SDK." Where do i put html and css code please? Would it be in the themes ...
0
votes
0
answers
57
views
creating a horizontal menu in social engine php
I have created a menu and inserted the generic menu widget onto a newly created page. I think by default it gives a verticle menu. I have tried various css codes found on the web to change it to a ...
0
votes
1
answer
96
views
How to debug SocialEngine through an IDE
I've downloaded SocialEngine source code, added few plugins to the website I'm testing.
Now, I'm trying to customize the plugins' and SocialEngine's code to fit my use cases.
How can I make a change ...
0
votes
1
answer
118
views
Echo text based on level_id for SocialEngine 4.x/Zend Framework
I must confess, I am quite new to working with php inside a javascript block. As a temporary fix until I can write something more dynamic, I need to pass text based on the user level, if they are not ...
0
votes
1
answer
26
views
Social Engine Editing drop down options
I am using a 3rd party developed plugin.
Advanced Activity Feeds
On a search widget we have a drop down which has all of my profile types.
I wish for this widget to show certain profile types.
...
0
votes
1
answer
75
views
Unable to find zend module config files
I'm searching within the directories of my SocialEngine website, which is written with the Zend Framework, but I'm unable to find the module config file application.config.php, which according to Zend ...
0
votes
1
answer
189
views
SocialEngine PHP classes in application/libraries are not being loaded
I'm developing a web application based on SocialEnginePHP 4.10.
I've added a library to /application/libraries by following these steps:
- Developer SDK -> Create a Package (choosing type = Library)
-...
-1
votes
1
answer
48
views
Social Engine not updating profile photo on Amazon ec2
My social engine instance was working fine when i used to host in dreamhost server but after switching to AWS, updating profile photo is stopped working.
Error msg on UI is "The image you selected ...
0
votes
1
answer
221
views
The socialengine widget content in the new created module is not get appear in the front end
I created a new module using the tutotorial https://jadb.wordpress.com/2011/04/22/social-engine-4-modules/
Its working as fine.
later i created a widget in the new module using the tutorial. https:/...
1
vote
1
answer
78
views
SocialEngine - Hook before signup process complete
I want to add a new step in signup process of SocialEngine and I want after first step to send some verification code to the user's phone number. How can I set a hook for that like onUserCreateBefore. ...
1
vote
1
answer
83
views
SocialEngine(Zend) returns error when instantiating a model of table
When I want to instantiate a model from a table with this code below:
Articlemanagement/Model/DbTable/Articles.php:
class Articlemanagement_Model_DbTable_Articles extends Engine_Db_Table
{
...
0
votes
1
answer
36
views
Get Photo of the object in widget - SocialEngine Widget
I am beginner in SocialEngine and I want to know if there is any way to get the photo of the object in the widget.
Like i know we can get the photo of the object in view using following code.
//in ...
0
votes
1
answer
315
views
How to get data from database in controller and show them in view in Social Engine admin panel
How can I create a page in admin panel controller to get data and show them in view? I have read How to add an admin page for a custom widget in Socialengine 4 but it didn't work. I think I should do ...
0
votes
1
answer
116
views
How can we make an Item in socialengine?
I know how to get an item of the particular table. Like for user we can have
$userItem = Engine_Api::_()->getItem("user", $userId);
or for a custom table
$customItem = Engine_Api::_()->...
0
votes
1
answer
37
views
SOCIALENGINE - how to make search form remember last selection?
I am running a socialengine site(which sits on Zend) and the search form reset every time a user get to another page.
Anyone know if there is a way to save the last selection on the search form for ...
0
votes
1
answer
348
views
SOCIALENGINE - how to fetch Profile Info?
On the Members page, I am trying to modify the profile tags including only some info for each profile on Member.
How do I get each single value from that profile from the database? It should be ...
1
vote
1
answer
139
views
Janrain widget does not show expected providers
I have a basic Janrain account where I have configured about 8 providers successfully. From the Widgets & SDKs section, I have also selected six providers to be shown on the widget. I have enabled ...
0
votes
0
answers
64
views
Website's Mobile Version Behaves Different From Desktop Version
In terms of UI, a website's mobile version obviously is different from Desktop mode, and that is fine. However, my Social Engine website seems to behave different from desktop version when making ...
0
votes
1
answer
410
views
Calling a widget using ajax on SocialEngine
I want to know if it is possible to make a ajax call on SocialEngine Widget. Like I know we can make an ajax call on the method of any controller but with widgets is it possible too?
If it is. Can ...
58
votes
1
answer
2k
views
How to add a custom payment gateway to Social Engine
I need to integrate a new payment gateway to our corporate website, which is based on Social Engine. There is an extension for this CMS called Advanced Payment Gateways which allows integration of new ...
1
vote
1
answer
53
views
Autocomplete friend list on social engine is not working properly
I am developing a suggestion functionality for a SocialEngine website. I have written following code on a textbox to give suggestions on the basis of text inserted. But the inject method is not being ...
3
votes
1
answer
262
views
Socialengine php Installation error
I am struggling with socialengine php installation to my private server. I already have it hosted but want to develop it on my own computer. I have installed xampp, FileZilla server and client and ...
0
votes
1
answer
485
views
What is the structure of SocialEngine based on Zend
I want to know what the structure of Social Engine is. For example if I want to go to a page that the URL of that page is "http://example.com/stores/products", how can I find the controllers, models, ...
0
votes
1
answer
111
views
Setup a scalable architecture with social engine 4.7
I am having a SocialEngine 4.7 website and want to deploy it on a clustered environment on AWS. The trouble I am facing is that social engine keeps related files locally. I am not able to find a ...
0
votes
1
answer
1k
views
SocialEngine: NOTICE (5): [8] MemcachePool::get(): Server 127.0.0.1 (tcp 6379, udp 0) failed with: Malformed VALUE header (0)
We have supplied port number: 11211 default port though it is taking 6379. Weird and keep throwing error as:
NOTICE (5): [8] MemcachePool::get(): Server 127.0.0.1 (tcp 6379, udp
0) failed with: ...