31
Setaseta
Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 10:13

  • Setaseta

  • Just popping in

  • Posts: 23

  • Since: 2003/5/5 2


Hey there.
I installed your cool forum upgrade on my test site, and it worked perfectly, but when I installed it to the main site, it went bonkers - it didn't screw up anything major, but the "new private forum post", "old private forum post" "mark all forums read", "mark all posts read", the user group thing in the posts, and the pm button all refuse to show up.

I'm too ignorant about php to even contemplate trying to find the error. Can anybody please help me either fix it or get the old forum back?

32
Vict0r
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/8 11:49

  • Vict0r

  • Just popping in

  • Posts: 18

  • Since: 2004/3/7 1


This is what I get in php debug:

Notice: Undefined index: 1 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 8 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 16 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 17 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 18 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 13 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 14 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 7 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 9 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 15 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 4 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Undefined index: 5 in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 155

Notice: Use of undefined constant _MD_PRIVATEFORUM_NEWPOSTS - assumed '_MD_PRIVATEFORUM_NEWPOSTS' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 216

Notice: Use of undefined constant _MD_PRIVATEFORUM_NONEWPOSTS - assumed '_MD_PRIVATEFORUM_NONEWPOSTS' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/index.php on line 216

2.When I click on a category:

Notice: Undefined index: mark_read in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewforum.php on line 37

Notice: Undefined variable: topic_att in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewforum.php on line 302

Notice: Undefined variable: topic_sticky in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewforum.php on line 302

3.When I click on a topic in that category:

Notice: Use of undefined constant D - assumed 'D' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/rules/xoops_version.php on line 4

Notice: Use of undefined constant I - assumed 'I' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/rules/xoops_version.php on line 4

Notice: Undefined variable: g in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 45

Notice: Undefined variable: g in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 45

Notice: Undefined variable: g in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 45

Notice: Undefined variable: g in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 45

Notice: Undefined variable: g in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 45

Notice: Undefined variable: g in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 45

Notice: Use of undefined constant _MD_GROUPS - assumed '_MD_GROUPS' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 401

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/rules/language/english/modinfo.php:6) in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewtopic.php on line 413

4.When I go back:

Notice: Undefined index: mark_read in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewforum.php on line 37

Notice: Use of undefined constant D - assumed 'D' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/rules/xoops_version.php on line 4

Notice: Use of undefined constant I - assumed 'I' in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/rules/xoops_version.php on line 4

Notice: Undefined variable: topic_att in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewforum.php on line 302

Notice: Undefined variable: topic_sticky in /usr/local/psa/home/vhosts/irc-sofia.net/httpdocs/modules/newbb/viewforum.php on line 302

I hope that helps.. Thank you for your prompt responses.. I wasn't expecting such a fast answer

Victor


33
samuels
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/8 14:11

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


@Vict0r
Have you refreshed the module?

34
JackJ
Re: Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 19:45

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Setaseta

assuming you updated your system files and the module itself in system admin/modules you may find you need to overwrite your "template" newbb files on the server.

I use the x2t template, and the files did not overwrite. This is what I had to do, I copied the code from the html files in the newbb template folder to the matching files in my default template. If you are not sure about "templates" see the XOOPS "Wiki Home" link to the left.

After doing this my extra features showed up..

35
Vict0r
Re: Newbb Pro (attachments, mark read ...)
  • 2004/3/8 19:49

  • Vict0r

  • Just popping in

  • Posts: 18

  • Since: 2004/3/7 1


yes, I did refresh the modul.. and I refreshed it again right now and still it doesn't work..

possible problems might be that I haven't overwritten all the files (but I don't know where to look to find out)

another problem might be that I haven't properly ran the two .php files.. for the upgrade (I ran them once in modules/ than in modules/newbb and than finally I found out that the correct place was /)..

other than that I have done everything as you described it..

maybe I can send you a copy of my installation and you can take a quick look at it.. I would really like to get that fixed :).. let me know what's good for you..

and thank you again for helping me

Victor

36
svaha
Re: Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 20:19

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Thanks Jack,
I had also blank screens and some things not showing up, though I got no error from php debug. I use Zaja themes with Zaja template, so I thought this might be the problem. I'll check this out
Aloha

37
Setaseta
Re: Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 21:32

  • Setaseta

  • Just popping in

  • Posts: 23

  • Since: 2003/5/5 2


@JackJ:

Updating the templates seemed to solve almost all the problems, BUT!
The "groups" and "pm" and "profile" buttons do not show up. Have any idea why?

38
JackJ
Re: Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 21:52

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


these are called from the file "newbb_thread.html", I would double check you updated that one, should look like this:

Quote:





<{$topic_post.poster_uname}>

<{$lang_postedon}> <{$topic_post.post_date}>




<{if $topic_post.poster_uid != 0}>



<{$topic_post.poster_rank_title}>
<{$topic_post.poster_rank_image}>
<{$lang_joined}>: <{$topic_post.poster_regdate}>
<{$lang_from}>: <{$topic_post.poster_from}>
<{$lang_posts}>: <{$topic_post.poster_postnum}>



Groups:

<{$topic_post.poster_groups}>


<{$topic_post.poster_status}>


<{else}>



<{/if}>

<{$topic_post.post_title}>
<{$topic_post.post_text}>









<{$topic_post.poster_sendpmtext}>


Ver perfil


<{if $xoops_isadmin == true}>


<{$lang_edit}><{$lang_delete}><{$lang_reply}>


<{elseif $xoops_isuser == true && $xoops_userid == $topic_post.poster_uid}>


<{$lang_edit}>

<{$lang_reply}>








<{elseif $viewer_can_post == true}>


<{$lang_reply}>




<{else}>



<{/if}>





39
Setaseta
Re: Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 21:57

  • Setaseta

  • Just popping in

  • Posts: 23

  • Since: 2003/5/5 2


@JackJ:
It worked, thanks!

@samuels:
This is an awesome improvement!

How about making a function for the forum admin module that will allow you to change the forum order? I know you can do it with the categories already, but I don't think it's possible with the forums. :)

Thank you again.

40
JackJ
Re: Green envelopes broken? No "Mark All as Read"?
  • 2004/3/8 21:59

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


hello svaha

hows it going, long time no see...

still on the life prolonging health diet of chocolate and hambugers..

Login

Who's Online

458 user(s) are online (321 user(s) are browsing Support Forums)


Members: 0


Guests: 458


more...

Donat-O-Meter

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

Latest GitHub Commits