26

(9 replies, posted in PunBB 1.3 troubleshooting)

You don't have to go to db for changing admin to regular user.

Administration > Users > Searchers > search for user > check user you want to change > change group

Although it would be nice, if it could be done from regular "User > Administration" :-)

27

(1 replies, posted in PunBB 1.3 discussion)

Hi,

it's in ./register.php, line 212 (function random_key is in ./include/functions.php)  wink

28

(1 replies, posted in Discussions)

No, there isn't possible to relog while in maintenance mode, but you may switch off the maintenance mode manually. Just find row "o_maintenance" in table punbb_config in your database and switch it to 0. And delete files in your ./cache folder  wink

29

(2 replies, posted in PunBB 1.3 troubleshooting)

IMO it seems, that this isn't targeted attack against your site (or PunBB), but because of the amount of attacks it might be a virus of some kind (for example one that infects your computer, takes your stored FTP passwords and then changes all the index files on your site), or hacking the server itself.

30

(11 replies, posted in Development)

Looks kinda strange to see 1.2 colors on new Oxygen style, but I'm sure I'll get used to it smile Although I think it would be welcomed if you issued the "classic" 1.3 skin (well, or colors actualy big_smile) as another downloadable skin smile

Or you may change it in database (table extension_hooks) and delete cache files (cache_hooks.php)  smile

32

(5 replies, posted in Development)

Thx, tested it.

Noticed one error - After forum update the 'avatar' field in table users is set to default => no avatar. IMO it should be handled in db_update.php. Also I believe more appropriate name for the column would be 'avatar_type' now, although it isn't that important...

33

(8 replies, posted in Discussions)

Send me (or here) the .txt file and I'll try to write a script for that ;-)

34

(8 replies, posted in Discussions)

I meant structure of your former BB big_smile

35

(8 replies, posted in Discussions)

Well, it shouldn't be that hard to put together a script for that imo. Just give me the structure of users table  wink

And with the second problem - delete the '#' from <h2> and it should work smile

Lutherross3 wrote:

<h2 id="#addus" class="hn"><span><?php echo $lang_admin_add_user['Add user'] ?></span></h2>

36

(6 replies, posted in Development)

http://i880.photobucket.com/albums/ac5/ConnieTalbotForum/smilies/qip/thumbsup.gif

Just installed to localhost and will provide some feedback soon. Thanks for working on PunBB  smile

37

(7 replies, posted in PunBB 1.3 extensions)

Yup, I read it on Twitter as well, but I believe it's the first "major" down of SFS so I don't think it's "that needed" to have a backup system...

//Aka, lazy programmer  big_smile

Sitespeedforum have hidden whole <div> containing that info. You may do it as well, although it would be nice if you didn't so the info "Powered by PunBB" would stay there.

But if you really want to do that you may do so in css by adding this
[code=css]#brd-about {display: none;}[/code]

to your css file (probably located in ./style/Oxygen/oxygen.css)

39

(7 replies, posted in Development)

Wow, nice job dima!

Just a little feedback:

In demo forum posts are ordered from newest to latest that is feature or bug?
Links should IMO have underline effect. It's standard and I think we should keep it smile
BTW are you planning on using media-queries? I'm not that experienced with them, but I think it would be quite easy to create mobile style with them.

Hi, try to delete files in cache folder and then check Administration  smile

Well, that's quite a big problem big_smile You should ask your hosting provider whether he can give you your database backup (most of them do that for free or just a little money), because otherwise you will lose all your users' accounts. (True, you may change the IDs to the old ones after they register, but that might be kinda hard (depends on size of your forum)).

Anyway, this code should create the table with 2 users - Guest and FCKeMo (with admin rights) and pass 123456

[code=sql]
-- Adminer 3.2.0 MySQL dump

SET NAMES utf8;
SET foreign_key_checks = 0;
SET time_zone = 'SYSTEM';
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';

DROP TABLE IF EXISTS `punbb_users`;
CREATE TABLE `punbb_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `group_id` int(10) unsigned NOT NULL DEFAULT '3',
  `username` varchar(200) NOT NULL DEFAULT '',
  `password` varchar(40) NOT NULL DEFAULT '',
  `salt` varchar(12) DEFAULT NULL,
  `email` varchar(80) NOT NULL DEFAULT '',
  `title` varchar(50) DEFAULT NULL,
  `realname` varchar(40) DEFAULT NULL,
  `url` varchar(100) DEFAULT NULL,
  `jabber` varchar(80) DEFAULT NULL,
  `icq` varchar(12) DEFAULT NULL,
  `msn` varchar(80) DEFAULT NULL,
  `aim` varchar(30) DEFAULT NULL,
  `yahoo` varchar(30) DEFAULT NULL,
  `location` varchar(30) DEFAULT NULL,
  `signature` text,
  `disp_topics` tinyint(3) unsigned DEFAULT NULL,
  `disp_posts` tinyint(3) unsigned DEFAULT NULL,
  `email_setting` tinyint(1) NOT NULL DEFAULT '1',
  `notify_with_post` tinyint(1) NOT NULL DEFAULT '0',
  `auto_notify` tinyint(1) NOT NULL DEFAULT '0',
  `show_smilies` tinyint(1) NOT NULL DEFAULT '1',
  `show_img` tinyint(1) NOT NULL DEFAULT '1',
  `show_img_sig` tinyint(1) NOT NULL DEFAULT '1',
  `show_avatars` tinyint(1) NOT NULL DEFAULT '1',
  `show_sig` tinyint(1) NOT NULL DEFAULT '1',
  `access_keys` tinyint(1) NOT NULL DEFAULT '0',
  `timezone` float NOT NULL DEFAULT '0',
  `dst` tinyint(1) NOT NULL DEFAULT '0',
  `time_format` int(10) unsigned NOT NULL DEFAULT '0',
  `date_format` int(10) unsigned NOT NULL DEFAULT '0',
  `language` varchar(25) NOT NULL DEFAULT 'English',
  `style` varchar(25) NOT NULL DEFAULT 'Oxygen',
  `num_posts` int(10) unsigned NOT NULL DEFAULT '0',
  `last_post` int(10) unsigned DEFAULT NULL,
  `last_search` int(10) unsigned DEFAULT NULL,
  `last_email_sent` int(10) unsigned DEFAULT NULL,
  `registered` int(10) unsigned NOT NULL DEFAULT '0',
  `registration_ip` varchar(39) NOT NULL DEFAULT '0.0.0.0',
  `last_visit` int(10) unsigned NOT NULL DEFAULT '0',
  `admin_note` varchar(30) DEFAULT NULL,
  `activate_string` varchar(80) DEFAULT NULL,
  `activate_key` varchar(8) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `punbb_users_registered_idx` (`registered`),
  KEY `punbb_users_username_idx` (`username`(8))
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

INSERT INTO `punbb_users` (`id`, `group_id`, `username`, `password`, `salt`, `email`, `title`, `realname`, `url`, `jabber`, `icq`, `msn`, `aim`, `yahoo`, `location`, `signature`, `disp_topics`, `disp_posts`, `email_setting`, `notify_with_post`, `auto_notify`, `show_smilies`, `show_img`, `show_img_sig`, `show_avatars`, `show_sig`, `access_keys`, `timezone`, `dst`, `time_format`, `date_format`, `language`, `style`, `num_posts`, `last_post`, `last_search`, `last_email_sent`, `registered`, `registration_ip`, `last_visit`, `admin_note`, `activate_string`, `activate_key`) VALUES
(1,    2,    'Guest',    'Guest',    NULL,    'Guest',    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    NULL,    1,    0,    0,    1,    1,    1,    1,    1,    0,    0,    0,    0,    0,    'English',    'Oxygen',    0,    NULL,    NULL,    NULL,    0,    '0.0.0.0',    0,    NULL,    NULL,    NULL),
(2,    1,    'FCKeMo',    '88e9ab8569f7ace656121665738f87ad888c3cea',    'qL5@N[0z]:|Z',    'grez.cz@gmail.com',    NULL,    NULL,    'http://asdf asdf',    'un %$#gasdf ',    NULL,    '#$@% asfd ',    'fak q32',    'sakdfh adsa',    NULL,    NULL,    NULL,    NULL,    1,    0,    0,    1,    1,    1,    1,    1,    0,    0,    0,    0,    0,    'English',    'Oxygen',    2,    1298762034,    NULL,    NULL,    1298663100,    '127.0.0.1',    1300899655,    NULL,    NULL,    NULL);

-- 2011-03-23 18:01:37[/code]

42

(3 replies, posted in PunBB 1.3 bug reports)

Hi,

I just tested it on my forum, and it seems to be working properly. Are you sure you didn't misswrote the number or something?
(BTW, banning doesn't affect Administrators, so you must check forum from other browser if you are trying it with your IP)  smile

43

(2 replies, posted in PunBB 1.3 troubleshooting)

Hi, you have to install pun_bbcode extension. If you installed PunBB Repository with forum install (it's default choice) you may find it in Administration > Extensions  wink

It means in extension directory ./extensions/punbb_antispam/  wink

Try to reinstall the captcha extension (and check whether it's the newest version).

What version of code are you using (I mean "normal" PunBB 1.3.4 or did you apply changes from SVN?)

47

(19 replies, posted in Discussions)

It's true that 72 may be quite long, but on the other hand - some people don't like this sort of deleting users at all...

There could be useful possibility to change the time / disable the option, but I don't think that is really "that" important to include it into administration. I think some constant, which can be defined in config.php (otherwise it will be set default, ie. those 72 hours as now) could do fine.

And as well I think users should be informed about this

->

./lang/English/mail_templates/welcome.tpl

Subject: Welcome to <board_title>!

Thank you for registering in the forums at <base_url>. Your username on the forums is <username>, as you requested. To complete your registration, you need to set a password for your account. You need to verify your registration in next <verification_time> otherwise your login will be deleted.

To set your password, please visit the following page:
<activation_url>


<board_mailer>
(Do not reply to this message)

./lang/English/profile.php

'Reg e-mail info'            =>    '<strong>Important!</strong> An e-mail with an activation link will be sent to the address you provide. You must click the link in the e-mail in order to activate your new account. You must do this %s hours after registration at the latest, otherwise your account will be deleted.',


I also deleted the sentence "You must therefore ensure that you enter a valid and current e-mail address." since it is obvious (and therefore unnecessary to write).

48

(3 replies, posted in PunBB 1.3 discussion)

grudon66 wrote:

What do you guys think of that the new develop team made it done so fast?

There were quite a few changes from Informer's team (support for InnoDB...), so it's not only by the new team  wink

49

(19 replies, posted in Discussions)

@Ole Juul: The code is triggered only each time someone tries to register  wink

@hcs: It's already done  wink