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)

Ohiosweetheart 01-12-2006 05:57 PM

ok this didn't happen when I first installed the SB, but for the past few days, the box clicks and jumps when it refreshes. Sometimes if you're typing something in the message line for the SB, it disappears and you have to start over.

any ideas why and what to do???

FD929 01-12-2006 07:37 PM

@ Ohio: I noticed when I put the full url in the templates it started doing that. If you've modified the url's to vbshout.php in the templates, you might want to change them to an internal reference. i.e. /forum/vbshout.php vs http://www.myforum.com/forum/vbshout.php. Hope that helps.

JohnnyClark 01-12-2006 09:33 PM

@thepimp

can u show me the code please?

Ohiosweetheart 01-12-2006 09:40 PM

Quote:

Originally Posted by FD929
@ Ohio: I noticed when I put the full url in the templates it started doing that. If you've modified the url's to vbshout.php in the templates, you might want to change them to an internal reference. i.e. /forum/vbshout.php vs http://www.myforum.com/forum/vbshout.php. Hope that helps.

say what?

I haven't edited any urls. I just followed the instructions that came with it. The shoutbox is on my forum at http://exquisitelyerotic.net/forums
Like I said it didn't do this when I installed it a week ago, only the past day or two

hollyboy 01-12-2006 10:02 PM

2 questions:

1) what are the templates changes? I guess only forumhome right?
2) does this hack use lot of bandwidth?

Farcaster 01-13-2006 02:55 AM

I have a question about this:

Code:

return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));
I would like this ban check to also check secondary groups. Is that possible? How would the code need to be changed?

Thanks
:nervous:

Replicators 01-13-2006 10:15 AM

Is it possible someone could make a add-on to give rooms for certain usergroups? Like mods having their own room and you can switch between public and mod channel?

S@NL - BlackBik 01-13-2006 01:58 PM

It's not a chat, it's a shoutbox, Replicators ;)

I would like to have the archive be pruned so that only shouts from the last 24 hours are saved. Running a cron every hour or so. Cause it's gonna be a huge table if the box is intensively used.
But it would be nice if the shoutstatisics are saved (total shouts, shouts per member etc)

Ohiosweetheart 01-13-2006 02:04 PM

I still can't figure out why the shoutbox is jumping everytime it refreshes. I thought it was supposed to refresh smoothly??

firstrebel 01-13-2006 02:29 PM

Quote:

Originally Posted by S@NL - BlackBik
I would like to have the archive be pruned so that only shouts from the last 24 hours are saved. Running a cron every hour or so. Cause it's gonna be a huge table if the box is intensively used.

I agree, phpMyAdmin shows nearly 1000 in the past week. I suppose I could empty the table every week or so or manually delete entries over a few days old. But what a hassle.

Bob

groberthall 01-14-2006 10:28 AM

Does anyone know if it is possible to put this somewhere other than on forumhome ?

I have Amykhars personal pages hack installed and I would like to use this to replace the non ajax shoutbox/guestbook used on the members pages.

Ohiosweetheart 01-14-2006 01:38 PM

PLEASE.... someone please tell me what to do to make this thing stop JUMPING on my forum or I'm going to have to remove it. :(

If I need to uninstall and reinstall, perhaps.... how do I uninstall this hack?

Stone Cold 3:16 01-14-2006 01:41 PM

Duude! Niiice! No tempelate edits! Im not usually the one who clicks on install, but ill click for this! :p

ThePimp 01-14-2006 01:41 PM

Quote:

Originally Posted by JohnnyClark
@thepimp

can u show me the code please?

Which code would you like to see?

cashpath 01-14-2006 02:37 PM

If I wanted to put a BOX ad next to (same row as) the shoutbox making the shoutbox less wide but side by side with the add how would I do that? What template would I edit and what would I ave to edit to do it?

Thanks in advance

sickstrings 01-14-2006 09:06 PM

Quote:

Originally Posted by bi11i
I have a safari user or two complaining of the size of the shoutbox. Here's a thumbnail attached to show what I mean:
http://img387.imageshack.us/img387/4...ure17ri.th.png

As anyone else had this problem...? I don't see this on Mozilla or IE.

Is there a fix for this? My safari users are having the same problem. Searched around and didn't see anything.

BaselineAce 01-14-2006 09:47 PM

Quote:

Originally Posted by KuRi
i only have one problem with this.... whenever a long shout is posted rather than wrapping the text over 2 lines it forces a scroll bar to appear.. how can i make it wrap on to 2 lines??

Anyone figure out how to do this easily?

Telegon80 01-15-2006 04:27 AM

blah installed it but it says "Loading......" and it stays like that forever...

whitetigergrowl 01-15-2006 07:20 AM

I sure wish someone would update this so it takes fewer SQL connections and is more efficient. Even a spin off of this would be good.

Ohiosweetheart 01-15-2006 09:49 AM

any ideas as to why the shoutbox will show up in some of the styles I have installed and not others?

S@NL - BlackBik 01-15-2006 12:38 PM

The posistioning of the shoutbox is done by searching for textstrings in the Forumhome template and adding the $shoutbox variable to them.

For example: If you set the box to be under the "What's going on" box, the script will look for the sting "<!-- end what\'s going on box -->" and put the shoutbox under it.
If you've edited your templates in one or more styles and removed that line, the shoutbox will not appear.

Ohiosweetheart 01-15-2006 12:55 PM

ahhh ok.. I didn't edit the new styles at all... I added a new style last week and the shoutbox was just there... I didn't do anything at all. With this set.. it wasn't and I panicked. lol... thank you, I'll go look!

Ohiosweetheart 01-15-2006 01:02 PM

Quote:

Originally Posted by S@NL - BlackBik
The posistioning of the shoutbox is done by searching for textstrings in the Forumhome template and adding the $shoutbox variable to them.

For example: If you set the box to be under the "What's going on" box, the script will look for the sting "<!-- end what\'s going on box -->" and put the shoutbox under it.
If you've edited your templates in one or more styles and removed that line, the shoutbox will not appear.


S@NL.... below is the FORUMHOME template code for one of the styles that the shoutbox DOES show up in... and i can't find a shoutbox string in there anywhere. Yet the shoutbox does show up in this style, and my SB is set under the Nav bar


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<!-- /main -->
<br />
<br />
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->
<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0" align="center">
<tr>
<td align="center"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
<td align="center"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
<td align="center"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout button -->
<td align="$stylevar[right]">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><img src="$stylevar[imgdir_button]/logout.gif"
border="0" width="92" height="25" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase>"></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->
$footer
</body>
</html>


any ideas now? lol

bashy 01-15-2006 06:22 PM

HI ZT

Is there away to get this to show whilst browsing the whole of the forum, I am using this just for my staff and they want it to show all over :)

Please??

QueenBee 01-15-2006 07:02 PM

when i tried this, mine diappeared, any ideas anyone?

S@NL - BlackBik 01-15-2006 07:52 PM

Ohiosweetheart, you won't find the $shoutbox in your forumhome template.
It is added by the plugin, everytime you open the forumhome page.

If you look at the code of the plugin "vBShout [Template Alteration]" in your admincp you will see what textstrings are used to position the box.

Bashy, I think the shoutbox will appear wherever you put $shoutbox in your templates.

bashy 01-15-2006 07:54 PM

This is all i need to add is this where i want ???

Code:

$shoutbox

neutek 01-15-2006 08:02 PM

awesome! i love it
thanks

one thing, so i know in the future.
how can i "Clear the shoutbox ARCHIVE completely" ?

does the /prune kill the archive also?

S@NL - BlackBik 01-15-2006 08:16 PM

Quote:

Originally Posted by bashy
This is all i need to add is this where i want ???

Code:

$shoutbox

Yep, that's how I understand it.
Haven't tried it for myself though. I'm ok with the box on forumhome only ;)

QueenBee 01-15-2006 08:17 PM

anyone please?

S@NL - BlackBik 01-15-2006 08:23 PM

Quote:

Originally Posted by neutek
awesome! i love it
thanks

one thing, so i know in the future.
how can i "Clear the shoutbox ARCHIVE completely" ?

does the /prune kill the archive also?


- /prune (Clears the shoutbox completely)

The archive is not a different databasetable, so I think all shouts will get deleted ;)

S@NL - BlackBik 01-15-2006 08:23 PM

Quote:

Originally Posted by QueenBee
when i tried this, mine diappeared, any ideas anyone?

When you tried what?

QueenBee 01-15-2006 08:25 PM

when i tried to install the shoutbox that stays on all pages,

sorry, i thought i wrote that

S@NL - BlackBik 01-15-2006 08:27 PM

Ah, ok.
Sorry, can't help you there. I didn't, nor do I want to, try that ;)

QueenBee 01-15-2006 08:41 PM

ok well ill just do the regular one. and it just says loading in the box.

any ideas?

Telegon80 01-16-2006 01:05 AM

okay works good now. i had uploaded the PHP file to the wrong location.

Xplorer4x4 01-16-2006 02:34 AM

I am curious, will this affect bandwidth much?

Telegon80 01-16-2006 02:38 AM

from what i have read in the thread, yes it will increase the server load. idk about bandwidth. i will use it on fridays only. so i will have the plug-in disabled all week. :)

QueenBee 01-16-2006 06:38 AM

woo hoo i finally got it!

::installed::

crustymanmeat 01-16-2006 09:55 AM

Is there anyway i can allow GUESTS to post in the shoutbox? Thanks in advance.


All times are GMT. The time now is 04:27 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.03537 seconds
  • Memory Usage 1,847KB
  • 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_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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