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... :)

zell_11 09-19-2006 04:48 PM

Ok for those people who are getting the array_merge problem I know how to fix this

Replace your vBShout [Template Cache] with the following

Code:


if (VB_AREA == "Forum")
{
        global $globaltemplates;

        $globaltemplates  = array_merge((array)$globaltemplates, array('forumhome_vbshout'));
}

That will fix the problem

RFViet 09-20-2006 01:09 PM

Quote:

Originally Posted by zell_11
Ok for those people who are getting the array_merge problem I know how to fix this

Replace your vBShout [Template Cache] with the following

Code:


if (VB_AREA == "Forum")
{
        global $globaltemplates;

        $globaltemplates  = array_merge((array)$globaltemplates, array('forumhome_vbshout'));
}

That will fix the problem

Thank you so much :D

BlueKnight 09-22-2006 04:37 AM

I have this installed and working on all pages but on photo classifieds it will not work. Its just says loading.

Calibre_k 09-28-2006 10:16 PM

Will this work on vBulletin 3.6.0?

Abe1 09-29-2006 11:42 AM

Quote:

Originally Posted by Calibre_k
Will this work on vBulletin 3.6.0?

yes.

PassLab.net 10-24-2006 09:20 PM

thanks, passlab.net has installed ;)

GoTTi 11-09-2006 12:56 PM

so there is just NO way to avoid this: Fatal error: Call to undefined function: isbanned() in /home/site/public_html/forum/global.php(356) : eval()'d code on line 190 when putting a usergroup in the banned area???

Calibre_k 11-09-2006 07:14 PM

dont understand how to do this on all forums

Caddyman 11-29-2006 03:59 PM

Quote:

Originally Posted by cOuNtErFiET (Post 1062315)
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?


This is happening to me too, any help?

top end ms 12-05-2006 08:20 AM

me 3. Also wondering if anyone has any server load issues with this?

bos-maxjay 01-09-2007 03:58 PM

tried to put shoutbox on all my pages with vBShout on all pages! instructions but it did`nt work on the instructions it says to install when you have done everything but all i can see is save in my acp can someone tell me what i`m doing wrong i`m running vb 3.6.2 when i save it it disappears from the main forum home when shoutbox was there before i try to put it all all the pages? can u help please thx in advance

nicker 01-14-2007 02:10 PM

All worked for me <clicks installed> doesn't show up on arcade though, I am using ibpro arcade, any way of showing it there?

Abe1 01-15-2007 03:20 AM

Quote:

Originally Posted by nicker (Post 1158883)
All worked for me <clicks installed> doesn't show up on arcade though, I am using ibpro arcade, any way of showing it there?

Nope. They use some other then normal way to get the navbar.

Hiranmanu 01-16-2007 08:54 PM

I don't know what's going on. It still isn't working for me. I uninstalled the product 3 times. And then reinstalled and followed these steps. I have uploaded all the forum files 2 times.

After I make the coding changes, the Shoutbox does not appear at all on any pages. I am running 3.6.4 and a skin based on 3.6.2

dj chico 01-18-2007 08:07 PM

hi i installed the original vbshout and it was working fine but now i tried to install the "on all pages" mod and it completely disappears. I cant find it anywhere, any help guys??

im using vB 3.5.4, vbadvanced 2.1.0, ibparcade 2.5.9+


Cheers

EDIT : I'm fixed. Used this thread - https://vborg.vbsupport.ru/showthread.php?t=111532

ai stat4504 04-21-2007 07:40 PM

I tried this.. and now my shour box is completely gone... any suggestions / help? THanks!!!

deezelpope 04-21-2007 09:01 PM

It doesn't work with some custom styles...that's the reason I don't use it.

Shazz 04-21-2007 09:13 PM

I used some of this code, and other part I messed with somehow got it to work.

deezelpope 04-21-2007 09:18 PM

Are you gonna share this little secret, Shazz? https://vborg.vbsupport.ru/external/2007/04/3.gif

Shazz 04-21-2007 10:29 PM

Quote:

Originally Posted by deezelpope (Post 1232908)
Are you gonna share this little secret, Shazz? https://vborg.vbsupport.ru/external/2007/04/3.gif

I can't even get it to work on my test site.
As I said I was messing around..

cuphongle 05-04-2007 05:12 PM

is this work for v3.6.5???

fgenetics 07-27-2007 06:04 PM

Quote:

Originally Posted by cuphongle (Post 1241447)
is this work for v3.6.5???

works good on my board 3.6.4

tried installing on my other board 3.6.7 ... the board is just getting to a blank page. Please advise.

Thx

esthervdwal 07-29-2007 01:27 PM

Quote:

Originally Posted by Gizmo5h1t3 (Post 772425)
installed it exactly as in instructions, now i have a completely borked board...cant login, even into the admin cp..

Fatal error: Call to undefined function: isbanned() in /home/*******/public_html/board/global.php(363) : eval()'d code on line 112

any helpin gettin my board back online would be appreciated

I'm having the same problem here on line 113:confused:

skepticality 09-24-2007 09:18 PM

What I am doing wrong? I keep looking for "vBShout [Template Alteration]" and for the life of me, I can't find that. I have looked in the plugin itself on the admin panel. And I have looked in the plugin section, I can see all the vBShout entries in there, but NONE with the name [Template Alteration]. Am I just not looking in the correct place? I want the chatbox to be under the navbar on ALL the pages. :confused:

RatherBecamping 11-10-2007 11:21 PM

welp I got the fatal error...then I found the global start hook after I deleted the hack....sigh.......the template you're looking for is under plugins in admin cp

RatherBecamping 11-10-2007 11:38 PM

What is this error?

Fatal error: Call to undefined function isBanned() in /home/usarvfor/public_html/USARVFORUM/global.php(360) : eval()'d code on line 409

I SHout works like a champ before I try to install the shout on all pages hack. YES I followed your instructions to the letter.

skepticality 11-11-2007 01:36 AM

Okay.

I must have lost my mind. For the LIFE of me I can't find the correct spot in the Admin CP where I do the changes I need to do for the shoutbox to be on all the pages. People keep referencing the spot, and that makes sense, but WHERE is it in the system? It isn't too obvious in there sometimes and every time I think I figured it out... I break something in a rather tragic manner... <sigh>

Has anyone out there made this shout system end up on all your pages? Cause, it seems that my users would like that quite a bit... :)

Thanks again.

RatherBecamping 11-11-2007 11:55 AM

Admincp>Plugins and Products>Plugin Manager

You'll see the templates you need to edit there. Hope you have better luck than I did.

skepticality 11-11-2007 01:37 PM

Thanks...

So I guess you didn't get it to work either? Cause, I found all the templates... but none of them are named "[Template Modification]". Then I attempted to be 'smart' and went into the actual php files to see where it was doing the magic... and... got lost. <sigh>

Has anyone made this work on all the pages of their forum?

If you have, can you let us know the 'trick'? :confused:

Thanks!

mystic10 11-15-2007 04:58 PM

can you not make another php so we can just upload that and have it on all the pages as i dont even know what a hook is and where to change it...i know its silly but its a request hope u can do it thanks


All times are GMT. The time now is 11:48 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.01513 seconds
  • Memory Usage 1,820KB
  • 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
  • (5)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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