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)

Abe1 10-14-2005 04:49 PM

Quote:

Originally Posted by Gizmo5h1t3
was hoping someone could come up with a fix for this WOL problem....
i imagine there are other members on here, that like to use the "who`s online", to see where members are on the board at any given moment....its sooo frustrating seeing that theyre all vierwing the shoutbox, when its obvcious they arent!!

lmao

This is not my problem. It's the main shoutboxes problem. If you didn't have this hack installed, all users that are on the main page would be showed viewing the shoutbox.

slank 10-16-2005 10:01 AM

i like the hack....in fact i love it, but it somehow messed up my usercp :ermm:

where did i go wrong?

Gizmo5h1t3 10-16-2005 10:03 AM

Quote:

Originally Posted by Abe1
This is not my problem. It's the main shoutboxes problem. If you didn't have this hack installed, all users that are on the main page would be showed viewing the shoutbox.

abe, i dont remember seeing where i put that it was your problem...lol
all i was asking was, would the re be anyone out there that might have the solution to it??

Abe1 10-16-2005 11:58 AM

Quote:

Originally Posted by Gizmo5h1t3
abe, i dont remember seeing where i put that it was your problem...lol
all i was asking was, would the re be anyone out there that might have the solution to it??

I assumed since you posted it here, you thought it was this hacks problem. i would assume you would post it in the main hack thread this problem.

Anyway, I maybe able to come out with a fix. No garranty on it, or how long it will take.

Blackbeard 10-16-2005 12:12 PM

Right iam being very stupid here but dont understand the instructions, how do i edit the plugin - change the hook, is 2b in the php file, iam just not upto speed with all this.

Abe1 10-16-2005 03:16 PM

Quote:

Originally Posted by Blackbeard
Right iam being very stupid here but dont understand the instructions, how do i edit the plugin - change the hook, is 2b in the php file, iam just not upto speed with all this.

You have to edit it in your acp. acp ->plugins->manage plugins

Blackbeard 10-16-2005 04:30 PM

Sorted, amazing what happens after you click expand lol, thanks install

slank 10-17-2005 01:17 AM

Abe1 - any chance of letting me know what i did wrong?, thumbnail is on page 3

Abe1 10-17-2005 03:40 AM

Quote:

Originally Posted by slank
Abe1 - any chance of letting me know what i did wrong?, thumbnail is on page 3

I've got no clue.

slank 10-17-2005 08:14 AM

thanks for the reply, do you think it could have something to do with the forum width or cell/margin/border spacing etc?

Markco 10-17-2005 05:11 PM

Quote:

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

Yes I have the same problem

Fatal error: Call to undefined function isBanned() in /global.php(349) : eval()'d code on line 112

The error occurs with the following parameters:

Options vBulletin >> Vbshout options >> Banned Permissions:

Choose access permissions for banned users, by default they will not be able to post shouts: >> Can not view shoutbox

This error occurs only with vBShout on all pages not on the traditional shoutbox

SacredCow 10-19-2005 03:46 AM

Any chance with making something like this work with the drupal plug in? I'd cream in my pants if that happened cause I can't figure out how to make it work. I'm trying to make this site which is currently a huge PostNuke style site and convert it over.

http://www.faygoluvers.net - the current site, sign up and see the features and massive themes.

http://www.fall-guy.com/lounge/2/ - new beta for it.

TTG 10-19-2005 01:25 PM

Just installed and all work well except when users are viewing the vbagallery .. shoutbox shows, but is always 'loading' !?

Wachtmeister 10-24-2005 11:02 AM

How can i uninstall this?

> a) Change the Hook Location to "global_start"

What was the original string? ;-) I just want the Shoutbox onto forumhome due to too much traffic now ;)

Abe1 10-24-2005 01:28 PM

Quote:

Originally Posted by Wachtmeister
How can i uninstall this?

> a) Change the Hook Location to "global_start"

What was the original string? ;-) I just want the Shoutbox onto forumhome due to too much traffic now ;)

forumhome_complete

Wachtmeister 10-24-2005 03:16 PM

Quote:

Originally Posted by Abe1
forumhome_complete

Thank you very much :)

Wachtmeister 10-24-2005 03:29 PM

Is there maybe a chance to have the Shoutbox also on my Arcade? I don't want the SB on every page. Just on Forumhome and Arcade.

Regards, Wachtmeister

Aeolian_X 11-03-2005 11:04 AM

I don't suppose there's a way to put it on select pages instead of every one of them is there? I wouldn't mind it being in my General Discussion area, but don't know if I want it in my tech sections.

PsiNyde 11-03-2005 02:09 PM

im sure you can go into the template and make an <if> condition to exclude it from certain forums...yes?

PsiNyde 11-03-2005 02:12 PM

also, is it possible to put this hack inside of amykhar's left/right_column hack instead of under the navbar?

Holidazed 11-03-2005 05:58 PM

I am trying to follow the instructions. Here are the problems I am having:

Step 1.) No problem
Step 2a.) Done
Step 2b.) Where is this? This does not look like the text in my vBShout [Template Alteration] plugin

Mine, looks like this:
Code:

if (THIS_SCRIPT == "index")
{
        global $globaltemplates;
        $globaltemplates  = array_merge($globaltemplates, array('forumhome_vbshout'));
}

Step 2c.) Where do I find this piece of code.
Step 3.) No problem

BTW, I am using Ajax's vBShout.

Abe1 11-03-2005 10:54 PM

Quote:

Originally Posted by bitg
I am trying to follow the instructions. Here are the problems I am having:

Step 1.) No problem
Step 2a.) Done
Step 2b.) Where is this? This does not look like the text in my vBShout [Template Alteration] plugin

Mine, looks like this:
Code:

if (THIS_SCRIPT == "index")
{
        global $globaltemplates;
        $globaltemplates  = array_merge($globaltemplates, array('forumhome_vbshout'));
}

Step 2c.) Where do I find this piece of code.
Step 3.) No problem

BTW, I am using Ajax's vBShout.

Your mixing up 2b and 3.

Holidazed 11-04-2005 12:31 PM

Quote:

Originally Posted by Abe1
Your mixing up 2b and 3.

No, 2b clearly states.

Code:

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

b) Find and delete:

function isBanned($user)
{
        return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));       
}

function isBanned_Check($bash, $against)
{
        global $vbulletin;
        return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array()));
}

And 3 Clearly states
Code:

3) Edit plugin "vBShout [Template Cache]" and make the following changes:

Find:
if (THIS_SCRIPT == "index")

Replace with:
if (VB_AREA == "Forum")

I do not see a mix up here. The code I am told to look for in steps 2b and 2c does not exist as far as I can see. Maybe you can tell me what template/file/plugin I am supposed to find it in?

Abe1 11-04-2005 03:20 PM

Quote:

Originally Posted by bitg
No, 2b clearly states.

Code:

2) Edit plugin "vBShout [Template Alteration]" and make the following changes:

b) Find and delete:

function isBanned($user)
{
        return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));       
}

function isBanned_Check($bash, $against)
{
        global $vbulletin;
        return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array()));
}

And 3 Clearly states
Code:

3) Edit plugin "vBShout [Template Cache]" and make the following changes:

Find:
if (THIS_SCRIPT == "index")

Replace with:
if (VB_AREA == "Forum")

I do not see a mix up here. The code I am told to look for in steps 2b and 2c does not exist as far as I can see. Maybe you can tell me what template/file/plugin I am supposed to find it in?

2b and 2c are in the same place as 2a

Holidazed 11-04-2005 03:33 PM

I understand what you are trying to say, but your instructions on step 2 say:

Code:

Edit plugin "vBShout [Template Alteration]" and make the following changes:
The things it is telling me to look for are not there!

Mine looks like this

Code:

if (THIS_SCRIPT == "index")
{
        global $globaltemplates;
        $globaltemplates  = array_merge($globaltemplates, array('forumhome_vbshout'));
}

That is all that it says. Where do I find this other text you are referring too?

The only text that matches your instructions are in step 2a and step 3

Abe1 11-04-2005 06:00 PM

you will find 2b and 2c in plug-in "vBShout [Template Alteration]"

Holidazed 11-04-2005 07:19 PM

OK, I did all you said to do. I found all the entries and made the changes, Now I am getting this error on my main forum page.

Fatal error: Call to undefined function isBanned() in /home/dungeon/public_html/vbb350/global.php(349) : eval()'d code on line 112

Could this be because I an running vbb3.51?

Abe1 11-05-2005 09:54 PM

Quote:

Originally Posted by bitg
OK, I did all you said to do. I found all the entries and made the changes, Now I am getting this error on my main forum page.

Fatal error: Call to undefined function isBanned() in /home/dungeon/public_html/vbb350/global.php(349) : eval()'d code on line 112

Could this be because I an running vbb3.51?

It have something to do with the banning open and using the 2nd choice. I havn't figured it out yet.

Holidazed 11-07-2005 08:11 PM

Any ideas on this yet?

Holidazed 11-11-2005 04:32 PM

Is this mod being supported? Maybe it should be moved to the beta forums as it still does not work.

bplinson 11-12-2005 11:42 AM

Installed yesterday - Uninstalled today. Slowed the forums down WAY too much.

Abe1 11-12-2005 11:04 PM

Quote:

Originally Posted by bitg
Is this mod being supported? Maybe it should be moved to the beta forums as it still does not work.

Dont use the 2nd option on banning. I cant give any other suggestion right now.

davew 11-13-2005 12:57 AM

Quote:

Originally Posted by TTG
Just installed and all work well except when users are viewing the vbagallery .. shoutbox shows, but is always 'loading' !?


Yep .... Same...

Anyone else seeing this, or did you find an answer please?

Harry72 11-13-2005 07:20 AM

Thx ! Works great on 3.5.1 ! Keep up the good work !

THX !!! :nervous:

bye
Harry

ninermac 11-14-2005 05:20 AM

If you're looking to find a way to fix the Who's Online problem, see my post here

dark dragun 11-15-2005 06:22 PM

Uninstalled untill fix is posted for the banning function. I too get errors if anything other than "banned user can see, but not post in shoutbox" setting and then the shoutbox dosnt even show up any where not even on forum home anymore lol. If i pick a differnt setting a blank page loads. I like it, but it needs to be tested much more befor being released. keep trying. If anyone has got this working please post what version of vb you have and what skin your using. thanks.

jesus likes pie 11-15-2005 06:26 PM

Sorry, but I really don't like this idea =\

davew 11-15-2005 06:56 PM

Quote:

Originally Posted by dark dragun
Uninstalled untill fix is posted for the banning function. I too get errors if anything other than "banned user can see, but not post in shoutbox" setting and then the shoutbox dosnt even show up any where not even on forum home anymore lol. If i pick a differnt setting a blank page loads. I like it, but it needs to be tested much more befor being released. keep trying. If anyone has got this working please post what version of vb you have and what skin your using. thanks.

It works perfectly for me with vB3.5.1 and standard skin.

EXCEPT for within vbaGallery, where it says LOADING.... only...

Has anyone solved this particular problem please??

kafi 11-19-2005 08:34 PM

It works for me too, but I would need this only for forum id=18.
Can anybody help where to put "if" condition?

In old shoutbox I have had this:
<if condition="$forumid == '18'">

Probably something like that will help here also. But how? .-)

Thank you!!!

kafi 11-19-2005 09:00 PM

Quote:

Originally Posted by kafi
It works for me too, but I would need this only for forum id=18.
Can anybody help where to put "if" condition?

In old shoutbox I have had this:
<if condition="$forumid == '18'">

Probably something like that will help here also. But how? .-)

Thank you!!!


Ok I have put the same if in the template forumhome_vbshout. It is working now, except that it is in navbar above my custom made banner place, that is supposed to be directly under navbar and than I want to have shoutbox.

Any suggestions why is that?
Thank you!


All times are GMT. The time now is 08:08 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.01437 seconds
  • Memory Usage 1,834KB
  • 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
  • (8)bbcode_code_printable
  • (16)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