Yeah, its trying to create the database g_pm, but it already exists..
1 2006-05-26 02:45
Re: PM Trouble (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2 2006-05-26 02:44
Re: PunBB News (47 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thats because you have to add it to: lang/YOURLANGUAGE/common.php
3 2006-05-23 02:32
Re: Anonymous configuration (4 replies, posted in PunBB 1.2 troubleshooting)
Open Post.php and find this:
<label class="conl"><strong><?php echo $lang_post['Guest name'] ?></strong><br /><input type="text" name="req_username" value="<?php if (isset($_POST['req_username'])) echo pun_htmlspecialchars($username); ?>" size="25" maxlength="25" tabindex="<?php echo $cur_index++ ?>" /><br /></label>
change to:
<label class="conl"><strong><?php echo $lang_post['Guest name'] ?></strong><br /><input type="text" name="req_username" value="Anonymous<?php if (isset($_POST['req_username'])) echo pun_htmlspecialchars($username); ?>" size="25" maxlength="25" tabindex="<?php echo $cur_index++ ?>" /><br /></label>
4 2006-05-23 02:26
Re: font (1 replies, posted in PunBB 1.2 troubleshooting)
Depends on the style. But for the basic styles (Cobalt, Oxygen, Mercury, etc), the font family is:
Verdana, Arial, Helvetica, sans-serif.
Size 11.
5 2006-05-22 23:24
Re: minimum password requirements (1 replies, posted in Feature requests)
Not a bad feature, I'd like to see that too...and maybe customize it..
I'll see if I can make a mod that includes a plugin or whatever.
6 2006-05-11 04:14
Re: 1.3 mod conversion roll call (35 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Whoever does the poll, whether it be Connorhd or Mediator, please do not use veiwpoll.php and all that jazz, if possible. It creates too many problems with extern.php, other mods, etc. I'd really appreciate it, and I'm sure that others will too.
Thanks.
Yes, that was always a big problem for me...this is definatley needed.
Also, Connorhd, are you going to be fixing/updating MyPunBB as well?
7 2006-05-11 03:31
Topic: My PunBB (0 replies, posted in PunBB 1.2 show off)
http://upit.be/uploads/images/untitled6900.png
Yes, thats punbb 1.3; Still very buggy...won't even let you login lol. Somethings wrong with the setting of cookies. Tho I edited, Guests are admins
Great work so far Rickard and Paul!
8 2006-05-06 20:30
Re: PunBB News (47 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Np guys, tell me if you have any problems.
9 2006-05-05 22:56
Topic: PunBB News (47 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## Mod title: PunBB News System
##
## Mod version: 1.0
## For PunBB: 1.2.*
## Date : 5/5/06
## Author: Alex Capek (i.is.alex@hotmail.com)
##
## Description: This mod changes your index.php into a nice mini-portal with News displayed. PLEASE READ BELOW CAREFULLY
##
## Files affected: viewtopic.php, viewforum.php
##
## DB Affected: no
##
## Info: YOU NEED TO DO SOME EDITING. If you want the newest topic to be displayed in the header, then upload header.php along with the other files, otherwise, don't.
## You need to specify what forum to grab the news out of, this is set to 1 at default, open index.php and change $newsid to whatever you need to.
## Last thing is how many announcements are displayed at a time, default is 5. Change $newsamount to whatever you need to in index.php.
##
##
Credit to Reines for help.
Download here
10 2006-04-20 04:28
Re: Eeek! Multiple usernames (5 replies, posted in PunBB 1.2 bug reports)
Wow really? Interesting, i might need to look into this.
11 2006-03-27 00:08
Re: Kuruptness, (CMS Style) Running punbb! (15 replies, posted in PunBB 1.2 show off)
lol still doesn't work :S?
13 2006-03-24 23:26
Re: Kuruptness, (CMS Style) Running punbb! (15 replies, posted in PunBB 1.2 show off)
Site doesn't work ?
14 2006-03-18 02:02
Re: Searching posts... no parse. (7 replies, posted in PunBB 1.2 troubleshooting)
Its like this, if someone posted a huge post, the last characters could be an open tag, like this:
"HEY CHECKOUT MY NEW SITE WHILE UR AT IT! ITS [b]" <- If those were the max characters, meaning, [b] were the last 3 characters of the 1000 returned, and if it was parsed, it'd mess up the page.
15 2006-03-18 01:54
Re: Lost password (4 replies, posted in PunBB 1.2 troubleshooting)
If you have cPanel X, then you should have phpMyAdmin..
16 2006-03-18 01:48
Re: How do I make moderators to (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Do what Elzar did, then
Replace: (line 1565).
$result = $db->query('SELECT g_id, g_title FROM '.$db->prefix.'groups WHERE g_id!='.PUN_GUEST.' ORDER BY g_title') or error('Unable to fetch user group list', __FILE__, __LINE__, $db->error());
with:
if ($pun_user['g_id'] == PUN_MOD)
$modquery = "AND g_id!='.PUN_ADMIN.' AND g_id!='.PUN_MOD.' ";
$result = $db->query('SELECT g_id, g_title FROM '.$db->prefix.'groups WHERE g_id!='.PUN_GUEST.' '.$modquery.'ORDER BY g_title') or error('Unable to fetch user group list', __FILE__, __LINE__, $db->error());
17 2006-03-13 20:35
Re: User list: not reading $_GET vars (4 replies, posted in PunBB 1.2 troubleshooting)
it could be something with the mysql databases. Maybe it's getting confused with previous tables?
18 2006-03-13 17:16
Re: Junior Administrators 1.0 (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thanks guys. and yeah it's definatley not the best work ever..but it works. I will be fixing up the code over the next week or so. Thanks.
19 2006-03-13 08:06
Topic: Junior Administrators 1.0 (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## Mod title: Junior Administrators
##
## Mod version: 1.0.5
## Works on PunBB: 1.2.3, 1.2.4
## Release date: 3-12-06
## Author: Alex Capek - i.is.alex@hotmail.com
##
## Description: This modifications allows you to have Junior Administrators. They have the basic actions, can moderate all forums, have more access to the Admin ##Panel.
##
## Affects DB: Yes
##
## Affected files: include/common.php, include/common_admin.php include/functions, all admin files except admin_prune.php, admin_reports.php, ##admin_loader.php(duh), dmin_index.php, admin_censoring.php, profile.php, viewforum.php, viewtopic.php, moderate.php
##
## Notes: This is a rather large mod, it will drastically change your mysql database. I would say it is a VERY GOOD IDEA TO BACKUP before you install this mod.
## You can configure which admin pages they can see in admin_options. If you allow J Admins to access the Admin Options page, they will not be able to ##configure themselves, only root admins will be able to.
##
## DISCLAIMER: Please note that 'mods' are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
PLEASE LET ME KNOW IF THERE ARE ANY BUGS. Thanks.
20 2006-03-12 23:57
Re: Updating Group ID Query (13 replies, posted in PunBB 1.2 troubleshooting)
Thats perfect. Thanks you Reines and Smartys!
21 2006-03-12 23:26
Re: Announcement topic mod. (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Updated with a link to PunRes.
22 2006-03-12 22:22
Re: Updating Group ID Query (13 replies, posted in PunBB 1.2 troubleshooting)
What a pain in the ass...
23 2006-03-12 22:09
Re: Updating Group ID Query (13 replies, posted in PunBB 1.2 troubleshooting)
elbekko wrote:Something like this maybe? You should try it out...
$db->query("UPDATE ".$db->prefix."groups SET Id=Id+1");
Doesn't work because group_id is a key, meaning there cannot be more than 1 row with the same entry. The query will try to start with group_id 1, and make it 2. There is already a 2, so it throws an Error.
Thats what I thought, and couldn't you make it so it starts at the last group and moves them all up one, except for the admin group?
24 2006-03-12 22:02
Re: User list: not reading $_GET vars (4 replies, posted in PunBB 1.2 troubleshooting)
So, did you edit userlist.php? If you didn't just replace it.. but I'm pretty sure you did. And I'm not fully understanding whats going on.. maybe some screen shots?
25 2006-03-12 21:41
Re: Updating Group ID Query (13 replies, posted in PunBB 1.2 troubleshooting)
EDIT: nah, I tried this:
UPDATE groups SET g_id = g_id +1
and it gave me this error:
#1062 - Duplicate entry '2' for key 1