Announcement

Collapse
No announcement yet.

$s==$session[dbsessionhash] causes problems in postings.php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • $s==$session[dbsessionhash] causes problems in postings.php

    I can't stick/unstick threads, nor close/open them, after upgrade to rc3.

    I had a look at postings.php and changed the line:

    Code:
    if ($action=="stick" and $s==$session[dbsessionhash]) {
    to

    Code:
    if ($action=="stick") {
    And the line

    Code:
    if ($action=="openclosethread" and $s==$session[dbsessionhash]) {
    to

    Code:
    if ($action=="openclosethread") {

    And now it works fine.

    So I suppose the $s==$session[dbsessionhash] is causing the problem?

    (These are the only two places in the bb scripts that "and $s==$session[dbsessionhash]" shows up).

  • #2
    You have to make the changes to the related templates as referenced by the announcement for that to work. With open/close and stick/unstick it's showthread.
    Last edited by Mike Sullivan; Fri 11th May '01, 12:48pm.

    Comment


    • #3
      Oh I see

      Sorry to have wasted your time.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X