The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Flashchat Integration for vB 3.6 Details »» | |||||||||||||||||||||||||
This modification is no longer available or supported. Flashchat integration with vBulletin 3.6 Note: Standard Flashchat includes a version of my vBulletin integration as part of the Tufat supplied files - including a working vBulletin 3.6 CMS file. However, the standard files do not include Direct Usergroup Integration or other extra's like the WOL Display & Flashchat on a vBulletin page. This Integration Mod adds those features Standard vB 3.6 integration features * Authorised members are automatically logged in. * Automatic login works even if a member has not ticked "remember me". * All non authorised members are locked out (this and the above are based on usergroup membership). * If enabled, Flashchat updates the users session location (displayed in various vBulletin online location displays such as WOL). * Real ip detection when a proxy server is used (only if the proxy server passes on the details). * Permanant, Private Rooms are loaded by Admins and Moderators (allows for Staff Rooms). Extra's added by this modification * Direct login to a room. * The WOL will correctly display Flashchat as the location (not 'Unknown Location') * Flashchat can be displayed embedded inside a 'standard' vBulletin Page (i.e. not full screen). * Direct Usergroup Integration - a section is added to each usergroup in the ACP Usergroup Manager to set the Flashchat permissions for that group. * The plugin will try to automatically add a link to Flashchat in your Quick Links or Navbar - this feature can be disabled if you wish. * The automatic link can have a prefix path defined - useful if you use something like CMPS. More notes: * This integration is for Flashchat versions 4.7.x and above. * The automatic link feature may fail if you have customised templates. * For Flashchat inside a vBulletin page you need to link to .../misc.php?do=flashchat * This modification does not add any links to Flashchat Administration in the ACP. * You can set all members to login direct to particular room via the ACP. * You can also add a room parameter to the url - i.e. .../misc.php?do=flashchat&room=3 * 3.56 onwards has extra code to cope with VBs CSRF protection, which interferes with profile linking (vb 3.6.10+). The CMS file assumes that you are installing Flashchat in your forum root folder - this is the same folder as your usercp.php file and includes folder. Installation will fail if you do not do this. Support: Please check the instructions, and make sure you have uploaded any files to the correct location - the vast majority of problems reported are due to an error made in editing or uploading files. If you are still stuck and want me to take a look then feel free to PM me your site address, an admin user, and ftp access details, without these I cannot help you. I will look when I have time. Finally, I am not Tufat.com or Flashchat Support - if you have questions about Flashchat, their forums are here. To use the this upgraded integration simply download and unzip the file, then follow the instructions in the text file. Once installed, the Flashchat userlevel options for each usergroup will appear in the ACP usergroup edit screens - editing of the CMS file will no longer be required. History: v3.01 : First version for vb 3.6 (not released). v3.02 : Various code changes, first public release. v3.02A : Minor bug fixes to WOL Display. v3.02B : Dependancies updated for 3.6.0 Gold. v3.03 : Minor fix to Get User for membergroupids, some SQL changes. v3.03A : Updated for Version Checking. v3.04 : Security (anti-hacking) code added (as supplied by Darren). v3.05 : Usergroup settings moved to top of CMS file. v3.06 : Fixed error message when accessing chat admin area. v3.07 : Default role changed. v3.08 : Minor bug fix to Avatar detection, login code changes, tidy up. v3.50 : Beta release with direct usergroup integration. v3.51 : First full release with direct usergroup integration. v3.52 : No Access and Banned split into separate permissions. v3.53 : Minor changes - includes disabling the utf8 functions if the F/C config option is false. v3.53A : Internal updates, not released. v3.53B : Internal updates, not released. v3.53C : Add ability for member to do direct to a room (other than the Flashchat default). v3.53D : Defaults on first install updated. v3.54 : Option for link path prefix added. v3.55 : Minor changes to install code only. v3.56 : Code added to allow profile views when CSRF protection is active. v3.57 : CSRF Code changed. Show Your Support
|
Comments |
#242
|
||||
|
||||
Quote:
|
#243
|
|||
|
|||
I really need some minor help before I pull my hair out.
Your hacks above has added a link under the Quick Links in the navbar for FlashChat (right under buddies list) See image.. I have been searching for about 3 hours trying to find this code, with no luck. Maybe I am missing something simple, maybe I am stupid, but I am ready to give up. The navbar was still in it's original state (not red) at the time, BUT yet the link is there in the Quick Links navbar. I have since added code to the navbar pasted below. Code:
<script type="text/javascript"> <!-- function log_out() { ht = document.getElementsByTagName("html"); ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"; if (confirm('$vbphrase[sure_you_want_to_log_out]')) { return true; } else { ht[0].style.filter = ""; return false; } } //--> </script> <br /> <!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="bottom"> <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> </td> <if condition="$show['member']"> <td class="alt2" valign="top" nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if> </div> </td> <else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td> <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> </tr> <tr> <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td> <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </td> </if> </tr> </table> <!-- / breadcrumb, login, pm info --> <!-- nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> </if> </if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> <br /> <if condition="$show['forumdesc']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td> </tr> </table> <br /> </if> <if condition="$show['popups']"> <!-- NAVBAR POPUP MENUS --> <if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <form action="search.php?do=process" method="post"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label> <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </form> </div> <!-- / header quick search form --> </if> <if condition="$show['member']"> <!-- user cp tools menu --> <div class="vbmenu_popup" id="usercptools_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">$vbphrase[quick_links]</td></tr> <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr> <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr> <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr> <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if> <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>--> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr> <tr><td class="thead">$vbphrase[miscellaneous]</td></tr> <if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if> <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr> <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr> <tr><td class="vbmenu_option"><a href="psistats.php$session[sessionurl_q]">$vbphrase[psistats_link]</a></td></tr> <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if> </table> </div> <!-- / user cp tools menu --> </if> <!-- / NAVBAR POPUP MENUS --> <!-- PAGENAV POPUP --> <div class="vbmenu_popup" id="pagenav_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form"> <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" /> <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" /> </form> </td> </tr> </table> </div> <!-- / PAGENAV POPUP --> </if> I have changed the other two links (Who is in Chat and Who is online), but this one has avoided me. Please, can anyone help a guy out? |
#244
|
||||
|
||||
You won't find it in the template, it's added 'on the fly' by the plugin.
|
#245
|
|||
|
|||
Quote:
I tried editing the xml before improting it to add the _blank code, but it gives errors on the forum home page. |
#246
|
||||
|
||||
What did you edit ?
|
#247
|
|||
|
|||
Ok, I purchased, downloaded, and installed FlashChat v4.73 according to the Integrating FlashChat documentation that came with it. All went smoothly and it worked just fine.(i.e. Step 1 of FlashChat-vb-integration.txt file)
Then, I came here and downloaded this MOD and followed it's FlashChat-vb-integration.txt file... Performed Step 2, by editing & uploading the vbulletin36CMS.php file. Performed Step 3, setting 'url' => '/forums/index.php?' (Note: My board is installed in a 'forums' directory) Performed Step 4 edit as denoted in the text file. Performed Step 5, selecting Allow Overwrite = Y Now, whenever I try to go into CHAT I see a new msg in RED that reads: "To login as an administrator, moderator or spy, please use the passwords found in FlashChat's configuration file, with any username." on the Welcome to FlashChat v 4.7.3 login page. Before, when I would click on the 'Start FlashChat using built-in login' button I went right in. Now, it no longer works. Instead, I go to a 'Please login to the chat' screen. I read thru the config.php file under the 'Roles config' section and tried logging in using the adminstrator password denoted there, but still to no avail. I can't get logged into CHAT no matter what I try right now. Lastly, I'm using Miko's ARIA Skins (from vbstyles) and my QuickLinks button on the navbar has changed. Before, it functioned as a drop down. Now, it reloads the entire page and moves the SEARCH function one place over to the left, adds mark forums read & open buddy list buttons and the Quick Links button itself disappears...but no CHAT button shows up anywhere. Anyway, does this MOD force the admins/moderators to login with a new/different password, and does it have to be that way? Any feedback on what's gone wrong would be appreciated. Thanxx. |
#248
|
||||
|
||||
Check what CMS system you have specified in Flashchats config.php, sounds to me like it isn't vbulletin36CMS.
|
#249
|
|||
|
|||
I didn't know you had to specify one. Anyway, did so just now and that managed to get me logged in...to something.
Before, I got a blue flashchat screen when I went in. Now I get a mostly all black screen for about 3 seconds, and then in turns white. Not like any Chat I've ever seen. When I use my browser's back button and then check the who's logged in feature, it says I am logged in...but again all of FlashChat's normal look is not there at all. |
#250
|
|||
|
|||
I think a big part of the problem is, I misunderstood your instructions in the Flashchat-vb-integration.txt file. For instance, where you said:
Step 3. (optional) Edit ../chat/inc/config.php I edited the copy that came with FlashChat on my local HD and then FTP'd it up to my site. In doing so, I'm guessing I've overwritten the 'good' file that was left there by the FlashChat install process.:tired: So now, no tellin' what all I'm missing besides the vbulletin36CMS file specification you denoted. Is my best bet to just remove FlashChat altogether and reinstall it again? Then, when I get to your part of the integration I'll know this time to copy down what I have from the server, edit it, and then put the files back in place. |
#251
|
||||
|
||||
Re-run the install, it won't harm anything, it will detect you already have the tables installed.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|