The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/portal.php 39 require_once
Warning [2] Undefined variable $tcount - Line: 716 - File: portal.php PHP 8.2.25 (Linux)
File Line Function
/portal.php 716 errorHandler->error
Warning [2] Undefined variable $tcount - Line: 721 - File: portal.php PHP 8.2.25 (Linux)
File Line Function
/portal.php 721 errorHandler->error





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,007
» Latest member: kavitasinghji
» Forum threads: 1,324
» Forum posts: 7,788

Full Statistics

Online Users
There are currently 280 online users.
» 0 Member(s) | 276 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
Welcome to the new UserSp...
Forum: News Center
Last Post: ehc.ankur
12-30-2024, 10:16 AM
» Replies: 3
» Views: 27,918
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
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

 
  Changes to init.php and classes
Posted by: trequel - 12-11-2018, 12:43 PM - Forum: Modifications and Hackery - Replies (3)

1) If I make changes to init.php, should I copy init.php to userc/ or can init.php be edited without causing problems with future updates?
2) If I make changes to the existing classes, is there a recommended way of doing that to avoid problems during future upgrades?

Thanks.


  How Can I Add more options to the user profiles
Posted by: KyleJ1445566 - 12-08-2018, 12:20 AM - Forum: UserSpice 4.4 - Replies (8)

Hey,

I am wondering how to add more options to the profiles. Like down below the users username, they is the users full name twice, well the second full name I want to change it to PSN name/Gamertag, but the user can edit that, but I also want the admin to be able to edit it as well.

and down below I want to add to new options like position | Crew, but i just want the admin to be able to edit this.

If this is possible and thank you in advance.


  Exclude users from view_all_users
Posted by: Moomintroll - 12-05-2018, 07:30 PM - Forum: UserSpice 4.3 and Below - Replies (15)

Is there a way to exclude certain users from the results shown on the view_all_users page?

I've looked over the site using various search terms but nothing seems to address the issue.

I need this for two reasons:

First, although GDPR requires a 'Forget Me' option, if a financial transaction is made there is a separate requirement to keep a record for 10 years (I think), so straight deletion is not an option.

Second, for similar reasons, it would be useful for active members of a society to be able to withhold their names from such a public directory (even one that is restricted to other members).

I'm reasonably sure I can create a column in the users table that could contain a 0, 1 or 2 code, but its the retrieval query in the view_all_users page that I'm stumped by.

I've found these lines:

Code:
$userQ = $db->query("SELECT * FROM users LEFT JOIN profiles ON users.id = user_id ");
// group active, inactive, on naughty step
$users = $userQ->results();
...but I'm not sure what they're doing.

Cheers in advance!


  mudmin
Posted by: mrlee - 12-05-2018, 03:43 AM - Forum: New to UserSpice? - Replies (1)

Only a tiny fraction of people who download UserSpice create an account and a tiny percentage of those who do, actually post in the forums. I like to think that this is because the documentation, walkthroughs, and forums are so good that people immediately get an answer to their questions and have no reason to post!

Well, we'd love for you to at least say hi and maybe tell a little bit about how you came across UserSpice and what you were hoping to do with it.


  New to UserSpice and starting my own company
Posted by: alexvdamme - 11-30-2018, 01:39 PM - Forum: New to UserSpice? - Replies (1)

Dear developer of UserSpice and community members,

As I'm working on a small startup for business school, UserSpice seems to do an excellent job for us. I would like to get in touch with other starters to talk about the problems they face and how they build their website, so if you are one or know one don't doubt to get in touch!

Whenever our startup is going to make money I will look for the possibilties to donate from our company to keep the good work possible.

Also, I did a graphic studies, so if anyone needs help or advice with their graphics let me know!

Kind regards,

Alex


  Advanced Form Builder
Posted by: jholzbach - 11-26-2018, 01:41 AM - Forum: Modifications and Hackery - No Replies

I have been working on creating a more advanced form builder then the one currently available in UserSpice. My main goal is to make to create forms that are more dynamic. For example to have dropdowns where it pulls all its data from a database table or a subset of that table. Another goal was to have so by passing an id to a page it would load a different form.  Currently I don't have a page for actually building the form as I am still trying to get the database structure ironed out. This includes storing the data submitted by the form and pulling it back out.  I was curious whether anyone else had tried to implement something like this or come across something similar. Attached is an image of a portion of the form that I have been using to create the database and class infrastructure.



Attached Files Thumbnail(s)
   

  Trying to update form data but getting an extra row
Posted by: ohiggins - 11-22-2018, 09:43 AM - Forum: UserSpice 4.3 and Below - Replies (4)

Hi,

I'm trying to use the update function with the forms with the following code. I get the data in the form fine but when I go to save it I get a new row in the table and the original remains the same. Any ideas what I have done wrong?

Code:
<?php
require_once 'init.php';
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
if(!empty($_POST)){
$response = preProcessForm();
if($response['form_valid'] == true){
//do something here after the form has been validated
$response['fields']['user_id']=$user->data()->id;
$response = postProcessForm($response);
}
}
?>

<?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
<?php
?>
<div id="page-wrapper">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                    <?php
                    $usFormUpdate = 6; //The row you want to update
                    $options['update'] = $usFormUpdate;
                    //then call your form with
                    displayform('session',['update'=>6]);
                         ?><p></p>
            </div> <!-- /.col -->
        </div> <!-- /.row -->
    </div> <!-- /.container -->
</div> <!-- /.wrapper -->


    <!-- footers -->
<?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>

<!-- Place any per-page javascript here -->

<?php require_once $abs_us_root.$us_url_root.'users/includes/html_footer.php'; // currently just the closing /body and /html ?>


  add menu item: go to page... unless I'm already on that page
Posted by: peterchen - 11-20-2018, 11:22 PM - Forum: UserSpice 4.4 - Replies (4)

Hi,

I want ot add a new item to the navigation bar (using db based navigation), that navigates to a particular page, unless the user is already on that page, in which case it should just run some javascript function.


I guess the link could call a function that parses the page URL and decides based on that - but neiter I'm sure how to do htis, nor do I know if there's a better / more idiomatic solution.

Sorry if this is a dumb beginners question, looks like I am Wink

tia


  Folder Level Permissions
Posted by: typer139 - 11-19-2018, 08:09 PM - Forum: UserSpice 4.4 - Replies (2)

Hey Everyone,

I'm new here and trying to solution a new system, part of which I'd like to use UserSpice for.

Question.. are there folder level permissions, versus just page level.  (It will be on a windows box)

Rich Morgan


  New considering
Posted by: karmarpgs - 11-16-2018, 05:01 PM - Forum: New to UserSpice? - Replies (1)

Hi guys, 

So far i am  super impressed with this user spice, its light and not a ram hog, like word press or the others I've had ran into. I'm in the process of building my hosting business and I wanted something easy to work with. Though I do love how the forum you got here set up wouldn't mind using that as well and I've used mybb for many years, even for my gaming site as I like their permissions better than using phpbb which don't have the permissions needed for gaming purposes unless you wish to add a mod here and a mod there. 

Anyway, good luck on your agendas here. I hope to see this place become popular like the others.

Karma