The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#232
|
|||
|
|||
Sure.....
|
#233
|
||||
|
||||
???
|
#234
|
||||
|
||||
Does anyone have any ideas about the moderator functions not working?
Does it work for everyone else? |
#235
|
|||
|
|||
i had this exact same problem too. how did you fix it?
Quote:
|
#236
|
|||
|
|||
My chat index.php3 page comes up blank when I add the first bit of the hack to index.lib.php3. If I remove the hack I get the login screen.
Ive attached the index.lib.php3 bit that's the problem (although I've renamed them to php it doesn't really matter as the error was the same when it was php3) //a VBB integration hack by Stasik (stasik@t-online.de) //v0.1 //(C)2001 $exiturl = "http://www.blabla.com"; // the url the user will be redirected exiting the chat if($Ver == ""){print " <HTML> <SCRIPT TYPE=\"text/javascript\" LANGUAGE=\"javascript\"> <!-- var NS4 = (document.layers) ? 1 : 0; var IE4 = ((document.all) && (parseInt(navigator.appVersion)>=4)) ? 1 : 0; var ver4 = (NS4 || IE4) ? \"H\" : \"L\"; function defineVerField() { if (document.images && ver4 == 'L') document.forms['Params'].elements['Ver'].value = 'M'; // js1.1 enabled browser else document.forms['Params'].elements['Ver'].value = ver4; } --> </SCRIPT> <FORM ACTION=\"index.php\" METHOD=\"POST\" AUTOCOMPLETE=\"OFF\" NAME=\"Params\"> <INPUT TYPE=\"hidden\" NAME=\"Ver\" VALUE=\"L\"> </FORM> <SCRIPT TYPE=\"text/javascript\" LANGUAGE=\"javascript\"> defineVerField(); document.forms.Params.submit(); </SCRIPT> </HTML> "; exit;} chdir("/home/sites/site2/web/chat"); require("./global.php"); chdir("/home/sites/site2/web/chat/livechat"); if ($bbuserid == 0) { print "no"; //Message if the user has no cookie exit; } else { if ($bbusername == "" || (isset($bbusername))==0) { $getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid"); $username=$getusername[username]; $bbusername = $username; } else { $username = $bbusername; } } $U = $username; $pat = "[[:space:]]"; $repl = ""; $U = ereg_replace($pat,$repl,$U); $pat = ','; $U = ereg_replace($pat,$repl,$U); stripslashes($U); $N = 20; $D = 10; $Form_Send = 1; //Replace admin with your administration nick if($U != "chatadmin") { $PASSWORD="1"; } |
#237
|
|||
|
|||
can`t see it
|
#238
|
|||
|
|||
Wow, you're fast!!
It didn't attach for some reason so I pasted it in now. Thanks. |
#239
|
||||
|
||||
Hello, can someone help.
|
#240
|
|||
|
|||
OK, here is what I've done. I've created a separate script for phpMyChat and vBulletin integration. It includes the hacks discussed here, and should work well for more people. I've made a few small enhancements, and added a few installation notes.
Some points of interest. 1) These files are all .php extensions. 2) No chat registration exists, including administration. You can create rooms in the setup, but that's it. No private rooms, no banning, etc. That's because the setup that works for me has the "no registration" option on. So if you can handle that, this should work. 3) I can answer the questions I can, but not detailed specifics on phpMyChat or vBulletin. 4) I don't have CVS available for any fixes or changes, if I update anything, I'll post it here. 5) This is of course, an unofficial release of the phpMyChat script, but I've left all documentation intact. Thanks to phpProbe, Tom, phpMyChat, and vBulletin for great hacks and products. You can download the zip file here: http://www.auctioncrotch.com/downloa...download&cid=1 |
#241
|
|||
|
|||
works perfect for me!
THX! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|