vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBShout on all pages! (https://vborg.vbsupport.ru/showthread.php?t=96158)

GoTTi 07-22-2006 05:45 PM

ok after tryin to use this mod, and when i enter a banned usergroup, those usergroups that get banned see this message in the shoutbox:

Warning: Invalid argument supplied for foreach() in /vbshout.php on line 293

any way to fix this?

Sean James 07-25-2006 08:32 PM

After applying the changes made in this hack, now the shoutbox doesnt show on the forumhome page but twice on every other page.

Any ideas?

Sean James 07-25-2006 08:34 PM

ok i fixed the double shoutbox's on everypage except for forumhome by removing the variable $Shoutbox from the navbar template, but the shoutbox is not showing on forumhome for me.

http://www.eliteironbodybuilding.com/forum/

Sean James 07-25-2006 08:55 PM

its all good, i fixed my problem.

The template my client was using didnt have the $navbar variable in his forumhome template as its customised.

Renmiri 07-29-2006 04:24 AM

I managed to customize it per template, using your hacks with a slight change on the plugin changes:

Still find
Quote:

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);
Then instead of replacing FORUMHOME by navbar, keep it like it is and insert above it
Quote:

$Position = '<!-- put vBShout here -->';
No go on FORUMHOME and put <!-- put vBShout here --> where you want the shoutbox to be at forum home
For example
<td><!-- put vBShout here --></td>

Then on each template that you want a shoutbox put $Shoutbox where it should be
example

<td>$Shoutbox</td>

I wanted Shoutbox on the bottom for FORUMHOME, FORUMDISPLAY and thread viewing and on top for all RPG Inferno screens.
Worked like a charm!

PS: Is it just me or the RED color makes the text green here at vbulletin.org ?

EXP-Graeme 08-09-2006 09:08 PM

i just upgraded to 3.6 and although I had this hack on 3.5.x it does not seem to work now :(
Can get it on forum index page OK, but not on every page

Any fixes or am I getting it wrong

Thug 08-12-2006 04:43 PM

When i ban people or usergroups it comes up to them as Warning: Invalid argument supplied for foreach() in /vbshout.php on line 293

Attitude5ire 08-22-2006 10:25 AM

If you get this error, while clicking member profile page, reading PM or reputations..

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1064) : eval()'d code on line 5
try doing this -
Edit plugin "vBShout [Template Cache]" and make the following change:

Find :
Code:

if (VB_AREA == "Forum")
Change it to
Code:

if (VB_AREA == "forum")
Kinda worked for me, though im using a different Version of Shoutbox which uses flatfile.
Cheers

cOuNtErFiET 08-28-2006 03:43 AM

i did this and it completely removed the sb from the pages all of them even the index.php page what could be the problem?

Snake 08-30-2006 03:59 PM

Thanks for the hack! I'll install it right away... :)


All times are GMT. The time now is 06:22 PM.

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.01354 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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