176

(54 replies, posted in Feature requests)

Rickard wrote:

Fact is that most people don't even edit their profile options at all

yes, about that - how about after you register, you get sent directly to the profile page? (or the activation link sends you there, depending on wether you have e-mail verification switched on) ... if people notice from the start that the profile page is there, they might bother filling it in? smile

Rickard wrote:

and I'm betting the number of people who insist on having their e-mail address visible is very very small.

yes, because it's not safe.

177

(43 replies, posted in PunBB 1.2 discussion)

But if the code and layout were separated, mods would be for functionality, e.g. for code, not for layout? so a mod would be no different from before, except it would come with a layout example, from which you could then copy/paste into your own layout files.

The only real reason why you've got mods now that change the layout, is because the layout isn't separate from the code - if they were separate, anyone could easily change the layout any way they wanted, without needing a mod to do it...

or not?

178

(43 replies, posted in PunBB 1.2 discussion)

I hear that - for example, I would like less information in the userinfo displayed next to each post, but the only way to achieve that is to edit the code, which means upgrading will be difficult.

Rickard, have you thought about separating the code from the layout? Separation is good - if you provide code and layout/formatting in separate scripts, people will be able to change the looks of things without having to zigzag around the code, and without worrying if they'll be able to upgrade easily...

179

(43 replies, posted in PunBB 1.2 discussion)

Sounds good, as long as it's still easy to customize. But of course, if it's pure CSS, it will be smile

180

(54 replies, posted in Feature requests)

The current solution is 100% perfect, yeah - for the spammers, not for the users.

Rather than looking for an argument to ignore the problem, I choose to look for solutions.

181

(54 replies, posted in Feature requests)

Actually, it's more like 8%, but good point wink

How about using the <NOSCRIPT> tag together with the JavaScript, and display the e-mail address for those 6% without using "mailto:" - at least that way, everyone will see the e-mail address, only those few without JavaScript will have to manually copy the e-mail address into their mailer. Something like this:

<SCRIPT>
email='<A HREF="mail'+'to:'+'someone_at_somewhere.com">someone_at_somewhere.com</A>';
document.write(email.replace(/_at_/gi, '@'))
</SCRIPT> 
<NOSCRIPT>
<FONT>someone</FONT>@<FONT>somewhere</FONT>.com
</NOSCRIPT>

This should be safe against most harvesters, I bet for the most part they won't be clever enough to remove HTML code and decode numbered entities before parsing for e-mail addresses.

Additionally, you could HREF the e-mail address in the <NOSCRIPT> tag to the user's PROFILE page, and in a <NOSCRIPT> tag on the profile page, next to the e-mail address, you could put a short explanation like:

"This e-mail address could not be safely displayed as a link, because your browser does not support JavaScript - please select and copy the e-mail address into your e-mail application manually."

It's only a 92% perfect solution, but it's better than ignoring the fact that 50% of the world's e-mail is spam, isn't it? wink

182

(43 replies, posted in PunBB 1.2 discussion)

chacmool: it would have been, except since I had to use HTML and templates before to create the layout/design integration, I also changed a lot of stuff that isn't possible with CSS...

but anyways, if you ask me, punBB outrules miniBB in just about every way wink

183

(54 replies, posted in Feature requests)

also, being able to safely display your email address would just be nice, wouldn't it? smile

184

(54 replies, posted in Feature requests)

Rickard wrote:

The reason I don't like it is because you can't make mailto: links that actually work the way they are supposed to. People will have to edit the To field in their e-post software.

huh?

look here, works fine:

http://www.synapse-audio.com/contact.php

Rickard wrote:

People who choose to have their e-mail address visible (it's not the default setting) do so at their own "risk".

yes, that's the problem - not all users are aware of the risk.

185

(3 replies, posted in PunBB 1.2 discussion)

well, then:

$displayedname = $realname != '' ? $realname : $username

that's not really important anyways, keep the username for all I care - my point was that the username should be displayed together with the password, so that the user doesn't have to guess smile

186

(43 replies, posted in PunBB 1.2 discussion)

I hope you're joking? PunBB seems to be already really neatly CSS'ed??

187

(3 replies, posted in PunBB 1.2 discussion)

The password recovery e-mail can be a little confusing for users who have somehow managed to forget their username - to them, it'll look as if the password recovery function doesn't work at all.

I would suggest changing the password recovery e-mail, so that instead of "Hello Username" it would start out "Hello Realname" - users don't expect to find their username at the beginning of a letter like that. Instead, add the username on the line before the password, "Your username is: xxxx".

188

(54 replies, posted in Feature requests)

E-mail harvesters are collecting users' email addresses from the mailto links on the profile pages! What I usually do is, on the server side, replace the @ in the e-mail address with "_at_" (or some other symbol), and then replace it back in JavaScript, outputting something like this:

<SCRIPT>email='<A HREF="mail'+'to:'+'someone_at_somewhere.com">someone_at_somewhere.com</A>'; document.write(email.replace(/_at_/gi, '@'))</SCRIPT>

Most browsers will be able to display this correctly - meanwhile, the e-mail harvesters will have problems, as they look only at the source HTML without first running the scripts. I have been using this method since over two years now to cloak e-mail addresses on various sites, and it's been incredibly effective smile

189

(43 replies, posted in PunBB 1.2 discussion)

...er, that was in reply to Chacmool's post on the PREVIOUS page saying "miniBB is not that different from punBB".

okay, so it would be good if the list of latest posts on the punBB frontpage would actually link to the last page of a thread, thus SHOWING the latest post when you click - somewhat confusing wink

190

(43 replies, posted in PunBB 1.2 discussion)

well, miniBB was hard to customize visually, and is also a lot more difficult to integrate than punBB.

but my biggest reason for abandoning miniBB, is that I configured and installed miniBB v1.6, and then they updated it to v1.7, but they totally changed the entire layout implementation, to using more CSS - which in itself is good, but makes it straight out impossible to upgrade... if I want to upgrade to v1.7, I will have to do the entire visual customization from the ground up again! sad

who knows if when they update again, will they make me do everything over again? I just don't have time for that.

plus if I have to do the whole thing over again, now that I know punBB and realize that it is the perfect incarnation of the bullettin board, why not simply switch? smile

191

(27 replies, posted in PunBB 1.2 troubleshooting)

Frank H wrote:

You have indexes that take up space aswell ... looks like this for me

er, yes, but surely your indexes don't get dumped - those are reconstructed as the exported SQL statements execute back into the database, if you have to restore it.

of course if you're talking about the filesize of the binaries on your hard drive, then yes. but most people don't back those up directly, since you can't do so without first stopping your server.

192

(27 replies, posted in PunBB 1.2 troubleshooting)

how come the records in forums_search_matches are almost 30 bytes each? it only contains two integers and a tiny, so it shouldn't be more than 9 bytes or so?

although if you dump your tables as flat text files, the size makes sense ... isn't there some way to back up in binary with mysql instead of dumping as textfiles?

hmm...

193

(43 replies, posted in PunBB 1.2 discussion)

thanks Chacmool, I'll bring it home and take it for a test spin smile

and yes, I can do the icons thing myself, the interests/text thing should be pretty easy too, I just think it would be a good idea if these were integrated into the standard distribution - if that's possible, I would be happy to fully document any changes made, so that they would be easy for the developers to copy/paste into their version.

194

(43 replies, posted in PunBB 1.2 discussion)

hello,

I'm fairly new to PunBB, been playing with it for a few days, and I am totally taken by it's awesome simplicity and elegance smile

I too am planning to move a forum from miniBB to punBB - where can I get the conversion script? the server listed above appears to be down.

I did start planning my own converter already, so I'll post below what I discovered so far (the relationships between the tables in miniBB and punBB) in case that's useful - maybe I can help to complete the script...

the following may look broken if the lines break up - copy/paste into a text editor with NO wordwrap!

PunBB                                                       MiniBB
==========================================================  ========================================================== 
punbb_forums                                                minibb_forums
.id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT                `forum_id` int(10) NOT NULL auto_increment
.forum_name VARCHAR(80) NOT NULL DEFAULT 'New forum'        `forum_name` varchar(150) NOT NULL default ''
.forum_desc TEXT DEFAULT NULL                               `forum_desc` text NOT NULL
.moderators TEXT DEFAULT NULL                               NULL
.num_topics MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0'      SELECT Count(topic_id) AS num_topics FROM minibb_topics WHERE forum_id = $forum_id
.num_posts MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0'       SELECT Count(post_id) AS num_posts FROM minibb_posts WHERE forum_id = $forum_id
.last_post INT(10) UNSIGNED DEFAULT NULL                    SELECT post_time FROM minibb_posts WHERE forum_id = $forum_id ORDER BY post_time DESC LIMIT 1
.last_post_id INT(10) UNSIGNED DEFAULT NULL                 SELECT post_id FROM minibb_posts WHERE forum_id = $forum_id ORDER BY post_time DESC LIMIT 1
.last_poster VARCHAR(200) DEFAULT NULL                      SELECT poster_name FROM minibb_posts WHERE forum_id = $forum_id ORDER BY post_time DESC LIMIT 1
.closed TINYINT(1) NOT NULL DEFAULT '0'                     0
.admmod_only TINYINT(1) NOT NULL DEFAULT '0'                0
.disp_position INT(10) NOT NULL DEFAULT '0'                 `forum_order` int(10) NOT NULL default '0'
.cat_id INT(10) UNSIGNED NOT NULL DEFAULT '0'               1
                                                            `forum_icon` varchar(255) NOT NULL default 'default.gif'
----------------------------------------------------------  ----------------------------------------
punbb_topics                                                minibb_topics
.id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT                `topic_id` int(10) NOT NULL auto_increment
.poster VARCHAR(200) NOT NULL DEFAULT ''                    SELECT username FROM minibb_users WHERE user_id = $topic_poster // if no records or username is NULL then set poster = 'Guest'
.subject VARCHAR(255) NOT NULL DEFAULT ''                   `topic_title` varchar(100) NOT NULL default ''
.posted INT(10) UNSIGNED NOT NULL DEFAULT '0'               `topic_time` datetime NOT NULL default '0000-00-00 00:00:00'
.last_post INT(10) UNSIGNED NOT NULL DEFAULT '0'            SELECT post_time FROM minibb_posts WHERE topic_id = $topic_id ORDER BY post_time DESC LIMIT 1
.last_post_id INT(10) UNSIGNED NOT NULL DEFAULT '0'         `topic_last_post_id` int(10) NOT NULL default '1'
.last_poster VARCHAR(200) DEFAULT NULL                      SELECT poster_id FROM minibb_posts WHERE topic_id = $topic_id ORDER BY post_time DESC LIMIT 1
.num_views MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0'       `topic_views` int(10) NOT NULL default '0'
.num_replies MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0'     SELECT Count(post_id) AS num_replies FROM minibb_posts WHERE topic_id = $topic_id
.closed TINYINT(1) NOT NULL DEFAULT '0'                     (`topic_status` && 1) == 0 ? 1 : 0
.sticky TINYINT(1) NOT NULL DEFAULT '0'                     (`topic_status` && 8) == 8 ? 1 : 0
.moved_to INT(10) UNSIGNED DEFAULT NULL                     NULL
.forum_id INT(10) UNSIGNED NOT NULL DEFAULT '0'             `forum_id` int(10) NOT NULL default '1'
                                                            `topic_poster` int(10) NOT NULL default '0'
----------------------------------------------------------  ----------------------------------------
punbb_posts                                                 minibb_posts
.id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT                `post_id` int(11) NOT NULL auto_increment
.poster VARCHAR(200) NOT NULL DEFAULT ''                    `poster_name` varchar(40) NOT NULL default 'Anonymous' // if 'Anonymous' make it 'Guest'
.poster_id INT(10) UNSIGNED NOT NULL DEFAULT '1'            `poster_id` int(10) NOT NULL default '0'
.poster_ip VARCHAR(15) DEFAULT NULL                         `poster_ip` varchar(15) NOT NULL default ''
.poster_email VARCHAR(50) DEFAULT NULL                      SELECT user_email FROM minibb_users WHERE user_id = $poster_id
.message TEXT NOT NULL DEFAULT ''                           `post_text` text NOT NULL // detect tags and replace with regular smilies: <img src="http://www.synapse-audio.com/forum/img/emos/grin.gif" border="0" align="" alt="">
.smilies TINYINT(1) NOT NULL DEFAULT '1'                    1
.posted INT(10) UNSIGNED NOT NULL DEFAULT '0'               `post_time` datetime NOT NULL default '0000-00-00 00:00:00'
.edited INT(10) UNSIGNED DEFAULT NULL                       NULL
.edited_by VARCHAR(200) DEFAULT NULL                        NULL
.topic_id INT(10) UNSIGNED NOT NULL DEFAULT '0'             `topic_id` int(10) NOT NULL default '1'
                                                            `forum_id` int(10) NOT NULL default '1'
                                                            `post_status` tinyint(1) NOT NULL default '0'
----------------------------------------------------------  ----------------------------------------
punbb_subscriptions                                         minibb_send_mails
.user_id INT(10) UNSIGNED NOT NULL DEFAULT '0'              `user_id` int(10) NOT NULL default '1'
.topic_id INT(10) UNSIGNED NOT NULL DEFAULT '0'             `topic_id` int(10) NOT NULL default '1'
                                                            `id` int(11) NOT NULL auto_increment
----------------------------------------------------------  ----------------------------------------
punbb_users                                                 minibb_users
.id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT                `user_id` int(10) NOT NULL auto_increment
.username VARCHAR(200) NOT NULL DEFAULT ''                  `username` varchar(40) NOT NULL default ''
.password VARCHAR(40) NOT NULL DEFAULT ''                   `user_password` varchar(32) NOT NULL default ''
.email VARCHAR(50) NOT NULL DEFAULT ''                      `user_email` varchar(50) NOT NULL default ''
.title VARCHAR(50) DEFAULT NULL                             `user_occ` varchar(100) NOT NULL default ''
.realname VARCHAR(40) DEFAULT NULL                          NULL
.url VARCHAR(100) DEFAULT NULL                              `user_website` varchar(100) NOT NULL default ''
.icq VARCHAR(12) DEFAULT NULL                               `user_icq` varchar(15) NOT NULL default ''
.msn VARCHAR(50) DEFAULT NULL                               NULL
.aim VARCHAR(20) DEFAULT NULL                               NULL
.yahoo VARCHAR(20) DEFAULT NULL                             NULL
.location VARCHAR(30) DEFAULT NULL                          `user_from` varchar(100) NOT NULL default '' // crop to 30 chars
.use_avatar TINYINT(1) NOT NULL DEFAULT '0'                 0
.signature TEXT DEFAULT NULL                                NULL
.disp_topics TINYINT(3) UNSIGNED DEFAULT NULL               NULL
.disp_posts TINYINT(3) UNSIGNED DEFAULT NULL                NULL
.email_setting TINYINT(1) NOT NULL DEFAULT '1'              `user_viewemail` tinyint(1) NOT NULL default '0'
.save_pass TINYINT(1) NOT NULL DEFAULT '1'                  1
.notify_with_post TINYINT(1) NOT NULL DEFAULT '0'           0
.smilies TINYINT(1) NOT NULL DEFAULT '1'                    1
.show_img TINYINT(1) NOT NULL DEFAULT '1'                   1
.show_avatars TINYINT(1) NOT NULL DEFAULT '1'               0
.show_sig TINYINT(1) NOT NULL DEFAULT '1'                   1
.link_to_new_win TINYINT(1) NOT NULL DEFAULT '1'            1
.timezone TINYINT(2) NOT NULL DEFAULT '0'                   0
.style VARCHAR(25) NOT NULL DEFAULT 'Oxygen'                'Synapse'
.num_posts INT(10) UNSIGNED NOT NULL DEFAULT '0'            SELECT Count(post_id) AS num_posts FROM minibb_posts WHERE poster_id = $user_id
.status TINYINT(1) NOT NULL DEFAULT '-1'                    0
.last_post INT(10) UNSIGNED DEFAULT NULL                    SELECT post_time FROM minibb_posts WHERE poster_id = $user_id ORDER BY post_time DESC LIMIT 1 
.registered INT(10) UNSIGNED NOT NULL DEFAULT '0'           `user_regdate` datetime NOT NULL default '0000-00-00 00:00:00'
.last_visit INT(10) UNSIGNED NOT NULL DEFAULT '0'           `user_regdate` datetime NOT NULL default '0000-00-00 00:00:00'
.last_action INT(10) UNSIGNED NOT NULL DEFAULT '0'          0
.admin_note VARCHAR(30) DEFAULT NULL                        NULL
.activate_string VARCHAR(50) DEFAULT NULL                   NULL
.activate_key VARCHAR(8) DEFAULT NULL                       NULL
                                                            `user_interest` varchar(150) NOT NULL default ''
                                                            `user_newpwdkey` varchar(32) NOT NULL default ''
                                                            `user_newpasswd` varchar(32) NOT NULL default ''
                                                            `user_sorttopics` tinyint(1) NOT NULL default '1'
----------------------------------------------------------  ----------------------------------------

NOTES

I need to figure out how to convert from the datetime type used in miniBB, to the
integer timestamp (standard unix timestamp??) used in punBB.

two features I'd like to see added to punBB:

punbb_forums.forumicon really needs to be added - it's a feature that doesn't cost any processing time, and it's something useful that almost every forum has. My pretty icons that I made for miniBB would be lost otherwise.

punbb_users.interests really should be added too - it's a useful feature that most users really appreciate, and it's a great opportunity for users to say something about themselves and get to know each other. Maybe this could be simply be called "profile text", have it support BBcode, and present it on the user's profile form as the place where s/he can put whatever information they'd like to share, such as their interests - when converting from miniBB, we could add "interests:" in boldface in this field before copying user_interest there.

if I make such enhancements for punBB, is there a chance these features could be integrated into the "official" punBB by the developers? having to install mods or addons for such minor feature would be a drag for most users, I think... wink