Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 449 online users. » 0 Member(s) | 448 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
|
|
|
Unable to debug mail settings |
Posted by: plb - 08-23-2016, 09:34 AM - Forum: UserSpice 4.3 and Below
- Replies (3)
|
|
I am trying to get my server to send email using the appropriate SMTP settings. The error I get is "Mail ERROR" which doesn't give me a clue where to start. Is the problem on my dev server or with the SMTP settings or should I be using TLS instead of SSL or what?! Typically SMTP reports an error number and an error text - I think it's necessary to get these values reported back to administrators to enable them to properly configure the server to send email.
(Perhaps this should be documented in requested features rather than a bug, but the resulting situation is so opaque for configuration that I feel it moves into the "necessary" functionality, thus a bug report... Just my opinion.)
|
|
|
Email settings need to be saved |
Posted by: plb - 08-23-2016, 09:22 AM - Forum: UserSpice 4.3 and Below
- Replies (1)
|
|
I went to the Email settings and made my changes and clicked on the "test settings" button, assuming my changes would be saved during the test process. My changes weren't saved.
Either
(1) there should be a JS-generated confirmation that you've made changes and those changes will be lost if you continue
-or-
(2) when I press "test" it should first follow the logic in the "save settings" side to save things and then take me to the test page
|
|
|
structure for statement in php for mysqli |
Posted by: picassoo - 08-22-2016, 10:06 AM - Forum: UserSpice 5 - Roadmapping the Future
- Replies (3)
|
|
Hi, can you post here... separate script for: Insert - Upload - select- delete, each option. PHP script only.
I want to do a table, but can not understand script, models/funcs.php
Example
table:
Id,
name,
email,
phone,
and description
Here what I have, example.
<pre> Code: // Editare Lista produse *******************************************************************************************************************************
function fetchAllbarangg()
{
global $mysqli,$db_table_prefix;
$stmt = $mysqli->prepare("SELECT
id_brg,
nama_brg,
harga_brg,
desc_brg,
jml_brg,
gambar_brg,
detali_ac,
detali_atentie,
Masuri_de_siguranta,
Semne_si_simptome,
Pastrare_si_utilizare,
oferta
FROM ".$db_table_prefix."barang
WHERE
id_brg = ?
LIMIT 1");
$stmt->execute();
$stmt->bind_result($id_brg, $nama_brg, $harga_brg, $desc_brg, $jml_brg, $gambar_brg, $detali_ac, $detali_atentie, $Masuri_de_siguranta, $Semne_si_simptome, $Pastrare_si_utilizare, $oferta);
while ($stmt->fetch()){
$row[] = array('id_brg' => $id_brg, 'nama_brg' => $nama_brg, 'harga_brg' => $harga_brg, 'desc_brg' => $desc_brg, 'jml_brg' => $jml_brg, 'gambar_brg' => $gambar_brg, 'detali_ac' => $detali_ac, 'detali_atentie' => $detali_atentie, 'Masuri_de_siguranta' => $Masuri_de_siguranta, 'Semne_si_simptome' => $Semne_si_simptome, 'Pastrare_si_utilizare' => $Pastrare_si_utilizare, 'oferta' => $oferta);
}
$stmt->close();
return ($row);
}
</pre>
Thanks.
|
|
|
Themes Available? |
Posted by: jjosserand - 08-21-2016, 12:16 AM - Forum: New to UserSpice?
- Replies (9)
|
|
The main install video mentions downloading other themes from userspice.org, but I cannot find any.
Do they exist?
If so, where?
Thanks!
Other than that, I'm loving this!
|
|
|
Profile.php |
Posted by: wolfeman - 08-18-2016, 09:49 PM - Forum: UserSpice 4.3 and Below
- Replies (3)
|
|
$userQ = $db->query("SELECT * FROM profiles LEFT JOIN users ON user_id = users.id WHERE user_id = ?",array($userID));
$thatUser = $userQ->first();
However if the user has no entry in the profile table the users name never shows up on /users/profile.php?id=xx
you just get a "'s Profile" in the name area.
And I believe could be the reason the bio is not able to be updated.
This is the case for ADMIN created users ONLY, normal signup users are ok.
|
|
|
Download Folder/PDFs |
Posted by: sbarbee - 08-18-2016, 02:04 PM - Forum: UserSpice 4.3 and Below
- Replies (3)
|
|
I want to give users access to a folder containing .pdf's, simply called 'downloads'. I have added 'downloads/' to the z_us_root.php file. Do all the files need to be .php to work? Sorry for my ignorance with this part. I can tell that the folder is working, I copied the 'empty.php' file to downloads/, and it's visible and accessible. Any
suggestions?
Thanks!
SB
|
|
|
allow page-specific external CSS |
Posted by: plb - 08-18-2016, 05:12 AM - Forum: Modifications and Hackery
- Replies (1)
|
|
I have some CSS that was very specific to a given page and I didn't want to bother loading for every single page.
I found it difficult to get it into the header portion using the standard UserSpice.
I made this modification, as defined by this patch file. This allows a CSS file with the same name as the current PHP script to be loaded automatically. It also allows for the array $HeaderStyles to be initialized before including header.php and the styles will be included in the <-head->...</-head-> section.
===(snip)===
*** UserSpice41/users/includes/header.php 2016-08-15 15:51:52.791690800 +0200
--- imok/users/includes/header.php 2016-08-15 15:49:49.528667200 +0200
***************
*** 82,92 ****
--- 82,111 ----
<!-- AKA Secondary CSS -->
<link href="<?=$us_url_root?><?=str_replace('../','',$settings->us_css2);?>" rel="stylesheet">
+ <!-- If you are loading xyz.php and a script xyz.css exists, load it !-->
+ <?php
+ $mycss = $us_url_root.'usersc/css/'.basename($_SERVER['PHP_SELF'], '.php').'.css';
+ #echo "mycss=$mycss abs_us_root=$abs_us_root<br />\n";
+ if (file_exists($abs_us_root.$mycss)) {
+ echo "<link href=\"$mycss\" rel=\"stylesheet\">\n";
+ }
+ ?>
+
<!-- Your Custom CSS Goes Here!-->
<link href="<?=$us_url_root?><?=str_replace('../','',$settings->us_css3);?>" rel="stylesheet">
<!-- Custom Fonts -->
<link href="<?=$us_url_root?>users/fonts/css/font-awesome.min.css" rel="stylesheet" type="text/css">
+
+ <!-- Custom inline styles !-->
+ <?php
+ if (@$HeaderStyles) {
+ echo "<style>\n";
+ foreach ((array)$HeaderStyles as $style)
+ echo "$style\n";
+ echo "</style>\n";
+ }
+ ?>
</head>
<body>
===(snip)===
|
|
|
Images,Videos,Music uploading |
Posted by: Mekaboo - 08-17-2016, 06:55 PM - Forum: Off-topic Discussions
- Replies (14)
|
|
Hello US and thank you for all of your help! Have another question: Im trying to add thumbnails,music, and videos onto my profile page for my members. Do any of you know what php code is used for those? Once again THANK YOU to the great folks on here
Mekaboo
|
|
|
Userspice with Bluehost |
Posted by: Mekaboo - 08-12-2016, 06:10 PM - Forum: Off-topic Discussions
- Replies (3)
|
|
Hello folks I wondered how do I implement Userspice and PhP for that matter within my bluehost account? I would like to use this product for my site but I think that being bluehost is on a shared server that is why I cant get phpmyadmin, adminer etc to work. Please help thank you
|
|
|
|