forumid in <form ..> of choosebuddies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NORRITT
    Member
    • May 2001
    • 98

    forumid in <form ..> of choosebuddies

    hi

    in choosebuddies there is no
    PHP Code:
    <input type="hidden" name="s" value="$session[sessionhash]">
    <
    input type="hidden" name="forumid" value="$getforum[forumid]"
    in the
    PHP Code:
    <form action="private2.php" method="post" name="form"
    Why?

    If I add
    PHP Code:
    <input type="hidden" name="s" value="$session[sessionhash]">
    <
    input type="hidden" name="forumid" value="$getforum[forumid]"
    in the tag above, it does not post the session id and forumid on the next page

    is it a bug? (in all other formulars this is working very well)
    how can i change it?
  • Mike Sullivan
    Former vBulletin Developer
    • Apr 2000
    • 13327
    • 3.6.x

    #2
    You will need to hack the code/templates to acheive what you want. Obviously $getforum[forumid] won't be set since there's nothing related to the forum in the buddy section.

    Comment

    • NORRITT
      Member
      • May 2001
      • 98

      #3
      I allready have linked on the buddy page with forumid=3 in the URL. on each other sites this works very well, also in form tags it takes the forumid i have linked from, just in this one not

      Comment

      • NORRITT
        Member
        • May 2001
        • 98

        #4
        ....

        Comment

        • tubedogg
          Senior Member
          • Feb 2001
          • 13602

          #5
          ? What? He answered your question - you need to hack the code.

          Comment

          • NORRITT
            Member
            • May 2001
            • 98

            #6
            i have

            on all pages and formulars it is working fine, just this one forumular not

            Comment

            • tubedogg
              Senior Member
              • Feb 2001
              • 13602

              #7
              Yes, and Ed gave you the reason why. You will have to hack the code if you wish to change this.

              Comment

              • NORRITT
                Member
                • May 2001
                • 98

                #8
                ok, i posted this in "vBulletin 2.0 'How Do I' Questions "

                so, how do I?

                Comment

                • Mike Sullivan
                  Former vBulletin Developer
                  • Apr 2000
                  • 13327
                  • 3.6.x

                  #9
                  These forums in the vB 2.0 section aren't for hacking. They're for support.

                  That said, you just have to pass the forumid throughout every page in your code (cookies would make it easy...)

                  Comment

                  • NORRITT
                    Member
                    • May 2001
                    • 98

                    #10
                    ok, thanks, i will try in hacking forum

                    Comment

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