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)

rogersnm 06-17-2006 10:36 AM

srlnet.com, hostgator.com

i use srlnet.com and my mate uses hostgator.com

DjTaz 06-17-2006 02:38 PM

Quote:

Originally Posted by djrm
Can anyone who has been using vbshout for a long time recommend a hosting company that wont make you remove the script for overloading their server!

Thanks


If you disable smiles for the shoutbox and turn on the autoprune hack (somewhere in this thread) it tends to reduce the server load quite a bit.

rogersnm 06-17-2006 02:43 PM

It's all very well saying somewhere around here but with 126 pages and 1184 posts that may be a bit hard.

DjTaz 06-17-2006 02:45 PM

Quote:

Originally Posted by rogersnm
It's all very well saying somewhere around here but with 126 pages and 1184 posts that may be a bit hard.


I think thats why theres a SEARCH THIS THREAD option just under the initial post - makes it easier to find what you want WITHIN a thread

rogersnm 06-17-2006 02:47 PM

ok , i take NO credit for this:
Upload the attached file to includes/cron and then make a schedualed task to run at midnight once a day (0 0 * * *) with the file ./includes/cron/vbshout_prune.php and fill out the other fields with what ever you want. It will prune all shouts more than 24 hours old.

Snake 06-17-2006 02:51 PM

Thanks for that! Really helpful!

rogersnm 06-17-2006 02:51 PM

no probs

sinucello 06-17-2006 03:30 PM

Hi,

very nice hack, thank you very much! I use it as a chat as my members are not very experienced with computers and the internet so they need something comfortable and easy. The drawback are the many SQL-Queries and requests for vbshout.php.

I think I`m going to change the hack so that the shoutbox will only appear when you click on a link on the startpage and then the startpage is called with an additional &showShoutbox=1 parameter.

Ciao,
Sacha

rogersnm 06-17-2006 04:12 PM

i could make that for you :)

just add a plugin to forumhome and adjust the template alteration add another option in the admin cp and done. :)

sinucello 06-17-2006 04:38 PM

Hi,
Quote:

Originally Posted by rogersnm
i could make that for you :)

nice, please send me your offer. But only if you agree that your modification will be made available for the public here in this thread.

all the best,
Sacha

rogersnm 06-17-2006 04:44 PM

what, yeah sure. Or another thread linked as an addon to this.

Posof 06-17-2006 04:50 PM

Quote:

Originally Posted by Posof
:confused:

Helloo guys i am looking now for a while here for my problem and dont find it and now i am gone ask it..

I have install this hack also in my forum and was looking for something to edite and dont now how..

Please take a look at the Attachment (Pictures) what i am looking for..
I saw this in some other forum and was wondering that i can find it here, i have read one by one all of this thread and saw nothing about to make this changes.. I there someone who can help me with this problem.


Thanks,






Please can someone help me with this... :confused: :confused:



https://vborg.vbsupport.ru/showthrea...94#post1009494

rogersnm 06-17-2006 04:51 PM

yes, i can. Can you give me full admin access and pm me the details.

Regards,
Nick.

ps. do the buttons have to be below the shoutbox or can they be above?

Posof 06-17-2006 05:25 PM

Quote:

Originally Posted by rogersnm
yes, i can. Can you give me full admin access and pm me the details.

Regards,
Nick.

ps. do the buttons have to be below the shoutbox or can they be above?


Ok see your Pm..

charlub 06-17-2006 06:14 PM

No, when someone is actually viewing the homepage, because the shoutbox is on the homepage when you click a users profile on the action it says they're viewing the shoutbox instead of the homepage, I really don't know how to fix this! lol

Quote:

Originally Posted by rogersnm
yes, you can edit a plugin, do you mean when they type in the shoutbox window?


rogersnm 06-17-2006 06:45 PM

yes, so when they are typing in the shoutbox. Just edit the WOL plguin.

Snake 06-17-2006 06:55 PM

Quote:

Originally Posted by charlub
No, when someone is actually viewing the homepage, because the shoutbox is on the homepage when you click a users profile on the action it says they're viewing the shoutbox instead of the homepage, I really don't know how to fix this! lol

Yes I am having the same problem. How do I fix this bug or at least is there a way to get rid of it or disable this function?

charlub 06-17-2006 07:15 PM

but they're not typing in the shoutbox, it's just because it's on the homepage it says they're viewing shoutbox instead of homepage, they are not even touching the shoutbox. :(


Quote:

Originally Posted by rogersnm
yes, so when they are typing in the shoutbox. Just edit the WOL plguin.


rogersnm 06-17-2006 07:16 PM

ok, so edit the plugin.

i'll work out where after i finish this paid request.

charlub 06-17-2006 07:26 PM

ok, thanks rogersnm.

rogersnm 06-18-2006 04:48 PM

try disabling the plugin "WOL Config [Part A]" that should work.

2fast4ya 06-19-2006 05:47 AM

quick question, what's the commands for admins? i can't find them anywhere

GoNz00 06-19-2006 10:07 AM

Quote:

Originally Posted by da420

i missed that post, worked a treat thankyou very much :)

should stop the spamm0rs moaning for a few hours :)

rogersnm 06-19-2006 03:09 PM

/prune is the only one i know.

charlub 06-19-2006 04:35 PM

/prune to prune the full shoutbox
/prune WHOLESHOUTMESSAGE - deleted just the one you want
/prune username
/me



Quote:

Originally Posted by 2fast4ya
quick question, what's the commands for admins? i can't find them anywhere


rogersnm 06-19-2006 04:43 PM

yeah, i know all of that.

Jon. 06-19-2006 08:51 PM

Quote:

Originally Posted by redlabour
Will it work in the Feature with vBulletin 3.6 ?


It works on my test board running vb 3.6 beta 2, but using the image tags within it doesn't. It effectively ignores them, and just changes the location into a link. It's one of the only things holding me back from upgrading, but i'll live until there's a proper release of 3.6, methinks.

danb00 06-20-2006 06:34 AM

dude are there any fixes for use safari users?

hassi 06-21-2006 09:43 AM

i also have word wrap installed but it ends like this:

Quote:

link][IMG]link[/img][/url]
code replacement should be correct.

can someone help me?

you see, first bracket is missing before the link]. i understand this should be [url] instead of link]

my code lines are as follows (sir yaros replacement):

PHP Code:

$Shout['s_shout'] = ereg_replace("[a-zA-Z]+://([-]*[.]?[a-zA-Z0-9_/-?&%])*""[URL=\\0]link[/URL]"$Shout['s_shout']);
$Shout['s_shout'] = ereg_replace("(^| )(www([-]*[.]?[a-zA-Z0-9_/-?&%])*)""\\1[URL=http://\\2]link[/URL]"$Shout['s_shout']); 

inserted just before

Quote:

$Shout['time'] = buildTime($Shout['s_time']);
second insert done is:

Quote:

if ($Shout['s_shout'])
{
$Shout['s_shout'] = wordwrap($Shout['s_shout'], 80 , "\n" ,1);
}
just after:

Quote:

if ($Shout['data']['italic'])
{
$Shout['style'] .= 'font-style:'.$Shout['data']['italic'].';';
}
i made both inserts in the vbshout.php in 2 places. once for the grabbing of latest shouts and as well as for the displayed archive.

where's the error ?

rogersnm 06-21-2006 03:48 PM

The img errors can be fixed with a fwe tempalte eidts and seeing as zt is currently a bit busy with other things and was "Last Online: Jan 2006" Then i don't think that will be coming out any time soon.

cclaerhout 06-21-2006 08:19 PM

Strange, this hack was working with vB 3.6 beta 2, but not with beta 3. Can you confirm ?

Edit : sorry, i've a mistake. This is working :D

onewaydom 06-23-2006 06:00 PM

Hello,

how can i remove the date and everything in the brackets before the name. I understand that I have to take out some php code, but I am not sure which section.

Snake 06-23-2006 06:33 PM

Quote:

Originally Posted by rogersnm
try disabling the plugin "WOL Config [Part A]" that should work.

OK I tried doing that but I'm getting this error.

Quote:

Unknown Location
/shoutbox.php

Snake 06-23-2006 06:46 PM

Also when I input " in the shoutbox, it gives me its broken code. Which is ".

Flumples 06-23-2006 11:36 PM

When you type a < it comes out as &lt;

Anyway to stop this from happening? x

Snake 06-24-2006 01:44 PM

Nevermind fixed it myself.

Flumples, try and look at this post to get that issue of yours resovled! ;)

Snake 06-24-2006 03:45 PM

Quote:

Originally Posted by Dark Cloud
OK I tried doing that but I'm getting this error.

https://vborg.vbsupport.ru/showpost....postcount=1915

Anyone? :)

Footy 06-24-2006 03:47 PM

It's the best shoutbox that i ever seen.
Ive had installed to. But its a great weight on data, becuase its refreshing a lot. Is there a possibility to change some coding so the shoutbox not refreshing so match anymore?

rogersnm 06-24-2006 07:23 PM

Part A:
PHP Code:

if ($userinfo['activity'] == 'vbshout')
{
            
$handled            true;
            
$userinfo['action'] = 'Viewing Index';
            
$userinfo['where']  = "<a href=\"index.php?{$vbulletin->session->vars['sessionurl_q']}\">$vboptions[bbtitle] Forum</a>";



rogersnm 06-24-2006 07:45 PM

Part B:
PHP Code:

if ($filename == 'vbshout.php')
{
    
$userinfo['activity'] = '$vboptions[bbtitle] Forum';




All times are GMT. The time now is 08:09 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.02927 seconds
  • Memory Usage 1,832KB
  • 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_php_printable
  • (18)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