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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bira
    Senior Member
    • May 2000
    • 1498

    $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).
  • Mike Sullivan
    Former vBulletin Developer
    • Apr 2000
    • 13327
    • 3.6.x

    #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 11 May '01, 12:48pm.

    Comment

    • bira
      Senior Member
      • May 2000
      • 1498

      #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...