Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 382 online users. » 0 Member(s) | 380 Guest(s) Bing, Google
|
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
|
|
|
HI, I am Geraldo Junior |
Posted by: juniorghr - 07-05-2017, 04:32 PM - Forum: New to UserSpice?
- Replies (1)
|
|
Hi everywhere!!!
I am Geraldo Junior, Brazilian and beginner in PHP programming. I accidentally found the UserSpice website and fell in love, it increases the chances of creating a clean and efficient code and allows me to save hours and hours of hard work! I hope to continue to use it throughout my career.
|
|
|
Retrieving details from a Database to table |
Posted by: sire - 07-05-2017, 05:26 AM - Forum: Documentation
- Replies (20)
|
|
im trying to Retrieve details from customers Database and display a simple table
i spent a few weeks on trying to make it work with the standards for userspice
(thus im asking help)
Code: $db = new PDO( 'mysql:host=localhost;dbname=my_database', $user, $pass );
Code: $sql = "SELECT * FROM customers";
Code: $query = $db->prepare( $sql );
Code: $results = $query->fetchAll( PDO::FETCH_ASSOC );
Code: <table class="table">
Code: <?php foreach( $results as $row ){
Code: echo $row['first_name'];
Code: echo $row['surname'];
Code: echo $row['address'];
|
|
|
Profile View |
Posted by: faguss - 07-04-2017, 04:16 PM - Forum: Modifications and Hackery
- No Replies
|
|
profile.php, view_all_users.php
EDIT: if you're using Brandin's Messaging System Mods then use these files instead.
- Pages are linked by username rather than by id
- Join and login dates are displayed
- Bio font is normal size rather than huge
- Google avatar is used and with consistent size
- Added link to G+ profile
- Added button to message user
By the way, could you pull something from Google as a bio rather than using "This is your bio"?
|
|
|
Tomfoolery Addition |
Posted by: jdmfarms - 07-03-2017, 08:01 PM - Forum: Modifications and Hackery
- No Replies
|
|
Hello again. This is just a quick recommendation to add to the next patch or two.
On the tomfoolery.php file line 87, please consider changing it to the following:
Code: <td><a href="http://abuseipdb.com/whois/<?=$m->ip?>" target="blank"><?=$m->ip?></a></td>
I did on my version just for ease of checking the ip out. If this document gets updated for other reasons during patches, it will require us to have to add it back unless you code it into it for us.
Also, thanks to you guys, I have my htaccess blocking spiders in certain directories which has slowed the tomfoolery down.
Thanks.
|
|
|
< in Passwords |
Posted by: Brandin - 07-03-2017, 06:33 PM - Forum: UserSpice 4.3 and Below
- Replies (13)
|
|
Hello!
I have found out that special character in the password fields on the registration form does not work...thoughts? I haven't tried but need this fixed ASAP for a user.
Thank you!
|
|
|
Adding more data to user profiles |
Posted by: billchopher - 07-03-2017, 10:07 AM - Forum: Off-topic Discussions
- Replies (1)
|
|
Is there a built in way to add more colums to a users profile? and then making that data editable by admin and only viewable and not editable by the user? Or does it have to be done by adding the colums to the database in the profile table in phpMyadmin and then writing all the php in the profile page?
|
|
|
|