Announcement

Collapse
No announcement yet.

forumid in <form ..> of choosebuddies

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

  • 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?

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


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


      • #4
        ....

        Comment


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

          Comment


          • #6
            i have

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

            Comment


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

              Comment


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

                so, how do I?

                Comment


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


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