The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
FlashChat : Integration upgrades for vBulletin. Details »» | |||||||||||||||||||||||||||
FlashChat : Integration upgrades for vBulletin.
Developer Last Online: Nov 2023
This modification is no longer available or supported. This originally made changes to add new facilities to your FlachChat & vb set-up. However, all the features added are now part of standard Flashchat (4.6.0 and above). This now just supplies the latest vb 3.0 CMS file, which depending on circumstances, may either be the same as, or newer than, the one supplied with Flashchat itself. To install the latest 3.0 CMS file - unzip it, edit the usergroups access and options as required, and then copy the file to the ../chat/inc/cmses/ folder on your server. Optionally, you can also edit inc\langs\en.php. Finding ; Code:
'banned' => "You've been banned", Code:
'banned' => "You do not have permission to enter the chat", * Version 1.82 was the last version of the old hack (for Flashchat 4.2.1 upwards). History of the 3.0 CMS file * v1.13 - updated vbulletin30CMS.php file for vb 3.0 and Flashchat 4.5.2+ this contains a fix for a cookie security issue. * v1.14 - Added ability to login direct to a room using ../flashchat.php?username=_int_&room=n * v1.15 - Alterations to caching code. * v1.16 - Minor fix to Get User for membergroupids. * v1.17 - Security (anti-hacking) code added (as supplied by Darren). * v1.18 - Usergroup settings moved to top of CMS file. * v1.19 - Fixed error message when accessing chat admin area. * v1.20 - Default role changed. * v1.21 - Minor bug fix to Avatar detection, login code changes, tidy up. Show Your Support
|
Comments |
#142
|
|||
|
|||
The patch proved very helpful in muzzling an obnoxious troll.
I ran into him during a session inviting users to test FlashChat and he asked to be reinstated from a ban... and he pointed out that as a banned user he could still post in the chat. |
#143
|
||||
|
||||
I have no idea what has happened but the right side column under "Who's in live chat" has disappeared (the $chatwho part).
I did not modify anything at all but it was there the whole time today. Very strange. Any ideas? I checked the code, still there ($chatwho) This is the full home page code Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
$dfh_announcement_headercode
</head>
<body>
$header
$navbar<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" class="page">
<tr>
<td valign="top" align="left">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" id="table1">
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td class="alt5" style="background: url('/designs/radio_dream/f_31.jpg');" width="100%" >
<div style=" padding-left: 10px; padding-right: 10px; padding-top: 0px; padding-bottom: 0px;">
<strong>Shoutbox: Praise Jesus Christ!</strong></div></td>
<td><img src="/designs/radio_dream/f_32.jpg" alt="" /></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="border-style:solid; border-width:1px; " bgcolor="#F5F5FF" bordercolor="#C0C0C0">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td style="border-bottom-style: solid; border-bottom-width: 2px">
<p align="center">
<iframe frameborder="0" width="100%" src="http://cbox.co.za/box/?boxid=439&boxtag=7868&sec=main" marginheight="0" marginwidth="0" scrolling="yes" name="cboxmain" allowtransparency="yes" style="border: #ababab 0px solid" height="200"></iframe></td></tr>
<tr><td>
<p align="center">
<if condition="is_member_of($bbuserinfo,1,3,4,8,11)">
You must be registered and confirmed active account to use the shoutbox
<else />
<iframe frameborder="0" width="100%" height="50" src="http://cbox.co.za/box/?boxid=439&boxtag=7868&sec=form&wname=68&wemail=68&wmsg=175" marginheight="0" marginwidth="0" scrolling="no" name="cboxform" allowtransparency="yes" style="border: #ababab 0px solid; border-top: 0px;"></iframe>
</if>
</td></tr></table></td>
<td align="center" style="padding-left: 5px; padding-right: 5px; padding-top: 0; padding-bottom: 0; border-right-style:solid; border-right-width:1px; border-top-style:solid; border-top-width:1px; border-bottom-style:solid; border-bottom-width:1px" bordercolor="#C0C0C0" width="300" height="250" bgcolor="#F5F5FF">
<span style="letter-spacing: 10px">
<script type="text/javascript"><!--
google_ad_client = "pub-8760716273241411";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "666666";
google_color_url = "302EAD";
google_color_text = "545454";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" id="table2">
<tr>
<td><img src="/designs/radio_dream/f_40.jpg" alt="" /></td>
<td style="background: url('/designs/radio_dream/f_41.jpg');" width="100%"></td>
<td><img src="/designs/radio_dream/f_42.jpg" alt="" /></td>
</tr>
</table>
$forumbits
<!-- /main -->
<br><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td class="alt5" style="background: url('/designs/radio_dream/f_31.jpg');" width="100%" >
<div style=" padding-left: 10px; padding-right: 10px; padding-top: 0px; padding-bottom: 0px;">
<strong>$vbphrase[whats_going_on]</strong></div></td>
<td><img src="/designs/radio_dream/f_32.jpg" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr>
<td style="background: url('/designs/radio_dream/f_35.jpg');" width="4"></td>
<td>
<!-- what's going on box -->
<table cellpadding="6" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" bgcolor="#B9B9B7" >
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatusers')"><img id="collapseimg_forumhome_chatusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatusers].gif" alt="" border="0" /></a>
Members currently in the Chat: $totalchatters
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="members chatting" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$chatters</div></td>
</tr>
</tbody>
<!-- end who's in flashchat -->
<p align="left">$todayloggedinusers
</if>
</p>
</table></td>
<td style="background: url('/designs/radio_dream/f_37.jpg');" width="5"></td>
</tr>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="/designs/radio_dream/f_40.jpg" alt="" /></td>
<td style="background: url('/designs/radio_dream/f_41.jpg');" width="100%"></td>
<td><img src="/designs/radio_dream/f_42.jpg" alt="" /></td>
</tr>
</table>
<br />
<!-- end what's going on box -->
<table cellpadding="4" cellspacing="2" border="0" width="100%">
<tr>
<td class="page" ><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
</strong></div></td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="100%">
<tr>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="alt1"> <div class="smallfont">$vbphrase[forum_contains_new_posts]</div></td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="alt1"> <div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="alt1"> <div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- / icons and login code -->
</td>
<td width="150" valign="top">
<!-- what's going on box -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<thead><if condition="$show['guest']">
<!-- guest welcome message -->
<!-- / guest welcome message -->
</if>
<tr>
<td colspan="3">
<table border="0" width="100%" id="table4" cellspacing="0" cellpadding="0">
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td width="100%" background="/designs/radio_dream/f_31.jpg"><div class="smallfont"><font color="#FFFFFF">
Support Talk Jesus</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; " height="80" align="center">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="http://talkjesus.com/images/donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" style="border: 1px solid #C0C0C0">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----
">
</form>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">GFA: Free Book!</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" height="80" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px">
<div class="smallfont">
<p align="center">
<a target="_blank" href="http://www.gfa.org/freebook">
<img border="0" src="http://talkjesus.com/images/gfa.gif" width="120" height="60"></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Sponsor a Child</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" height="80" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px">
<p align="center">
<a target="_blank" href="http://www.children.org?kc=K;VV">
<img src="http://www.children.org/logo/ci_banner1.gif" border="0" height="60" width="120" alt="Click here to help a child"></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Free Book of the Month</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" height="100" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px">
<p align="center">
<a target="_blank" href="https://www.billygraham.org/freeoffer.asp?f=0&">
<img src="http://talkjesus.com/images/freemonth.jpg" border="0" height="76" width="62" alt="Click here to help a child" style="border: 1px solid #C0C0C0"></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Who's in Live Chat?</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left:1px solid #CFCBCA; border-right:1px solid #CFCBCA; padding-top: 5px; padding-bottom: 5px">
<div class="smallfont">
<p align="center">$chatwho</td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Bible Search</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="padding:5px; border-left:1px solid #CFCBCA; border-right:1px solid #CFCBCA; " bgcolor="#FFFFFF">
<div class="smallfont">
<form target="_blank" action="http://www.biblegateway.com/quicksearch/" method="POST" style="background-color: #F5F5FF">
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" id="table3">
<tr><td style="background-color: #F5F5FF; text-align: center; padding-left:10px; padding-right:10px; padding-top:0; padding-bottom:0">
<p style="margin-bottom: 0;">
<input type="text" name="quicksearch" style="color: #C7C7C7; font-family: Arial; font-size: 10pt; border: 1px solid #C7C7C7; background-color: #FFFFFF" size="12" /><br>
<font face="Arial" color="#B9B9B7"><span style="font-size: 8pt">...</span></font><br />
<input type="submit" value="search" style="color: #C0C0C0; font-family: Arial; font-size: 10pt; font-weight: bold; border: 1px solid #C7C7C7; background-color: #FFFFFF" /><br>
<font face="Arial" color="#B9B9B7"><span style="font-size: 8pt">...</span></font></p>
<a href="http://www.biblegateway.com/" title="The Bible in multiple languages, versions, and formats">
<img src="http://talkjesus.com/images/bg.gif" width="102" height="33" alt="BibleGateway.com" border="0" style="border: 1px solid #B9B9B7" /></a></td></tr>
</table>
</div>
</form> </div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
</tbody><if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Verse of the Day</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="padding:5px; border-left:1px solid #CFCBCA; border-right:1px solid #CFCBCA; ">
<div class="smallfont">
<p align="center">
<script language="JavaScript" src="http://www.biblegateway.com/usage/votd/votd2html.php?version=31&jscript=1&newtarget=1">
</script>
<!-- alternative for no javascript -->
<noscript>
<a href="http://www.biblegateway.com/usage/votd/votd2html.php?version=31&jscript=0&newtarget=1">View Verse of the Day</a>
</noscript>
</td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">$vbphrase[todays_birthdays]</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="padding:5px; border-left:1px solid #CFCBCA; border-right:1px solid #CFCBCA; ">
<div class="smallfont">$birthdays</div></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Today's Events</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="padding:5px; border-left:1px solid #CFCBCA; border-right:1px solid #CFCBCA; ">
<div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if><if condition="$show['upcomingevents']">
<tbody>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
</tbody></if>
<tbody>
</tbody>
<tbody>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Random Gallery</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td width="100%" colspan="3" height="80" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; ">
<table align="center" border="0" width="100%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_gallery_random')">
<img id="collapseimg_forumhome_gallery_random" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomtopic].gif" alt="" border="0"/></a>
<tr>$randomimagebits</tr>
</table></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Christian Resources</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px; padding-top: 5px; padding-bottom: 5px" align="left">
<div class="smallfont">
<a target="_blank" href="http://www.biblegateway.com">
<span style="text-decoration: none">Bible Gateway</span></a><br>
<a target="_blank" href="http://bibleonline.com"><span style="text-decoration: none">Bible
Online</span></a><br>
<a target="_blank" href="http://www.christiancourses.com/">
<span style="text-decoration: none">Christian Courses</span></a><br>
<a target="_blank" href="http://www.crosssearch.com">
<span style="text-decoration: none">Cross Search</span></a><br>
<a target="_blank" href="http://crosswalk.com"><span style="text-decoration: none">Crosswalk</span></a><br>
<a target="_blank" href="http://www.gotquestions.org">
<span style="text-decoration: none">Got Questions?</span></a><br>
<a target="_blank" href="http://www.livingwaters.com">
<span style="text-decoration: none">Living Waters</span></a><br>
<a target="_blank" href="http://www.lwf.org"><span style="text-decoration: none">Love Worth
Finding</span></a><br><a target="_blank" href="http://oneplace.com">
<span style="text-decoration: none">One Place</span></a><br>
<a target="_blank" href="http://praize.com"><span style="text-decoration: none">Praize</span></a><br>
<a target="_blank" href="http://studylight.org"><span style="text-decoration: none">Study
Light</span></a><br>
<a target="_blank" href="http://the-case-for-christ.com">
<span style="text-decoration: none">The Case for Christ</span></a><br>
<a target="_blank" href="http://thewayofthemaster.com">
<span style="text-decoration: none">The Way of the Master</span></a></div>
</td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Christian Marketplace</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px; padding-top: 5px; padding-bottom: 5px" align="left">
<div class="smallfont"><a target="_blank" href="http://botcw.com">
<span style="text-decoration: none">BOTCW</span></a><br>
<a target="_blank" href="http://christianityfreebies.com">
<span style="text-decoration: none">Christianity Freebies</span></a><br>
<a target="_blank" href="http://crossdaily.com"><span style="text-decoration: none">Cross Daily</span></a><br>
<a target="_blank" href="http://crossguide.com"><span style="text-decoration: none">Cross Guide</span></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Kids & Teens</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px; padding-top: 5px; padding-bottom: 5px" align="left">
<div class="smallfont">
<a target="_blank" href="http://kidsfortruth.com">
<span style="text-decoration: none">Kids 4
Truth</span></a><br><a target="_blank" href="http://passageway.org">
<span style="text-decoration: none">Passageway</span></a><br>
<a target="_blank" href="http://intouch.org"><span style="text-decoration: none">Teen
Connection</span></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<font color="#FFFFFF">Online Radio</font></td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px; padding-top: 5px; padding-bottom: 5px" align="left">
<div class="smallfont">
<a target="_blank" href="http://crosswalk.com">
<span style="text-decoration: none">Crosswalk</span></a><br>
<span style="text-decoration: none">
<a target="_blank" href="http://lwf.org">
<span style="text-decoration: none">Love Worth
Finding</span></a></span><br><span style="text-decoration: none">
<a target="_blank" href="http://oneplace.com"><span style="text-decoration: none">One Place</span></a></span></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Christian Charities</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA; padding-left: 5px; padding-top: 5px; padding-bottom: 5px" align="left">
<div class="smallfont">
<a target="_blank" href="http://billygraham.org">
<span style="text-decoration: none">Billy
Graham</span></a><br><span style="text-decoration: none">
<a target="_blank" href="http://christianchildrensfund.org">
<span style="text-decoration: none">Children's Fund</span></a></span><br>
<span style="text-decoration: none">
<a target="_blank" href="http://children.org">
<span style="text-decoration: none">Children International</span></a></span><br>
<span style="text-decoration: none">
<a target="_blank" href="http://gfa.org">
<span style="text-decoration: none">Gospel for Asia</span></a></span><br>
<a target="_blank" href="http://lifeoutreach.org"><span style="text-decoration: none">Life
Outreach</span></a><br><a target="_blank" href="http://worldvision.org">
<span style="text-decoration: none">World
Vision</span></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Vote for Talk Jesus!</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA" height="300">
<p align="center">
<a target="_blank" href="http://sites.truebm.org/in.php?id=268">
<img src="http://sites.truebm.org/button.php?id=268" border="0" /></a><br>
<br>
<a href="http://www.jcsm.org/top500/in.php?id=112">
<img src="http://www.jcsm.org/top500/button.php?id=112" border="0" style="border: 1px solid #C0C0C0" />
</a><br>
<br><a target="_blank" href="http://www.fishthe.net/top1000/in.php?id=528">
<img src="http://www.fishthe.net/top1000/button.php?id=528" border="0" width="75" height="36" style="border: 1px solid #C0C0C0; " /></a><p align="center">
<!-- Christian Top 1000 code starts here -->
<A HREF="http://www.christiantop1000.com/cgi-bin/1000/show.cgi?id=talkjesus" target=_blank>
<IMG SRC="http://www.christiantop1000.com/cgi-bin/1000/counter.cgi?id=talkjesus" BORDER=0></A>
<!-- Christian Top 1000 code ends here -->
<p align="center">
<a target="_blank" href="http://www.topfamilysites.com/topsites/in.php?id=1224">
<img src="http://www.topfamilysites.com/topsites/button.php?id=1224" border="0" /></a><a href="http://www.topfamilysites.com/topsites/in.php?id=1224">
</a>
<p align="center">
<a href="http://chart.crossmap.com">
<img src="http://chart.crossmap.com/count.php?website_id=290" border=0 alt="Christian Website Rankings" style="border: 1px solid #C0C0C0"></a></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Sponsors</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA">
<div class="smallfont">
<script type="text/javascript"><!--
google_ad_client = "pub-8760716273241411";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "666666";
google_color_url = "302EAD";
google_color_text = "545454";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Christian Hosting</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-left: 1px solid #CFCBCA; border-right: 1px solid #CFCBCA" height="110">
<div class="smallfont">
<p align="center">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj5" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="150" height="90">
<param name="movie" value="http://talkjesus.com/images/forums.swf">
<param name="quality" value="High">
<embed src="http://talkjesus.com/images/forums.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj5" width="150" height="90" quality="High"></object>
</td>
</tr>
<tr>
<td><img src="/designs/radio_dream/f_30.jpg" alt="" /></td>
<td background="/designs/radio_dream/f_31.jpg" width="100%" style="padding-left: 5px">
<div class="smallfont"><font color="#FFFFFF">Christian Music</font></div>
</td>
<td><img src="/designs/radio_dream/f_301.jpg" alt="" /></td>
</tr>
<tr>
<td class="alt1" width="100%" colspan="3" style="border-bottom:1px solid #CFCBCA; border-left:1px solid #CFCBCA; border-right:1px solid #CFCBCA; " height="155">
<div class="smallfont">
<p align="center">
<a href="http://www.talkjesus.com/announcement.php?f=13">
<img border="1" src="http://talkjesus.com/images/cd.gif" width="120" height="122" style="border: 1px solid #909090"></a><br>$6.95 Free Shipping</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
$footer
|
#144
|
||||
|
||||
Quote:
You probably made the same mistake I did in this section of code... Code:
Replace with ; function getRoles($usergroupid) { /* ## Paul M Version ## Edit the code below to set roles for different vB usergroups This assigns access in the following priority based on all primary and secondary group membership. 1. Assign default access (which is set to NO access below). 2. If they are a member of an allowed group, grant USER access. 3. If they are a member of a staff group, grant ADMIN access. 4. If they are a member of a banned group, grant NO access. */ // Set default access $userrole = ROLE_NOBODY ; $groups = explode(',',$usergroupid); // Set Allowed groups if (in_array(2,$groups)) $userrole = ROLE_USER; if (in_array(7,$groups)) $userrole = ROLE_USER; //Set Staff groups if (in_array(5,$groups)) $userrole = ROLE_ADMIN; if (in_array(6,$groups)) $userrole = ROLE_ADMIN; //Set Banned groups if (in_array(8,$groups)) $userrole = ROLE_NOBODY; if (in_array(9,$groups)) $userrole = ROLE_NOBODY; return $userrole; } |
#145
|
|||
|
|||
Quote:
|
#146
|
|||
|
|||
Installation Mistake: vBulletin 3.0.8 - Version 1.82
Instructions: Step 3. in inc\classes\sendLoginInfo.php Code:
Find ; $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NOT NULL AND ispermanent IS NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); if( $rec['password'] != '' ) $this->sendBack(new Message('srl', null, $rec['id'], 'true')); $rooms[$rec['id']] = 0; } } } Code:
$stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NOT NULL AND ispermanent IS NOT NULL ORDER BY ispermanent"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); if( $rec['password'] != '' ) $this->sendBack(new Message('srl', null, $rec['id'], 'true')); $rooms[$rec['id']] = 0; } } Code:
Replace with ; $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NOT NULL AND ispermanent IS NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); if( $rec['password'] != '' ) $this->sendBack(new Message('srl', null, $rec['id'], 'true')); $rooms[$rec['id']] = 0; } } // # Paul M # load permanant private rooms if Admin. if(ChatServer::userInRole($this->userid, ROLE_ADMIN)) { $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NULL AND ispermanent IS NOT NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); $rooms[$rec['id']] = 0; } } } } My final code: Code:
// $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NOT NULL AND ispermanent IS NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); if( $rec['password'] != '' ) $this->sendBack(new Message('srl', null, $rec['id'], 'true')); $rooms[$rec['id']] = 0; } } // # Paul M # load permanant private rooms if Admin. if(ChatServer::userInRole($this->userid, ROLE_ADMIN)) { $stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NULL AND ispermanent IS NOT NULL ORDER BY created"); if($rs = $stmt->process()) { while($rec = $rs->next()) { $this->sendBack(new Message('adr', null, $rec['id'], $rec['name'])); $rooms[$rec['id']] = 0; } } } // |
#147
|
||||
|
||||
Sorry but you are mistaken, a mistake that several seem to make.
If you look carefully at the instructions you will find that the sql ends with "ORDER BY created" , while the section of code you have highlighted as found ends with "ORDER BY ispermanent". The correct section of code is in fact the next few lines below what you have listed, and has three brackets at the end - the replacement code has four brackets. The instructions are correct. |
#148
|
|||
|
|||
Thank you for the correction. One can be overwhelmed during a 2AM installation.
Although the chat worked with my erroneous mod as shown, it trashed the room list in the right hand panel. Take that as a tip-off for repeat offenders. Without removing the } as I did, the result is a blank screen showing the background. Also, I have run into a potential open door, which I will PM to you. |
#149
|
||||
|
||||
Quote:
|
#150
|
||||
|
||||
Hello Paul, where is the original code for the first install of this, not the upgrade.
Thanks |
#151
|
|||
|
|||
How do i allow custom usergroups access to chat.
Id does not transfer the login information either, prob somthing stupid ive not done |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|