vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Shoutbox Hack 1.04b (https://vborg.vbsupport.ru/showthread.php?t=68861)

d-mac 07-22-2005 02:10 AM

After a few hrs of hair pulling I got it up and running and working fairly well.

Still a few tweeks I plan on doing but it does work....

Q-v-n-s-Q 07-23-2005 03:41 AM

Hello, I'm getting the error:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home2/ggdude/public_html/forums/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/ggdude/public_html/forums/includes/db_mysql.php on line 389

This happens when trying to install it on my friend's forums, this also happens when trying to uninstall vBJukebox. All responses would be appreciated, thanks!

Marco van Herwaarden 07-23-2005 05:50 AM

Did you have your admincp directory renamed? If yes check the config file in ./install/his_files directory.

Scooterpig 07-23-2005 06:21 AM

Quote:

Originally Posted by Q-v-n-s-Q
Hello, I'm getting the error:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home2/ggdude/public_html/forums/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/ggdude/public_html/forums/includes/db_mysql.php on line 389

This happens when trying to install it on my friend's forums, this also happens when trying to uninstall vBJukebox. All responses would be appreciated, thanks!

Replace the query file with this one attached into the install/hacks/shoutboxhack/14 folder, which was posted earlier in this thread, hit the back button and then continue, which should fix your problem..:)

Q-v-n-s-Q 07-23-2005 05:49 PM

Nevermind, I got it working, thanks for all the help guys!

One more thing, how do I get it to actually show up on my page? :p

d-mac 07-23-2005 07:00 PM

Quote:

Originally Posted by Q-v-n-s-Q
Nevermind, I got it working, thanks for all the help guys!

One more thing, how do I get it to actually show up on my page? :p

you have to edit your forumhome templet

This is what I have in mine and it puts the shout box up top

Hope this helps.

Just below $Navbar like below place the code

Code:

$navbar<---- THIS IS JUST TO SHOW YOU WHERE IT GOES
<if condition="$vboptions['shoutbox_forumhomeshouts'] == 1">
<!-- shoutbox hack (by squall14716) -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
        <td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
<a href="shoutbox.php?$session[sessionurl]">
<if condition="$vboptions[shoutbox_numberofforumhomeshouts] == 1">
<phrase 1="$vbphrase[shoutbox_forumhome_latest]" 2="" 3="$vbphrase[shoutbox_forumhome_shout]">$vbphrase[shoutbox_forumhome_x_y_z]</phrase>
<else /><phrase 1="$vbphrase[shoutbox_forumhome_last]" 2="$vboptions[shoutbox_numberofforumhomeshouts]" 3="$vbphrase[shoutbox_forumhome_shouts]">$vbphrase[shoutbox_forumhome_x_y_z]</phrase>
</if></a></td>
</tr>
<tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
<tr valign="top">
        <td class="alt2"><a href="shoutbox.php?$session[sessionurl]"><img src="$stylevar[imagesfolder]/icons/icon2.gif" alt="" title="" border="0" />       
<if condition="!($permissions['shoutboxpermissions'] & SHOUTVIEW) || $bbuserinfo['shoutbanned'] == 1">
        <td class="alt1" width="100%"><span class="smallfont"><b>$vbphrase[shoutbox_noviewperms]</b></span></td>
<else />
<if condition="$vboptions['shoutbox_iframe'] == 0">
<!-- IF THE IFRAME IS DISABLED -->
        <td class="alt1" width="100%"><span class="smallfont">
<div class="smallfont" style="height:150px;width:100%;overflow:auto"><hr>  $latestshouts<br/> </div>  <if condition="$vboptions['shoutbox_shoutonforumhome'] == input && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" <if condition="$vboptions['shoutbox_shoutcharlimit'] != 0">maxlength="$vboptions[shoutbox_shoutcharlimit]"</if>>&nbsp;&nbsp;<input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></if> <if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
        </span></td>
<else />
<!-- IF THE IFRAME IS ENABLED -->
        <td class="alt1" width="100%"><span class="smallfont">
<if condition="$vboptions['shoutbox_shoutonforumhome'] == input && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60" <if condition="$vboptions['shoutbox_shoutcharlimit'] != 0">maxlength="$vboptions[shoutbox_shoutcharlimit]"</if>>&nbsp;&nbsp;<input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form><br /></if>
<iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="165" scrolling="auto" frameborder="0" name="forumhome_shoutbox" id="forumhome_shoutbox"></iframe>
<if condition="$vboptions['shoutbox_shoutonforumhome'] == textarea && $permissions['shoutboxpermissions'] & SHOUTPOST && $bbuserinfo['usergroupid'] != 1"><center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="$vbphrase[shoutbox_shout_now]" class="bginput" accesskey="s"></form></center></if>
        </span></td>
</if>
</tr>
</if>
</tbody>
</thead>
</table>
<br />
<!-- end shoutbox hack (by squall14716) -->
</if>


ambrosious 07-24-2005 04:02 PM

I have this installed on two sites, identical except one is running 3.0.1 and one is on 3.0.7. The 3.0.1 one runs great, shout box works like I want.

3.0.7 puts the entire shoutbox.php file inside of the shoutbox, instead of just the shouts?

Any ideas on why this might happen?

Thanks!

Dark Aura 07-25-2005 09:56 AM

Okay, I recently upgraded my Vb from 3.0.3 to 3.0.7, for some reason however, I have not lost the hack, but on my forum index it does not display the shouts all the time, sometimes it simply appears blank, any ideas what could be causing this?

iLynx2k5 07-25-2005 11:08 AM

Hi.

Im having trouble installing this as I have vbAdvanced CMPS. Where should i make the changes that I would normally make in index.php? Mine looks like

Code:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.0 RC2 (vB 3.0.x) - 15955
// || ? 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 00:49, Tue Jul 19th 2005
// ||
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');

// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================

//chdir('/vbul/upload');

// ============================================
// No Further Editing Necessary!
// ============================================

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();

require_once('./global.php');

print_portal_output($home);

?>


Scooterpig 07-26-2005 06:53 AM

Quote:

Originally Posted by iLynx2k5
Hi.

Im having trouble installing this as I have vbAdvanced CMPS. Where should i make the changes that I would normally make in index.php?

Make the changes to whatever you renamed your original index.php which is probably forums.php now.


All times are GMT. The time now is 08:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02054 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete