Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 462 online users. » 0 Member(s) | 461 Guest(s) Bing
|
Latest Threads |
UserSpice Alpha Testing a...
Forum: News Center
Last Post: ivinsons
11-08-2024, 06:13 PM
» Replies: 13
» Views: 42,475
|
UserSpice 4.4 Development
Forum: News Center
Last Post: Amelie12
09-21-2024, 12:23 PM
» Replies: 4
» Views: 15,199
|
Welcome to the new UserSp...
Forum: News Center
Last Post: ivinsons
08-25-2024, 07:39 AM
» Replies: 2
» Views: 27,918
|
How to use hasPerm
Forum: UserSpice 4.4
Last Post: mudmin
07-20-2019, 02:45 PM
» Replies: 1
» Views: 13,755
|
Session issue? What I sho...
Forum: UserSpice 4.4
Last Post: Parth
07-17-2019, 05:06 PM
» Replies: 4
» Views: 14,502
|
Email Error
Forum: UserSpice 4.4
Last Post: Brandin
07-17-2019, 04:47 PM
» Replies: 1
» Views: 6,623
|
{ Missing Text } after up...
Forum: UserSpice 4.4
Last Post: Brandin
07-16-2019, 04:23 PM
» Replies: 22
» Views: 53,638
|
Best Practice Info
Forum: New to UserSpice?
Last Post: Brandin
07-16-2019, 11:55 AM
» Replies: 1
» Views: 13,490
|
Force to use 2FA -always-
Forum: UserSpice 4.4
Last Post: Brandin
07-12-2019, 12:43 PM
» Replies: 1
» Views: 6,636
|
e-mail not verifying
Forum: UserSpice 4.4
Last Post: LBC
07-10-2019, 11:34 AM
» Replies: 31
» Views: 76,232
|
|
|
Email sending |
Posted by: clansing - 09-11-2018, 03:26 PM - Forum: UserSpice 4.3 and Below
- Replies (8)
|
|
Any thoughts on why most of the emails I send from email_test.php are not reaching their destination? Sending via gmail per recommendation. It gets reported as success every time, but it only seems to be reaching my yahoo account email address... not my gmail address and not a couple of my friends accounts. Nothing in spam or anything like that.
|
|
|
Issue removing sessions |
Posted by: clansing - 09-11-2018, 04:01 AM - Forum: UserSpice 4.3 and Below
- Replies (11)
|
|
Found that there is nothing removing sessions from us_user_sessions when you enable session management/recording.
I made a modification to users/logout.php to correct the issue in my instance, just FYI
|
|
|
I have a question about this line |
Posted by: shoropio - 09-10-2018, 02:16 AM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
Hi, I have a question about this line
PHP Code: <?php if(isset($user) && $user->isLoggedIn()){ } ?>
is only found in the index.php of the root of the site. My question is whether I should keep that line alone there or should I incorporate it into my other custom pages?
|
|
|
Installing on existing site |
Posted by: ricalonso - 09-08-2018, 01:05 AM - Forum: UserSpice 4.3 and Below
- Replies (2)
|
|
Hi,
I didn't see instructions on where to put the UserSpice directory within an existing site. Since US has its own index.php, I added the the directory to the root of my site as UserSpice4. I removed "-master" as no one said not to.
I ran the installation and it went fine. I see it created a new subdirectory called UserSpice4-master in which there is a second users directory. I created a new user and I am able to log in as both an admin and the new user.
I'm concerned that I may not have installed this correctly.
The only pages that I could find in the admin where within the UserSpice4 directory. I searched the forums and found a question from simplymarkb titled "Existing site question"
I followed the instructions and was able to add some of my other subdirectories and pages, including the root. But I always get php errors (I have error reporting on while I develop). I've attached a screenshot. Here is what I am trying to protect.
['','users/','usersc/','../resources/','../resources/templates/','../resources/templates/back/','../resources/templates/front/','../','../css/','../vendor/'];
If I add the following $path=['','users/','usersc/','../resources/','../resources/templates/back/','../resources/templates/front/','../']; it works with no errors.
But if I add more than this I get errors. With every new one I get another error. The screenshot shows 3.
Your help is much appreciated.
Have a good day - Ric
Hmm, I am not able to add attachments after choosing a jpg file and pressing the "Add Attachment" button. Here is the text of one of the errors. They are all the same.
Notice: Undefined variable: row in /Users/roki1981/Dropbox/Apps/MAMP htdocs/rainbowadult/public_html/UserSpice4/users/helpers/us_helpers.php on line 259
Call Stack
# Time Memory Function Location
1 0.0014 420336 {main}( ) .../admin_pages.php:0
2 0.0289 1652432 getPathPhpFiles( ) .../admin_pages.php:52
|
|
|
Dropbox & Composer help |
Posted by: waynebr - 09-06-2018, 11:10 AM - Forum: Off-topic Discussions
- Replies (5)
|
|
Hi All,
I have just upgraded my Userspice to the latest version after being many version behind. I have got most of my site working but appear to be having an issue with on part. I currently have a process that uploads a file to Dropbox - this is based on the following guide / files https://github.com/kunalvarma05/dropbox-...load-Files.
For some reason with the update this script has stopped working and I can't figure out why. Can anyone help? The file gets created but does not upload and stops at the creation step. It worked perfectly in my previous version.
Looking through my code I have attached the point at which I think it stops if anyone can see anything obvious.
$file = "post/$filename.csv";
file_put_contents($file, $csv);
chmod($file, 0777);
require __DIR__ . '/vendor/autoload.php';
use Kunnu\Dropbox\Dropbox;
use Kunnu\Dropbox\DropboxApp;
use Kunnu\Dropbox\DropboxFile;
use Kunnu\Dropbox\Exceptions\DropboxClientException;
//Configure Dropbox Application
$app = new DropboxApp("XXXXXXXXXX", "XXXXXXXXX", "XXXXXXXXXXXXX");
//Configure Dropbox service
$pathToLocalFile = __DIR__ . "/post/$filename.csv";
$dropbox = new Dropbox($app);
$dropboxFile = new DropboxFile($pathToLocalFile);
$file = $dropbox->upload($dropboxFile, "/apps/clickanddrop/$filename.csv", ['autorename' => true]);
//Uploaded File
$file->getName();
?>
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<h1>Shipping File Upload</h1>
<!-- Content Goes Here. Class width can be adjusted -->
<div class="alert alert-success">
<strong>Success!</strong> <a href="https://business.parcel.royalmail.com/" target="blank" class="alert-link">Click Here To Print Labels</a>.
<?php header( "refresh:30;url=$us_url_root./users" ); ?>
</div>
<!-- End of main content section -->
</div> <!-- /.col -->
</div> <!-- /.row -->
</div> <!-- /.container -->
</div> <!-- /.wrapper -->
|
|
|
Show ID in form table view not working as expected |
Posted by: commbot - 09-04-2018, 07:26 AM - Forum: UserSpice 4.3 and Below
- No Replies
|
|
Hi,
I've been trying to show ID in a new form table view but it doesn't seem to be working. The header ID is shown, but the content is missing. The reason being I wanted to create a link in order to update a table entry and couldn't find a way to get the row ID. Maybe there's a set of functions I missed?
Anyway, the bug seems to be where the table is reordered before being displayed, in that the ID value is held in the form itself, but the ID field is not part of the form_form, so doesn't get merged.
Fixed this by adding the ID field to the order array like so:
Code: foreach($t as $r){
if($opts['id'] == 1){ $order = array('id'=>'ID') + $order; }. // added this line to fix, code continues below
// All of this is to get the table in the same order as your form
$r = array_intersect_key($r,$order);
$r = array_merge($order,$r);
I'm trying to display a form with an edit link so the entries can be updated, couldn't find an easier way to do it
|
|
|
User login |
Posted by: eforbes - 09-03-2018, 02:50 PM - Forum: UserSpice 4.3 and Below
- Replies (2)
|
|
I want the login page to be my landing page. If I copy the login.php file to the root and rename it index.php would that be safe or should I redirect to the login.php in the 'users' folder?
|
|
|
Multiple Database Connections |
Posted by: usamusa - 09-03-2018, 02:46 PM - Forum: UserSpice 4.3 and Below
- Replies (4)
|
|
Hello,
is there a way to allow users to connect to multiple Databases using the same DB class?
I hope I'd be able to do something like:
Code: $db1->findAll('TableInDB1');
$db2->findAll('TableInDB2');
Thank you very much
|
|
|
Facebook login callback not working |
Posted by: Jaxx - 08-30-2018, 03:44 PM - Forum: UserSpice 4.3 and Below
- Replies (6)
|
|
Hi all,
I'm very interested in using UserSpice for its social login capability. I'm having issues getting the facebook login to work correctly. After following the documentation here and messing with many different settings (enabling SSL, confirming userspice's callback setting, changing FB Graph version, etc) I haven't been able to remove the error that facebook returns after attempting to log in. The error returned is...
Quote:Graph returned an error: Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.
At this moment I have waited over 10hrs for changes on the facebook settings page to propagate with no change. I have reviewed the facebook settings and yes--my sub domain and domain relevant to the userspice install are listed. The callback Oauth URIs are listed (including https://) on the facebook settings page, and testing the callback URL with the Redirect URI Validator returns as "This is a valid redirect URI for this application." I have even copy and pasted the callback from the request when clicking the social login button on userspice, yet nothing has changed.
What am I missing? Could my shared hosting environment somehow be causing a problem?
Thank you for your help,
Jaxx
|
|
|
|