vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #61  
Old 04-10-2005, 05:51 PM
FD929's Avatar
FD929 FD929 is offline
Member
 
Join Date: Feb 2005
Location: Vacaville, Ca
Posts: 54
Default Re: vba shoutbox side block

Opens in a new box? Sorry I can't see the site *grumbles* dang work filter. Can you be a little more specific?
  #62  
Old 04-10-2005, 06:02 PM
FD929's Avatar
FD929 FD929 is offline
Member
 
Join Date: Feb 2005
Location: Vacaville, Ca
Posts: 54
Default Re: vba shoutbox side block

Quote:
Originally Posted by Flow Fusion
I agree but how?
I see you got it working but you failed to put in the correct mySQL username and password. You can find that info in your /forums/includes/config.php file at the top. Look for // ****** DATABASE USERNAME & PASSWORD ******
  #63  
Old 04-11-2005, 05:48 AM
Flow Fusion Flow Fusion is offline
Junior Member
 
Join Date: Mar 2004
Posts: 28
Default Re: vba shoutbox side block

Quote:
Originally Posted by FD929
I see you got it working but you failed to put in the correct mySQL username and password. You can find that info in your /forums/includes/config.php file at the top. Look for // ****** DATABASE USERNAME & PASSWORD ******
I have it correct I think cause my forum works using that info. How do I allow my shoutbox access?
  #64  
Old 04-11-2005, 12:16 PM
FD929's Avatar
FD929 FD929 is offline
Member
 
Join Date: Feb 2005
Location: Vacaville, Ca
Posts: 54
Default Re: vba shoutbox side block

The mySQL error in the shoutbox shows that you are not using a password ... you do have a password. Double check your sql info in /gs/includes/config.php
  #65  
Old 04-11-2005, 12:29 PM
Flow Fusion Flow Fusion is offline
Junior Member
 
Join Date: Mar 2004
Posts: 28
Default Re: vba shoutbox side block

I did and why would my forum work if not set to allow access? eh forget it I give up lol.
  #66  
Old 04-11-2005, 12:38 PM
FD929's Avatar
FD929 FD929 is offline
Member
 
Join Date: Feb 2005
Location: Vacaville, Ca
Posts: 54
Default Re: vba shoutbox side block

I don't think you do. If you had it set correctly in the shoutbox.php, you would see the shoutbox instead of the mySQL error. If you'd like to create a test admin I can get it sorted out for you. I would also need ftp access. PM me if you want help.
  #67  
Old 04-16-2005, 04:57 PM
1359 1359 is offline
Junior Member
 
Join Date: Apr 2005
Posts: 1
Default Re: vba shoutbox side block

Did anyone ever find a solution to the problem created when using FD929's coding? Like whenever an unregistered user attempts to enter a shout it refreshes the forum portal into the shoutbox. Any ideas on how to fix?

Also, I didn't like the bulky grey button supplied with the shoutbox, so I used span styling to spruce it up a bit. You can see it here: http://www.socomcity.net/forum/cmps_index.php

The coding I used:
Code:
<input type="submit" value="&nbsp;Submit Shout&nbsp;" style="border:1px solid;border-color:#FC9 #630 #330 #F96;padding:0 3px;font:bold 10px verdana,sans-serif;color:#FFF;background:#F60;text-decoration:none;margin:0;">
Quote:
Originally Posted by eko
I did change it to work for my center column on the forum, very nice, also made new button images for scrolling up and down to match my forum.

Things I couldnt figure out were how to center the scroll buttons at the top and the input and submit buttons at the bottom, I wanted them centered but no matter what i tried they wouldnt budge lol so if you have any ideas on that one let me know
If you want to change the alignment of the Scroll Buttons:
Code:
<a href="javascript:;" onmouseover="scroll_iframe('shoutbox', -4, 'v'); window.status='Hover here to scroll up.'; return true" onmouseout="stopScroll(); window.status=''; return true"><img src="/forum/images/tri-up.gif" width="20" height="20" alt="" border="0" align="left" valign='top'></a>
	  <a href="javascript:;" onmouseover="scroll_iframe('shoutbox', 4, 'v'); window.status='Hover here to scroll down.'; return true" onmouseout="stopScroll(); window.status=''; return true"><img src="/forum/images/tri-dn.gif" width="20" height="20" alt="" border="0" align="right" valign='top'></a>

Last edited by 1359; 04-16-2005 at 05:07 PM.
  #68  
Old 04-16-2005, 11:38 PM
Lizard King's Avatar
Lizard King Lizard King is offline
Tortu
 
Join Date: May 2004
Location: Istanbul
Posts: 147
Default Re: vba shoutbox side block

Why didnt you just use class="button" instead of border ?
also you can match the shoutbox to your style's. Check here www.ayyas.com change the style and shoutbox colors are changing.
  #69  
Old 04-17-2005, 12:37 AM
FD929's Avatar
FD929 FD929 is offline
Member
 
Join Date: Feb 2005
Location: Vacaville, Ca
Posts: 54
Default Re: vba shoutbox side block

Quote:
Originally Posted by Lizard King
Why didnt you just use class="button" instead of border ?
also you can match the shoutbox to your style's. Check here www.ayyas.com change the style and shoutbox colors are changing.
You've already pointed that out.


1359 - Why would you falsely register on my site and spam my shoutbox? I'm aware of the issue and don't have the knowledge for a fix. Further, it'd be great if you could give credit where credit is due on your own site, rather than claiming the "javascript work" as your own.
  #70  
Old 04-17-2005, 03:33 AM
Lizard King's Avatar
Lizard King Lizard King is offline
Tortu
 
Join Date: May 2004
Location: Istanbul
Posts: 147
Default Re: vba shoutbox side block

Wtf are you talking about. I never registered your site. Try finding the real guy. I never claimed anything that is made by myself . If you search the other posts I already told I didn't figured out how to get the styles. But you try to be clever by accusing me something.
  #71  
Old 04-17-2005, 11:12 AM
FD929's Avatar
FD929 FD929 is offline
Member
 
Join Date: Feb 2005
Location: Vacaville, Ca
Posts: 54
Default Re: vba shoutbox side block

1359, as pointed out by the "1359 - " genious. Need a shovel?
  #72  
Old 04-18-2005, 06:16 PM
detalhe detalhe is offline
Junior Member
 
Join Date: Jan 2005
Posts: 24
Default Re: vba shoutbox side block

Great hack. How can I clean the input box after shouting? Last text remains there....
  #73  
Old 04-19-2005, 11:29 AM
eko eko is offline
Junior Member
 
Join Date: Mar 2005
Posts: 22
Default Re: vba shoutbox side block

Quote:
Originally Posted by Lizard King
Why didnt you just use class="button" instead of border ?
also you can match the shoutbox to your style's. Check here www.ayyas.com change the style and shoutbox colors are changing.
oh I like teh positioning of the up and down bottons on that one

Quote:
Originally Posted by detalhe
Great hack. How can I clean the input box after shouting? Last text remains there....
I was wondering the same thing everyone keeps double posting bc of this
__________________
www.modbox360.com

Last edited by eko; 04-19-2005 at 11:33 AM.
  #74  
Old 04-19-2005, 11:33 AM
detalhe detalhe is offline
Junior Member
 
Join Date: Jan 2005
Posts: 24
Default Re: vba shoutbox side block

How can I include the date/time of each shout?
  #75  
Old 04-26-2005, 06:57 AM
Siemens's Avatar
Siemens Siemens is offline
Junior Member
 
Join Date: Feb 2005
Location: Germany
Posts: 19
Default Re: vba shoutbox side block

Works great, thx for this Modul!!!
  #76  
Old 05-02-2005, 02:08 PM
Nachoz Nachoz is offline
Junior Member
 
Join Date: Mar 2005
Location: Germany/Cologne
Posts: 3
Default Re: vba shoutbox side block

Quote:
Originally Posted by detalhe
How can I include the date/time of each shout?
Hi there. Nice hack! I would like to ask too
Is there a way to include the date/time in the shout?

Thanks for help
  #77  
Old 05-02-2005, 10:32 PM
trana trana is offline
Senior Member
 
Join Date: Apr 2005
Posts: 290
Default Re: vba shoutbox side block

I'm having a little trouble getting this to work. I received errors when creating the table so I dropped it and reran the query in admincp, no errors. This was the only thing in the instructions that I had a problem with. So now the shoutbox shows up, but I am getting the following error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in \global.php on line 362

Warning: Invalid argument supplied for foreach() in \includes\functions.php on line 2290

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\mr\forum\includes\init.php:27) in \shoutbox.php on line 111

Any help would be appreciated.

Thanks.
  #78  
Old 05-03-2005, 05:21 AM
moses moses is offline
Member
 
Join Date: Oct 2004
Posts: 68
Default Re: vba shoutbox side block

Quote:
Originally Posted by eko
oh I like teh positioning of the up and down bottons on that one

I was wondering the same thing everyone keeps double posting bc of this
I've changed mine so that it clears the box onclick. The only limitation is when people submit their shout with the ENTER key rather than clicking on Shout.. but most users don't do this. My shoutbox.php code is below, and I've bolded the relevant bit.

Code:
<!-- Shoutbox --> 

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%"> 
        <thead> 

<tr><td class="tcat"> 

        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('poll$pollinfo[pollid]')"><img id="collapseimg_poll$pollinfo[pollid]" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_poll.gif" alt="" border="0" /></a> 

<span class="smallfont"><strong>$vba_options[portal_blockbullet] $mods[title]</strong></span></td></tr> 
        </thead> 
        <tbody id="collapseobj_poll$pollinfo[pollid]" style="$collapseobj_poll">     
<tr><td class="alt1"><span class="smallfont"> 

<iframe marginwidth="2" marginheight="2" name="shoutbox" scrolling="yes" align="middle" frameborder="0" height="150" width="100%" src="shoutbox.php" id="shoutbox"></iframe> 

<form action="shoutbox.php" method="post" target="shoutbox"> 
<input type="hidden" name="setting" value="save" /> 
<input type="hidden" name="name" value="$bbuserinfo[username]" size="20" /> 
<input type="text" name="comment" value="" size="18" maxlength="100" onClick="this.value=''" /> 
<input type="submit" value="Shout" /></form></span> 

</td></tr></table><br /> 

<!-- Shoutbox -->
__________________
  #79  
Old 05-05-2005, 07:42 AM
zigsterfrag zigsterfrag is offline
Junior Member
 
Join Date: Jan 2005
Posts: 23
Default Re: vba shoutbox side block

I have installed this hack but get a 404 error.

My forums dir = http://www.evo-clan.co.uk/forums

My Modules dir = http://www.evo-clan.co.uk/forums/modules

i have placed the shoutbox.php file in all these directory and still it dont work.

What am i doing wrong.

Site

Many Thanks
  #80  
Old 05-05-2005, 01:14 PM
zigsterfrag zigsterfrag is offline
Junior Member
 
Join Date: Jan 2005
Posts: 23
Default Re: vba shoutbox side block

Sorted that now just get a new error

error
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[REQ] - Top 10 or Latest Links side block. ricoche Modifications 1 01-27-2005 09:36 AM
Vote and News... side by side... pulsetoday Add-On Modules & Modifications 0 10-27-2004 12:15 PM
How would I put this statement in a side block? Itworx4me Troubleshooting / "How do I..." Questions 12 06-16-2004 12:43 PM


All times are GMT -4. The time now is 12:13 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.