71
pdaddict
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/18 13:44

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


It works now. But now I get a blank page when submitting a post. The post itself DOES get saved.



72
pdaddict
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/18 12:45

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


Thanks a lot, samuels. I've set up a seperate xoopsinstall here to test it. (user/pass = test/test) The admininstration's been flawless, but when I try to post something, I get this error:
Quote:
Parse error: parse error in /home/alank/public_html/area51/modules/newbb2pro/post.php on line 45


post.php lines 41 to 49 [45 in red]
if ( empty($forum) ) {
    
redirect_header("index.php"2_MD_ERRORFORUM);
    exit();
} else {
    [
color=FF0000]$sql "SELECT forum_type, forum_name, forum_access, allow_html, allow_sig, posts_per_page, hot_threshold, topics_per_page, allow_attachments, attach_maxkb, attach_ext FROM ".$xoopsDB->prefix(""_DIR_BB_FORUMS"")." WHERE forum_id = ".$forum;[/color]
    if ( !
$result $xoopsDB->query($sql) ) {
        
redirect_header('index.php',2,_MD_ERROROCCURED);
        exit();
    }


Edit: I installed a clone in dir newbb2pro. Then I added another clone in newbb3pro. All settings in path.php are correct, but when I go to modulesadmin and hit install for newbb3pro, it takes me to a page to install newbb2pro. I checked the code in modulesadmin.php, and $module->getInfo('dirname') on line 118 retuns newbb2pro instead of newbb3pro. I got around it by replacing newbb2pro in my locationbar with newbb3pro.

BTW: noticed it when installing no.3:
Quote:
 Config notification_enabled added to the database.
    Config option added. Name: _NOT_CONFIG_DISABLE Value: 0
    Config option added. Name: _NOT_CONFIG_ENABLEBLOCK Value: 1
    Config option added. Name: _NOT_CONFIG_ENABLEINLINE Value: 2
    Config option added. Name: _NOT_CONFIG_ENABLEBOTH Value: 3



73
pdaddict
Re: "$HTTP_POST_VARS as $k" -- what is this?
  • 2004/3/17 18:29

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


I saw this code on another forum too, and if I remember correctly, it is used to convert $_POST['postedvar'] to $postedvar, so it's actually being used to make the module work with register_globals off.



74
pdaddict
Cloneable
  • 2004/3/17 13:59

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


Samuels, if it's not too much work, could you make newbb pro easy cloneable?

I'm running both newbb and newbb2 and need the *pro* features for my newbb2, but not for newbb, and might possibly need a 3th forum.

I tried editing the newbbpro files myself to match my needs, by replacing /newbb/ with /'.$module->getVar('dirname').'/ and changing all bb_ prefixes to bb2_ and am thinking about replacing it with a variable, so the tables are also easyly renamable (or at least their module prefix), but maybe it's better if this is being included with the *standard* newbb_pro. (This is also a request to other module devs)



75
pdaddict
Re: Sure I'm a noob... How do you make a post sticky?
  • 2004/3/14 20:13

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


First post your post, THEN sticky it. You can't do both at the same time.



76
pdaddict
Re: Cant shout on ShoutBox
  • 2004/3/14 20:11

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


As a wrote before, the shoutbox doesn't work with register_globals off. Check your php.ini to see if it's turned on.

Read this for methods of turning it on if you don't have access to php.ini



77
pdaddict
Re: Cant shout on ShoutBox
  • 2004/3/13 22:59

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


I had the same problem. The shoutbox doesn't work with register_globals off.



78
pdaddict
Re: pll block
  • 2004/3/10 11:28

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


try emptying templates_c first



79
pdaddict
Re: bug report: max 15 admin icons in admin menu
  • 2004/3/7 19:05

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


1) I've got a site with 17 icon's in admin (2.0.6), so it's not a XOOPS bug.
2) Some modules I use had typo's in xoops_version.php, causing the image to not being displayed.



80
pdaddict
Re: "Whats new since last logon" module needed
  • 2004/3/7 18:58

  • pdaddict

  • Friend of XOOPS

  • Posts: 106

  • Since: 2003/4/6 1


You first need to clone the default template before you can edit the templatefiles.
(System Admin --> Templates --> Default: Clone)




TopTop
« 1 ... 5 6 7 (8) 9 10 »



Login

Who's Online

58 user(s) are online (26 user(s) are browsing Support Forums)


Members: 0


Guests: 58


more...

Donat-O-Meter

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

Latest GitHub Commits