101

(142 replies, posted in PunBB 1.2 discussion)

This forum has 854 registered users, 265 topics and 7530 posts.

Rows: 10456
Size: 3.41 MB

That would be pretty cool. I'll work on it.

Thanks man.

I used to have a copy of the styling guide that Ps21 (I think that's their name) wrote for PunBB v1.0 and it was awesome. So I have a few questions:

Is there need for updating the guide?
If not, can I get a copy as I lost the one I used to have?

How is the mod coming along?

:-) Thanks!

Could you email me your post.php page?

http://www.medievalbattles.com/images/punbb.png

How hard would it be to add something like those BBcode buttons? I tried doing it myself, but after reviewing the code of phpBB's setup, I got lost in an endless search for a function that they are using.

I am going to continue trying to figure it out myself. But if somebody could supply me some source code that would work with PunBB v1.1 that would be awesome.


FYI: If you are wondering why I want this source code, or help so bad is becuase I have a few ideas for some mods that require this.

Try making a new picture and replace it with the old one.

http://punres.cactuz.nu/projects/pr_10/screenshot.png

I tried uploading this [screenshot] to PunRes and it wouldn't let me for some reason.

It creates a link that when opened, searches for the printed item. (Nothing big)


BTW: I forgot to add what the new BBcodes are, download the new version (v1.1).

##
##
##        Mod title:  GoDiTh
##
##      Mod version:  1.0
##   Works on PunBB:  1.1
##     Release date:  2004-1-6
##           Author:  Jon Ursenbach (mako@medievalbattles.com)
##
##      Description:  Adds BBcode for searching Google.com, Dictionary.com 
##            and Thesaurus.com.
##
##   Affected files:  include/parser.php
##
##       Affects DB:  No.
##
##            Notes:  [google], [dictionary], [thesaurus]
##
##       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.
##
##

Download

I hate it when my code does not work on other machines... *says this as he takes a sip of coffee*

I suggest you give us more information or sources (urls) on where we can see an example of this.

OK I cancalled my PMS project.

Coolness. Did you upload the new one on PunRes?

Ok I replaced all of the $SESSION["pun"] with punbb.punbb_ and it worked! Now the only problem I have is this parse error with the date() function. It's saying that windows does not support dates earlier than 1970. Wah!

Ok I will replace the $SESSION variables with what they are supposed to hold and see if that changes anything. I hope it does because I am sick of phpBB!

Page: _start (0)

Clearing tables...

Error:
Unable to truncate table.

Mysql query:
TRUNCATE TABLE Resource id #3categories (Go back)

MySQL error:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #3categories' at line 1

File: C:\minixampp\htdocs\cnvrtr\_start.php
Line: 22

reset

I think I see the problem. $SESSION['pun'] is coming up as a Resource ID (#3 to be exact). Damn it's been a long time since I've gotten errors like that. I'm going to try to replace $SESSION['pun'] with 'punbb_' since this is just for my comptuer and that's what I am using.

Edit: I didn't notice that $SESSION[pun] was for the database, and $SESSION[pun_prefix] was for the prefix of the tables. I feel dumb now.

Edit 2: Ok now I'm lost again...

Oh wow. Guess I will stop coding on my PMS version. Time to cancel the PMS project.

Ok I downloaded the new version of his converter (I was using a beta/non-public version), but I still got some errors. Here they are:

Truncate checked:
Page: _start (0)

Clearing tables...

Error:
Unable to truncate table. (Go back)

MySQL error:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #3categories' at line 1

File: C:\minixampp\htdocs\cnvrtr\_start.php
Line: 24

reset

Truncate not checked:
Page: _categories (1)

Converting categories...
General Discussion (1)

Error:
PunBB: Unable to save to table: categories (Go back)

MySQL error:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #3categories (id, cat_name, disp_position) VALUES( '

File: C:\minixampp\htdocs\cnvrtr\_categories.php
Line: 15

reset

Please somebody help!

I've put this before chacmool already and he doesn't know the problem, maybe one of you other hackers know. When I try to run the converter without truncating the tables, it gives me this error:

Page: _categories (1)

Converting categories...
General Discussion (1)

Error:
PunBB: Unable to save to table: categories (Go back)

MySQL error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #3categories (id, cat_name, position) VALUES( '1',

When I check the box to truncate them, it gives me this error:

Page: _start (0)

Clearing tables...

Error:
Unable to truncate table.
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #3categories' at line 1 (Go back)

MySQL error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #3categories' at line 1

I have gone to the _start and _categories pages to see if I could find something wrong, but I found nothing.

If it makes any difference, I am currently running MySQL 4.0.15

I will recode this mod when the new version of PunBB debuts.

Since I will be converting my phpBB board over to PunBB when ChacMool releases the converter, I have been concerned with viewing posts since last visit. I currently an running PunBB on a small project of mine and when my users log in one day and click View Posts Since Last Visit, nothing is displayed. Even when it is obvious that there are new posts since their last visit.

Have I checked something wrong within the admin interface, or is this just a bug?

Ah thanks.