![]() |
|
#1
|
|||
|
|||
|
Shoutbox side block, the shoutbox has been fixed and updated.
http://www.vbadvanced.com/forum/show...&postcount=130
__________________
http://www.majesticforum.com/ Last edited by DrOwn; 07-04-2005 at 01:36 PM. |
|
#2
|
|||
|
|||
|
thanks alot!
|
|
#3
|
|||
|
|||
|
Was really waiting for a good shoutbox, and finaly a hero made one!!
thx friend!!! BTW, installed it, tested it, workz great. Had to edit the template, for a extra "s" in forum. (I use /forums/) Also, still, the small s tricked me for the module, even after u mentioned it, what can I say.. im a copy/paste addict... Thx for this great addon.!! Last edited by buurman; 01-28-2005 at 04:05 PM. |
|
#4
|
|||
|
|||
|
The shoutbox works great. Can anyone tell me the best way to add a collapsible window to the shoutbox? I tried using some of the methods posted here elsewhere, but I can';t seem to figure out what to remove from this one to add the collapsible part in to. Any help would be appreciated.
|
|
#5
|
|||
|
|||
|
I finally managed to figure it out (somewhat) using a pre-exisiting collapsible template for the polls box, but I am sure it can be doen cleaner, so if anyone can clean it up to relate to the shoutbox and not the poll module, that would be cool, but hey it works for now:
replace your adv_portal_shoutbox template with this: PHP Code:
|
|
#6
|
|||
|
|||
|
I also made the usename text field "hidden" cause I dont really see the function of that text field, now you dont see the field, but still works great.
<input type="text" name="name" value="$bbuserinfo[username]" size="20" /> to change, replace "text" to "hidden" in that line. |
|
#7
|
|||
|
|||
|
This is strange, if I change the maxlength to 500, u can typa a lot more, but the shoutbox will cut off the text, so it doesnt show all the text in the shoutbox.
How can I fix this, any ideas? |
|
#8
|
|||
|
|||
|
nice, I removed the username field also.
|
|
#9
|
|||
|
|||
|
gorp-
The only thing I can see wrong is that the shout box collapseobj_ dont have a another new name for example "shoutbox" its useing the poll collapseobj. If you use poll then wont the poll block jump up and down when you click the shoutbox?
__________________
http://www.majesticforum.com/ |
|
#10
|
|||
|
|||
|
I have installed this hack.Works great.One thing though ,and you will probably think Im a bit anal for even mentioning it.When viewing Whos Online anyone who is on the index page is listed as being at "Unknown Location - /forum/shoutbox.php " ,any way of getting it back to "Viewing Index" ?
|
|
#11
|
||||
|
||||
|
Installed and working perfect. Thanks
__________________
Ayyas.Com | Ayyas.Com Boards | Ayyas.Com Archive | Ayyas.Com Pic. Gal. vBSEO - Search Engine Optimization for vBulletin |
|
#12
|
||||
|
||||
|
Is there anyway to change the iframe's background color ?
__________________
Ayyas.Com | Ayyas.Com Boards | Ayyas.Com Archive | Ayyas.Com Pic. Gal. vBSEO - Search Engine Optimization for vBulletin |
|
#13
|
|||
|
|||
|
How would I change the color of the 'scroll bar' and 'comment' field?
|
|
#14
|
||||
|
||||
|
I wanted to take out the user name filed and also change the size. I also wanted to change the iframe background color but I couldn't. But when I someone try to shout the form is loading index.php in that module. Can anyone tell me how to fix it ?
PHP Code:
__________________
Ayyas.Com | Ayyas.Com Boards | Ayyas.Com Archive | Ayyas.Com Pic. Gal. vBSEO - Search Engine Optimization for vBulletin |
|
#15
|
|||
|
|||
|
Quote:
|
|
#16
|
||||
|
||||
|
Quote:
|
|
#17
|
||||
|
||||
|
I can't stand all the scroll bars so I did some minor editing. My box can be seen at www.530riders.net
If you like my box, go into adv_portal_shoutbox and replace everything with: Code:
<!-- Shoutbox -->
<script type="text/javascript">
var timer_id;
function scroll_iframe(frm,inc,dir) {
if (timer_id) clearTimeout(timer_id);
if (window.frames[frm]) {
if (dir == "v") window.frames[frm].scrollBy(0, inc);
else window.frames[frm].scrollBy(inc, 0);
timer_id = setTimeout("scroll_iframe('" + frm + "'," + inc + ",'" + dir + "')", 20);
}
}
function stopScroll() { if (timer_id) clearTimeout(timer_id); }
</script>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr><td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] $mods[title]</strong></span>
<tr>
<td class="alt2" align="right"><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="/forums/images/tri-up.gif" width="20" height="20" alt="" border="0" align="right" 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="/forums/images/tri-dn.gif" width="20" height="20" alt="" border="0" align="right" valign='top'></a></td>
</tr>
</tr>
<tr><td class="alt1"><span class="smallfont">
<DIV ID=oDiv STYLE="width: 158px; height: 375px; overflow: hidden;">
<iframe marginwidth="2" marginheight="2" name="shoutbox" noresize scrolling="no" align="middle" frameborder="0" height="375" width="100%" src="forums/shoutbox.php" id="shoutbox"></iframe></DIV>
<form action="forums/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="20" maxlength="100" /><br>
<input type="submit" value="Shout" /></form></span>
</td>
</tr>
</table>
<br />
<!-- Shoutbox -->
Last edited by FD929; 03-26-2005 at 12:55 PM. |
|
#18
|
||||
|
||||
|
Quote:
__________________
Ayyas.Com | Ayyas.Com Boards | Ayyas.Com Archive | Ayyas.Com Pic. Gal. vBSEO - Search Engine Optimization for vBulletin |
|
#19
|
||||
|
||||
|
Very welcome. Glad it worked well for you.
|
|
#20
|
|||
|
|||
|
Quote:
![]() And thanks to the original poster of the shoutbox as well. |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |