1
samuels
Newbb Pro (attachments, mark read ...)
  • 2004/3/5 7:51

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


I have added lots of hacks to my newbb forum.
The changes:

-Mark all forums read.
-Mark all posts read.
-Show users groups.
-Send PM button.
-Delete one post or all.
-Attachaments. (Hability to delete or change attachments editing the post).
-Private forums are hidded to users without permission.
-New buttons, Private forums with new messages, Private forums without new messages.
-New button for sticky posts (you can see if sticky post has new messages or not)
-Little icon for showing if post has attachments.

INSTALLATION:

Download HERE

UPDATING XOOPS 206 NEWBB MODULE:
A simple script is included for update the old newbb db "up_newbb_pro1.php"
Just copy it to your site and open it on browser.
Please before update the bd make sure you have a copy.

Overwrite newbb module with mine and refresh it in Modules Control Panel.

NEW INSTALLATION:
Overwrite original newbb module with mine and install.

I'm waiting for impressions. (For very bad impressions just lie )

2
Herko
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/5 8:31

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Thanks We'll review the hacks and se if we can integrate them into the official module!

Herko

3
Wingz
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/5 9:45

  • Wingz

  • Just popping in

  • Posts: 71

  • Since: 2002/8/23


Just about to give this a shot but the URL is misspelt, try here;

Corrected Download Path

Update:

Installs fine, works fine, however (aaaarrggghhhh) the bulk of the changes are in Spanish - as are some of the graphics. Anyone up for a translation?

Also the changes in admin are without correct labels EG;

_MD_A_ALLOW_ATTACHMENTS
_MD_A_ATTACHMENT_SIZE
_MD_A_ALLOWED_EXTENSIONS
_MD_A_EXTENSIONS_DELIMITED_BY


4
samuels
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/5 11:17

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Ok, solved.
If you don't want to download again add this to language/enlgish/admin.php

define("_MD_A_ALLOW_ATTACHMENTS","Allow attachments");
define("_MD_A_ATTACHMENT_SIZE" ,"Max Size");
define("_MD_A_ALLOWED_EXTENSIONS", "Allowed Extensions");
define("_MD_A_EXTENSIONS_DELIMITED_BY","Extensions delimited by |");

5
Tabasco
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/5 19:18

  • Tabasco

  • Quite a regular

  • Posts: 203

  • Since: 2003/12/26


I am still getting this in my forums:

Marcar Todos Los Foros como leídos

Tabby

6
Ace_Armstrong
Re: Newbb Pro (attachments, mark read ...)

Sounds faboo!

I'm wondering if it would be a lot of trouble to hack this so that it can actually run side-by-side with the existing NewBB module. (I'd like to give it a test run before moving over...plus I'd like to have a little security that if I do an upgrade to the core it won't break the BBS.)

7
samuels
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/5 20:29

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


This hack uses the same tables in bd that original newbb. But it adds some files to bb_forums and bb_posts tables.

I think there is no problem to restore the original newbb after testing newbb pro.
Just make a backup of bd if not sure.
Newbb Pro doesn't delete any existing info in your bd.

@TABBY

For solve the problem with texts:

Open viewforum.php
In line 328, change
$xoopsTpl->assign('mark_read'"<a href="viewforum.php?forum=".$forum."&mark_read=1">Marcar todos los mensajes como leídos</a>");


With
$xoopsTpl->assign('mark_read'"<a href="viewforum.php?forum=".$forum."&mark_read=1">"._MD_MARK_ALL_POSTS."</a>");


Open index.php
In line 56 change:
$xoopsTpl->assign('mark_read'"<a href="index.php?mark_read=2">Marcar todos los foros como leidos</a>");


With
$xoopsTpl->assign('mark_read'"<a href="index.php?mark_read=2">"._MD_MARK_ALL_FORUMS."</a>");


Finally, open language/english/main.php and add:
define("_MD_MARK_ALL_FORUMS","Mark all forums read");
define("_MD_MARK_ALL_POSTS","Mark all posts read");

8
Jan304
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/5 22:35

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


Lovely, I saw a hack like this before but that was in for a not understandable language and this is at least in english... :)

However, a suggestion. And this moment it is impossible to give different groups different permissions. Since now 'normal' members can upload also files, why, I for example want to set upload for admins and mods only.

9
samuels
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/6 0:55

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


@Jan304
I'll work on it, i have collected some experience with groups permissions modifying mydownloads module.

(I'm sorry with translations, I love german but it's tooooo dificult. )

10
Jan304
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/6 10:18

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


Thx. But, now you said that, don't forget I expect a lot of it

Oh btw, I do not speak german, but dutch :)

Login

Username:
Password:

Lost Password? Register now!

Who's Online

63 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 63


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits