Announcement

Collapse
No announcement yet.

[RELEASE v2] Homepage Login on non-vB page

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

  • #46
    Juan are you still having this problem?

    I just got that fix 2 weeks ago, probably I can help.
    <sig removed because it violated the forum rules. Two requests were sent but ignored>

    Comment


    • #47
      Thank you. I've moved to vbportal so now I don't have the need.

      Comment


      • #48
        What is vbportal?
        <sig removed because it violated the forum rules. Two requests were sent but ignored>

        Comment


        • #49
          http://phpportals.com

          Comment


          • #50
            WoW, looks great... wish I seen this ealier.
            <sig removed because it violated the forum rules. Two requests were sent but ignored>

            Comment


            • #51
              Maybe you can help me ?

              I tried this hack last nite on a PHP based front page

              Now, being that I'm a id-10-T newbie with PHP, I'll claim no great shakes at page design, or PHP coding, but, it seems to have serious issues(MySql DB errors, and bad pass data to SQL call) if there are no cookies, but only gets the: Warning: Headers already sent" error message when a cookie is present. Also, it DOES issue the Welcom back message. I know that the admin.php is called from the global.php include....

              I also changed it up a bit, making all the statements after the } else { statement to be print( statements, as I wasn't getting a good result with the escape from html/PHP structure that was in place.

              It DOES process the logon correctly, and allows the links on my front page direct access to the threads, so what I've got going wrong has to be simple....

              Another consideration is that I use BadMeetsEvil's Headlines script, modified, and in several variants, each with a different forum category for all the areas on the board.

              The other hacks used on the front page are;
              1. Last 10 Posts (trimmed to 5)
              2. Who's Online (Vertical Form)
              3. Top 10 Posters

              A sample of the page can be seen Here

              If you want to logon, use the userId: Varebel, password same as user Id. It's a read-only Id, so no posting is allowed, simply a test vehicle we use for see what the general public see's.

              Thanks for any help in advance....Be kind, Old mainframers need help, too )
              http://www.bitbenderforums.com/image.../bbf_topic.gif
              IRC Chat bitbenderforums.com:6667

              Comment


              • #52
                Hi

                Can anyone help me?

                I have a Digi Chat hosting thing, at the moment I can get it to log into the chat system if the user is already logged in and on the vB board.

                But what I now need to do is allow a user to login and get to the chat system at the same time, anyone know how to do this?

                The code I currently have is:
                PHP Code:
                <?php 

                include("./global.php"); 

                if (!
                $bbuserinfo[usergroupid]==|| $bbuserinfo[usergroupid]==|| $bbuserinfo[usergroupid]==|| $bbuserinfo[usergroupid]==7) { 
                eval(
                "dooutput(\"".gettemplate('chatmod')."\");"); 
                } else { 
                if (!
                $bbuserinfo[usergroupid]==|| $bbuserinfo[usergroupid]==2) { 
                eval(
                "dooutput(\"".gettemplate('chat')."\");"); 
                } else { 
                eval(
                "dooutput(\"".show_nopermission()."\");"); 

                // end if 

                ?>
                And a template:
                PHP Code:
                Chat
                <html
                <
                head
                <
                title>$bbtitle $foruminfo[title]</title
                $headinclude 
                </head
                <
                body
                $header 
                <center><!-- *** START APPLET CODE *** --> 
                <
                APPLET NAME="DigiChat" 
                CODEBASE="http://host4.digichat.com/DigiChat/DigiClasses/" 
                CODE="com.diginet.digichat.client.DigiChatApplet" 
                WIDTH="200" HEIGHT="100" ALIGN="MIDDLE" 
                ARCHIVE="client.jar"

                <
                PARAM NAME="siteID" VALUE="XXXX"
                <
                PARAM NAME="cabbase" VALUE="Client.cab"
                <
                PARAM NAME="background" VALUE="0099cc"
                <
                PARAM NAME="textcolor" VALUE="000000"
                <
                PARAM NAME="nickname" VALUE="$bbuserinfo[username]"

                DigiChat requires a Java Compatible web browser to run
                </
                APPLET
                <!-- *** 
                END APPLET CODE *** --></center
                $footer 
                </body
                </
                html

                Comment

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