cuteseal wrote:

Hi Maciek,

I installed your mod - great idea and I really like it. It's very useful for everyday use.

Just some feedback:

1)  In firefox browsers, the buttons show up as normal buttons, instead of the flat style sheet ones.  any ideas?

2)  I didn't like the way your mod introduces new, non-standard bbcode (e.g. size, font, list).  My suggestion would be to put this functionality into a separate mod?

3)  Should also make the mod appear in the quickpost section.  It's pretty easy to do - I've modified your code to do so on my site:

http://www.shuttertalk.com/

Anyway, thanks again for the great mod!

1.hmm strange I check this leater
2 and 3 .I don't have a time to do this (school,works etc) but If you modified this MOD you can post it here

EDIT

I check and in my firefox buttons look's ok.

click

dhdesign wrote:
Maciek wrote:

Btw. You have 'closeallTag' bug ,you must install this update click me

Can you put the latest version with the 'closeallTag' bug fix into a zip file, like you did before, so I can open the file once it's downloaded?  (sorry to be such a pain...lol)

Done smile This is my fault i forget about this .Next mod will be pack in zip format

28

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

That prevents having to move all old topics in that forum into other forums and a whole lot of other crap.

In my redirect forum version moderators and admin can't move old topic into that forum , but i still have problem how block searching on this forum . Any idea ?

29

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

The slash thing was kinda ugly, but the three arrows is not a bad idea. The verdana character > is really ugly in 12px bold though so I might just add three arrows in the regular font size "outside" the link. Here's what I mean.

http://punbb.org/stuff/redirect.png

The text there is the description for the forum. It can be changed of course.

Simple and Impression smile

30

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

Possibly the second suggestion. In PunBB 1.2 the list of moderators is placed under the forum description, so I'm not too keen on putting more stuff there though.

Yes i think this is good idea.Btw you can turn off display list of moderators when forum is redirect .

31

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

I still want people to be able to enter a description, so the first suggestion won't do. The second suggestion uses a special icon for redirect forums. I don't want that. Icons are evil! big_smile


First suggestion : People still can enter a description
click
click

Second suggestion : This is Text not icon

32

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

I have to decide on a way to mark forums with redirects. I don't want an icon. Any ideas?

No icon ?
ok meyby something like this

click

if ($cur_forum['redirect'] != '1')
        $forum_field = '<span class="punheadline"><a href="viewforum.php?id='.$cur_forum['fid'].'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</a></span>';
    else
        $forum_field = '<span class="punheadline"><a href="'.$cur_forum['forum_redirect'].'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</a></span><br><b>'.$lang_index['Redirect'].'</b>';

or this

click

else
        $icon = ' ';
if ($cur_forum['redirect'] == '1')
            $icon = '<span class="puntextA">'.$lang_index['R'].'</span>';

33

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

There's no need to make a "guide" unless you want to make it a mod. I was just wondering how you implemented it.


Ok how i implemented this?
That simple


1.when display redirect forum

if ($cur_forum['redirect'] != '1')
        $forum_field = '<span class="punheadline"><a href="viewforum.php?id='.$cur_forum['fid'].'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</a></span>';
    else
        $forum_field = '<span class="punheadline"><a href="'.$cur_forum['forum_redirect'].'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</a></span>';

2 and icons

if (!$cookie['is_guest'] && $cur_forum['last_post'] > $cur_user['last_visit'])
    {
        if ($cur_user['show_img'] == '1')
            $icon = '<img src="img/'.$cur_user['style'].'_new.png" width="16" height="16" alt="">';
        else
            $icon = '<span class="puntext"><b>•</b></span>';
    }
    else
        $icon = ' ';

if ($cur_forum['redirect'] == '1')
$icon = '<img src="img/'.$cur_user['style'].'_redirect.png" width="16" height="16" alt="">'; 

That's all smile

34

(26 replies, posted in PunBB 1.2 discussion)

Rickard wrote:

I like it. I know I always wondered what the hell you would want that for when Jelsoft showed it off in vb3, but I can think of several good uses of it now. I haven't considered any kind of implementation though. How have you set it up?

It's very easy to set up smile

Two new database values in forum  table
Few small change in admin_forums.php
and some changes in index.php + one new icons and we have redirecting forum tongue

When i back from work i prepare small guide how do that.

there is admin_forum screen click me

35

(26 replies, posted in PunBB 1.2 discussion)

What do you guys think about "redirect forum" MOD like this one click me
I create this to my forum ,but meyby someone need something like this

Lex wrote:

Maby my IE is fucked up, don't get the error on the other computer overhere. On this one i get the error on your demo-forum for the mod wink.

I have the same problem on 2003 server i get the error on my demo-forum ,but when i run XP everythig works fine hmm .

Lex wrote:

Sorry for my late reply wink.

Think i've fixed but Internet Explorer is giving a little error. (Something like 'Document.input.mode' is no object or empty) Do have you any idea?

http://www.heart4horses.nl/forum/post.php?tid=7 Here you can see, isn't working perfect yet.


By the way, thanks for the mod!

Strange i don't see any error in IE smile

Btw. You have 'closeallTag' bug ,you must install this update click me

jacobswell wrote:

Another bug found.

select tag is not closed when you press "close all tags" button.
it is because of the function closeTags name.
function closeTags should be named as closeallTags.

find line 435

<input type="button" class="punbutton" value="close all tags" name='zamknij tagi' onClick="closeallTags()"> 

and replace with

<input type="button" class="punbutton" value="close all tags" name='zamknij tagi' onClick="closeTags()"> 

Ok today i cheack one more time bbcode MOD sources ,and remove all bugs .

jacobswell wrote:

in bb_code.php

</select>
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>

should be replaced with

</select>
</td>
</tr>
<tr>
<td>

and

</td>
</tr>
</td>
</tr>
<//---------------------------------------------------->
<//but what if we need change radio button status :/   > 
<//---------------------------------------------------->
<tr>
<small><input type="radio" name="mode" value="normal" onClick="changeMode('normal')">
 Guided Mode  
<input type="radio" name="mode" value="advanced" onClick="changeMode('advanced')" checked="checked">
 Normal Mode</small>
</tr>
</table>

should be replace with

</td>
</tr>
<//---------------------------------------------------->
<//but what if we need change radio button status :/   > 
<//---------------------------------------------------->
<tr>
<td>
<small><input type="radio" name="mode" value="normal" onClick="changeMode('normal')">
 Guided Mode  
<input type="radio" name="mode" value="advanced" onClick="changeMode('advanced')" checked="checked">
 Normal Mode</small>
</td>
</tr>
</table>

Thanks for info ,when i back to home i fix that

I find next bug sad
If you install this mod check file edit.php

try edit some post if you see editing message everything is ok if you dont see
open edit.php and check :

if in line 202 you have

</td>
<td class="puncon2"> <textarea name="req_message" id="req_message" rows="20" cols="95" tabindex="<?php echo $cur_index++ ?>"><?php echo $quote ?></textarea></td>
</tr>

replace

<?php echo $quote ?>

with

<?php echo pun_htmlspecialchars($cur_post['message']) ?>

That's all

FOR NOW smile

dhdesign wrote:

When I downloaded the .rar file, it came up with no file type, and I was unable to open it.  If you could make it a zip file, that would be great - thanks! smile

No problem smile click me

Have fun

dhdesign wrote:

I tried downloading your mod from the link you provided in your post.  It downloads as a 5kb file that I am unable to open, as there is no file type specified.  Is it supposed to be a zip file or what?

I dont now what you do .when u click a link you  go to topic in my forum where you find 'bbcode MOD 1.0.1.rar' attachment thats all .
If you want Zip let me now.

Lex wrote:

It doesn't work for me sad

Does anyone had a idea?

http://www.heart4horses.nl/forum/post.php?tid=5

Yes i have a idea smile you don't add some part of code or add in wrong place that why i dont see bbcode button ,and smilies dont work


If you can send me your post.php i check what is wrong
Btw. What version punbb do you have ?

Small install guide update

When u install MOD in edit.php

you have something like this

Find line 202

</td>
<td class="puncon2"> <textarea name="req_message" rows="20" cols="95"><?php echo pun_htmlspecialchars($cur_post['message']) ?></textarea></td>
</tr>

and replace with

</td>
<td class="puncon2"> <textarea name="req_message" id="req_message" rows="20" cols="95" tabindex="<?php echo $cur_index++ ?>"><?php echo $quote ?></textarea></td>
</tr>
</tr> 
</table></td> 
</tr> 

this is wrong must be

and replace with

</td>
<td class="puncon2"> <textarea name="req_message" id="req_message" rows="20" cols="95" tabindex="<?php echo $cur_index++ <?php echo pun_htmlspecialchars($cur_post['message']) ?></textarea></td>
</tr>

Ok i rewrite some parts of script and now works ok smile

1.0.1 version download click me

Upgrade from 1.0. to 1.0.1 version download click me

jacobswell wrote:

email code is working the same either the "guided mode" or "normal mode".

I now email ,http ,image and list tag working the same on bouth mod .

i must screw something hmm .I check this when i get some time (and when i install firefox) .


Edit

Btw.Meyby Someone with firefox or mozilla testing first script version on test forum .

Mod title: BB Code Button
· 
Mod version: 1.0.2
Works on PunBB: 1.1.4 :: 1.1.3
Tested on PunBB version: 1.1.4 :: 1.1.3
Release date: 2004-06-14
Author : Maciej Ziolkowski
Modified by : Jacobswell 
Guide author : Tom .B
· 
Description: This mod add bbcode button like in phpBB or IPB to your punBB forum 
· 
Affected files: post.php , edit.php , parser.php
· 
Affects DB: No
· 
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.

http://members.lycos.co.uk/maciekziolkowski/Snap16.jpg

you can download 1.0.2 version from here click me

1.0.3 BETA version released


Important:
bbcode mod 1.0 don't working in firefox and mozilla browser if you have this version there is upgrade to v 1.0.2 click me

Have fun :)

Chacmool wrote:

Yeah, seems nice :)

One small note though, email should not give errormessage when you press cancel. Otherwice really nice :)

Ok i can remove this error message or change it .
meyby something like this : "You must enter an email address"

I plan release this mod soon ,but must finish some functions .More info about this mod  http://punbb.org/forums/viewtopic.php?id=3847 .

If someone want test it there is my test forum.
Image and close all tags functions not existing yet .

I almost finish new bbcode button .Somebody need this?
There is some screen

http://members.lycos.co.uk/maciekziolkowski/bbcode1.jpg

http://members.lycos.co.uk/maciekziolkowski/bbcode2.jpg