<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[UserSpice - UserSpice 4.3 and Below]]></title>
		<link>https://userspice.com/forums/</link>
		<description><![CDATA[UserSpice - https://userspice.com/forums]]></description>
		<pubDate>Fri, 10 Apr 2026 22:09:00 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Understanding Forms]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1517</link>
			<pubDate>Mon, 10 Jun 2019 02:40:19 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=15420">kevmcc7</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1517</guid>
			<description><![CDATA[Hi, first off I want to say what an awesome platform you have here. Thank you so much for making this available.<br />
<br />
What I've been trying to do is create my own log in form. I understand the basics of UserSpice thanks to Dan's videos and reading other forum posts here, but I don't see anything about customizing the login page. I did use the Form Manager to customize a registration form and that was very simple to implement into my site. Is it possible to also create custom login forms? Or if I need to stick with UserSpice log in page, is it possible to ONLY use the login form? I've tried various implementations but can't seem to get it to play nice. I'd share my code, but I don't really have anything worth sharing this is more of a general question.<br />
<br />
Just looking for a yes or no answer (make sure I'm not wasting my time), and if there is anything already documented feel free to point me in that direction.<br />
<br />
Thanks a lot guys!]]></description>
			<content:encoded><![CDATA[Hi, first off I want to say what an awesome platform you have here. Thank you so much for making this available.<br />
<br />
What I've been trying to do is create my own log in form. I understand the basics of UserSpice thanks to Dan's videos and reading other forum posts here, but I don't see anything about customizing the login page. I did use the Form Manager to customize a registration form and that was very simple to implement into my site. Is it possible to also create custom login forms? Or if I need to stick with UserSpice log in page, is it possible to ONLY use the login form? I've tried various implementations but can't seem to get it to play nice. I'd share my code, but I don't really have anything worth sharing this is more of a general question.<br />
<br />
Just looking for a yes or no answer (make sure I'm not wasting my time), and if there is anything already documented feel free to point me in that direction.<br />
<br />
Thanks a lot guys!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Jquery url validation / Allow only specific urls]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1349</link>
			<pubDate>Tue, 19 Feb 2019 22:25:36 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=15052">Vtins</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1349</guid>
			<description><![CDATA[Hi<br />
how can i allow only links from specific urls?<br />
<br />
"https://www.youtube.com/watch?v="<br />
<br />
so user can only add youtube video urls ? <img src="https://userspice.com/forums/images/smilies/huh.png" alt="Huh" title="Huh" class="smilie smilie_17" /> <br />
<br />
jquery validation plugin have the rule "url"<br />
but thats not what i need..<br />
<br />
any ideas for me ?]]></description>
			<content:encoded><![CDATA[Hi<br />
how can i allow only links from specific urls?<br />
<br />
"https://www.youtube.com/watch?v="<br />
<br />
so user can only add youtube video urls ? <img src="https://userspice.com/forums/images/smilies/huh.png" alt="Huh" title="Huh" class="smilie smilie_17" /> <br />
<br />
jquery validation plugin have the rule "url"<br />
but thats not what i need..<br />
<br />
any ideas for me ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Old version of jq etc]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1316</link>
			<pubDate>Fri, 25 Jan 2019 04:55:19 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=15008">Aido</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1316</guid>
			<description><![CDATA[Hi,<br />
<br />
I used userspice 4.3 and met with the issue that it conflicts with other components i used on my pages.<br />
<br />
I meant jq version and some css files for example datatables.css<br />
So i had to make some manual changes... it is ok for me but please update all libraries to the last version in userspice 4.4<br />
<br />
Regards, Eugene]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I used userspice 4.3 and met with the issue that it conflicts with other components i used on my pages.<br />
<br />
I meant jq version and some css files for example datatables.css<br />
So i had to make some manual changes... it is ok for me but please update all libraries to the last version in userspice 4.4<br />
<br />
Regards, Eugene]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[I broke my pages]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1312</link>
			<pubDate>Tue, 22 Jan 2019 13:41:22 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=26">astropos</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1312</guid>
			<description><![CDATA[Hi, 4.3.26 on Ubuntu/Apache2<br />
<br />
Just wanted to check something (I'm spinning up another instance to test further while I type):<br />
<br />
I attempted to run a test system and live system off the same db - it seemed to work OK while I worked on it.<br />
The latest feature initially required an AJAX GET (just to bring in a list of comments). Whilst working on the subsequent AJAX POST, I noticed that the files called by AJAX were not being added to the pages table. Moreover, there were many entries in pages_permissions for pages that did not exist.<br />
<br />
The pages called by AJAX have a successful call to init and a call to a DB instance, and return data correctly.<br />
If I access these pages directly in my browser, I am prompted to secure them - but the pages table is not updated.<br />
<br />
<br />
Is this a result of the live/test 'stunt' or is it anything to do with calling by AJAX?<br />
<br />
cheers]]></description>
			<content:encoded><![CDATA[Hi, 4.3.26 on Ubuntu/Apache2<br />
<br />
Just wanted to check something (I'm spinning up another instance to test further while I type):<br />
<br />
I attempted to run a test system and live system off the same db - it seemed to work OK while I worked on it.<br />
The latest feature initially required an AJAX GET (just to bring in a list of comments). Whilst working on the subsequent AJAX POST, I noticed that the files called by AJAX were not being added to the pages table. Moreover, there were many entries in pages_permissions for pages that did not exist.<br />
<br />
The pages called by AJAX have a successful call to init and a call to a DB instance, and return data correctly.<br />
If I access these pages directly in my browser, I am prompted to secure them - but the pages table is not updated.<br />
<br />
<br />
Is this a result of the live/test 'stunt' or is it anything to do with calling by AJAX?<br />
<br />
cheers]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Stored Procedures / Routines + general US startup questions]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1309</link>
			<pubDate>Fri, 18 Jan 2019 17:05:36 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=15011">Developer_J</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1309</guid>
			<description><![CDATA[Hey Guys,<br />
<br />
I've just started a new project in the last few days and after researching user management frameworks decided on userspice (over userfrosting &lt;- too many requirements for hosting etc)... I simply cannot be bothered to readjust my admin framework for the nth time. <br />
<br />
I must say Its great how simplistic US is and how active the community and devs are, it's great. As promised, from downloading the zip it was roughly 15 mins before it was installed, set up and I could have started coding. I have been reading through the forums, docs, watching youtube vids and googling to get some insight and answers on US but the below are still unanswered so thought i'd say Hi and list a few if I may? (I don't usually do forums so please move me or separate my post if i'm in the wrong place).<br />
<br />
<br />
My <span style="font-weight: bold;" class="mycode_b">main query</span> regards <span style="font-weight: bold;" class="mycode_b">stored procedures (or routines</span> as they are called in phpmyadmin). I usually use PEAR to handle my db connections and emailing etc which had a handy way to call stored proc's. I was wondering if you have any function for this within US? I really don't like having any (my)sql in my php code and have not been able to find any documentation referencing to this whilst googling etc.<br />
<br />
<br />
Also whilst i'm here I have a few questions, mostly regarding the correct US way to do the following:<br />
<br />
1. I'm looking to allow for users to refer friends and track whom has referred who via a sign up url with a token/guid (ie ?ref={{referring user GUID}}). There may be some reward system to this at some point, which I can handle, but I wanted to know if there is anything already built in to US that could be a starting point or any existing functions I could use when creating this functionality? see question a). (I know i could simply look for the &#36;_GET['ref'] guid and store it in the session until the referred user signed up) <br />
<br />
1.a. I also need to collect extra information about the user during sign up, like say a users car. Am I able to just add columns to user table in DB (eg referral guid, referred by? / user inputted data - Your Car, address? etc) I would want this data to be included in &#36;user--&gt;data too.<br />
<br />
I guess this is a two part question: Can I safely modify/add to the users table and what would be the correct way to hook into the signup submit function to store this data? (would this be via usersc files &lt;- although i would prefer to add the data at time of adding basic info to table row)<br />
<br />
2. final one, for now, <img src="https://userspice.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> Not major but I noticed all user references are by ID={id}. Is there a way to change this to use another column? I like to create GUID's on signup and use these when publicly referencing a user account which can then get me the id for relational data table queries etc. <br />
<br />
<br />
I also noticed a minor issue, when updating a bio then returning to view_all_users list shows the bios with the html tags as text, I realize this may be intentional to restrict html breaking the page. (just realized on 4.3 not 4.4!!)<br />
<br />
<br />
Apologies for the wall of text, I'm a bit of a waffler. Looking forward to building this project on US.<br />
<br />
Cheers<br />
<br />
J]]></description>
			<content:encoded><![CDATA[Hey Guys,<br />
<br />
I've just started a new project in the last few days and after researching user management frameworks decided on userspice (over userfrosting &lt;- too many requirements for hosting etc)... I simply cannot be bothered to readjust my admin framework for the nth time. <br />
<br />
I must say Its great how simplistic US is and how active the community and devs are, it's great. As promised, from downloading the zip it was roughly 15 mins before it was installed, set up and I could have started coding. I have been reading through the forums, docs, watching youtube vids and googling to get some insight and answers on US but the below are still unanswered so thought i'd say Hi and list a few if I may? (I don't usually do forums so please move me or separate my post if i'm in the wrong place).<br />
<br />
<br />
My <span style="font-weight: bold;" class="mycode_b">main query</span> regards <span style="font-weight: bold;" class="mycode_b">stored procedures (or routines</span> as they are called in phpmyadmin). I usually use PEAR to handle my db connections and emailing etc which had a handy way to call stored proc's. I was wondering if you have any function for this within US? I really don't like having any (my)sql in my php code and have not been able to find any documentation referencing to this whilst googling etc.<br />
<br />
<br />
Also whilst i'm here I have a few questions, mostly regarding the correct US way to do the following:<br />
<br />
1. I'm looking to allow for users to refer friends and track whom has referred who via a sign up url with a token/guid (ie ?ref={{referring user GUID}}). There may be some reward system to this at some point, which I can handle, but I wanted to know if there is anything already built in to US that could be a starting point or any existing functions I could use when creating this functionality? see question a). (I know i could simply look for the &#36;_GET['ref'] guid and store it in the session until the referred user signed up) <br />
<br />
1.a. I also need to collect extra information about the user during sign up, like say a users car. Am I able to just add columns to user table in DB (eg referral guid, referred by? / user inputted data - Your Car, address? etc) I would want this data to be included in &#36;user--&gt;data too.<br />
<br />
I guess this is a two part question: Can I safely modify/add to the users table and what would be the correct way to hook into the signup submit function to store this data? (would this be via usersc files &lt;- although i would prefer to add the data at time of adding basic info to table row)<br />
<br />
2. final one, for now, <img src="https://userspice.com/forums/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> Not major but I noticed all user references are by ID={id}. Is there a way to change this to use another column? I like to create GUID's on signup and use these when publicly referencing a user account which can then get me the id for relational data table queries etc. <br />
<br />
<br />
I also noticed a minor issue, when updating a bio then returning to view_all_users list shows the bios with the html tags as text, I realize this may be intentional to restrict html breaking the page. (just realized on 4.3 not 4.4!!)<br />
<br />
<br />
Apologies for the wall of text, I'm a bit of a waffler. Looking forward to building this project on US.<br />
<br />
Cheers<br />
<br />
J]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to set the page shown after the user login]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1308</link>
			<pubDate>Fri, 18 Jan 2019 10:38:26 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=15008">Aido</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1308</guid>
			<description><![CDATA[Hi,<br />
<br />
now the user is redirected to users/account.php after the successful login<br />
How to change it?<br />
For example, I would like to keep the user on the home page?<br />
<br />
Eugene]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
now the user is redirected to users/account.php after the successful login<br />
How to change it?<br />
For example, I would like to keep the user on the home page?<br />
<br />
Eugene]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ReferenceError: Can't find variable: Fingerprint2]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1307</link>
			<pubDate>Fri, 18 Jan 2019 09:50:37 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=15008">Aido</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1307</guid>
			<description><![CDATA[Hi,<br />
I've just installed UserSpice and met the following error in JS console<br />
ReferenceError: Can't find variable: Fingerprint2<br />
it this line of the index.php<br />
new Fingerprint2().get(function(result, components)<br />
<br />
How to resolve it?<br />
<br />
Eugene]]></description>
			<content:encoded><![CDATA[Hi,<br />
I've just installed UserSpice and met the following error in JS console<br />
ReferenceError: Can't find variable: Fingerprint2<br />
it this line of the index.php<br />
new Fingerprint2().get(function(result, components)<br />
<br />
How to resolve it?<br />
<br />
Eugene]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Update path from 4.3.10 to 4.3.26]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1306</link>
			<pubDate>Thu, 17 Jan 2019 09:55:49 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=6156">gerald</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1306</guid>
			<description><![CDATA[I didn't update my local UserSpice installation for some time and I'm still running 4.3.10 on a localhost here.<br />
<br />
Is there a direct upgrade path to 4.3.26 or do I have to apply all 11 patches you published since that on updates page?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[I didn't update my local UserSpice installation for some time and I'm still running 4.3.10 on a localhost here.<br />
<br />
Is there a direct upgrade path to 4.3.26 or do I have to apply all 11 patches you published since that on updates page?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Starting Position]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1280</link>
			<pubDate>Sat, 22 Dec 2018 09:37:58 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=14980">abumottalib</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1280</guid>
			<description><![CDATA[<span style="font-size: x-small;" class="mycode_size">With this lesson, I want to discuss the starting position of the server, his job responsibilities and what he needs to be focused on and watching for as the point starts and progresses.</span><br />
<span style="font-size: x-small;" class="mycode_size">The server in doubles should serve from a wider position versus singles. <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><a href="https://www.activedevelopment.com/digital-marketing-tampa-florida/" target="_blank" rel="noopener" class="mycode_url">Starting Position</a></span></span> I prefer to see you stand a bit wider than midway between the center mark and the doubles line.</span><br />
<span style="font-size: x-small;" class="mycode_size">As soon as you serve, your responsibility would be to cover your share of the court and by starting here it should place you in position to do that with little recovery movement. Remember, it will always be safer to hit the ball back to where it originated from than change the direction of the ball. Therefore, the more you serve #StartingPosition wide the more you need to consider covering the wide angle return.</span><br />
<br />
<br />
<img src="https://activedevelopment.com/wp-content/uploads/2018/06/search-1.png" loading="lazy"  alt="[Image: search-1.png]" class="mycode_img" />]]></description>
			<content:encoded><![CDATA[<span style="font-size: x-small;" class="mycode_size">With this lesson, I want to discuss the starting position of the server, his job responsibilities and what he needs to be focused on and watching for as the point starts and progresses.</span><br />
<span style="font-size: x-small;" class="mycode_size">The server in doubles should serve from a wider position versus singles. <span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><a href="https://www.activedevelopment.com/digital-marketing-tampa-florida/" target="_blank" rel="noopener" class="mycode_url">Starting Position</a></span></span> I prefer to see you stand a bit wider than midway between the center mark and the doubles line.</span><br />
<span style="font-size: x-small;" class="mycode_size">As soon as you serve, your responsibility would be to cover your share of the court and by starting here it should place you in position to do that with little recovery movement. Remember, it will always be safer to hit the ball back to where it originated from than change the direction of the ball. Therefore, the more you serve #StartingPosition wide the more you need to consider covering the wide angle return.</span><br />
<br />
<br />
<img src="https://activedevelopment.com/wp-content/uploads/2018/06/search-1.png" loading="lazy"  alt="[Image: search-1.png]" class="mycode_img" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Issue after upgrade from 4.3.25 to 4.3.26]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1278</link>
			<pubDate>Fri, 21 Dec 2018 08:32:34 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=7197">baljee</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1278</guid>
			<description><![CDATA[Hi, i am running a dev server on Mamp and i updated the UserSpice core. I get this message:<br />
<br />
<span style="font-family: BioRhyme, serif;" class="mycode_font"><span style="color: #fce94f;" class="mycode_color"><span style="font-size: x-large;" class="mycode_size">( ! )</span></span> Notice: Undefined property: stdClass::&#36;dismissed in /Applications/MAMP/htdocs/userspice/users/admin.php on line <span style="font-style: italic;" class="mycode_i">708</span></span><br />
<br />
<span style="font-family: BioRhyme, serif;" class="mycode_font"><span style="font-style: italic;" class="mycode_i">What do i need to do to fix this? I can comment the line out but that doesn't seem appropriate.</span></span>]]></description>
			<content:encoded><![CDATA[Hi, i am running a dev server on Mamp and i updated the UserSpice core. I get this message:<br />
<br />
<span style="font-family: BioRhyme, serif;" class="mycode_font"><span style="color: #fce94f;" class="mycode_color"><span style="font-size: x-large;" class="mycode_size">( ! )</span></span> Notice: Undefined property: stdClass::&#36;dismissed in /Applications/MAMP/htdocs/userspice/users/admin.php on line <span style="font-style: italic;" class="mycode_i">708</span></span><br />
<br />
<span style="font-family: BioRhyme, serif;" class="mycode_font"><span style="font-style: italic;" class="mycode_i">What do i need to do to fix this? I can comment the line out but that doesn't seem appropriate.</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Page keeps Reloading]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1265</link>
			<pubDate>Fri, 14 Dec 2018 16:57:47 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=14881">KyleJ1445566</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1265</guid>
			<description><![CDATA[Hey,<br />
<br />
I have created a new dropdown menu and when I click on a link within the dropdown and once I am on that page and click to navigate some where else on the website, then the page that I was on just reloads.<br />
<br />
<br />
Any help would be appreciated and thanks in advance.]]></description>
			<content:encoded><![CDATA[Hey,<br />
<br />
I have created a new dropdown menu and when I click on a link within the dropdown and once I am on that page and click to navigate some where else on the website, then the page that I was on just reloads.<br />
<br />
<br />
Any help would be appreciated and thanks in advance.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Database connection unsuccessful]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1262</link>
			<pubDate>Thu, 13 Dec 2018 22:43:52 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=14968">patrickinmotion</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1262</guid>
			<description><![CDATA[<span style="font-size: medium;" class="mycode_size">1) On initial setup page everything else is green, except Display Errors: OFF. </span><br />
<br />
<span style="font-size: medium;" class="mycode_size">    How do I turn this on?</span><br />
<br />
<span style="font-size: medium;" class="mycode_size">2) </span><span style="font-size: medium;" class="mycode_size">When I click on "</span><span style="font-size: medium;" class="mycode_size">Test Settings" after putting all my database info in, it comes back saying </span><br />
<span style="font-size: medium;" class="mycode_size">Database connection <span style="color: red;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">unsuccessful</span></span>! Please try again. I created a blank database on AWS RDS and I have connected successfully to the database using Mysql Workbench. </span><br />
<br />
<span style="font-size: medium;" class="mycode_size">THanks</span>]]></description>
			<content:encoded><![CDATA[<span style="font-size: medium;" class="mycode_size">1) On initial setup page everything else is green, except Display Errors: OFF. </span><br />
<br />
<span style="font-size: medium;" class="mycode_size">    How do I turn this on?</span><br />
<br />
<span style="font-size: medium;" class="mycode_size">2) </span><span style="font-size: medium;" class="mycode_size">When I click on "</span><span style="font-size: medium;" class="mycode_size">Test Settings" after putting all my database info in, it comes back saying </span><br />
<span style="font-size: medium;" class="mycode_size">Database connection <span style="color: red;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">unsuccessful</span></span>! Please try again. I created a blank database on AWS RDS and I have connected successfully to the database using Mysql Workbench. </span><br />
<br />
<span style="font-size: medium;" class="mycode_size">THanks</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Conditional colour for notifications]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1260</link>
			<pubDate>Thu, 13 Dec 2018 10:42:14 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=14844">Moomintroll</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1260</guid>
			<description><![CDATA[Hi,<br />
I'm just reviewing a site that I sent live last week, and I wondered if there was a tweak that could be made to the Notifications code that would keep the bubble grey if the count was 0, but turn it to a different colour if the count was &gt;=1?<br />
This is the line in includes/navigation.php (I think):<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;li&gt;&lt;a href="#" onclick="displayNotifications('new')" id="notificationsTrigger" data-toggle="modal" data-target="#notificationsModal"  &gt;&lt;i class="fa fa-fw fa-bell"&gt;&lt;/i&gt; &lt;span id="notifCount" class="badge" style="margin-top: -5px; background-color: #FF0004;"&gt;&lt;?= (int)&#36;notifications-&gt;getUnreadCount(); ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></div></div>I added a background-color tag, but I'm not sure how to make it conditional and I'm not brave enough to do too much fiddling with a live site just yet...I'm afraid I'll break it!]]></description>
			<content:encoded><![CDATA[Hi,<br />
I'm just reviewing a site that I sent live last week, and I wondered if there was a tweak that could be made to the Notifications code that would keep the bubble grey if the count was 0, but turn it to a different colour if the count was &gt;=1?<br />
This is the line in includes/navigation.php (I think):<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;li&gt;&lt;a href="#" onclick="displayNotifications('new')" id="notificationsTrigger" data-toggle="modal" data-target="#notificationsModal"  &gt;&lt;i class="fa fa-fw fa-bell"&gt;&lt;/i&gt; &lt;span id="notifCount" class="badge" style="margin-top: -5px; background-color: #FF0004;"&gt;&lt;?= (int)&#36;notifications-&gt;getUnreadCount(); ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</code></div></div>I added a background-color tag, but I'm not sure how to make it conditional and I'm not brave enough to do too much fiddling with a live site just yet...I'm afraid I'll break it!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Exclude users from view_all_users]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1255</link>
			<pubDate>Wed, 05 Dec 2018 19:30:05 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=14844">Moomintroll</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1255</guid>
			<description><![CDATA[Is there a way to exclude certain users from the results shown on the view_all_users page?<br />
<br />
I've looked over the site using various search terms but nothing seems to address the issue. <br />
<br />
I need this for two reasons: <br />
<br />
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.<br />
<br />
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).<br />
<br />
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. <br />
<br />
I've found these lines:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36;userQ = &#36;db-&gt;query("SELECT * FROM users LEFT JOIN profiles ON users.id = user_id ");<br />
// group active, inactive, on naughty step<br />
&#36;users = &#36;userQ-&gt;results();</code></div></div>...but I'm not sure what they're doing.<br />
<br />
Cheers in advance!]]></description>
			<content:encoded><![CDATA[Is there a way to exclude certain users from the results shown on the view_all_users page?<br />
<br />
I've looked over the site using various search terms but nothing seems to address the issue. <br />
<br />
I need this for two reasons: <br />
<br />
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.<br />
<br />
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).<br />
<br />
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. <br />
<br />
I've found these lines:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36;userQ = &#36;db-&gt;query("SELECT * FROM users LEFT JOIN profiles ON users.id = user_id ");<br />
// group active, inactive, on naughty step<br />
&#36;users = &#36;userQ-&gt;results();</code></div></div>...but I'm not sure what they're doing.<br />
<br />
Cheers in advance!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Trying to update form data but getting an extra row]]></title>
			<link>https://userspice.com/forums/showthread.php?tid=1240</link>
			<pubDate>Thu, 22 Nov 2018 09:43:45 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://userspice.com/forums/member.php?action=profile&uid=14922">ohiggins</a>]]></dc:creator>
			<guid isPermaLink="false">https://userspice.com/forums/showthread.php?tid=1240</guid>
			<description><![CDATA[Hi,<br />
<br />
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?<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;?php<br />
require_once 'init.php';<br />
require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/header.php';<br />
require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/navigation.php';<br />
if(!empty(&#36;_POST)){<br />
&#36;response = preProcessForm();<br />
if(&#36;response['form_valid'] == true){<br />
//do something here after the form has been validated<br />
&#36;response['fields']['user_id']=&#36;user-&gt;data()-&gt;id;<br />
&#36;response = postProcessForm(&#36;response);<br />
}<br />
}<br />
?&gt;<br />
<br />
&lt;?php if (!securePage(&#36;_SERVER['PHP_SELF'])){die();} ?&gt;<br />
&lt;?php<br />
?&gt;<br />
&lt;div id="page-wrapper"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="container-fluid"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="row"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="col-sm-12"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;usFormUpdate = 6; //The row you want to update<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;options['update'] = &#36;usFormUpdate;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//then call your form with<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;displayform('session',['update'=&gt;6]);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;?&gt;&lt;p&gt;&lt;/p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt; &lt;!-- /.col --&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt; &lt;!-- /.row --&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt; &lt;!-- /.container --&gt;<br />
&lt;/div&gt; &lt;!-- /.wrapper --&gt;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- footers --&gt;<br />
&lt;?php require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?&gt;<br />
<br />
&lt;!-- Place any per-page javascript here --&gt;<br />
<br />
&lt;?php require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/html_footer.php'; // currently just the closing /body and /html ?&gt;</code></div></div>]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
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?<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;?php<br />
require_once 'init.php';<br />
require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/header.php';<br />
require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/navigation.php';<br />
if(!empty(&#36;_POST)){<br />
&#36;response = preProcessForm();<br />
if(&#36;response['form_valid'] == true){<br />
//do something here after the form has been validated<br />
&#36;response['fields']['user_id']=&#36;user-&gt;data()-&gt;id;<br />
&#36;response = postProcessForm(&#36;response);<br />
}<br />
}<br />
?&gt;<br />
<br />
&lt;?php if (!securePage(&#36;_SERVER['PHP_SELF'])){die();} ?&gt;<br />
&lt;?php<br />
?&gt;<br />
&lt;div id="page-wrapper"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="container-fluid"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="row"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="col-sm-12"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;usFormUpdate = 6; //The row you want to update<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#36;options['update'] = &#36;usFormUpdate;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//then call your form with<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;displayform('session',['update'=&gt;6]);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;?&gt;&lt;p&gt;&lt;/p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt; &lt;!-- /.col --&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt; &lt;!-- /.row --&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt; &lt;!-- /.container --&gt;<br />
&lt;/div&gt; &lt;!-- /.wrapper --&gt;<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- footers --&gt;<br />
&lt;?php require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?&gt;<br />
<br />
&lt;!-- Place any per-page javascript here --&gt;<br />
<br />
&lt;?php require_once &#36;abs_us_root.&#36;us_url_root.'users/includes/html_footer.php'; // currently just the closing /body and /html ?&gt;</code></div></div>]]></content:encoded>
		</item>
	</channel>
</rss>