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)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

Reece^B 04-07-2006 08:54 AM

I need some help:
If my users are viewing the index it says they're viewing the shotbox when they are not. Why is this?

rareclownfish 04-07-2006 11:37 AM

Any coders out there?

hotwheels 04-07-2006 12:32 PM

QUOTE]Any coders out there?[/QUOTE]The second part of your question is done by vbadvanced..........although it was having some problem's, i believe it is functioning right. Here

And the first part of your question, Here

hotwheels 04-07-2006 12:42 PM

Quote:

If my users are viewing the index it says they're viewing the shotbox when they are not. Why is this?
are you also using cmps?

Davidspl 04-07-2006 01:03 PM

Can u mass delete all the old shouts? would like to have the option every now and then.

Reece^B 04-07-2006 01:43 PM

Quote:

Originally Posted by hotwheels
are you also using cmps?

Yes, but it was fine before I upgraded.

Baudman 04-07-2006 09:46 PM

My members will love this. Thanks. :):banana:

Fifthe1ement 04-07-2006 10:03 PM

Yeah, how can we mass delete the database of shouts?

hotwheels 04-08-2006 12:22 AM

for now, you will probably just have to click on "shoutbox" and delete the post's from in there.......1 at a time.

Fifthe1ement 04-08-2006 04:51 AM

Wow, if thats the case I'm going to take it down now as it can grow as my forum is huge...

jerx 04-08-2006 09:15 AM

Quote:

New Commands

- /prune (Clears the shoutbox completely)
- /prune [username] (Clears all shouts posted by specified user)
Don' t these commands delete the database?

exegete 04-08-2006 12:31 PM

Quote:

Originally Posted by lucky64
Any chance of being able to control what vbcode can be used?

I don't want html, or img for example, but do want smilies..

Don't know whether this has been answered already, but I achieved it with the following...

In vbshout.php, find the function "bbcodeparser", and specifically the following code in that function:

Code:

        if ($vbulletin->options['shout_bbcode'])
        {
                return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
        }

Replace with:

Code:

        if ($vbulletin->options['shout_bbcode'])
        {
                $text = preg_replace('/\[\/?(img|size|quote|html|code|center|spoiler|anchor|link|blockquote)(=[^\]]*)?\]/', '', $text);
                return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
        }

As you can see, I've removed a whole bunch of BB codes - just add or remove the keywords as necessary. Brackets and options etc for the codes should be handled automatically by the regular expression.

Hope it's self-explanatory. :)

Reece^B 04-08-2006 08:13 PM

anyone got any ideas for me?
The index is now named shoutbox lol when a user is viewing it.

hotwheels 04-09-2006 02:30 AM

Quote:

Yeah, how can we mass delete the database of shouts?
Jerx is correct, just type /prune in your shout box and hit the shout button.......It does a quick job of it.....

Quote:

Yes, but it was fine before I upgraded.
If you go to vbadvanced.com and type in vbshout, you can read some of the article's on the cmps upgrade, and it isn't working right. Alot of the people using vbadvanced have removed that part of the hack from their site's and are strictly using vbshout in the forums only......i could be wrong, which i usually am, but i read and read till my eye's hurt and found people just removing the mod.

sinizter 04-09-2006 10:22 AM

one problem,i uploaded the vbulletin.php file to my forum root directory,but where do i put it?...in acp? in archive?....also, how come its loading forever,it hasnt syopped loading.

hassi 04-09-2006 11:21 AM

Hi,

i've installed vbshout yesterday and i feel quite comfortable with it but i have some questions remaining. Maybe someone can answer them.

1) Can i prevent users from linking external graphics in the shoutbox? I remarked they may not only use system smilies but also diverse pics from their onw websites etc.

2) Is it possible to prevent users from editing/deleting their own shouts? I think this question or a similiar one has been raised before.

Sorry for my english, i'm german ;)

Thanks in advance
Hassi

Reece^B 04-09-2006 11:37 AM

Quote:

Originally Posted by hotwheels
If you go to vbadvanced.com and type in vbshout, you can read some of the article's on the cmps upgrade, and it isn't working right. Alot of the people using vbadvanced have removed that part of the hack from their site's and are strictly using vbshout in the forums only......i could be wrong, which i usually am, but i read and read till my eye's hurt and found people just removing the mod.

Yeha, but my shoutbox isnt in the CMPS it's jsut in the forums. Does this still count?

bashy 04-09-2006 02:16 PM

Hi ZT

I have a javascript issue showing up on the FF java console, this is:

Code:

Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: http://www.bashys-place.com/forums/index.php? :: showShouts :: line 2584"  data: no]
Source File: http://www.bashys-place.com/forums/index.php?
Line: 2584

Please advise?

Exitilus 04-09-2006 09:18 PM

I've tried searching this thread for my answer. But not finding it. So if this has been asked... Sorry.

Basically I have two domains. forums.my-domain.com and gallery.my-domain.com

The Shoutbox works fine in forums but not gallery. I tried changing all instances of vbshout.php to point to the forums.my-domain.com but that doesn't work. What am I missing? :)

hassi 04-10-2006 09:51 AM

How to prevent certain usergroups from editing/deleting shouts:

Because some users were doing nothing else than deleting / editing shouts and some more who were just mod (but no team-member though) of their userforum were editing / deleting shouts of others i tried to figure out how to restrict access to edit / delete function for certain usergroups only. So if someone is interested in it, please feel free to use the following code.

go to your templates -> look for forumhome_vbshout_archive_shout -> find the following line:

Code:

<if condition="$bbuserinfo[userid] == $Shout[s_by] OR can_moderate()">
replace it with:

Code:

<if condition="in_array($bbuserinfo[usergroupid], array(x, x, x))">
the x's should be replaced by the usergroups who should have access to edit / delete function.

i hope my explanation is understandable (i'm german)

cu
hassi

therocks 04-10-2006 12:51 PM

Quote:

Originally Posted by CoreIssue
This may have been asked a bunch, but there are just too many posts to dig through.

We have a lot of smilies. Is there any way to have a more smilies function rather than rotating through them randomly?

Thanks!

anyone have a fix for this?!!

Alien 04-10-2006 08:57 PM

I hope someone comes up with a way to limit how many shouts each user can make per day. I could really use that. :)

blacklancer 04-11-2006 04:06 PM

my shoutbox has been acting up recently. a few users have complained about it jumping around without them clicking on anything. i witnessed it first hand yesterday, and everytime it refreshes, it doesn't align properly so that you can read the current shouts. anyone know why it might be doing this??

Zweeper 04-11-2006 07:02 PM

How can i make a split by words that are longer than 15 letters?

Can someome help me? plz!

cuphongle 04-12-2006 05:10 AM

is it possible to change the height of the shoutbox? thanks

Zweeper 04-12-2006 10:01 AM

when you change the "Shouts To Display" value, you can change the height.

Hemanth 04-12-2006 03:56 PM

The best vBulletin Hack in my experience. No doubt.

A single question. Is all the shouts'll be stored in databse. If no when'll the be cleared?

hotwheels 04-13-2006 12:28 AM

hemanth, you should be able to clear the shout's everyday by typing /prune in your shoutbox and hitting shout...........It will clear in about 2 seconds.

WhyDoesItMatter 04-13-2006 06:19 AM

I just installed a new skin, and the shoutbox isn't showing on it. How can I get it to show?. Awesome hack btw, members really enjoy it.

Mikecp421 04-13-2006 02:05 PM

you probably have to add the template mods to the new skin/template

Reece^B 04-13-2006 03:19 PM

After looking at the problem of the index being named shoutbox I have found this:
index.php? says that members are viewing the shotubox,
index.php says that their on the index.

So maybe just a value need changing?

Zweeper 04-13-2006 03:54 PM

Quote:

Originally Posted by Zweeper
How can i make a split by words that are longer than 15 letters?

Can someome help me? plz!


hm :(

WhyDoesItMatter 04-13-2006 04:05 PM

What templates would I have to add?. I'd love to use the shoutbox on my new skin, without having to uninstall/reinstall it :(

Hangout 04-13-2006 04:16 PM

Ok, i installed this yesterday but now there is someone i want to ban from using it, but when i ban with their user id but all that comes up is

Quote:

Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288
Do i have to edit a file? Also does it so a message to say you r banned? and if it does can i change the message?

Thanks

MakZF 04-13-2006 05:24 PM

I discovered one bug, a user can post a completely blank shout if they post this exact shout: ""

syrossyn 04-13-2006 05:45 PM

Thanks a lot!!!!

saba 04-13-2006 07:15 PM

mine stays on loading wtf

bashy 04-13-2006 07:17 PM

Quote:

Originally Posted by saba
mine stays on loading wtf


I take it you have tried typing a message?
Mine says loading to i type a message then it brings my name up :)

saba 04-13-2006 07:23 PM

nope nothin :s

Dark_Konoko 04-13-2006 07:50 PM

Does this shoutbox system use an advanced algorithm such as this?:

http://blog.jalenack.com/ajax/#algorithm

I do know that this shoutbox seems to have a direct effect on my serverload.


All times are GMT. The time now is 01:03 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.04082 seconds
  • Memory Usage 1,824KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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