vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Shoutbox 1.0 (https://vborg.vbsupport.ru/showthread.php?t=38698)

wardsweb 10-30-2003 01:54 AM

Yep, it was in a template. I rebuilt them and it works fine. thanks all

wardsweb 10-30-2003 02:22 AM

My bad - correction - it works fine from the vbindex page but I get a file not found when I try it from the shout page. Where should I look?

Gio Takahashi 10-30-2003 04:01 PM

Can I look over the templates? I might figure out the problem from there.

wardsweb 10-31-2003 01:12 AM

Thanks for the offer, but after very carefully going over the code, I found the the code listed in the instructions (that I copied and pasted) had an extra "/" that was hosing it.

Gio Takahashi 10-31-2003 02:35 AM

Quote:

Originally Posted by NuclioN
I want a miniavatar before the name in the shoutbox and placed this in the shoutbox_bit:

<img src="icon.php?s.userid=$[shoutid]" height="16" width="16">?$name: but this is not working. Ofcourse this isn't the right code to do this. Does anyone know how to do this?

to make sure you know. I will look over that code tomorrow.

NuclioN 10-31-2003 12:24 PM

Tnx Takahasi. :)

-Shocker- 11-04-2003 12:23 AM

Quote:

Originally Posted by -Shocker-
On the forumhome, how do i make the shoutbox table not as wide. My forum is at 90% width, but then the shoutbox makes it 100% and i cant change it. How do i do that?


soulviv3r.php 11-08-2003 04:04 AM

can someone copy paste thier forumhome_shoutbox template my **** is messed up I tyhink i am doing it right

-------------------------------------------
this is what I have
-------------------------------------------
<table cellpadding="5" cellspacing="0" border="0" {tableinnerextra} width="100%">
<form action="$bburl/shoutbox.php" method="post" name="vbform">
<input type="hidden" name="type" value="shout">

<tr>
<td bgcolor="{firstaltcolor}" colspan="6"><smallfont><b>Posted by <a href="$bburl/member.php?s=$sesion[sessionhash]&action=getinfo&userid=$shout[userid]" class="small">$shout[username]</a> on $shout[timestamp]</b></smallfont>
<br/><smallfont>$shout[shout_text]</smallfont></td>
</tr>

X-Sector 11-08-2003 12:18 PM

I have a problem, when l post the shout with fews smilies, it give me the smilies error in the shout box -_-

Anybody help

Gio Takahashi 11-09-2003 12:49 AM

The template has been PM'd to you, soul.

saint_seiya 11-14-2003 09:54 PM

Can you give me some advice please..

I installed it, you can post but it wont show $the_shoutbox in forum home.. it just wont display it... thought you could help me out :)

http://forums.vgcity.com
http://forums.vgcity.com/shoutbox.php

Thanks.

Gio Takahashi 11-15-2003 12:50 AM

Can't see the forums when its closed.

saint_seiya 11-15-2003 01:49 PM

Sorry, the other admin must have closed it. Gonna fix that now.

saint_seiya 11-15-2003 02:32 PM

Fixed. Can you tell me whats wrong.

Link14716 11-15-2003 03:40 PM

Quote:

Originally Posted by saint_seiya
Fixed. Can you tell me whats wrong.

Either you didn't edit index.php or you didn't add the forumhome_shoutbox template (whatever it's called).

saint_seiya 11-17-2003 06:27 PM

Thats what i tought, i checked both and their there :/ Im gonna check again.

MaDCaT75 12-14-2003 08:59 PM

Quote:

Originally Posted by TWTCommish
I'm confused, Bald Bouncer: are you saying you want them to be taken back to the forums main page after they've posted a shout?

erm..... TWTCommish I dont think you ever answered on how to do this. Please tell us?

MaDCaT75 12-20-2003 11:22 PM

Oh and also is there a way to make a smiley limit for the shoutbox please?

MaDCaT75 12-22-2003 09:17 PM

Quote:

Originally Posted by MaDCaT75
Oh and also is there a way to make a smiley limit for the shoutbox please?

uh..... anyone?

MaDCaT75 12-22-2003 09:25 PM

also is there a way to disable HTML in it?

MindTrix 12-22-2003 09:47 PM

Advice to stop HTML beeing used in shoutbox, as tested by MaDCaT75 and so far works :)

In the shoutbox.php file find

PHP Code:

[size=2]shout_text '".addslashes($message)."',[/size



and change too

PHP Code:

[size=2]shout_text '".htmlentities(addslashes($message))."'

[/size]

[sidenote] This is my first proper bit of PHP help Horray!![/sidenote]

MaDCaT75 12-23-2003 02:15 AM

what about users who like to make ridiculously long shouts or put 30000000 smilies in there?

unplugged 12-23-2003 09:42 AM

Surly you could pinch the code that stops you putting 30,000 smileys into posts :/

Ethermaster 12-23-2003 06:56 PM

Quote:

Originally Posted by John
And I have fixed it :) - in the template shoutbox_postshout, I changed:

PHP Code:

  <tr id="cat">
    <
td bgcolor="{tableheadbgcolor}" colspan="6"><a href="shoutbox.php?s=$session[sessionhash]title="The Shoutbox"><normalfont color="{tableheadtextcolor}"><b>The Shoutbox Latest Shout</normalfont></b></a></td>
  </
tr

to

PHP Code:

<table cellpadding="5" cellspacing="0" border="0" {tableinnerextrawidth="100%">
  <
form action="$bburl/shoutbox.php" method="post" name="vbform">
  <
input type="hidden" name="type" value="shout"


After inplying your method I am still getting the root DIR for the shout box. any suggestions? Running VB 2.3.3

MaDCaT75 12-23-2003 08:53 PM

Quote:

Originally Posted by unplugged
Surly you could pinch the code that stops you putting 30,000 smileys into posts :/

Yes I am sick of banning people who ignore my warnings about this.

MindTrix 12-24-2003 06:46 PM

MaDCaT75, ask me on MSN later and i will help you out. Consider it an early xmas present :)

MaDCaT75 12-24-2003 07:39 PM

Thanks :D

gmarik 12-25-2003 06:02 AM

vb3?

MaDCaT75 12-25-2003 06:18 AM

Quote:

Originally Posted by gmarik
vb3?

Not until RC1 I would imagine

DuffMan 12-25-2003 12:10 PM

I installed the hack but whenever I try to post a shout it takes me to shoutbox.php in the directory below the one the file's actually in.

THE REAL BLAZE 12-26-2003 10:05 PM

I have an error......

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in /hsphere/local/home/hiphop/rapblock.com/shoutbox.php on line 5

it comes up when I try to post a shout. please help

DjTuPPer 12-27-2003 10:56 AM

Quote:

Originally Posted by Phat Papa Pete
Is there any way to disable the [IMG] code? Members are abusing the Shoutbox by shouting extremely large pictures. Very annoying.

Thats exactly what I would ask you guys about too!

How do you remove the [img] tags???

Thanks ;)

jaliam 12-28-2003 07:34 AM

Quote:

Originally Posted by Bald Bouncer
fantastic mate, I had only one small problem in shoutbox_postshout I had to change <form action="/shoutbox.php" too <form action="shoutbox.php"

Great tip, Bald Bouncer! You just solved my problem. Thanks, buddy!

Silverstangs 12-31-2003 12:25 PM

Hey I just installed this on vb2.3.3 and it works perfectly... so far. I do need a cosmetic change thou... is there is a way to make each shout out alternate colors just like posts on the main home page?? On our home page, it's just all one color while on the shoutbox page it alternates colors.

http://www.stangcountry.com
http://www.stangcountry.com/forums/shoutbox.php

Clicks install

Scott

Silverstangs 12-31-2003 01:19 PM

Oh 2nd thing... has anyone come up with a option to ban and unban people from the shoutbox in the Admin CP????

Thanks
Scott

MindTrix 12-31-2003 04:01 PM

<a href="http://tutorials.yaxay.com/showtutorial.php?action=show&id=183" target="_blank">http://tutorials.yaxay.com/showtutor...on=show&id=183</a>

Check that out, may help you.

y2krazy 01-08-2004 11:48 PM

Ok, got a little problem here...

I go to the Shoutbox, but when I try to post a shout, it goes to a "page not found" URL. What would cause this?

If you feel like registering and testing it out(the Shoutbox link seems to be directing to the wrong URL --- it goes to www.bladestorm.net/forums instead of forums.bladestorm.net; anyone know why this is, or how to fix it?):

http://forums.bladestorm.net/

-y2k-

TWTCommish 01-09-2004 02:15 AM

Quote:

Originally Posted by y2krazy
Ok, got a little problem here...

I go to the Shoutbox, but when I try to post a shout, it goes to a "page not found" URL. What would cause this?

If you feel like registering and testing it out(the Shoutbox link seems to be directing to the wrong URL --- it goes to www.bladestorm.net/forums instead of forums.bladestorm.net; anyone know why this is, or how to fix it?):

http://forums.bladestorm.net/

-y2k-

I don't mean to be rude, but this bug has been spotted and corrected maybe a dozen times in this thread already.

y2krazy 01-09-2004 04:28 AM

I just couldn't find it in the last 10 pages and had to log off after only skimming through them. I am sorry to have bothered you with it, but I found the problem on my own when I found the template that needed to be corrected. Thanks for the notice and the hack, TWTC! :D

-y2k-

Fargo 01-24-2004 04:31 PM

installed nearly perfectly on 2.3.4! Only problem was the already mentioned path in the shoutbox_post template.

Another satisfied customer :)


All times are GMT. The time now is 05:17 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.01861 seconds
  • Memory Usage 1,828KB
  • 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
  • (4)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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