Linux systems have a user called "nobody" in "nogroup" so it was a bit of a joke form that. I could just make the profile for itEcazS wrote:Or make a user called "nobody" and turn into a big joke
XHBB Very Alpha Testing
Re: XHBB Very Alpha Testing
Re: XHBB Very Alpha Testing
http://betterphp.co.uk/XHBB/?page=view_ ... d=16&tid=2bowersbros wrote:Cannot use the bbcode buttons to insert the code into the field (not sure if this is meant ot happen, but it would make it easier)
Re: XHBB Very Alpha Testing
Nicejacek wrote:http://betterphp.co.uk/XHBB/?page=view_ ... d=16&tid=2bowersbros wrote:Cannot use the bbcode buttons to insert the code into the field (not sure if this is meant ot happen, but it would make it easier)
Re: XHBB Very Alpha Testing
I just added a fairly big feature, could do with some testing
http://betterphp.co.uk/XHBB/?page=view_ ... p=1#post47
http://betterphp.co.uk/XHBB/?page=view_ ... p=1#post47
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: XHBB Very Alpha Testing
For images can you make a sort of 'thumbnail' preview?jacek wrote:I just added a fairly big feature, could do with some testing
http://betterphp.co.uk/XHBB/?page=view_ ... p=1#post47
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Re: XHBB Very Alpha Testing
maybe.bowersbros wrote:For images can you make a sort of 'thumbnail' preview?
Re: XHBB Very Alpha Testing
Lookin good.
I coded a pretty nice multi-image uploader with thumbnail previews when i was working on my old forum.
How do you plan to work (or how have you done) the whole viewed / unviewed threads?
I spent absolute hours trying to get my old one working, and ended up doing a table structured like so
user_id topic_id post_id death_time
Then reading and updating that lol.
I have however since figured out a better way to work this.
I coded a pretty nice multi-image uploader with thumbnail previews when i was working on my old forum.
How do you plan to work (or how have you done) the whole viewed / unviewed threads?
I spent absolute hours trying to get my old one working, and ended up doing a table structured like so
user_id topic_id post_id death_time
Then reading and updating that lol.
I have however since figured out a better way to work this.
Re: XHBB Very Alpha Testing
Currently I am logging the last read time for each topic. There is bug that needs fixing but it does work fairly well.
Also do the same thing for forums, so when you mark a forum as read, you can remove the rows from the topic_last_read table.
Also do the same thing for forums, so when you mark a forum as read, you can remove the rows from the topic_last_read table.
Re: XHBB Very Alpha Testing
ponder this for a moment if you will.
This is how i plan on producing the same effect on my new forum, without using a new table.
on your threads table, add a text field on the end of your table.
When a new thread is started, add the users ID into that field. When someone reads that new thread, their id is added onto the end of the text field deliminated by a comma. When you come to reading whether the thread has been read or not by said user, gather the content of the text field, explode it by commas and perform an if is in array check to deturmin whether the members id is in the there. If it is, post is read, if not, post is unread.
When a new reply is made, replace all the ids with only the new posters id back in there.
surely that has to be quicker than querying another table x amount of times looking to see whether a thread has been read.
Just food for thought
This is how i plan on producing the same effect on my new forum, without using a new table.
on your threads table, add a text field on the end of your table.
When a new thread is started, add the users ID into that field. When someone reads that new thread, their id is added onto the end of the text field deliminated by a comma. When you come to reading whether the thread has been read or not by said user, gather the content of the text field, explode it by commas and perform an if is in array check to deturmin whether the members id is in the there. If it is, post is read, if not, post is unread.
When a new reply is made, replace all the ids with only the new posters id back in there.
surely that has to be quicker than querying another table x amount of times looking to see whether a thread has been read.
Just food for thought
Re: XHBB Very Alpha Testing
I haven't tried it but I doubt that would be better. You don't want to be getting a list of all the users with every post
Also, the way I did it there is only one query I don't see why there would a need for any more.
Also, the way I did it there is only one query I don't see why there would a need for any more.
Re: XHBB Very Alpha Testing
You have to query for every thread being displayed as to whether its read or unread?, how do you manage that in a single query?
Re: XHBB Very Alpha Testing
mysql can so simple (and probably complex) maths so it works out if there have been new posts since the last visit.
for a topic this is pretty simple
for a topic this is pretty simple
SELECT `last_read_time` >= `last_post_time` AS `read` FROM `table`
Re: XHBB Very Alpha Testing
I tried with user = conradk and email = contact !! conradk.com.Either your username or email address is flagged as a spam account.
Weird. I have not been sending out spam or anything
Re: XHBB Very Alpha Testing
Search your username here http://www.stopforumspam.com/search.php looks like a spammer used it once.
For now pick a different username, for future, I will relax this check a little bit to require more than 10 entries or something.
For now pick a different username, for future, I will relax this check a little bit to require more than 10 entries or something.
Re: XHBB Very Alpha Testing
All I've got to say is F^CK to:jacek wrote:Search your username here http://www.stopforumspam.com/search.php looks like a spammer used it once.
For now pick a different username, for future, I will relax this check a little bit to require more than 10 entries or something.
gentile.bradley@freeemailservice.info 89.212.180.105 Slovenia
- Attachments
-
- Is that the freaking Slovenian guy ?! xD
- Screenshot.png (10.15 KiB) Viewed 2046 times
Re: XHBB Very Alpha Testing
Aha, I encountered the same problem with "Dylan";
Go figures though, it is a semi-common name; bound to be spammers out there with it.
Go figures though, it is a semi-common name; bound to be spammers out there with it.
Re: XHBB Very Alpha Testing
Perhaps not checking the username at all would be the best way then.
I think the IP is the most effective anyway.
I think the IP is the most effective anyway.
Re: XHBB Very Alpha Testing
For one thing, I haven't seen any captcha on your registration form. I would ad one, as this would bug spammers to make new accounts once banned...
An email confirmation on the other hand is what I find the most annoying when I try to register. And if someone wanted to spam, he could write a script that gets the confirmation link from your confirmation email and then make as many accounts as wanted. So I guess IP is the best solution.
An email confirmation on the other hand is what I find the most annoying when I try to register. And if someone wanted to spam, he could write a script that gets the confirmation link from your confirmation email and then make as many accounts as wanted. So I guess IP is the best solution.
Re: XHBB Very Alpha Testing
Mhm; especially as, if said person is looking to spam (and assuming the bot doing so is semi-intelligent) a username rejection would be a simple fix. Rejecting the IP, though not fool proof, is probably much more reliable.
Re: XHBB Very Alpha Testing
But they are such a pain rightconradk wrote:For one thing, I haven't seen any captcha on your registration form. I would ad one, as this would bug spammers to make new accounts once banned...
I want to find a solution that allows the user to register with minimal irritation, but will still prevent most spam accounts from registering. A epically massive blacklist may be that solution